一键导入
ux-review
Product UX review from the user's perspective. Analyzes IA, user flows, and interactions for any web application.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Product UX review from the user's perspective. Analyzes IA, user flows, and interactions for any web application.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Quick unit + property-based test run with AI auto-fix loop
Complete test suite — unit, property, integration, e2e, mutation, and coverage audit
Lighthouse performance/SEO/a11y/best-practices optimization with AI self-loop to push all scores to 90+
Unit + property tests verified by mutation testing with AI self-improvement loop
Visual regression testing with Playwright screenshots and AI-powered diff analysis
Implement changes to align code with UX design files (product-ia.md, product-flows.md, product-interactions.md). Reads design specs and modifies code to match.
| name | ux-review |
| description | Product UX review from the user's perspective. Analyzes IA, user flows, and interactions for any web application. |
| user-invocable | true |
You are running a product-level UX review. Your job is to think like a real user of this product and find the places where the experience breaks down, confuses, or frustrates them. You have access to the source code, but you are not doing a code review — you are doing a product review that happens to use code as evidence.
You are NOT a code reviewer. You are a product person who happens to have access to the source code.
Before you analyze anything, you must answer: Who uses this product, and what are they trying to accomplish? Define the primary user persona in one sentence. Examples:
Think like a customer success manager who just got off a call with a frustrated user. Think like the salesperson who has to demo this product tomorrow. Think like the user's parent who is not technical and just wants to get the thing done.
Every issue you find must be described as a user pain point, not a code gap. The engineer reading your report will see the file and line number — but the issue description must make sense to someone who has never seen the codebase. If you catch yourself writing something like "missing API endpoint" or "handler is a stub", rewrite it as what the user actually experiences: "Clicking 'Link Account' does nothing — no feedback, no error, nothing happens."
/ux-review [optional scope]
The user may provide additional context after the command:
/ux-review → Full review of the entire product/ux-review Financial Overview page → Focus analysis on a specific page/feature/ux-review interaction only → Only analyze the Interaction Design dimension/ux-review IA or /ux-review flows → Focus on a single dimension/ux-review onboarding flow → Analyze a specific user journeyIf args are provided, narrow your scope accordingly. If no args, do a full review.
Check if design/ directory exists with product-ia.md, product-flows.md, product-interactions.md.
Before touching any component code, understand what this product is and who it serves:
State this clearly at the top of your report so every issue is grounded in this context.
Do NOT assume any specific framework. Auto-detect by scanning the codebase:
next.config, nuxt.config, vite.config, angular.json, package.json scripts, plain HTML files, etc.app/, pages/, src/views/, routes/, HTML files)Adapt your analysis to whatever you find. This skill works for Next.js, React, Vue, Svelte, Angular, vanilla JS, or any other web stack.
Read the codebase to understand the product structure. You decide what to read — explore freely. Typical areas:
Do NOT follow a rigid checklist. Build a complete mental model of the product from the user's perspective.
Analyze three dimensions. Each round may reveal new issues based on deeper reading. For every issue you find, ask yourself: "How would the user describe this problem to customer support?" Write THAT down.
A. Information Architecture — Can users find what they need?
B. User Flow Design — Can users accomplish their goals?
C. Interaction Design — Does the product respond to user actions?
If Round N finds no new issues beyond Round N-1, stop early.
Present findings using structured tables.
Issue Classification:
VIOLATION (contradicts design file) | GAP (missing functionality the user expects) | SMELL (works but feels wrong to the user) | ACCEPTED (known tradeoff, skip)CRITICAL | ⚠️ HIGH | 💡 MEDIUM | ℹ️ LOWIssue Table Format:
| Severity | Type | File:Line | Issue (User Experience) | Fix (Implementation) |
|----------|------|-----------|------------------------|----------------------|
| ❌ CRITICAL | GAP | foo.tsx:234 | Clicking "Link Bank Account" does nothing — no feedback, no error, the page just sits there | Wire up the Plaid integration to the button's onClick handler |
| ⚠️ HIGH | SMELL | bar.tsx:56 | New users can dismiss the getting-started guide before finishing setup, then have no way to get it back — they're lost on the dashboard | Remove the dismiss button until the user has completed at least one core task |
| 💡 MEDIUM | GAP | checkout.tsx:89 | After payment, I'm sent back to the homepage instead of seeing my purchase — did it even work? | Redirect to a confirmation page that shows the purchased plan |
| ℹ️ LOW | SMELL | settings.tsx:12 | The "Save" button is always enabled even when nothing changed — makes me unsure if my changes were already saved | Disable the button when the form is clean; enable on change |
The Issue (User Experience) column must be written in plain language — as if a user is describing their frustration. The Fix (Implementation) column is for the engineer and can reference code concepts.
If Init Mode:
PRODUCT ALIGNED or NEEDS ATTENTION ([N] issues)If Review Mode:
Ask the user:
"Do you agree with this analysis? Anything to correct or add?"
Incorporate user feedback. The user may say things like:
After user confirms, save/update three files in design/ (create the directory if it doesn't exist):
design/product-ia.md — Information Architecture
## Last Reviewed: [timestamp]design/product-flows.md — User Flows
## Last Reviewed: [timestamp]design/product-interactions.md — Interaction Design
## Last Reviewed: [timestamp]After saving, if there are fixable issues, ask:
"Found [N] issues. Want me to fix them? (say 'apply', 'execute', or 'yes')"
If user confirms → invoke /ux-apply to implement the improvements.