specialist-agent 2.11.3 → 2.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/.claude-plugin/marketplace.json +48 -73
  2. package/.claude-plugin/plugin.json +8 -14
  3. package/.codex/INSTALL.md +32 -9
  4. package/.cursor-plugin/marketplace.json +45 -2
  5. package/.cursor-plugin/plugin.json +14 -12
  6. package/.opencode/opencode.json +45 -0
  7. package/README.md +18 -2
  8. package/agents/analyst-lite.md +1 -1
  9. package/agents/analyst.md +5 -1
  10. package/agents/api.md +1 -0
  11. package/agents/architect-lite.md +1 -1
  12. package/agents/architect.md +10 -1
  13. package/agents/autopilot-lite.md +46 -0
  14. package/agents/autopilot.md +196 -0
  15. package/agents/cloud-lite.md +1 -1
  16. package/agents/cloud.md +2 -1
  17. package/agents/data.md +1 -0
  18. package/agents/debugger.md +3 -0
  19. package/agents/deps-lite.md +1 -1
  20. package/agents/deps.md +2 -1
  21. package/agents/designer.md +8 -0
  22. package/agents/devops-lite.md +1 -1
  23. package/agents/devops.md +2 -1
  24. package/agents/docs-lite.md +1 -1
  25. package/agents/docs.md +2 -1
  26. package/agents/executor-lite.md +1 -1
  27. package/agents/executor.md +58 -31
  28. package/agents/explorer-lite.md +1 -1
  29. package/agents/explorer.md +14 -1
  30. package/agents/finance.md +1 -0
  31. package/agents/i18n.md +1 -0
  32. package/agents/legal.md +1 -0
  33. package/agents/marketing.md +9 -0
  34. package/agents/memory.md +103 -178
  35. package/agents/orchestrator-lite.md +1 -1
  36. package/agents/orchestrator.md +62 -39
  37. package/agents/pair-lite.md +1 -1
  38. package/agents/pair.md +2 -1
  39. package/agents/perf.md +1 -0
  40. package/agents/planner-lite.md +1 -1
  41. package/agents/planner.md +17 -11
  42. package/agents/product.md +9 -0
  43. package/agents/refactor.md +1 -0
  44. package/agents/ripple-lite.md +1 -1
  45. package/agents/ripple.md +4 -1
  46. package/agents/scout-lite.md +1 -1
  47. package/agents/scout.md +2 -1
  48. package/agents/security-lite.md +1 -1
  49. package/agents/security.md +4 -1
  50. package/agents/sentry-triage-lite.md +1 -1
  51. package/agents/sentry-triage.md +4 -1
  52. package/agents/starter-lite.md +1 -1
  53. package/agents/starter.md +2 -1
  54. package/agents/support.md +1 -0
  55. package/agents/tdd.md +3 -0
  56. package/agents/tester.md +1 -0
  57. package/cli/index.mjs +1 -1
  58. package/hooks/hooks.json +61 -76
  59. package/hooks/lifecycle.json +91 -0
  60. package/hooks/native/auto-dispatch.mjs +7 -2
  61. package/hooks/native/session-end.mjs +42 -0
  62. package/package.json +1 -1
  63. package/skills/audit/SKILL.md +71 -9
  64. package/skills/autopilot/SKILL.md +286 -0
  65. package/skills/brainstorm/SKILL.md +60 -7
  66. package/skills/codereview/SKILL.md +16 -3
  67. package/skills/copywriting/SKILL.md +218 -0
  68. package/skills/cro/SKILL.md +234 -0
  69. package/skills/design-review/SKILL.md +217 -0
  70. package/skills/grill/SKILL.md +270 -0
  71. package/skills/improve-architecture/SKILL.md +205 -0
  72. package/skills/prd/SKILL.md +241 -0
  73. package/skills/recall/SKILL.md +36 -74
  74. package/skills/remember/SKILL.md +41 -91
  75. package/skills/seo-audit/SKILL.md +240 -0
  76. package/skills/tdd/SKILL.md +49 -4
  77. package/skills/write-skill/SKILL.md +18 -6
  78. package/templates/autopilot/PROMPT.md +39 -0
  79. package/templates/autopilot/README.md +122 -0
  80. package/templates/autopilot/devcontainer.json +21 -0
