specialist-agent 2.12.0 → 3.2.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 (323) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +33 -207
  3. package/dist/catalog.json +15529 -0
  4. package/dist/hw-worker.mjs +254 -0
  5. package/dist/icones/icone.ico +0 -0
  6. package/dist/icones/icone.png +0 -0
  7. package/dist/interface/assets/figtree-latin-400-normal-g7Dtegnw.woff2 +0 -0
  8. package/dist/interface/assets/figtree-latin-500-normal-BWnGEVsr.woff2 +0 -0
  9. package/dist/interface/assets/figtree-latin-600-normal-Cv_xCTDl.woff2 +0 -0
  10. package/dist/interface/assets/figtree-latin-700-normal-th6qEP7c.woff2 +0 -0
  11. package/dist/interface/assets/figtree-latin-ext-400-normal-CXAzuTZb.woff2 +0 -0
  12. package/dist/interface/assets/figtree-latin-ext-500-normal-Du0rIuHj.woff2 +0 -0
  13. package/dist/interface/assets/figtree-latin-ext-600-normal-DJlfifZj.woff2 +0 -0
  14. package/dist/interface/assets/figtree-latin-ext-700-normal-CS4sQkGV.woff2 +0 -0
  15. package/dist/interface/assets/index-BIyqZkro.css +1 -0
  16. package/dist/interface/assets/index-zAegy908.js +13 -0
  17. package/dist/interface/assets/jetbrains-mono-latin-400-normal-V6pRDFza.woff2 +0 -0
  18. package/dist/interface/assets/jetbrains-mono-latin-500-normal-BWZEU5yA.woff2 +0 -0
  19. package/dist/interface/assets/jetbrains-mono-latin-600-normal-C8RAYTDA.woff2 +0 -0
  20. package/dist/interface/assets/jetbrains-mono-latin-ext-400-normal-Bc8Ftmh3.woff2 +0 -0
  21. package/dist/interface/assets/jetbrains-mono-latin-ext-500-normal-Cut-4mMH.woff2 +0 -0
  22. package/dist/interface/assets/jetbrains-mono-latin-ext-600-normal-BfB_LPfz.woff2 +0 -0
  23. package/dist/interface/assets/unbounded-latin-500-normal-4slEIF53.woff2 +0 -0
  24. package/dist/interface/assets/unbounded-latin-700-normal-CaoNriVp.woff2 +0 -0
  25. package/dist/interface/assets/unbounded-latin-ext-500-normal-BTIpesyw.woff2 +0 -0
  26. package/dist/interface/assets/unbounded-latin-ext-700-normal-BLzWLLjG.woff2 +0 -0
  27. package/dist/interface/icones/apple-touch-icon.png +0 -0
  28. package/dist/interface/icones/favicon-32.png +0 -0
  29. package/dist/interface/icones/icone-192.png +0 -0
  30. package/dist/interface/icones/icone-512.png +0 -0
  31. package/dist/interface/icones/icone-mascara-512.png +0 -0
  32. package/dist/interface/index.html +19 -0
  33. package/dist/interface/manifest.webmanifest +19 -0
  34. package/dist/interface/sw.js +63 -0
  35. package/dist/specialist-agent.mjs +6919 -0
  36. package/dist/usage-worker.mjs +174 -0
  37. package/package.json +32 -57
  38. package/.claude-plugin/marketplace.json +0 -52
  39. package/.claude-plugin/plugin.json +0 -37
  40. package/.codex/INSTALL.md +0 -145
  41. package/.cursor-plugin/marketplace.json +0 -52
  42. package/.cursor-plugin/plugin.json +0 -37
  43. package/.opencode/INSTALL.md +0 -127
  44. package/.opencode/opencode.json +0 -186
  45. package/agents/analyst-lite.md +0 -48
  46. package/agents/analyst.md +0 -396
  47. package/agents/api-lite.md +0 -43
  48. package/agents/api.md +0 -427
  49. package/agents/architect-lite.md +0 -104
  50. package/agents/architect.md +0 -571
  51. package/agents/autopilot-lite.md +0 -46
  52. package/agents/autopilot.md +0 -196
  53. package/agents/cloud-lite.md +0 -75
  54. package/agents/cloud.md +0 -213
  55. package/agents/data-lite.md +0 -67
  56. package/agents/data.md +0 -306
  57. package/agents/debugger-lite.md +0 -46
  58. package/agents/debugger.md +0 -410
  59. package/agents/deps-lite.md +0 -41
  60. package/agents/deps.md +0 -363
  61. package/agents/designer-lite.md +0 -67
  62. package/agents/designer.md +0 -195
  63. package/agents/devops-lite.md +0 -67
  64. package/agents/devops.md +0 -205
  65. package/agents/docs-lite.md +0 -42
  66. package/agents/docs.md +0 -454
  67. package/agents/executor-lite.md +0 -61
  68. package/agents/executor.md +0 -695
  69. package/agents/explorer-lite.md +0 -55
  70. package/agents/explorer.md +0 -152
  71. package/agents/finance-lite.md +0 -66
  72. package/agents/finance.md +0 -255
  73. package/agents/i18n-lite.md +0 -44
  74. package/agents/i18n.md +0 -594
  75. package/agents/legal-lite.md +0 -113
  76. package/agents/legal.md +0 -302
  77. package/agents/marketing-lite.md +0 -25
  78. package/agents/marketing.md +0 -188
  79. package/agents/memory.md +0 -166
  80. package/agents/orchestrator-lite.md +0 -40
  81. package/agents/orchestrator.md +0 -512
  82. package/agents/pair-lite.md +0 -38
  83. package/agents/pair.md +0 -310
  84. package/agents/perf-lite.md +0 -42
  85. package/agents/perf.md +0 -320
  86. package/agents/planner-lite.md +0 -59
  87. package/agents/planner.md +0 -272
  88. package/agents/product-lite.md +0 -25
  89. package/agents/product.md +0 -195
  90. package/agents/refactor-lite.md +0 -42
  91. package/agents/refactor.md +0 -467
  92. package/agents/ripple-lite.md +0 -106
  93. package/agents/ripple.md +0 -166
  94. package/agents/scout-lite.md +0 -37
  95. package/agents/scout.md +0 -224
  96. package/agents/security-lite.md +0 -66
  97. package/agents/security.md +0 -252
  98. package/agents/sentry-triage-lite.md +0 -54
  99. package/agents/sentry-triage.md +0 -217
  100. package/agents/starter-lite.md +0 -80
  101. package/agents/starter.md +0 -300
  102. package/agents/support-lite.md +0 -24
  103. package/agents/support.md +0 -191
  104. package/agents/tdd-lite.md +0 -43
  105. package/agents/tdd.md +0 -329
  106. package/agents/tester-lite.md +0 -71
  107. package/agents/tester.md +0 -237
  108. package/cli/architectures.mjs +0 -713
  109. package/cli/detect-architecture.mjs +0 -752
  110. package/cli/generate-architecture.mjs +0 -1096
  111. package/cli/index.mjs +0 -1217
  112. package/cli/recommend-architecture.mjs +0 -870
  113. package/hooks/after-review.mjs +0 -130
  114. package/hooks/after-task.mjs +0 -117
  115. package/hooks/before-plan.mjs +0 -155
  116. package/hooks/before-review.mjs +0 -139
  117. package/hooks/hooks.json +0 -66
  118. package/hooks/lifecycle.json +0 -91
  119. package/hooks/native/auto-dispatch.mjs +0 -207
  120. package/hooks/native/auto-format.mjs +0 -176
  121. package/hooks/native/mcp-discovery.mjs +0 -168
  122. package/hooks/native/security-config.json +0 -38
  123. package/hooks/native/security-guard.mjs +0 -323
  124. package/hooks/native/session-context.mjs +0 -179
  125. package/hooks/native/session-end.mjs +0 -42
  126. package/hooks/native/utils.mjs +0 -62
  127. package/hooks/on-error.mjs +0 -129
  128. package/hooks/session-end.mjs +0 -185
  129. package/hooks/session-start.mjs +0 -154
  130. package/packs/angular/ARCHITECTURE.md +0 -814
  131. package/packs/angular/CLAUDE.md +0 -105
  132. package/packs/angular/agents/builder.md +0 -113
  133. package/packs/angular/agents/doctor.md +0 -187
  134. package/packs/angular/agents/migrator.md +0 -101
  135. package/packs/angular/agents/reviewer.md +0 -252
  136. package/packs/angular/agents-lite/builder.md +0 -65
  137. package/packs/angular/agents-lite/doctor.md +0 -64
  138. package/packs/angular/agents-lite/migrator.md +0 -75
  139. package/packs/angular/agents-lite/reviewer.md +0 -69
  140. package/packs/angular/skills/dev-create-component/SKILL.md +0 -56
  141. package/packs/angular/skills/dev-create-injectable/SKILL.md +0 -60
  142. package/packs/angular/skills/dev-create-module/SKILL.md +0 -49
  143. package/packs/angular/skills/dev-create-service/SKILL.md +0 -34
  144. package/packs/angular/skills/dev-create-test/SKILL.md +0 -78
  145. package/packs/angular/skills/dev-generate-types/SKILL.md +0 -37
  146. package/packs/angular/skills/docs-onboard/SKILL.md +0 -42
  147. package/packs/angular/skills/migration-migrate-component/SKILL.md +0 -42
  148. package/packs/angular/skills/migration-migrate-module/SKILL.md +0 -25
  149. package/packs/angular/skills/review-check-architecture/SKILL.md +0 -67
  150. package/packs/angular/skills/review-fix-violations/SKILL.md +0 -43
  151. package/packs/angular/skills/review-review/SKILL.md +0 -43
  152. package/packs/astro/ARCHITECTURE.md +0 -718
  153. package/packs/astro/CLAUDE.md +0 -106
  154. package/packs/astro/agents/builder.md +0 -123
  155. package/packs/astro/agents/doctor.md +0 -200
  156. package/packs/astro/agents/migrator.md +0 -105
  157. package/packs/astro/agents/reviewer.md +0 -253
  158. package/packs/astro/agents-lite/builder.md +0 -71
  159. package/packs/astro/agents-lite/doctor.md +0 -66
  160. package/packs/astro/agents-lite/migrator.md +0 -71
  161. package/packs/astro/agents-lite/reviewer.md +0 -70
  162. package/packs/astro/skills/dev-create-component/SKILL.md +0 -50
  163. package/packs/astro/skills/dev-create-island/SKILL.md +0 -63
  164. package/packs/astro/skills/dev-create-module/SKILL.md +0 -49
  165. package/packs/astro/skills/dev-create-service/SKILL.md +0 -34
  166. package/packs/astro/skills/dev-create-test/SKILL.md +0 -76
  167. package/packs/astro/skills/dev-generate-types/SKILL.md +0 -37
  168. package/packs/astro/skills/docs-onboard/SKILL.md +0 -51
  169. package/packs/astro/skills/migration-migrate-component/SKILL.md +0 -48
  170. package/packs/astro/skills/migration-migrate-module/SKILL.md +0 -25
  171. package/packs/astro/skills/review-check-architecture/SKILL.md +0 -72
  172. package/packs/astro/skills/review-fix-violations/SKILL.md +0 -43
  173. package/packs/astro/skills/review-review/SKILL.md +0 -45
  174. package/packs/nextjs/ARCHITECTURE.md +0 -1033
  175. package/packs/nextjs/CLAUDE.md +0 -106
  176. package/packs/nextjs/agents/builder.md +0 -132
  177. package/packs/nextjs/agents/doctor.md +0 -226
  178. package/packs/nextjs/agents/migrator.md +0 -101
  179. package/packs/nextjs/agents/reviewer.md +0 -243
  180. package/packs/nextjs/agents-lite/builder.md +0 -74
  181. package/packs/nextjs/agents-lite/doctor.md +0 -74
  182. package/packs/nextjs/agents-lite/migrator.md +0 -75
  183. package/packs/nextjs/agents-lite/reviewer.md +0 -73
  184. package/packs/nextjs/skills/dev-create-component/SKILL.md +0 -82
  185. package/packs/nextjs/skills/dev-create-hook/SKILL.md +0 -90
  186. package/packs/nextjs/skills/dev-create-module/SKILL.md +0 -63
  187. package/packs/nextjs/skills/dev-create-service/SKILL.md +0 -35
  188. package/packs/nextjs/skills/dev-create-test/SKILL.md +0 -106
  189. package/packs/nextjs/skills/dev-generate-types/SKILL.md +0 -37
  190. package/packs/nextjs/skills/docs-onboard/SKILL.md +0 -55
  191. package/packs/nextjs/skills/migration-migrate-component/SKILL.md +0 -58
  192. package/packs/nextjs/skills/migration-migrate-module/SKILL.md +0 -25
  193. package/packs/nextjs/skills/review-check-architecture/SKILL.md +0 -101
  194. package/packs/nextjs/skills/review-fix-violations/SKILL.md +0 -48
  195. package/packs/nextjs/skills/review-review/SKILL.md +0 -47
  196. package/packs/nuxt/ARCHITECTURE.md +0 -831
  197. package/packs/nuxt/CLAUDE.md +0 -111
  198. package/packs/nuxt/agents/builder.md +0 -120
  199. package/packs/nuxt/agents/doctor.md +0 -198
  200. package/packs/nuxt/agents/migrator.md +0 -101
  201. package/packs/nuxt/agents/reviewer.md +0 -255
  202. package/packs/nuxt/agents-lite/builder.md +0 -67
  203. package/packs/nuxt/agents-lite/doctor.md +0 -67
  204. package/packs/nuxt/agents-lite/migrator.md +0 -80
  205. package/packs/nuxt/agents-lite/reviewer.md +0 -71
  206. package/packs/nuxt/skills/dev-create-component/SKILL.md +0 -60
  207. package/packs/nuxt/skills/dev-create-composable/SKILL.md +0 -33
  208. package/packs/nuxt/skills/dev-create-module/SKILL.md +0 -49
  209. package/packs/nuxt/skills/dev-create-service/SKILL.md +0 -34
  210. package/packs/nuxt/skills/dev-create-test/SKILL.md +0 -61
  211. package/packs/nuxt/skills/dev-generate-types/SKILL.md +0 -37
  212. package/packs/nuxt/skills/docs-onboard/SKILL.md +0 -49
  213. package/packs/nuxt/skills/migration-migrate-component/SKILL.md +0 -48
  214. package/packs/nuxt/skills/migration-migrate-module/SKILL.md +0 -25
  215. package/packs/nuxt/skills/review-check-architecture/SKILL.md +0 -71
  216. package/packs/nuxt/skills/review-fix-violations/SKILL.md +0 -43
  217. package/packs/nuxt/skills/review-review/SKILL.md +0 -45
  218. package/packs/react/ARCHITECTURE.md +0 -991
  219. package/packs/react/CLAUDE.md +0 -102
  220. package/packs/react/agents/builder.md +0 -113
  221. package/packs/react/agents/doctor.md +0 -203
  222. package/packs/react/agents/migrator.md +0 -101
  223. package/packs/react/agents/reviewer.md +0 -252
  224. package/packs/react/agents-lite/builder.md +0 -65
  225. package/packs/react/agents-lite/doctor.md +0 -64
  226. package/packs/react/agents-lite/migrator.md +0 -74
  227. package/packs/react/agents-lite/reviewer.md +0 -69
  228. package/packs/react/skills/dev-create-component/SKILL.md +0 -53
  229. package/packs/react/skills/dev-create-hook/SKILL.md +0 -78
  230. package/packs/react/skills/dev-create-module/SKILL.md +0 -51
  231. package/packs/react/skills/dev-create-service/SKILL.md +0 -34
  232. package/packs/react/skills/dev-create-test/SKILL.md +0 -92
  233. package/packs/react/skills/dev-generate-types/SKILL.md +0 -37
  234. package/packs/react/skills/docs-onboard/SKILL.md +0 -42
  235. package/packs/react/skills/migration-migrate-component/SKILL.md +0 -44
  236. package/packs/react/skills/migration-migrate-module/SKILL.md +0 -25
  237. package/packs/react/skills/review-check-architecture/SKILL.md +0 -73
  238. package/packs/react/skills/review-fix-violations/SKILL.md +0 -45
  239. package/packs/react/skills/review-review/SKILL.md +0 -44
  240. package/packs/svelte/ARCHITECTURE.md +0 -975
  241. package/packs/svelte/CLAUDE.md +0 -102
  242. package/packs/svelte/agents/builder.md +0 -114
  243. package/packs/svelte/agents/doctor.md +0 -174
  244. package/packs/svelte/agents/migrator.md +0 -101
  245. package/packs/svelte/agents/reviewer.md +0 -238
  246. package/packs/svelte/agents-lite/builder.md +0 -66
  247. package/packs/svelte/agents-lite/doctor.md +0 -67
  248. package/packs/svelte/agents-lite/migrator.md +0 -82
  249. package/packs/svelte/agents-lite/reviewer.md +0 -70
  250. package/packs/svelte/skills/dev-create-component/SKILL.md +0 -77
  251. package/packs/svelte/skills/dev-create-module/SKILL.md +0 -59
  252. package/packs/svelte/skills/dev-create-service/SKILL.md +0 -35
  253. package/packs/svelte/skills/dev-create-store/SKILL.md +0 -94
  254. package/packs/svelte/skills/dev-create-test/SKILL.md +0 -98
  255. package/packs/svelte/skills/dev-generate-types/SKILL.md +0 -37
  256. package/packs/svelte/skills/docs-onboard/SKILL.md +0 -47
  257. package/packs/svelte/skills/migration-migrate-component/SKILL.md +0 -51
  258. package/packs/svelte/skills/migration-migrate-module/SKILL.md +0 -25
  259. package/packs/svelte/skills/review-check-architecture/SKILL.md +0 -79
  260. package/packs/svelte/skills/review-fix-violations/SKILL.md +0 -47
  261. package/packs/svelte/skills/review-review/SKILL.md +0 -45
  262. package/packs/vue/ARCHITECTURE.md +0 -798
  263. package/packs/vue/CLAUDE.md +0 -102
  264. package/packs/vue/agents/builder.md +0 -112
  265. package/packs/vue/agents/doctor.md +0 -185
  266. package/packs/vue/agents/migrator.md +0 -101
  267. package/packs/vue/agents/reviewer.md +0 -249
  268. package/packs/vue/agents-lite/builder.md +0 -65
  269. package/packs/vue/agents-lite/doctor.md +0 -63
  270. package/packs/vue/agents-lite/migrator.md +0 -73
  271. package/packs/vue/agents-lite/reviewer.md +0 -68
  272. package/packs/vue/skills/dev-create-component/SKILL.md +0 -58
  273. package/packs/vue/skills/dev-create-composable/SKILL.md +0 -31
  274. package/packs/vue/skills/dev-create-module/SKILL.md +0 -50
  275. package/packs/vue/skills/dev-create-service/SKILL.md +0 -34
  276. package/packs/vue/skills/dev-create-test/SKILL.md +0 -62
  277. package/packs/vue/skills/dev-generate-types/SKILL.md +0 -37
  278. package/packs/vue/skills/docs-onboard/SKILL.md +0 -42
  279. package/packs/vue/skills/migration-migrate-component/SKILL.md +0 -41
  280. package/packs/vue/skills/migration-migrate-module/SKILL.md +0 -25
  281. package/packs/vue/skills/review-check-architecture/SKILL.md +0 -73
  282. package/packs/vue/skills/review-fix-violations/SKILL.md +0 -42
  283. package/packs/vue/skills/review-review/SKILL.md +0 -43
  284. package/skills/audit/SKILL.md +0 -231
  285. package/skills/autofix/SKILL.md +0 -166
  286. package/skills/autopilot/SKILL.md +0 -286
  287. package/skills/brainstorm/SKILL.md +0 -298
  288. package/skills/checkpoint/SKILL.md +0 -217
  289. package/skills/codereview/SKILL.md +0 -268
  290. package/skills/commit/SKILL.md +0 -150
  291. package/skills/copywriting/SKILL.md +0 -218
  292. package/skills/cro/SKILL.md +0 -234
  293. package/skills/debug/SKILL.md +0 -210
  294. package/skills/design-review/SKILL.md +0 -217
  295. package/skills/discovery/SKILL.md +0 -218
  296. package/skills/estimate/SKILL.md +0 -154
  297. package/skills/finish/SKILL.md +0 -220
  298. package/skills/grill/SKILL.md +0 -270
  299. package/skills/health/SKILL.md +0 -251
  300. package/skills/improve-architecture/SKILL.md +0 -205
  301. package/skills/learn/SKILL.md +0 -260
  302. package/skills/lint/SKILL.md +0 -126
  303. package/skills/migrate-architecture/SKILL.md +0 -242
  304. package/skills/migrate-framework/SKILL.md +0 -172
  305. package/skills/onboard/SKILL.md +0 -168
  306. package/skills/plan/SKILL.md +0 -141
  307. package/skills/prd/SKILL.md +0 -241
  308. package/skills/recall/SKILL.md +0 -112
  309. package/skills/remember/SKILL.md +0 -108
  310. package/skills/seo-audit/SKILL.md +0 -240
  311. package/skills/tdd/SKILL.md +0 -201
  312. package/skills/tutorial/SKILL.md +0 -346
  313. package/skills/verify/SKILL.md +0 -168
  314. package/skills/worktree/SKILL.md +0 -168
  315. package/skills/write-skill/SKILL.md +0 -225
  316. package/templates/autopilot/PROMPT.md +0 -39
  317. package/templates/autopilot/README.md +0 -122
  318. package/templates/autopilot/devcontainer.json +0 -21
  319. package/templates/industry/ecommerce.md +0 -127
  320. package/templates/industry/fintech.md +0 -161
  321. package/templates/industry/saas.md +0 -134
  322. package/templates/session-memory.json +0 -48
  323. package/templates/skill-template/SKILL.md +0 -90
