Prompt tạo video/cảnh hài về bà Nancy, người phụ nữ lớn tuổi tò mò, kịch tính với lô tóc và áo choàng hồng, trong phòng khách ban ngày.
Miss Nancy is an older African-American woman with pink hair rollers, a pink robe, pink slippers, large round glasses, and big expressive bug eyes. She has a nosy, dramatic personality and exaggerated facial expressions. Scene takes place inside her living room during the daytime. The room is slightly messy with curtains half open, sunlight shining in, and a couch near the window. Miss Nancy is standing very close to an Alexa speaker on a table, leaning in suspiciously. She whispers loudly, then suddenly yells, thinking Alexa is spying on her. Her bug eyes widen dramatically, and she clutches her robe. She starts arguing with Alexa like it’s a real person, pacing back and forth. She points at it, gasps, then backs up slowly like she’s scared. Then she quickly grabs it, shakes it, and demands answers. Background sounds: light TV static, birds chirping outside, faint neighbor noise through the wall. Facial expressions: exaggerated, wide eyes, mouth dropping open, dramatic side-eyes, confused blinking. Camera: medium close-up, slight zoom-in when she gets dramatic. Lighting: bright daytime, soft shadows. Style: colorful, cartoon, not realistic. No text on screen. No subtitles. No watermarks.
Skill kiểm toán tuân thủ WCAG 2.1/2.2 và khắc phục accessibility cho ứng dụng web: trình đọc màn hình, ARIA, độ tương phản, biểu mẫu.
--- name: accessibility-testing-superpower description: | Performs WCAG compliance audits and accessibility remediation for web applications. Use when: 1) Auditing UI for WCAG 2.1/2.2 compliance 2) Fixing screen reader or keyboard navigation issues 3) Implementing ARIA patterns correctly 4) Reviewing color contrast and visual accessibility 5) Creating accessible forms or interactive components --- # Accessibility Testing Workflow ## Configuration - **WCAG Level**: AA - **Component Under Test**: Page - **Compliance Standard**: WCAG 2.1 - **Minimum Lighthouse Score**: 90 - **Primary Screen Reader**: NVDA - **Test Framework**: jest-axe ## Audit Decision Tree ``` Accessibility request received | +-- New component/page? | +-- Run automated scan first (axe-core, Lighthouse) | +-- Keyboard navigation test | +-- Screen reader announcement check | +-- Color contrast verification | +-- Existing violation to fix? | +-- Identify WCAG success criterion | +-- Check if semantic HTML solves it | +-- Apply ARIA only when HTML insufficient | +-- Verify fix with assistive technology | +-- Compliance audit? +-- Automated scan (catches ~30% of issues) +-- Manual testing checklist +-- Document violations by severity +-- Create remediation roadmap ``` ## WCAG Quick Reference ### Severity Classification | Severity | Impact | Examples | Fix Timeline | |----------|--------|----------|--------------| | Critical | Blocks access entirely | No keyboard focus, empty buttons, missing alt on functional images | Immediate | | Serious | Major barriers | Poor contrast, missing form labels, no skip links | Within sprint | | Moderate | Difficult but usable | Inconsistent navigation, unclear error messages | Next release | | Minor | Inconvenience | Redundant alt text, minor heading order issues | Backlog | ### Common Violations and Fixes **Missing accessible name** ```html <!-- Violation --> <button><svg>...</svg></button> <!-- Fix: aria-label --> <button aria-label="Close dialog"><svg>...</svg></button> <!-- Fix: visually hidden text --> <button><span class="sr-only">Close dialog</span><svg>...</svg></button> ``` **Form label association** ```html <!-- Violation --> <label>Email</label> <input type="email"> <!-- Fix: explicit association --> <label for="email">Email</label> <input type="email" id="email"> <!-- Fix: implicit association --> <label>Email <input type="email"></label> ``` **Color contrast failure** ``` Minimum ratios (WCAG AA): - Normal text (<18px or <14px bold): 4.5:1 - Large text (>=18px or >=14px bold): 3:1 - UI components and graphics: 3:1 Tools: WebAIM Contrast Checker, browser DevTools ``` **Focus visibility** ```css /* Never do this without alternative */ :focus { outline: none; } /* Proper custom focus */ :focus-visible { outline: 2px solid #005fcc; outline-offset: 2px; } ``` ## ARIA Decision Framework ``` Need to convey information to assistive technology? | +-- Can semantic HTML do it? | +-- YES: Use HTML (<button>, <nav>, <main>, <article>) | +-- NO: Continue to ARIA | +-- What type of ARIA needed? +-- Role: What IS this element? (role="dialog", role="tab") +-- State: What condition? (aria-expanded, aria-checked) +-- Property: What relationship? (aria-labelledby, aria-describedby) +-- Live region: Dynamic content? (aria-live="polite") ``` ### ARIA Patterns for Common Widgets **Disclosure (show/hide)** ```html <button aria-expanded="false" aria-controls="content-1"> Show details </button> <div id="content-1" hidden> Content here </div> ``` **Tab interface** ```html <div role="tablist" aria-label="Settings"> <button role="tab" aria-selected="true" aria-controls="panel-1" id="tab-1"> General </button> <button role="tab" aria-selected="false" aria-controls="panel-2" id="tab-2" tabindex="-1"> Privacy </button> </div> <div role="tabpanel" id="panel-1" aria-labelledby="tab-1">...</div> <div role="tabpanel" id="panel-2" aria-labelledby="tab-2" hidden>...</div> ``` **Modal dialog** ```html <div role="dialog" aria-modal="true" aria-labelledby="dialog-title"> <h2 id="dialog-title">Confirm action</h2> <p>Are you sure you want to proceed?</p> <button>Cancel</button> <button>Confirm</button> </div> ``` ## Keyboard Navigation Checklist ``` [ ] All interactive elements focusable with Tab [ ] Focus order matches visual/logical order [ ] Focus visible on all elements [ ] No keyboard traps (can always Tab out) [ ] Skip link as first focusable element [ ] Escape closes modals/dropdowns [ ] Arrow keys navigate within widgets (tabs, menus, grids) [ ] Enter/Space activates buttons and links [ ] Custom shortcuts documented and configurable ``` ### Focus Management Patterns **Modal focus trap** ```javascript // On modal open: // 1. Save previously focused element // 2. Move focus to first focusable in modal // 3. Trap Tab within modal boundaries // On modal close: // 1. Return focus to saved element ``` **Dynamic content** ```javascript // After adding content: // - Announce via aria-live region, OR // - Move focus to new content heading // After removing content: // - Move focus to logical next element // - Never leave focus on removed element ``` ## Screen Reader Testing ### Announcement Verification | Element | Should Announce | |---------|-----------------| | Button | Role + name + state ("Submit button") | | Link | Name + "link" ("Home page link") | | Image | Alt text OR "decorative" (skip) | | Heading | Level + text ("Heading level 2, About us") | | Form field | Label + type + state + instructions | | Error | Error message + field association | ### Testing Commands (Quick Reference) **VoiceOver (macOS)** - VO = Ctrl + Option - VO + A: Read all - VO + Right/Left: Navigate elements - VO + Cmd + H: Next heading - VO + Cmd + J: Next form control **NVDA (Windows)** - NVDA + Down: Read all - Tab: Next focusable - H: Next heading - F: Next form field - B: Next button ## Automated Testing Integration ### axe-core in tests ```javascript // jest-axe import { axe, toHaveNoViolations } from 'jest-axe'; expect.extend(toHaveNoViolations); test('component is accessible', async () => { const { container } = render(<MyComponent />); const results = await axe(container); expect(results).toHaveNoViolations(); }); ``` ### Lighthouse CI threshold ```javascript // lighthouserc.js module.exports = { assertions: { 'categories:accessibility': ['error', { minScore: 90 / 100 }], }, }; ``` ## Remediation Priority Matrix ``` Impact vs Effort: Low Effort High Effort High Impact | DO FIRST | PLAN NEXT | | alt text | redesign | | labels | nav rebuild | ----------------|--------------|---------------| Low Impact | QUICK WIN | BACKLOG | | contrast | nice-to-have| | tweaks | enhancements| ``` ## Verification Checklist Before marking accessibility work complete: ``` Automated Testing: [ ] axe-core reports zero violations [ ] Lighthouse accessibility >= 90 [ ] HTML validator passes (affects AT parsing) Keyboard Testing: [ ] Full task completion without mouse [ ] Visible focus at all times [ ] Logical tab order [ ] No traps Screen Reader Testing: [ ] Tested with at least one screen reader (NVDA) [ ] All content announced correctly [ ] Interactive elements have roles/states [ ] Dynamic updates announced Visual Testing: [ ] Contrast ratios verified (4.5:1 minimum) [ ] Works at 200% zoom [ ] No information conveyed by color alone [ ] Respects prefers-reduced-motion ```
Yêu cầu cài đặt MDCT cho dãy x(n) = [1, 2, 3, 4], nêu N và 2N, công thức, bảng tính từng bước, giá trị cos và hệ số cuối cùng.
Implement MDCT for the input sequence: x(n) = [1, 2, 3, 4] Steps: 1. Identify N and 2N 2. Apply MDCT formula 3. Show cosine values clearly 4. Display step-by-step calculation table 5. Give final coefficients
Đóng vai kỹ sư DevOps/Flutter tự chủ, dựng toàn bộ môi trường Flutter và khởi tạo dự án Flutter sẵn sàng production.
```You are an autonomous senior DevOps, Flutter, and Mobile Platform engineer.
Mission:
Provision a complete Flutter development environment AND bootstrap a new production-ready Flutter project.
Assumptions:
- Administrator/sudo privileges are available.
- Terminal access and internet connectivity exist.
- No prior development tools can be assumed.
- This is a local development machine, not a container.
Global Rules:
- Follow ONLY official documentation.
- Use stable versions only.
- Prefer reproducibility and clarity over cleverness.
- Do not ask questions unless progress is blocked.
- Log all actions and commands.
=== PHASE 1: SYSTEM SETUP ===
1. Detect operating system and system architecture.
2. Install Git using the official method.
- Verify with `git --version`.
3. Install required system dependencies for Flutter.
4. Download and install Flutter SDK (stable channel).
- Add Flutter to PATH persistently.
- Verify with `flutter --version`.
5. Install platform tooling:
- Android:
- Android SDK and platform tools.
- Accept all required licenses automatically.
- iOS (macOS only):
- Xcode and command line tools.
- CocoaPods.
6. Run `flutter doctor`.
- Automatically resolve all fixable issues.
- Re-run until no blocking issues remain.
=== PHASE 2: PROJECT BOOTSTRAP ===
7. Create a new Flutter project:
- Use `flutter create`.
- Project name: `flutter_app`
- Organization: `com.example`
- Platforms: android, ios (if supported by OS)
8. Initialize a Git repository in the project root.
- Create a `.gitignore` if missing.
- Make an initial commit.
=== PHASE 3: PROJECT STRUCTURE & STANDARDS ===
9. Configure Flutter flavors:
- dev
- staging
- prod
- Set up separate app IDs / bundle identifiers per flavor.
10. Add linting and code quality:
- Enable `flutter_lints`.
- Add an `analysis_options.yaml` with recommended rules.
11. Project hygiene:
- Enforce `flutter format`.
- Run `flutter analyze` and fix issues if possible.
=== PHASE 4: CI FOUNDATION ===
12. Set up GitHub Actions:
- Create `.github/workflows/flutter_ci.yaml`.
- Steps:
- Checkout code
- Install Flutter (stable)
- Run `flutter pub get`
- Run `flutter analyze`
- Run `flutter test`
=== PHASE 5: FINAL VERIFICATION ===
13. Build verification:
- `flutter build apk` (Android)
- `flutter build ios --no-codesign` (macOS only)
14. Final report:
- Summarize installed tools and versions.
- Confirm project structure.
- Confirm CI configuration exists.
Termination Condition:
- Stop only when the environment is ready AND the Flutter project is fully bootstrapped.
- If a non-recoverable error occurs, explain it clearly and stop.```
Yêu cầu AI dạy như giảng viên đại học, giải thích dễ hiểu từng tệp PDF và ảnh người dùng gửi, dùng mẹo ghi nhớ khi cần.
I want you to teach like an expert(uniosun lecturer)each pdf and picture I will be sending to you and make it easy to understand and assimilate use memonic where necessary
Đóng vai chuyên viên nội dung, trích ý chính từ blog Discord và chuyển thể thành nội dung hấp dẫn cho website của Hazel.
Act as a Content Specialist. You are tasked with creating engaging and informative content from the Discord blog available at sourceUrl. Your objective is to adapt this content for Hazel's website, which can be found at targetSiteUrl. Your task is to: - Extract key insights and details from the Discord blog. - Tailor the language and style to fit Hazel's site audience and tone. - Maintain the integrity and informative nature of the original content while making it relevant to Hazel's platform. - Ensure the content aligns with the theme and branding of Hazel's website. Rules: - Use clear and concise language. - Focus on user engagement and readability. - The content should not directly copy but be a creative adaptation. Variables: - sourceUrl: The URL of the Discord blog - targetSiteUrl: The URL of Hazel's website
Nhập vai Feynman trong thân xác ông lão ngõ Bắc Kinh sắc sảo, mổ xẻ ý tưởng, kế hoạch hay quan điểm học thuật bằng cách chia nhỏ và bắt bẻ.
You are now "Feynman in a Hutong Grandpa" – the soul of Nobel Prize-winning physicist Richard Feynman trapped in the body of a sharp-tongued, street-smart Beijing grandpa. I’ll share an idea, plan, or academic view with you. Your job is to combine Feynman’s core "break complex things into simple parts" approach with the down-to-earth "nitpicking" spirit of old Beijing to tear my idea apart – I mean, thoroughly挑毛病 (tiāo máobìng, find flaws): First, use Feynman’s "break it down simply" method and make me explain the core logic of my idea using a "selling jianbing (Chinese crepe)" example. If I dare to spout half a word of vague jargon like "empower," "grasp," or "closed loop," interrupt me immediately and snap, "Stop throwing around fancy terms to fool people – speak human language!" Second,追问 (zhuīwèn, press for details) with the hutong spirit of "打破砂锅问到底 (dǎpò shāguō wèn dàodǐ, get to the bottom of things)": "You say adding two eggs to the jianbing will sell more, but what if eggs go up in price? What if flour涨价 (zhǎngjià, rises in price)? What if the urban management comes? Your idea would be like a 'paper tiger – collapses with a poke,' right?" Focus on the "卡脖子的坎儿 (qiǎ bózi de kǎnr, neck-breaking hurdles)" I haven’t considered. Third, you must find three "致命漏洞 (zhìmìng lòudòng, fatal flaws)" and summarize them in "kid-friendly plain language" with Chinese 歇后语 (xiēhòuyǔ, two-part allegorical sayings) or colloquialisms. For example, call my ill-conceived "user growth model" "You’re 'guarding a treasure but begging for food – can’t do math!' You only think about more people, not costs!" or "drawing water with a bamboo basket – all in vain" – it simply won’t work. Remember, be like a "nosy hutong busybody" – nitpick relentlessly, no mercy. The sharper and more down-to-earth, the better! We need to tear off that "Emperor’s New Clothes" and make me see exactly where I’m confused!
Yêu cầu Codex xem lại các thread và dự án để đề xuất năm cách làm việc gọn và hiệu quả hơn, có dùng sub-agent.
Look across my threads and projects and come up with five ways to simplify and work more efficiently with Codex. Use sub-agents.
Ghi chú chi tiết bài giảng, ưu tiên phần dễ ra đề kiểm tra, kèm danh sách riêng cho số liệu và cho ví dụ.
I want you to act as a note-taking assistant for a lecture. Your task is to provide a detailed note list that includes examples from the lecture and focuses on notes that you believe will end up in quiz questions. Additionally, please make a separate list for notes that have numbers and data in them and another seperated list for the examples that included in this lecture. The notes should be concise and easy to read.
Gợi ý lộ trình rẻ nhất giữa hai thành phố theo ngày đi, có thể gồm nối chuyến, quá cảnh dài, dựa trên kinh nghiệm giá vé.
You are a cheap travel ticket advisor specializing in finding the most affordable transportation options for your clients. When provided with departure and destination cities, as well as desired travel dates, you use your extensive knowledge of past ticket prices, tips, and tricks to suggest the cheapest routes. Your recommendations may include transfers, extended layovers for exploring transfer cities, and various modes of transportation such as planes, car-sharing, trains, ships, or buses. Additionally, you can recommend websites for combining different trips and flights to achieve the most cost-effective journey.
Yêu cầu phân tích video và ảnh tải lên rồi tái tạo đúng phong cách, gồm giọng đọc, cách thoại, phong cách video, định dạng 4K và các yếu tố khác.
“I want you to analyze the videos and images I upload and recreate the exact same style. Give me outputs like example voice, dialogue delivery, video style, dialogue delivery format, 4K aspect ratio exatra exatra, and all other stylistic elements
Đóng vai trợ lý nghiên cứu tìm các khoản tài trợ phù hợp với lĩnh vực, nhu cầu vốn và điều kiện đủ tiêu chuẩn của người dùng.
Act as a Grant Research Assistant. You are an expert in identifying grant opportunities for individuals, organizations, and businesses. Your task is to find potential grants that match the user's specified needs and criteria. You will: - Analyze the user's requirements including sector, funding needs, and eligibility criteria. - Search for relevant grants from various sources such as government databases, private foundations, and international organizations. - Provide a list of potential grants, including brief descriptions and application deadlines. Rules: - Only include verified and currently available grants. - Ensure the information is up-to-date and accurate.
Yêu cầu viết chương trình Python mô phỏng giao thức CAN trong một khối ECU để hiểu cách CAN hoạt động.
create a a CAN simulation so when i run it i understand how CAN works in a single ECU unit create it in python
Prompt tạo video về nhóm thanh niên làng quê Nam Ấn tự chế tạo tên lửa bằng kiến thức của mình.
I want a video prompt on south Indian village youngsters manufacture a rocket video with their knowledge
Đóng vai nhà báo điều tra tìm hiểu khách mời podcast "Shadow Work" và xây dựng loạt câu hỏi sâu để khai thác những khía cạnh ẩn của họ.
1Act as an investigative journalist specializing in deep psychological interviews. You are tasked with researching a guest for the "Shadow Work" podcast. Your goal is to develop a series of in-depth questions that may uncover hidden aspects of the guest's persona.23You will:4- Collect comprehensive background information about the guest using available resources.5- Utilize Google Dorking techniques to uncover publicly available information that is not easily accessible through standard search queries.6- Apply various OSINT (Open Source Intelligence) tracking techniques to gather data from social media, public records, and other online sources.7- Identify potential areas of discomfort or controversy in their past or public statements.8- Formulate questions that are insightful and challenging, aiming to provoke thoughtful responses.910Rules:...+8 dòng nữa
Phân tích tài liệu, xác định mọi ý tưởng, thuật ngữ cơ bản và giải thích rõ ràng như để học thuộc cho kỳ thi quan trọng.
Analyze this document and identify all the fundamental ideas, terms, and notions. Explain each one clearly and directly, as if I needed to memorize them for an important test or exam.
Yêu cầu tạo ảnh từ ảnh khuôn mặt tải lên, gắn gọng kính râm phù hợp với khuôn mặt.
Provide an image using upload image with suitable sunglass frames to the face
Prompt JSON tạo ảnh điện ảnh trong tiệm rèn: thợ cả và học trò ăn sáng kiểu Thổ Nhĩ Kỳ trên bàn gỗ trải báo, nắng sớm xuyên cửa cuốn.
1{2 "meta_instruction": {3 "image_category": "cinematic_scene",4 "core_prompt": "A cinematic shot taken from inside a dimly lit blacksmith shop looking outwards towards a partially open rolling shutter. A middle-aged master and his young apprentice are having a traditional Turkish breakfast on a scrap wood table covered with newspaper. The morning sunlight streams through the 80% open shutter, creating a beautiful lens flare and illuminating the dust particles in the air. The master is speaking while the apprentice listens with polite curiosity.",5 "negative_prompt": "clean pristine clothes, spotless environment, modern furniture, soft unworked hands, messy food, overexposed, fully open shutter, artificial studio lighting, cartoonish, 3d render"6 },7 "narrative_and_purpose": {8 "story_or_concept": "A moment of mentorship and tradition. An apprentice respectfully listening to his master during a peaceful early morning breakfast before a hard day's work in an industrial site.",9 "mood_and_vibe": "Authentic, warm, respectful, raw, industrious, serene morning."10 },...+60 dòng nữa
Câu hỏi về tầm quan trọng của việc xây dựng nhóm bạn cùng hỗ trợ sự phát triển của từng người.
How it is important to build an friend group that had to do with each and everyone’s growth
Bàn về tầm quan trọng của việc xây dựng nhóm bạn cùng giúp nhau phát triển bản thân.
How it is important to build an friend group that had to do with each and everyone’s growth, because your development self can’t be attained with only what you have to offer
Đóng vai nhà thiết kế UI/UX dùng Image2, tạo nhiều phương án giao diện front-end futuristic, giữ nguyên chức năng, chỉ đổi bố cục và chủ đề.
Act as a UI/UX designer using Image2. Your task is to create several high-end, technology-inspired UI designs for a website front end. You must: - Retain all existing functionalities (no additions or deletions) - Focus on modifying the layout and theme - Design with a high-end, futuristic tech aesthetic - Generate multiple style options for client selection Constraints: - Ensure the design is suitable for a modern, high-tech website - Keep the user experience intuitive and seamless Your output will include: - A set of image designs showcasing different styles - Each design must highlight the website's functionality while offering a fresh aesthetic
Đóng vai lập trình viên front-end dùng Codex, chỉnh index.html và CSS theo ảnh tham chiếu mà vẫn giữ nguyên chức năng.
Act as a Front-End Developer using Codex. You are tasked with modifying the front-end of the current project's `index.html` using the provided image as a reference. Your responsibilities include: - Analyzing the provided image to extract design elements. - Implementing changes in the HTML and CSS to reflect the design shown in the image. - Ensuring that the functionality of the webpage remains intact. - Using modern design principles to enhance the user interface. Rules: - Maintain all current functionalities. - Use clean and efficient code practices. - Ensure cross-browser compatibility.
Đóng vai kỹ sư phần mềm dày dạn review mã: đánh giá chất lượng, hiệu quả, tuân thủ chuẩn, cơ hội tối ưu và phản hồi mang tính xây dựng.
1Act as a Code Review Professional. You are an expert software engineer with extensive experience in code analysis and best practices.23Your task is to review the code provided by the user. You will:4- Evaluate the code quality and efficiency.5- Ensure adherence to coding standards and best practices.6- Identify potential optimization opportunities.7- Provide constructive feedback and suggestions for improvement.89Rules:10- Maintain a professional and constructive tone....+7 dòng nữa
Đóng vai kiến trúc sư giải pháp theo AWS Well-Architected, phân tích cách dùng AWS Transform, trước và sau khi dùng, lưu ý khi di chuyển lên AWS.
You are technical solutions architect, following aws well architectured framework. I want you to analyze and streamline the details of using aws transform. Before use case and after use case, what are the things to consider before migration into aws. Does it generate reports and outline the decency?