@@ -0,0 +1,234 @@
1
+ ---
2
+ name: cro
3
+ description: "Use when optimizing landing pages, signup flows, checkout processes, or any user-facing page for higher conversion rates - before A/B testing."
4
+ user-invocable: true
5
+ argument-hint: "[page path or component]"
6
+ allowed-tools: Read, Bash, Glob, Grep
7
+ ---
8
+
9
+ # /cro - Conversion Rate Optimization
10
+
11
+ Audit pages and flows for conversion friction - identifying drop-off points, persuasion gaps, and technical blockers - then produce prioritized recommendations with testable A/B hypotheses.
12
+
13
+ **Target:** $ARGUMENTS
14
+
15
+ ## When to Use
16
+
17
+ - Before launching a landing page or signup flow
18
+ - When conversion rates are below industry benchmarks
19
+ - After redesigning a checkout or onboarding flow
20
+ - When bounce rate is high on key pages
21
+ - Before running paid traffic to a page
22
+ - When `@marketing` Growth mode needs structured CRO analysis
23
+ - NOT for: SEO issues (use `/seo-audit`)
24
+ - NOT for: general design quality (use `/design-review`)
25
+ - NOT for: copy creation (use `/copywriting`)
26
+
27
+ ## Workflow
28
+
29
+ ### Step 1: Page & Flow Analysis
30
+
31
+ 1. **Read the target page/component:**
32
+
33
+ ```bash
34
+ # Find the page/component code
35
+ find $TARGET -type f \( -name "*.tsx" -o -name "*.vue" -o -name "*.svelte" -o -name "*.astro" \) | head -20
36
+ ```
37
+
38
+ 2. **Identify the conversion goal:**
39
+ - Signup (form submission)
40
+ - Purchase (checkout completion)
41
+ - Download (file/app download)
42
+ - Contact (form/chat initiation)
43
+ - Engagement (feature activation)
44
+
45
+ 3. **Map the user flow:**
46
+ ```markdown
47
+ ## User Flow
48
+ [Entry point] → [Step 1] → [Step 2] → ... → [Conversion]
49
+
50
+ Example:
51
+ Landing page → Pricing section → Signup form → Email verification → Dashboard
52
+ ```
53
+
54
+ 4. **Identify drop-off points** - Where in the flow might users leave?
55
+
56
+ ### Step 2: Friction Audit
57
+
58
+ Check for conversion killers:
59
+
60
+ | Friction Type | What to Look For | Impact |
61
+ |---------------|------------------|--------|
62
+ | Form friction | Too many fields, required fields, no autofill | HIGH |
63
+ | Cognitive load | Too many choices, unclear hierarchy, wall of text | HIGH |
64
+ | Trust deficit | No social proof, no security badges, unclear pricing | HIGH |
65
+ | Speed friction | Slow loading, heavy JS, unoptimized images | HIGH |
66
+ | Navigation friction | Can't find CTA, buried below fold, confusing layout | MEDIUM |
67
+ | Mobile friction | Small touch targets, horizontal scroll, unreadable text | MEDIUM |
68
+ | Copy friction | Unclear value prop, jargon, no urgency | MEDIUM |
69
+ | Technical friction | Broken forms, validation errors, payment failures | CRITICAL |
70
+
71
+ ```bash
72
+ # Count form fields (friction indicator)
73
+ grep -rn "<input\|<select\|<textarea" $TARGET --include="*.tsx" --include="*.vue" 2>/dev/null | wc -l
74
+
75
+ # Check for form validation UX
76
+ grep -rn "onBlur\|onChange.*validation\|zod\|yup\|formik\|react-hook-form\|vee-validate" $TARGET --include="*.tsx" --include="*.vue" 2>/dev/null | head -10
77
+
78
+ # Check for loading/performance issues
79
+ grep -rn "useEffect\|onMounted\|onMount" $TARGET --include="*.tsx" --include="*.vue" --include="*.svelte" 2>/dev/null | head -10
80
+
81
+ # Check image optimization
82
+ grep -rn "<img\|<Image" $TARGET --include="*.tsx" --include="*.vue" 2>/dev/null | grep -v "next/image\|nuxt-img\|loading=" | head -10
83
+ ```
84
+
85
+ ### Step 3: Persuasion Checklist (Cialdini's Principles)
86
+
87
+ Evaluate each persuasion principle:
88
+
89
+ | Principle | Implementation | Status |
90
+ |-----------|---------------|--------|
91
+ | **Reciprocity** | Free value before asking (free trial, guide, tool) | [Present/Missing] |
92
+ | **Scarcity** | Limited time/quantity indicators (genuine, not fake) | [Present/Missing] |
93
+ | **Authority** | Expert endorsements, certifications, press logos | [Present/Missing] |
94
+ | **Social Proof** | Testimonials, user count, ratings, case studies | [Present/Missing] |
95
+ | **Liking** | Relatable brand voice, user stories, team photos | [Present/Missing] |
96
+ | **Commitment** | Micro-conversions (email first, then full signup) | [Present/Missing] |
97
+ | **Unity** | Shared identity ("Join 10,000 developers like you") | [Present/Missing] |
98
+
99
+ ```bash
100
+ # Check for social proof elements
101
+ grep -rn "testimonial\|review\|rating\|customer\|users\|trusted" $TARGET --include="*.tsx" --include="*.vue" --include="*.astro" 2>/dev/null | head -10
102
+
103
+ # Check for trust signals
104
+ grep -rn "secure\|ssl\|encrypted\|guarantee\|money-back\|badge" $TARGET --include="*.tsx" --include="*.vue" 2>/dev/null | head -10
105
+ ```
106
+
107
+ ### Step 4: Copy & CTA Audit
108
+
109
+ | Check | Best Practice |
110
+ |-------|---------------|
111
+ | Headline clarity | Value proposition clear in <3 seconds |
112
+ | Above-the-fold | CTA visible without scrolling |
113
+ | CTA text | Action verb + benefit (not "Submit" or "Click here") |
114
+ | CTA contrast | Visually distinct from surrounding content |
115
+ | Value before form | User understands benefit before filling fields |
116
+ | Objection handling | FAQ, guarantees, or trust signals near CTA |
117
+ | Urgency | Genuine deadline or limited availability (if applicable) |
118
+
119
+ ```bash
120
+ # Check CTA button text
121
+ grep -rn "type=\"submit\"\|<button\|<Button" $TARGET --include="*.tsx" --include="*.vue" 2>/dev/null | head -10
122
+
123
+ # Check for "Submit" or generic CTA text (anti-pattern)
124
+ grep -rn ">Submit<\|>Click here<\|>Send<\|>Go<" $TARGET --include="*.tsx" --include="*.vue" 2>/dev/null | head -5
125
+ ```
126
+
127
+ ### Step 5: Technical CRO
128
+
129
+ Performance directly impacts conversion (every 100ms delay = -1% conversion):
130
+
131
+ | Check | Impact on Conversion |
132
+ |-------|---------------------|
133
+ | Page load time | +1s load time = -7% conversion (Google) |
134
+ | Mobile responsiveness | 53% abandon if >3s load on mobile |
135
+ | Form error recovery | Inline validation saves 22% form abandonment |
136
+ | Payment options | Each additional payment method = +5-10% checkout conversion |
137
+ | Loading states | Skeleton screens reduce perceived wait time by 30% |
138
+
139
+ ```bash
140
+ # Check for skeleton/loading states
141
+ grep -rn "skeleton\|Skeleton\|loading\|isLoading\|isPending" $TARGET --include="*.tsx" --include="*.vue" 2>/dev/null | head -10
142
+
143
+ # Check for error boundary/handling in forms
144
+ grep -rn "error\|Error\|catch\|onError\|isError" $TARGET --include="*.tsx" --include="*.vue" 2>/dev/null | head -10
145
+
146
+ # Bundle size indicators
147
+ find $TARGET -name "*.tsx" -o -name "*.ts" | xargs wc -l 2>/dev/null | sort -rn | head -10
148
+ ```
149
+
150
+ ### Step 6: Prioritized Recommendations
151
+
152
+ For each finding, produce:
153
+
154
+ ```markdown
155
+ ### Recommendation [N]: [Title]
156
+
157
+ **Finding:** [What's wrong]
158
+ **Impact:** HIGH | MEDIUM | LOW
159
+ **Effort:** S (< 2h) | M (2-4h) | L (4-8h)
160
+ **Priority:** [Impact/Effort ratio]
161
+
162
+ **A/B Hypothesis:**
163
+ > If we [change], then [metric] will [improve] because [reason].
164
+
165
+ **Implementation:**
166
+ - File: [file:line]
167
+ - Change: [specific change]
168
+ ```
169
+
170
+ **Prioritize by:** HIGH impact + LOW effort first (quick wins).
171
+
172
+ ## Verification Protocol
173
+
174
+ **Before claiming the CRO audit is complete:**
175
+
176
+ 1. Conversion goal was explicitly identified
177
+ 2. User flow was mapped from entry to conversion
178
+ 3. All 7 friction categories were checked
179
+ 4. All 7 Cialdini principles were evaluated
180
+ 5. At least 3 recommendations have A/B hypotheses
181
+ 6. Recommendations are prioritized by impact/effort ratio
182
+ 7. Technical CRO checks were performed (performance, form UX)
183
+ 8. Each recommendation has a specific file:line reference
184
+
185
+ ## Anti-Rationalization
186
+
187
+ | Excuse | Reality |
188
+ |--------|---------|
189
+ | "Our conversion rate is fine" | Fine compared to what? Industry benchmarks? Last month? Without data, you're guessing. |
190
+ | "We need more traffic, not better conversion" | Doubling conversion is cheaper than doubling traffic. Optimize what you have first. |
191
+ | "Users will figure it out" | Users won't. They'll leave. Average attention span is 8 seconds. Remove friction or lose them. |
192
+ | "We can't change the design" | CRO isn't redesign. Changing CTA text from "Submit" to "Start Free Trial" is a 5-minute code change. |
193
+ | "A/B testing is too complex" | You don't need a testing platform to start. Ship Variant B, measure, compare. Manual A/B is still A/B. |
194
+ | "Our product is too technical for CRO" | Technical products still need clear value propositions. Complexity in product ≠ complexity in messaging. |
195
+ | "We already did CRO" | CRO is continuous. User behavior changes, competitors evolve, pages degrade. Audit quarterly. |
196
+
197
+ ## Rules
198
+
199
+ 1. **Read-only** - Never modify files during a CRO audit
200
+ 2. **Data-informed** - Base recommendations on research and benchmarks, not opinions
201
+ 3. **Hypothesis-driven** - Every recommendation needs a testable A/B hypothesis
202
+ 4. **Quick wins first** - Prioritize high-impact, low-effort changes
203
+ 5. **One CTA per view** - Never recommend multiple competing CTAs
204
+ 6. **Genuine urgency only** - Never recommend fake scarcity or countdown timers
205
+ 7. **Code-grounded** - Every finding must reference specific files and components
206
+ 8. **Conversion goal explicit** - Never audit without defining what "conversion" means
207
+
208
+ ## Output
209
+
210
+ ```
211
+ ──── /cro ────
212
+ Target: $ARGUMENTS
213
+ Conversion Goal: [signup | purchase | download | contact]
214
+ User Flow: [entry] → ... → [conversion]
215
+
216
+ Friction Score: [N]/100 (lower = more friction)
217
+ Persuasion Score: [N]/7 principles present
218
+
219
+ Findings:
220
+ CRITICAL: N
221
+ HIGH: N
222
+ MEDIUM: N
223
+ LOW: N
224
+
225
+ Top Recommendations:
226
+ 1. [HIGH/S] [recommendation] → Hypothesis: [if/then]
227
+ 2. [HIGH/M] [recommendation] → Hypothesis: [if/then]
228
+ 3. [MEDIUM/S] [recommendation] → Hypothesis: [if/then]
229
+
230
+ Quick Wins: N (HIGH impact, LOW effort)
231
+ Total Recommendations: N
232
+
233
+ ──── CRO audit complete ────
234
+ ```
@@ -0,0 +1,217 @@
1
+ ---
2
+ name: design-review
3
+ description: "Use when reviewing frontend code for design consistency, accessibility compliance, responsive behavior, and UI/UX best practices - before deployment or after design system changes."
4
+ user-invocable: true
5
+ argument-hint: "[path, component, or page]"
6
+ allowed-tools: Read, Bash, Glob, Grep
7
+ ---
8
+
9
+ # /design-review - Frontend & Design Audit
10
+
11
+ Audit frontend code for design consistency, accessibility compliance, responsive behavior, and UX patterns - producing actionable findings with severity levels and file:line references.
12
+
13
+ **Target:** $ARGUMENTS
14
+
15
+ ## When to Use
16
+
17
+ - Before deploying UI changes to production
18
+ - After design system updates or theme changes
19
+ - When accessibility compliance is required (WCAG AA)
20
+ - After new contributor frontend PRs
21
+ - When UI inconsistencies are reported by users
22
+ - When migrating or updating component libraries
23
+ - NOT for: backend-only changes (use `/codereview`)
24
+ - NOT for: performance-only audits (use `@perf` directly)
25
+ - NOT for: creating new designs (use `@designer`)
26
+
27
+ ## Workflow
28
+
29
+ ### Step 1: Scope & Stack Detection
30
+
31
+ 1. **Identify target** - Component, page, module, or full frontend
32
+ 2. **Detect CSS framework:**
33
+
34
+ ```bash
35
+ # Detect styling approach
36
+ grep -rl "tailwind\|@apply" . --include="*.css" --include="*.config.*" 2>/dev/null | head -5
37
+ grep -rl "styled-components\|@emotion\|css-in-js" . --include="*.ts" --include="*.tsx" 2>/dev/null | head -5
38
+ grep -rl "\.module\.css\|\.module\.scss" $TARGET 2>/dev/null | head -5
39
+ ```
40
+
41
+ 3. **Detect component library:**
42
+
43
+ ```bash
44
+ # Check for UI libraries
45
+ grep -rn "shadcn\|radix\|headlessui\|chakra\|mantine\|vuetify\|primevue" package.json 2>/dev/null
46
+ ```
47
+
48
+ 4. **Read design tokens** if they exist (theme files, CSS variables, Tailwind config)
49
+
50
+ ### Step 2: Design Consistency Audit
51
+
52
+ Check for consistent use of design system:
53
+
54
+ | Check | What to Look For |
55
+ |-------|------------------|
56
+ | Color tokens | Hardcoded hex/rgb instead of CSS variables or theme tokens |
57
+ | Spacing scale | Arbitrary pixel values instead of spacing scale (4px, 8px, 16px...) |
58
+ | Typography | Inline font-size/weight instead of text style tokens |
59
+ | Border radius | Inconsistent rounding across components |
60
+ | Shadow | Hardcoded box-shadow instead of elevation tokens |
61
+ | Z-index | Arbitrary z-index values without a defined scale |
62
+ | Breakpoints | Custom media queries instead of defined breakpoints |
63
+
64
+ ```bash
65
+ # Find hardcoded colors (potential token violations)
66
+ grep -rn "#[0-9a-fA-F]\{3,8\}\|rgb(\|rgba(\|hsl(" $TARGET --include="*.tsx" --include="*.vue" --include="*.svelte" --include="*.css" 2>/dev/null | grep -v "node_modules\|\.config\." | head -30
67
+
68
+ # Find hardcoded pixel values (potential spacing violations)
69
+ grep -rn "margin:\|padding:\|gap:" $TARGET --include="*.tsx" --include="*.vue" --include="*.css" 2>/dev/null | grep "[0-9]px" | head -20
70
+
71
+ # Find hardcoded z-index
72
+ grep -rn "z-index:" $TARGET --include="*.tsx" --include="*.vue" --include="*.css" 2>/dev/null | head -10
73
+ ```
74
+
75
+ ### Step 3: Accessibility Audit (WCAG AA)
76
+
77
+ Check for accessibility compliance:
78
+
79
+ | Check | Criteria | How to Verify |
80
+ |-------|----------|---------------|
81
+ | Alt text | All `<img>` have meaningful `alt` | Grep for `<img` without `alt` |
82
+ | Labels | All form inputs have associated labels | Grep for `<input` without `aria-label` or `<label>` |
83
+ | Headings | Single H1, logical H2-H6 hierarchy | Scan heading structure |
84
+ | Contrast | Text meets 4.5:1 ratio (AA) | Check color token combinations |
85
+ | Focus | Interactive elements have visible focus styles | Check `:focus-visible` usage |
86
+ | Keyboard | All interactions accessible via keyboard | Check for `onClick` without `onKeyDown` |
87
+ | ARIA | Correct ARIA roles, states, properties | Check for misused ARIA attributes |
88
+ | Motion | Respect `prefers-reduced-motion` | Check animations for motion preference |
89
+ | Touch targets | Minimum 44x44px for touch targets | Check button/link sizing |
90
+
91
+ ```bash
92
+ # Missing alt text
93
+ grep -rn "<img" $TARGET --include="*.tsx" --include="*.vue" --include="*.svelte" 2>/dev/null | grep -v "alt=" | head -10
94
+
95
+ # Missing form labels
96
+ grep -rn "<input\|<select\|<textarea" $TARGET --include="*.tsx" --include="*.vue" 2>/dev/null | grep -v "aria-label\|aria-labelledby\|id=" | head -10
97
+
98
+ # onClick without keyboard handler
99
+ grep -rn "onClick=" $TARGET --include="*.tsx" 2>/dev/null | grep -v "button\|Button\|<a " | head -10
100
+
101
+ # Check for prefers-reduced-motion
102
+ grep -rn "prefers-reduced-motion" $TARGET --include="*.css" --include="*.tsx" --include="*.vue" 2>/dev/null | wc -l
103
+ ```
104
+
105
+ ### Step 4: Responsive Review
106
+
107
+ Check responsive behavior:
108
+
109
+ | Check | What to Look For |
110
+ |-------|------------------|
111
+ | Breakpoint usage | Consistent use of defined breakpoints, not arbitrary values |
112
+ | Mobile-first | Styles default to mobile, scale up with min-width queries |
113
+ | Flexible layouts | Flex/Grid instead of fixed widths |
114
+ | Viewport meta | Proper `<meta name="viewport">` configuration |
115
+ | Text overflow | Long text handled with truncation/wrap |
116
+ | Image sizing | Responsive images with `srcset`, `sizes`, or framework equivalents |
117
+ | Container queries | Used where component-level responsiveness is needed |
118
+
119
+ ```bash
120
+ # Find fixed widths (potential responsive issues)
121
+ grep -rn "width: [0-9]\+px" $TARGET --include="*.css" --include="*.tsx" --include="*.vue" 2>/dev/null | grep -v "max-width\|min-width" | head -15
122
+
123
+ # Check for responsive image usage
124
+ grep -rn "<img" $TARGET --include="*.tsx" --include="*.vue" 2>/dev/null | grep -v "srcset\|sizes\|next/image\|nuxt-img" | head -10
125
+ ```
126
+
127
+ ### Step 5: UX Pattern Review
128
+
129
+ Check for complete UX states:
130
+
131
+ | Pattern | Required States |
132
+ |---------|----------------|
133
+ | Data loading | Loading skeleton/spinner, not blank screen |
134
+ | Empty state | Helpful message + action when no data |
135
+ | Error state | User-friendly error with retry action |
136
+ | Form validation | Inline validation, not just submit-time |
137
+ | Success feedback | Confirmation after destructive/important actions |
138
+ | Progressive disclosure | Complex UI revealed progressively |
139
+ | Navigation | Breadcrumbs, back buttons, clear hierarchy |
140
+
141
+ For each component/page in scope, verify that all applicable states are handled.
142
+
143
+ ### Step 6: Report & Findings
144
+
145
+ 1. **Classify every finding** with severity (CRITICAL/HIGH/MEDIUM/LOW)
146
+ 2. **Include file:line references** for every finding
147
+ 3. **Provide concrete fix** for every finding
148
+ 4. **Calculate scores** per category (0-100)
149
+
150
+ ## Severity Levels
151
+
152
+ | Level | Description | Examples |
153
+ |-------|-------------|---------|
154
+ | CRITICAL | Accessibility barrier or legal risk | Missing alt text on critical images, no keyboard navigation, color contrast failure |
155
+ | HIGH | Major UX issue or design system violation | Inconsistent design tokens, missing error states, broken responsive layout |
156
+ | MEDIUM | Minor UX issue or inconsistency | Hardcoded colors that match tokens, missing loading states on fast operations |
157
+ | LOW | Style improvement or polish | Minor spacing inconsistencies, optional animation improvements |
158
+
159
+ ## Verification Protocol
160
+
161
+ **Before claiming the review is complete:**
162
+
163
+ 1. All 4 audit dimensions were checked (consistency, accessibility, responsive, UX)
164
+ 2. Every finding has a severity level and file:line reference
165
+ 3. Every CRITICAL/HIGH finding has a concrete fix suggestion
166
+ 4. Automated checks were run (grep for hardcoded values, missing alt text, etc.)
167
+ 5. Design token/theme files were read before flagging consistency issues
168
+ 6. At least one component was traced through all UX states (loading, empty, error, success)
169
+
170
+ ## Anti-Rationalization
171
+
172
+ | Excuse | Reality |
173
+ |--------|---------|
174
+ | "Design is subjective" | Accessibility is not. Consistency is not. Review objective criteria, not taste. |
175
+ | "It looks fine on my screen" | Did you test mobile, tablet, desktop? Dark mode? Screen reader? |
176
+ | "We'll fix accessibility later" | WCAG compliance is cheaper to build than retrofit. Lawsuits don't wait. |
177
+ | "The design system handles all this" | Design systems provide tools; developers still misuse them. Verify actual usage. |
178
+ | "Users don't notice small inconsistencies" | Inconsistency erodes trust subconsciously. Death by a thousand cuts. |
179
+ | "It's an internal tool, accessibility doesn't matter" | Internal tools have users with disabilities too. And internal becomes external. |
180
+ | "The component library is accessible by default" | Libraries provide accessible primitives. Composition can break accessibility. |
181
+
182
+ ## Rules
183
+
184
+ 1. **Read-only** - Never modify files during a review
185
+ 2. **Evidence required** - Every finding needs a file:line reference
186
+ 3. **Token-first** - Check if design tokens exist before flagging hardcoded values
187
+ 4. **Accessibility is non-negotiable** - WCAG AA violations are always HIGH or CRITICAL
188
+ 5. **Framework-aware** - Check for framework-specific patterns (next/image, NuxtImg, etc.)
189
+ 6. **State completeness** - Every interactive component must handle loading, error, and empty states
190
+ 7. **No false positives** - Verify that a "hardcoded value" isn't actually a CSS variable or token
191
+
192
+ ## Output
193
+
194
+ ```
195
+ ──── /design-review ────
196
+ Target: $ARGUMENTS
197
+ Stack: [framework] + [CSS approach] + [component library]
198
+
199
+ Consistency: [score]/100 - [N findings]
200
+ Accessibility: [score]/100 - [N findings]
201
+ Responsive: [score]/100 - [N findings]
202
+ UX Patterns: [score]/100 - [N findings]
203
+
204
+ Severity:
205
+ CRITICAL: N
206
+ HIGH: N
207
+ MEDIUM: N
208
+ LOW: N
209
+
210
+ Top Findings:
211
+ 1. [CRITICAL] [description] - [file:line]
212
+ 2. [HIGH] [description] - [file:line]
213
+ 3. [HIGH] [description] - [file:line]
214
+
215
+ Overall Score: [N]/100
216
+ Verdict: [PASS | PASS WITH NOTES | NEEDS WORK | FAIL]
217
+ ```