@@ -1,234 +0,0 @@
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
- ```
@@ -1,210 +0,0 @@
1
- ---
2
- name: debug
3
- description: "Use when encountering any bug, test failure, unexpected behavior, or error - before proposing fixes. Use especially when previous fix attempts have failed."
4
- user-invocable: true
5
- argument-hint: "[error message or bug description]"
6
- allowed-tools: Read, Write, Edit, Bash, Glob, Grep
7
- ---
8
-
9
- # /debug - Systematic Debugging
10
-
11
- Investigate and fix the bug using 4-phase methodology.
12
-
13
- **Target:** $ARGUMENTS
14
-
15
- ## The 4 Phases
16
-
17
- ```
18
- Phase 1 Phase 2 Phase 3 Phase 4
19
- ┌────────┐ ┌─────────┐ ┌───────────┐ ┌───────────┐
20
- │ GATHER │─►│ ANALYZE │─►│ FORMULATE │─►│ IMPLEMENT │
21
- │Evidence│ │ Patterns│ │ Hypothesis│ │ & Prove │
22
- └────────┘ └─────────┘ └───────────┘ └───────────┘
23
- ```
24
-
25
- ## Workflow
26
-
27
- ### Phase 1: GATHER EVIDENCE
28
-
29
- 1. **Read the error completely:**
30
- - Full error message
31
- - Stack trace
32
- - File and line numbers
33
-
34
- 2. **Reproduce the bug:**
35
- - Document exact steps
36
- - Confirm reproducible
37
-
38
- 3. **Check recent changes:**
39
- ```bash
40
- git log --oneline -10
41
- git diff HEAD~3
42
- ```
43
-
44
- 4. **Search for related code:**
45
- ```bash
46
- grep -r "error message" .
47
- ```
48
-
49
- **Output:**
50
- ```markdown
51
- ## Evidence
52
-
53
- Error: [full message]
54
- Location: [file:line]
55
- Stack trace: [trace]
56
-
57
- Reproduction:
58
- 1. [step]
59
- 2. [step]
60
- 3. Error occurs
61
-
62
- Recent changes:
63
- - [commit]: [relevant change]
64
- ```
65
-
66
- **BLOCKED** until evidence collected.
67
-
68
- ### Phase 2: ANALYZE PATTERNS
69
-
70
- 1. **Trace execution path:**
71
- - Entry point → Error location
72
- - Data flow through system
73
-
74
- 2. **Compare with working code:**
75
- - Find similar code that works
76
- - Identify differences
77
-
78
- 3. **Identify patterns:**
79
- - Consistent or intermittent?
80
- - Data-dependent?
81
- - Timing-dependent?
82
-
83
- **Output:**
84
- ```markdown
85
- ## Analysis
86
-
87
- Execution: [entry] → [fn1] → [fn2] → [error]
88
-
89
- Working vs Broken:
90
- | Aspect | Working | Broken |
91
- |--------|---------|--------|
92
- | [X] | [value] | [value]|
93
-
94
- Patterns:
95
- - [pattern 1]
96
- - [pattern 2]
97
- ```
98
-
99
- **BLOCKED** until patterns identified.
100
-
101
- ### Phase 3: FORMULATE HYPOTHESIS
102
-
103
- 1. **Generate hypotheses:**
104
- - Multiple, not just one
105
- - Based on evidence
106
-
107
- 2. **Rank by probability:**
108
- - Which fits all evidence?
109
- - Simplest explanation?
110
-
111
- 3. **Design tests:**
112
- - How to prove/disprove each?
113
-
114
- **Output:**
115
- ```markdown
116
- ## Hypotheses
117
-
118
- H1: [most likely] (80%)
119
- Evidence for: [...]
120
- Test: [how to verify]
121
-
122
- H2: [second option] (15%)
123
- Test: [how to verify]
124
- ```
125
-
126
- **BLOCKED** until hypotheses formulated.
127
-
128
- ### Phase 4: IMPLEMENT & PROVE
129
-
130
- 1. **Test primary hypothesis:**
131
- - Execute minimal test
132
- - Capture output
133
-
134
- 2. **If confirmed:**
135
- - Write test that reproduces bug
136
- - Implement fix
137
- - Verify test passes
138
-
139
- 3. **If rejected:**
140
- - Test next hypothesis
141
-
142
- 4. **Create checkpoint:**
143
- ```bash
144
- git add -A && git commit -m "fix: [description]"
145
- git tag checkpoint/bugfix-[name]
146
- ```
147
-
148
- **Output:**
149
- ```markdown
150
- ## Resolution
151
-
152
- Hypothesis: H1 - CONFIRMED ✓
153
-
154
- Root Cause:
155
- [Clear explanation]
156
-
157
- Fix:
158
- ```diff
159
- - [old code]
160
- + [new code]
161
- ```
162
-
163
- Verification:
164
- - Reproduction test: PASS ✓
165
- - Existing tests: PASS ✓
166
- ```
167
-
168
- ## Three-Strike Rule
169
-
170
- After 3 failed hypotheses:
171
- ```
172
- ⚠️ THREE STRIKES
173
- Re-evaluating understanding of the system.
174
- Looking for deeper architectural issues.
175
- ```
176
-
177
- ## Output
178
-
179
- ```
180
- ──── /debug ────
181
- Bug: [description]
182
-
183
- Phase 1: Evidence gathered ✓
184
- Phase 2: Patterns identified ✓
185
- Phase 3: Hypotheses formulated ✓
186
- Phase 4: Fix implemented ✓
187
-
188
- ──── Debug Summary ────
189
- Root cause: [explanation]
190
- Fix: [what changed]
191
- Checkpoint: checkpoint/bugfix-[name]
192
- Confidence: HIGH
193
- ```
194
-
195
- ## Anti-Rationalization
196
-
197
- | Excuse | Reality |
198
- |--------|---------|
199
- | "I know the fix already" | You have a hypothesis, not a fix. Follow the phases. |
200
- | "It's obviously this line" | Obvious fixes that skip investigation create new bugs. |
201
- | "I'll just try this quickly" | Quick fixes without understanding cause regressions. |
202
- | "Too slow to gather evidence" | Debugging without evidence takes 3x longer. |
203
- | "The error message tells me everything" | Error messages are symptoms, not root causes. |
204
-
205
- ## Rules
206
-
207
- 1. **Never guess** - Evidence first
208
- 2. **Never fix without understanding** - Know the root cause
209
- 3. **Never skip phases** - Each prevents blind spots
210
- 4. **Always checkpoint** - Fixes must be reversible
@@ -1,217 +0,0 @@
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
- ```