quiver-cli 1.3.0 → 2.0.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 (384) hide show
  1. package/README.md +197 -239
  2. package/dist/cli.js +3163 -2040
  3. package/package.json +10 -11
  4. package/template/.agents/AGENTS.md +0 -26
  5. package/template/.agents/commands/cp.md +0 -108
  6. package/template/.agents/commands/next-setup.md +0 -1064
  7. package/template/.agents/commands/review.md +0 -68
  8. package/template/.agents/commands/terraform-readme.md +0 -38
  9. package/template/.agents/config.json +0 -80
  10. package/template/.agents/plugins/opencode/rtk.ts +0 -34
  11. package/template/.agents/skills/agent-browser/SKILL.md +0 -51
  12. package/template/.agents/skills/apps/skybridge/SKILL.md +0 -50
  13. package/template/.agents/skills/code/cleanup/SKILL.md +0 -26
  14. package/template/.agents/skills/code/improve/SKILL.md +0 -122
  15. package/template/.agents/skills/code/improve/references/audit-playbook.md +0 -130
  16. package/template/.agents/skills/code/improve/references/closing-the-loop.md +0 -96
  17. package/template/.agents/skills/code/improve/references/plan-template.md +0 -197
  18. package/template/.agents/skills/code/vercel-react-best-practices/AGENTS.md +0 -3810
  19. package/template/.agents/skills/code/vercel-react-best-practices/README.md +0 -123
  20. package/template/.agents/skills/code/vercel-react-best-practices/SKILL.md +0 -149
  21. package/template/.agents/skills/code/vercel-react-best-practices/metadata.json +0 -15
  22. package/template/.agents/skills/code/vercel-react-best-practices/rules/_sections.md +0 -46
  23. package/template/.agents/skills/code/vercel-react-best-practices/rules/_template.md +0 -28
  24. package/template/.agents/skills/code/vercel-react-best-practices/rules/advanced-effect-event-deps.md +0 -56
  25. package/template/.agents/skills/code/vercel-react-best-practices/rules/advanced-event-handler-refs.md +0 -55
  26. package/template/.agents/skills/code/vercel-react-best-practices/rules/advanced-init-once.md +0 -42
  27. package/template/.agents/skills/code/vercel-react-best-practices/rules/advanced-use-latest.md +0 -39
  28. package/template/.agents/skills/code/vercel-react-best-practices/rules/async-api-routes.md +0 -38
  29. package/template/.agents/skills/code/vercel-react-best-practices/rules/async-cheap-condition-before-await.md +0 -37
  30. package/template/.agents/skills/code/vercel-react-best-practices/rules/async-defer-await.md +0 -82
  31. package/template/.agents/skills/code/vercel-react-best-practices/rules/async-dependencies.md +0 -51
  32. package/template/.agents/skills/code/vercel-react-best-practices/rules/async-parallel.md +0 -28
  33. package/template/.agents/skills/code/vercel-react-best-practices/rules/async-suspense-boundaries.md +0 -99
  34. package/template/.agents/skills/code/vercel-react-best-practices/rules/bundle-analyzable-paths.md +0 -63
  35. package/template/.agents/skills/code/vercel-react-best-practices/rules/bundle-barrel-imports.md +0 -60
  36. package/template/.agents/skills/code/vercel-react-best-practices/rules/bundle-conditional.md +0 -31
  37. package/template/.agents/skills/code/vercel-react-best-practices/rules/bundle-defer-third-party.md +0 -49
  38. package/template/.agents/skills/code/vercel-react-best-practices/rules/bundle-dynamic-imports.md +0 -35
  39. package/template/.agents/skills/code/vercel-react-best-practices/rules/bundle-preload.md +0 -50
  40. package/template/.agents/skills/code/vercel-react-best-practices/rules/client-event-listeners.md +0 -74
  41. package/template/.agents/skills/code/vercel-react-best-practices/rules/client-localstorage-schema.md +0 -71
  42. package/template/.agents/skills/code/vercel-react-best-practices/rules/client-passive-event-listeners.md +0 -48
  43. package/template/.agents/skills/code/vercel-react-best-practices/rules/client-swr-dedup.md +0 -56
  44. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-batch-dom-css.md +0 -107
  45. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-cache-function-results.md +0 -80
  46. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-cache-property-access.md +0 -28
  47. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-cache-storage.md +0 -70
  48. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-combine-iterations.md +0 -32
  49. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-early-exit.md +0 -50
  50. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-flatmap-filter.md +0 -60
  51. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-hoist-regexp.md +0 -45
  52. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-index-maps.md +0 -37
  53. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-length-check-first.md +0 -49
  54. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-min-max-loop.md +0 -82
  55. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-request-idle-callback.md +0 -105
  56. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-set-map-lookups.md +0 -24
  57. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-tosorted-immutable.md +0 -57
  58. package/template/.agents/skills/code/vercel-react-best-practices/rules/rendering-activity.md +0 -26
  59. package/template/.agents/skills/code/vercel-react-best-practices/rules/rendering-animate-svg-wrapper.md +0 -47
  60. package/template/.agents/skills/code/vercel-react-best-practices/rules/rendering-conditional-render.md +0 -40
  61. package/template/.agents/skills/code/vercel-react-best-practices/rules/rendering-content-visibility.md +0 -38
  62. package/template/.agents/skills/code/vercel-react-best-practices/rules/rendering-hoist-jsx.md +0 -46
  63. package/template/.agents/skills/code/vercel-react-best-practices/rules/rendering-hydration-no-flicker.md +0 -82
  64. package/template/.agents/skills/code/vercel-react-best-practices/rules/rendering-hydration-suppress-warning.md +0 -30
  65. package/template/.agents/skills/code/vercel-react-best-practices/rules/rendering-resource-hints.md +0 -85
  66. package/template/.agents/skills/code/vercel-react-best-practices/rules/rendering-script-defer-async.md +0 -68
  67. package/template/.agents/skills/code/vercel-react-best-practices/rules/rendering-svg-precision.md +0 -28
  68. package/template/.agents/skills/code/vercel-react-best-practices/rules/rendering-usetransition-loading.md +0 -75
  69. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-defer-reads.md +0 -39
  70. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-dependencies.md +0 -45
  71. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-derived-state-no-effect.md +0 -40
  72. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-derived-state.md +0 -29
  73. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-functional-setstate.md +0 -74
  74. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-lazy-state-init.md +0 -58
  75. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-memo-with-default-value.md +0 -38
  76. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-memo.md +0 -44
  77. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-move-effect-to-event.md +0 -45
  78. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-no-inline-components.md +0 -82
  79. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-simple-expression-in-memo.md +0 -35
  80. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-split-combined-hooks.md +0 -64
  81. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-transitions.md +0 -40
  82. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-use-deferred-value.md +0 -59
  83. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-use-ref-transient-values.md +0 -73
  84. package/template/.agents/skills/code/vercel-react-best-practices/rules/server-after-nonblocking.md +0 -73
  85. package/template/.agents/skills/code/vercel-react-best-practices/rules/server-auth-actions.md +0 -96
  86. package/template/.agents/skills/code/vercel-react-best-practices/rules/server-cache-lru.md +0 -41
  87. package/template/.agents/skills/code/vercel-react-best-practices/rules/server-cache-react.md +0 -76
  88. package/template/.agents/skills/code/vercel-react-best-practices/rules/server-dedup-props.md +0 -65
  89. package/template/.agents/skills/code/vercel-react-best-practices/rules/server-hoist-static-io.md +0 -149
  90. package/template/.agents/skills/code/vercel-react-best-practices/rules/server-no-shared-module-state.md +0 -50
  91. package/template/.agents/skills/code/vercel-react-best-practices/rules/server-parallel-fetching.md +0 -83
  92. package/template/.agents/skills/code/vercel-react-best-practices/rules/server-parallel-nested-fetching.md +0 -34
  93. package/template/.agents/skills/code/vercel-react-best-practices/rules/server-serialization.md +0 -38
  94. package/template/.agents/skills/data/prisma-cli/SKILL.md +0 -247
  95. package/template/.agents/skills/data/prisma-cli/references/db-execute.md +0 -78
  96. package/template/.agents/skills/data/prisma-cli/references/db-pull.md +0 -185
  97. package/template/.agents/skills/data/prisma-cli/references/db-push.md +0 -148
  98. package/template/.agents/skills/data/prisma-cli/references/db-seed.md +0 -188
  99. package/template/.agents/skills/data/prisma-cli/references/debug.md +0 -46
  100. package/template/.agents/skills/data/prisma-cli/references/dev.md +0 -157
  101. package/template/.agents/skills/data/prisma-cli/references/format.md +0 -48
  102. package/template/.agents/skills/data/prisma-cli/references/generate.md +0 -173
  103. package/template/.agents/skills/data/prisma-cli/references/init.md +0 -136
  104. package/template/.agents/skills/data/prisma-cli/references/mcp.md +0 -38
  105. package/template/.agents/skills/data/prisma-cli/references/migrate-deploy.md +0 -127
  106. package/template/.agents/skills/data/prisma-cli/references/migrate-dev.md +0 -145
  107. package/template/.agents/skills/data/prisma-cli/references/migrate-diff.md +0 -89
  108. package/template/.agents/skills/data/prisma-cli/references/migrate-reset.md +0 -78
  109. package/template/.agents/skills/data/prisma-cli/references/migrate-resolve.md +0 -57
  110. package/template/.agents/skills/data/prisma-cli/references/migrate-status.md +0 -65
  111. package/template/.agents/skills/data/prisma-cli/references/studio.md +0 -137
  112. package/template/.agents/skills/data/prisma-cli/references/validate.md +0 -53
  113. package/template/.agents/skills/data/prisma-client-api/SKILL.md +0 -216
  114. package/template/.agents/skills/data/prisma-client-api/references/client-methods.md +0 -223
  115. package/template/.agents/skills/data/prisma-client-api/references/constructor.md +0 -208
  116. package/template/.agents/skills/data/prisma-client-api/references/filters.md +0 -256
  117. package/template/.agents/skills/data/prisma-client-api/references/model-queries.md +0 -281
  118. package/template/.agents/skills/data/prisma-client-api/references/query-options.md +0 -276
  119. package/template/.agents/skills/data/prisma-client-api/references/raw-queries.md +0 -194
  120. package/template/.agents/skills/data/prisma-client-api/references/relations.md +0 -308
  121. package/template/.agents/skills/data/prisma-client-api/references/transactions.md +0 -184
  122. package/template/.agents/skills/design/impeccable/SKILL.md +0 -84
  123. package/template/.agents/skills/design/impeccable/reference/adapt.md +0 -312
  124. package/template/.agents/skills/design/impeccable/reference/adapt.native.md +0 -58
  125. package/template/.agents/skills/design/impeccable/reference/android.md +0 -40
  126. package/template/.agents/skills/design/impeccable/reference/animate.md +0 -86
  127. package/template/.agents/skills/design/impeccable/reference/audit.md +0 -136
  128. package/template/.agents/skills/design/impeccable/reference/audit.native.md +0 -139
  129. package/template/.agents/skills/design/impeccable/reference/bolder.md +0 -31
  130. package/template/.agents/skills/design/impeccable/reference/clarify.md +0 -94
  131. package/template/.agents/skills/design/impeccable/reference/colorize.md +0 -86
  132. package/template/.agents/skills/design/impeccable/reference/craft-floor.md +0 -42
  133. package/template/.agents/skills/design/impeccable/reference/craft.md +0 -5
  134. package/template/.agents/skills/design/impeccable/reference/critique.md +0 -788
  135. package/template/.agents/skills/design/impeccable/reference/degraded/asset-producer.md +0 -90
  136. package/template/.agents/skills/design/impeccable/reference/degraded/documenter.md +0 -24
  137. package/template/.agents/skills/design/impeccable/reference/degraded/finish-reviewer.md +0 -37
  138. package/template/.agents/skills/design/impeccable/reference/degraded/manual-edit-applier.md +0 -92
  139. package/template/.agents/skills/design/impeccable/reference/delight.md +0 -70
  140. package/template/.agents/skills/design/impeccable/reference/distill.md +0 -111
  141. package/template/.agents/skills/design/impeccable/reference/doctor.md +0 -53
  142. package/template/.agents/skills/design/impeccable/reference/document.md +0 -416
  143. package/template/.agents/skills/design/impeccable/reference/extract.md +0 -69
  144. package/template/.agents/skills/design/impeccable/reference/harden.md +0 -336
  145. package/template/.agents/skills/design/impeccable/reference/hooks.md +0 -105
  146. package/template/.agents/skills/design/impeccable/reference/init.md +0 -125
  147. package/template/.agents/skills/design/impeccable/reference/ios.md +0 -45
  148. package/template/.agents/skills/design/impeccable/reference/layout.md +0 -84
  149. package/template/.agents/skills/design/impeccable/reference/live-setup.md +0 -102
  150. package/template/.agents/skills/design/impeccable/reference/live.md +0 -323
  151. package/template/.agents/skills/design/impeccable/reference/new-work.md +0 -105
  152. package/template/.agents/skills/design/impeccable/reference/onboard.md +0 -234
  153. package/template/.agents/skills/design/impeccable/reference/operate.md +0 -61
  154. package/template/.agents/skills/design/impeccable/reference/optimize.md +0 -258
  155. package/template/.agents/skills/design/impeccable/reference/overdrive.md +0 -127
  156. package/template/.agents/skills/design/impeccable/reference/polish.md +0 -97
  157. package/template/.agents/skills/design/impeccable/reference/quieter.md +0 -99
  158. package/template/.agents/skills/design/impeccable/reference/routing.md +0 -18
  159. package/template/.agents/skills/design/impeccable/reference/shape.md +0 -59
  160. package/template/.agents/skills/design/impeccable/reference/typeset.md +0 -80
  161. package/template/.agents/skills/design/impeccable/reference/visualize.md +0 -47
  162. package/template/.agents/skills/design/impeccable/scripts/command-metadata.json +0 -94
  163. package/template/.agents/skills/design/impeccable/scripts/concept-seed.mjs +0 -558
  164. package/template/.agents/skills/design/impeccable/scripts/context-signals.mjs +0 -334
  165. package/template/.agents/skills/design/impeccable/scripts/context.mjs +0 -1450
  166. package/template/.agents/skills/design/impeccable/scripts/critique-storage.mjs +0 -213
  167. package/template/.agents/skills/design/impeccable/scripts/detect-csp.mjs +0 -198
  168. package/template/.agents/skills/design/impeccable/scripts/detect.mjs +0 -21
  169. package/template/.agents/skills/design/impeccable/scripts/detector/browser/injected/index.mjs +0 -2023
  170. package/template/.agents/skills/design/impeccable/scripts/detector/cli/main.mjs +0 -438
  171. package/template/.agents/skills/design/impeccable/scripts/detector/design-system.mjs +0 -983
  172. package/template/.agents/skills/design/impeccable/scripts/detector/detect-antipatterns-browser.js +0 -8283
  173. package/template/.agents/skills/design/impeccable/scripts/detector/detect-antipatterns.mjs +0 -50
  174. package/template/.agents/skills/design/impeccable/scripts/detector/engines/browser/detect-url.mjs +0 -372
  175. package/template/.agents/skills/design/impeccable/scripts/detector/engines/regex/detect-text.mjs +0 -768
  176. package/template/.agents/skills/design/impeccable/scripts/detector/engines/static-html/css-cascade.mjs +0 -1186
  177. package/template/.agents/skills/design/impeccable/scripts/detector/engines/static-html/detect-html.mjs +0 -264
  178. package/template/.agents/skills/design/impeccable/scripts/detector/engines/visual/screenshot-contrast.mjs +0 -189
  179. package/template/.agents/skills/design/impeccable/scripts/detector/findings.mjs +0 -18
  180. package/template/.agents/skills/design/impeccable/scripts/detector/node/file-system.mjs +0 -212
  181. package/template/.agents/skills/design/impeccable/scripts/detector/profile/profiler.mjs +0 -166
  182. package/template/.agents/skills/design/impeccable/scripts/detector/registry/antipatterns.mjs +0 -617
  183. package/template/.agents/skills/design/impeccable/scripts/detector/rules/checks.mjs +0 -5580
  184. package/template/.agents/skills/design/impeccable/scripts/detector/shared/color.mjs +0 -124
  185. package/template/.agents/skills/design/impeccable/scripts/detector/shared/constants.mjs +0 -112
  186. package/template/.agents/skills/design/impeccable/scripts/detector/shared/fonts.mjs +0 -30
  187. package/template/.agents/skills/design/impeccable/scripts/detector/shared/inline-ignores.mjs +0 -148
  188. package/template/.agents/skills/design/impeccable/scripts/detector/shared/page.mjs +0 -7
  189. package/template/.agents/skills/design/impeccable/scripts/doctor.mjs +0 -336
  190. package/template/.agents/skills/design/impeccable/scripts/embed-prompt.mjs +0 -133
  191. package/template/.agents/skills/design/impeccable/scripts/generate-image.mjs +0 -240
  192. package/template/.agents/skills/design/impeccable/scripts/hook-admin.mjs +0 -741
  193. package/template/.agents/skills/design/impeccable/scripts/hook-before-edit.mjs +0 -516
  194. package/template/.agents/skills/design/impeccable/scripts/hook-lib.mjs +0 -2100
  195. package/template/.agents/skills/design/impeccable/scripts/hook.mjs +0 -78
  196. package/template/.agents/skills/design/impeccable/scripts/lib/artifact-schema.mjs +0 -93
  197. package/template/.agents/skills/design/impeccable/scripts/lib/composition-catalog.mjs +0 -200
  198. package/template/.agents/skills/design/impeccable/scripts/lib/concept-catalog.mjs +0 -357
  199. package/template/.agents/skills/design/impeccable/scripts/lib/design-parser.mjs +0 -842
  200. package/template/.agents/skills/design/impeccable/scripts/lib/impeccable-config.mjs +0 -658
  201. package/template/.agents/skills/design/impeccable/scripts/lib/impeccable-paths.mjs +0 -137
  202. package/template/.agents/skills/design/impeccable/scripts/lib/is-generated.mjs +0 -69
  203. package/template/.agents/skills/design/impeccable/scripts/lib/provider.mjs +0 -5
  204. package/template/.agents/skills/design/impeccable/scripts/lib/roll-selection.mjs +0 -362
  205. package/template/.agents/skills/design/impeccable/scripts/lib/staleness-deep.mjs +0 -457
  206. package/template/.agents/skills/design/impeccable/scripts/lib/staleness-notice.mjs +0 -169
  207. package/template/.agents/skills/design/impeccable/scripts/lib/staleness.mjs +0 -457
  208. package/template/.agents/skills/design/impeccable/scripts/lib/surface-briefs.mjs +0 -151
  209. package/template/.agents/skills/design/impeccable/scripts/lib/target-args.mjs +0 -42
  210. package/template/.agents/skills/design/impeccable/scripts/lib/target-slug.mjs +0 -33
  211. package/template/.agents/skills/design/impeccable/scripts/lib/template-extensions.mjs +0 -146
  212. package/template/.agents/skills/design/impeccable/scripts/live/accept-css.mjs +0 -617
  213. package/template/.agents/skills/design/impeccable/scripts/live/accept-verify.mjs +0 -60
  214. package/template/.agents/skills/design/impeccable/scripts/live/browser-script-parts.mjs +0 -55
  215. package/template/.agents/skills/design/impeccable/scripts/live/completion.mjs +0 -28
  216. package/template/.agents/skills/design/impeccable/scripts/live/event-validation.mjs +0 -199
  217. package/template/.agents/skills/design/impeccable/scripts/live/frameworks/astro.mjs +0 -47
  218. package/template/.agents/skills/design/impeccable/scripts/live/frameworks/detect-utils.mjs +0 -73
  219. package/template/.agents/skills/design/impeccable/scripts/live/frameworks/index.mjs +0 -143
  220. package/template/.agents/skills/design/impeccable/scripts/live/frameworks/journal.mjs +0 -197
  221. package/template/.agents/skills/design/impeccable/scripts/live/frameworks/nextjs.mjs +0 -49
  222. package/template/.agents/skills/design/impeccable/scripts/live/frameworks/nuxt.mjs +0 -161
  223. package/template/.agents/skills/design/impeccable/scripts/live/frameworks/script-src.mjs +0 -17
  224. package/template/.agents/skills/design/impeccable/scripts/live/frameworks/static-html.mjs +0 -26
  225. package/template/.agents/skills/design/impeccable/scripts/live/frameworks/sveltekit.mjs +0 -71
  226. package/template/.agents/skills/design/impeccable/scripts/live/frameworks/tag-strategy.mjs +0 -247
  227. package/template/.agents/skills/design/impeccable/scripts/live/frameworks/tanstack-start.mjs +0 -70
  228. package/template/.agents/skills/design/impeccable/scripts/live/frameworks/vite-generic.mjs +0 -42
  229. package/template/.agents/skills/design/impeccable/scripts/live/generation-preflight.mjs +0 -149
  230. package/template/.agents/skills/design/impeccable/scripts/live/insert-ui.mjs +0 -458
  231. package/template/.agents/skills/design/impeccable/scripts/live/instructions.mjs +0 -142
  232. package/template/.agents/skills/design/impeccable/scripts/live/manual-apply.mjs +0 -939
  233. package/template/.agents/skills/design/impeccable/scripts/live/manual-edit-routes.mjs +0 -357
  234. package/template/.agents/skills/design/impeccable/scripts/live/manual-edits-buffer.mjs +0 -152
  235. package/template/.agents/skills/design/impeccable/scripts/live/poll-lanes.mjs +0 -14
  236. package/template/.agents/skills/design/impeccable/scripts/live/roots.mjs +0 -508
  237. package/template/.agents/skills/design/impeccable/scripts/live/session-store.mjs +0 -563
  238. package/template/.agents/skills/design/impeccable/scripts/live/source-lock.mjs +0 -105
  239. package/template/.agents/skills/design/impeccable/scripts/live/source-search.mjs +0 -105
  240. package/template/.agents/skills/design/impeccable/scripts/live/svelte-ast.mjs +0 -961
  241. package/template/.agents/skills/design/impeccable/scripts/live/svelte-component.mjs +0 -1342
  242. package/template/.agents/skills/design/impeccable/scripts/live/sveltekit-adapter.mjs +0 -316
  243. package/template/.agents/skills/design/impeccable/scripts/live/tanstack-adapter.mjs +0 -280
  244. package/template/.agents/skills/design/impeccable/scripts/live/ui-core.mjs +0 -180
  245. package/template/.agents/skills/design/impeccable/scripts/live/vocabulary.mjs +0 -171
  246. package/template/.agents/skills/design/impeccable/scripts/live-accept.mjs +0 -954
  247. package/template/.agents/skills/design/impeccable/scripts/live-browser-dom.js +0 -146
  248. package/template/.agents/skills/design/impeccable/scripts/live-browser-session.js +0 -123
  249. package/template/.agents/skills/design/impeccable/scripts/live-browser.js +0 -12512
  250. package/template/.agents/skills/design/impeccable/scripts/live-commit-manual-edits.mjs +0 -1244
  251. package/template/.agents/skills/design/impeccable/scripts/live-complete.mjs +0 -107
  252. package/template/.agents/skills/design/impeccable/scripts/live-copy-edit-agent.mjs +0 -683
  253. package/template/.agents/skills/design/impeccable/scripts/live-discard-manual-edits.mjs +0 -51
  254. package/template/.agents/skills/design/impeccable/scripts/live-inject.mjs +0 -503
  255. package/template/.agents/skills/design/impeccable/scripts/live-insert.mjs +0 -292
  256. package/template/.agents/skills/design/impeccable/scripts/live-manual-edit-evidence.mjs +0 -368
  257. package/template/.agents/skills/design/impeccable/scripts/live-poll.mjs +0 -429
  258. package/template/.agents/skills/design/impeccable/scripts/live-resume.mjs +0 -123
  259. package/template/.agents/skills/design/impeccable/scripts/live-server.mjs +0 -1661
  260. package/template/.agents/skills/design/impeccable/scripts/live-status.mjs +0 -71
  261. package/template/.agents/skills/design/impeccable/scripts/live-target.mjs +0 -30
  262. package/template/.agents/skills/design/impeccable/scripts/live-wrap.mjs +0 -927
  263. package/template/.agents/skills/design/impeccable/scripts/live.mjs +0 -359
  264. package/template/.agents/skills/design/impeccable/scripts/modern-screenshot.umd.js +0 -14
  265. package/template/.agents/skills/design/impeccable/scripts/palette.mjs +0 -628
  266. package/template/.agents/skills/design/impeccable/scripts/pin.mjs +0 -221
  267. package/template/.agents/skills/design/impeccable/scripts/serve-question.mjs +0 -932
  268. package/template/.agents/skills/design/impeccable/scripts/surface-brief.mjs +0 -74
  269. package/template/.agents/skills/design/shadcn/SKILL.md +0 -277
  270. package/template/.agents/skills/design/shadcn/agents/openai.yml +0 -5
  271. package/template/.agents/skills/design/shadcn/assets/shadcn-small.png +0 -0
  272. package/template/.agents/skills/design/shadcn/assets/shadcn.png +0 -0
  273. package/template/.agents/skills/design/shadcn/cli.md +0 -290
  274. package/template/.agents/skills/design/shadcn/customization.md +0 -209
  275. package/template/.agents/skills/design/shadcn/evals/evals.json +0 -77
  276. package/template/.agents/skills/design/shadcn/mcp.md +0 -105
  277. package/template/.agents/skills/design/shadcn/registry.md +0 -277
  278. package/template/.agents/skills/design/shadcn/rules/base-vs-radix.md +0 -306
  279. package/template/.agents/skills/design/shadcn/rules/chat.md +0 -224
  280. package/template/.agents/skills/design/shadcn/rules/composition.md +0 -213
  281. package/template/.agents/skills/design/shadcn/rules/forms.md +0 -192
  282. package/template/.agents/skills/design/shadcn/rules/icons.md +0 -101
  283. package/template/.agents/skills/design/shadcn/rules/styling.md +0 -185
  284. package/template/.agents/skills/find-skills/SKILL.md +0 -141
  285. package/template/.agents/skills/hono/SKILL.md +0 -579
  286. package/template/.agents/skills/integrations/langfuse/SKILL.md +0 -146
  287. package/template/.agents/skills/integrations/langfuse/references/ci-cd.md +0 -41
  288. package/template/.agents/skills/integrations/langfuse/references/cli.md +0 -60
  289. package/template/.agents/skills/integrations/langfuse/references/error-analysis.md +0 -88
  290. package/template/.agents/skills/integrations/langfuse/references/instrumentation.md +0 -121
  291. package/template/.agents/skills/integrations/langfuse/references/judge-calibration.md +0 -291
  292. package/template/.agents/skills/integrations/langfuse/references/prompt-engineering.md +0 -35
  293. package/template/.agents/skills/integrations/langfuse/references/prompt-migration.md +0 -79
  294. package/template/.agents/skills/integrations/langfuse/references/skill-feedback.md +0 -55
  295. package/template/.agents/skills/integrations/langfuse/references/trace-evaluator-upgrade.md +0 -76
  296. package/template/.agents/skills/integrations/langfuse/references/user-feedback.md +0 -92
  297. package/template/.agents/skills/integrations/langfuse/references/v4-project-migration.md +0 -73
  298. package/template/.agents/skills/integrations/posthog/SKILL.md +0 -102
  299. package/template/.agents/skills/integrations/posthog/references/error-tracking-alerts.md +0 -63
  300. package/template/.agents/skills/integrations/posthog/references/error-tracking-assigning-issues.md +0 -77
  301. package/template/.agents/skills/integrations/posthog/references/error-tracking-fingerprints.md +0 -57
  302. package/template/.agents/skills/integrations/posthog/references/error-tracking-monitoring.md +0 -140
  303. package/template/.agents/skills/integrations/posthog/references/error-tracking-nextjs.md +0 -490
  304. package/template/.agents/skills/integrations/posthog/references/error-tracking-source-maps.md +0 -45
  305. package/template/.agents/skills/integrations/posthog/references/feature-flags-best-practices.md +0 -139
  306. package/template/.agents/skills/integrations/posthog/references/feature-flags-react.md +0 -302
  307. package/template/.agents/skills/integrations/posthog/references/identify-users.md +0 -202
  308. package/template/.agents/skills/integrations/posthog/references/integration-example.md +0 -706
  309. package/template/.agents/skills/integrations/posthog/references/integration-nextjs.md +0 -385
  310. package/template/.agents/skills/integrations/posthog/references/integration-step-1-begin.md +0 -43
  311. package/template/.agents/skills/integrations/posthog/references/integration-step-2-edit.md +0 -37
  312. package/template/.agents/skills/integrations/posthog/references/integration-step-3-revise.md +0 -22
  313. package/template/.agents/skills/integrations/posthog/references/integration-step-4-conclude.md +0 -38
  314. package/template/.agents/skills/integrations/posthog/references/llm-analytics-anthropic.md +0 -200
  315. package/template/.agents/skills/integrations/posthog/references/llm-analytics-basics.md +0 -62
  316. package/template/.agents/skills/integrations/posthog/references/llm-analytics-costs.md +0 -197
  317. package/template/.agents/skills/integrations/posthog/references/llm-analytics-manual-capture.md +0 -397
  318. package/template/.agents/skills/integrations/posthog/references/llm-analytics-traces.md +0 -98
  319. package/template/.agents/skills/integrations/posthog/references/llm-analytics-vercel-ai.md +0 -120
  320. package/template/.agents/skills/repo/repo-ci/SKILL.md +0 -265
  321. package/template/.agents/skills/repo/repo-init-next-js/SKILL.md +0 -129
  322. package/template/.agents/skills/repo/repo-init-next-js/references/file-contents.md +0 -800
  323. package/template/.agents/skills/repo/repo-init-next-js/scripts/setup.sh +0 -47
  324. package/template/.agents/skills/repo/repo-init-node/SKILL.md +0 -196
  325. package/template/.agents/skills/skill-creator/LICENSE.txt +0 -202
  326. package/template/.agents/skills/skill-creator/SKILL.md +0 -485
  327. package/template/.agents/skills/skill-creator/agents/analyzer.md +0 -274
  328. package/template/.agents/skills/skill-creator/agents/comparator.md +0 -202
  329. package/template/.agents/skills/skill-creator/agents/grader.md +0 -223
  330. package/template/.agents/skills/skill-creator/assets/eval_review.html +0 -146
  331. package/template/.agents/skills/skill-creator/eval-viewer/generate_review.py +0 -471
  332. package/template/.agents/skills/skill-creator/eval-viewer/viewer.html +0 -1325
  333. package/template/.agents/skills/skill-creator/references/schemas.md +0 -430
  334. package/template/.agents/skills/skill-creator/scripts/__init__.py +0 -0
  335. package/template/.agents/skills/skill-creator/scripts/aggregate_benchmark.py +0 -401
  336. package/template/.agents/skills/skill-creator/scripts/generate_report.py +0 -326
  337. package/template/.agents/skills/skill-creator/scripts/improve_description.py +0 -247
  338. package/template/.agents/skills/skill-creator/scripts/package_skill.py +0 -136
  339. package/template/.agents/skills/skill-creator/scripts/quick_validate.py +0 -103
  340. package/template/.agents/skills/skill-creator/scripts/run_eval.py +0 -310
  341. package/template/.agents/skills/skill-creator/scripts/run_loop.py +0 -328
  342. package/template/.agents/skills/skill-creator/scripts/utils.py +0 -47
  343. package/template/.agents/skills/supabase/CHANGELOG.md +0 -71
  344. package/template/.agents/skills/supabase/SKILL.md +0 -145
  345. package/template/.agents/skills/supabase/assets/feedback-issue-template.md +0 -17
  346. package/template/.agents/skills/supabase/references/skill-feedback.md +0 -17
  347. package/template/.agents/skills/supabase-postgres-best-practices/CHANGELOG.md +0 -73
  348. package/template/.agents/skills/supabase-postgres-best-practices/SKILL.md +0 -64
  349. package/template/.agents/skills/supabase-postgres-best-practices/references/_contributing.md +0 -170
  350. package/template/.agents/skills/supabase-postgres-best-practices/references/_sections.md +0 -39
  351. package/template/.agents/skills/supabase-postgres-best-practices/references/_template.md +0 -34
  352. package/template/.agents/skills/supabase-postgres-best-practices/references/advanced-full-text-search.md +0 -55
  353. package/template/.agents/skills/supabase-postgres-best-practices/references/advanced-jsonb-indexing.md +0 -49
  354. package/template/.agents/skills/supabase-postgres-best-practices/references/conn-idle-timeout.md +0 -46
  355. package/template/.agents/skills/supabase-postgres-best-practices/references/conn-limits.md +0 -44
  356. package/template/.agents/skills/supabase-postgres-best-practices/references/conn-pooling.md +0 -41
  357. package/template/.agents/skills/supabase-postgres-best-practices/references/conn-prepared-statements.md +0 -46
  358. package/template/.agents/skills/supabase-postgres-best-practices/references/data-batch-inserts.md +0 -54
  359. package/template/.agents/skills/supabase-postgres-best-practices/references/data-n-plus-one.md +0 -53
  360. package/template/.agents/skills/supabase-postgres-best-practices/references/data-pagination.md +0 -50
  361. package/template/.agents/skills/supabase-postgres-best-practices/references/data-upsert.md +0 -50
  362. package/template/.agents/skills/supabase-postgres-best-practices/references/lock-advisory.md +0 -56
  363. package/template/.agents/skills/supabase-postgres-best-practices/references/lock-deadlock-prevention.md +0 -68
  364. package/template/.agents/skills/supabase-postgres-best-practices/references/lock-short-transactions.md +0 -50
  365. package/template/.agents/skills/supabase-postgres-best-practices/references/lock-skip-locked.md +0 -54
  366. package/template/.agents/skills/supabase-postgres-best-practices/references/monitor-explain-analyze.md +0 -45
  367. package/template/.agents/skills/supabase-postgres-best-practices/references/monitor-pg-stat-statements.md +0 -55
  368. package/template/.agents/skills/supabase-postgres-best-practices/references/monitor-vacuum-analyze.md +0 -55
  369. package/template/.agents/skills/supabase-postgres-best-practices/references/query-composite-indexes.md +0 -44
  370. package/template/.agents/skills/supabase-postgres-best-practices/references/query-covering-indexes.md +0 -40
  371. package/template/.agents/skills/supabase-postgres-best-practices/references/query-index-types.md +0 -48
  372. package/template/.agents/skills/supabase-postgres-best-practices/references/query-missing-indexes.md +0 -43
  373. package/template/.agents/skills/supabase-postgres-best-practices/references/query-partial-indexes.md +0 -45
  374. package/template/.agents/skills/supabase-postgres-best-practices/references/schema-constraints.md +0 -80
  375. package/template/.agents/skills/supabase-postgres-best-practices/references/schema-data-types.md +0 -46
  376. package/template/.agents/skills/supabase-postgres-best-practices/references/schema-foreign-key-indexes.md +0 -59
  377. package/template/.agents/skills/supabase-postgres-best-practices/references/schema-lowercase-identifiers.md +0 -55
  378. package/template/.agents/skills/supabase-postgres-best-practices/references/schema-partitioning.md +0 -55
  379. package/template/.agents/skills/supabase-postgres-best-practices/references/schema-primary-keys.md +0 -61
  380. package/template/.agents/skills/supabase-postgres-best-practices/references/security-privileges.md +0 -54
  381. package/template/.agents/skills/supabase-postgres-best-practices/references/security-rls-basics.md +0 -50
  382. package/template/.agents/skills/supabase-postgres-best-practices/references/security-rls-performance.md +0 -63
  383. package/template/.agents/skills/writing/humanizer/SKILL.md +0 -621
  384. package/template/.agents/upstreams.json +0 -116
@@ -1,788 +0,0 @@
1
- ### Purpose
2
-
3
- Resolve one stable target, run two independent assessments, synthesize a design critique, persist a snapshot, and ask the user what to improve next. The chat response is the primary deliverable; the snapshot is an archive/backlog for future commands.
4
-
5
- ### Hard Invariants
6
-
7
- - Assessment A (design review) and Assessment B (detector/browser evidence) are both required.
8
- - Assessment A and B MUST run as two isolated sub-agents whenever a sub-agent/Task tool is exposed. Running them inline in this context is "possible" but is NOT permitted; it is a degraded run. Inline is allowed ONLY when no sub-agent tool exists (or the user declined, on harnesses that ask).
9
- - If you degrade for any reason, the report's first line MUST be a banner: `⚠️ DEGRADED: single-context (<reason>)`. A silent degraded critique is a failed critique.
10
- - Assessment A must finish before detector findings enter the parent synthesis context. Detector output is deterministic, but it still anchors judgment.
11
- - A skipped detector is a failed critique run unless `detect.mjs` is missing or crashes after a real attempt.
12
- - Viewable targets require browser inspection when available.
13
- - Any local server started only for critique visualization must run in the background, have a recorded stop method, and be stopped before final reporting unless the user asks to keep it.
14
- - Do not claim a user-visible overlay exists unless script injection succeeded and the detector ran in the page.
15
-
16
- ### Setup
17
-
18
- 1. **Resolve the target** to a concrete file path or URL. Prefer a source path over a dev-server URL when both identify the same surface; ports drift, paths do not.
19
- - "the homepage" -> `site/pages/index.astro` or `index.html`
20
- - "the settings modal" -> the primary component file
21
- - "this page" -> the current URL or source file
22
- 2. **Confirm the target slugs cleanly**:
23
- ```bash
24
- node .pi/skills/impeccable/scripts/critique-storage.mjs slug "<resolved-path-or-url>"
25
- ```
26
- Every later command also accepts the resolved target directly and derives the same slug internally; never hand-write a slug. If this exits non-zero, skip persistence and trend for this run, but continue the critique.
27
- 3. **Read `.impeccable/critique/ignore.md`** if it exists. Drop matching findings silently; it is the only prior-run input critique consumes.
28
-
29
- ### Assessment Orchestration
30
-
31
- Delegate Assessment A and Assessment B to separate sub-agents. They must not see each other's output. Do not show findings to the user until synthesis.
32
-
33
- Sub-agent gate (all harnesses):
34
- - Unless a harness-specific gate below overrides this, spawn A and B as two isolated, parallel sub-agents whenever a sub-agent/Task tool is exposed. This is the default and is mandatory; do not run them inline because it is faster.
35
- - "Unavailable" means exactly one thing: no sub-agent/Task tool is exposed in this session (or, on harnesses that ask, the user declined). It does not mean inconvenient.
36
- - If and only if sub-agents are unavailable, fall back sequentially: finish and record Assessment A, then run Assessment B, then synthesize, and emit the degraded banner.
37
- - Whichever path you take, declare it in the report header (see Report header provenance). Skipping sub-agents without the banner is the most common failure of this command.
38
-
39
- If browser automation is available, each assessment creates its own new tab. Never reuse an existing tab, even if it is already at the right URL.
40
-
41
- ### Assessment A: Design Review
42
-
43
- Read relevant source files and visually inspect the live page when browser automation is available. Think like a design director.
44
-
45
- Evaluate:
46
- - **Design specificity**: Is the composition, interaction, and visual language grounded in this product, or could an unrelated product use it unchanged? Make this judgment before seeing detector output.
47
- - **Holistic design**: hierarchy, IA, emotional fit, discoverability, composition, typography, color, accessibility, states, copy, and edge cases.
48
- - **Cognitive load**: consult the [Cognitive Load Assessment](#cognitive-load-assessment) section below; report checklist failures and decision points with >4 visible options.
49
- - **Emotional journey**: peak-end rule, emotional valleys, reassurance at high-stakes moments.
50
- - **Nielsen heuristics**: consult the [Heuristics Scoring Guide](#heuristics-scoring-guide) section below; score all 10 heuristics 0-4, marking any heuristic the mode-applicability rule allows as `n/a` instead of forcing a number.
51
-
52
- Return: design-specificity verdict, heuristic scores, cognitive load, emotional journey, 2-3 strengths, 3-5 priority issues, persona red flags, minor observations, and provocative questions.
53
-
54
- ### Assessment B: Detector + Browser Evidence
55
-
56
- Run the bundled detector and browser visualization evidence. Assessment B is mandatory and must remain isolated from Assessment A until both are complete.
57
-
58
- CLI scan:
59
- ```bash
60
- node .pi/skills/impeccable/scripts/detect.mjs --json [target]
61
- ```
62
-
63
- - Pass markup files/directories as `[target]`; do not pass CSS-only files.
64
- - For URLs, skip CLI scan and use browser visualization.
65
- - For very large trees (500+ scannable files), narrow scope or ask.
66
- - Exit code 0 = clean; 2 = findings.
67
- - If the detector entrypoint is missing or fails to load, report deterministic scan unavailable and continue with browser/manual review.
68
-
69
- Browser visualization is required for a viewable target when browser automation is available. Use a localhost dev/static URL for local files; avoid `file://` unless the available browser explicitly supports this workflow. Overlay flow:
70
-
71
- 1. Create a fresh tab and navigate. Prefer the harness's native/browser-canvas screenshot path before hand-rolling a Playwright/Puppeteer script; only fall back to a custom script when no native browser tool is exposed.
72
- 2. Preflight mutable injection by setting `document.title` and appending a `<script>` tag. Read-only evaluate APIs do not count.
73
- 3. If mutation is unavailable, skip live server, browser presentation, and injection; report fallback signal.
74
- 4. If mutation is available, start `node .pi/skills/impeccable/scripts/live-server.mjs --background`, present the browser if supported, label `[Human]`, scroll top, inject `http://localhost:PORT/detect.js`, wait 2-3 seconds, read `impeccable` console messages, then stop the live server.
75
- 5. For multi-view targets, inject on 3-5 representative pages.
76
-
77
- Return: CLI findings JSON/counts, browser console findings if applicable, false positives, and skipped/failed browser steps with concrete reasons.
78
-
79
- After Assessment B returns usable CLI findings, reuse them. Do not rerun `detect.mjs` in the parent unless Assessment B failed, was truncated, or omitted count, rule names, or file locations.
80
-
81
- ### Generate Combined Critique Report
82
-
83
- Synthesize both assessments into a single report. Do NOT simply concatenate. Weave the findings together, noting where the LLM review and detector agree, where the detector caught issues the LLM missed, and where detector findings are false positives.
84
-
85
- The chat response is the primary user-facing deliverable. Present the full structured critique below in chat; do not replace it with a summary and a link. The persisted snapshot is only an archive/backlog for later commands.
86
-
87
- Structure your feedback as a design director would:
88
-
89
- #### Report header provenance
90
-
91
- The report's first line MUST declare how the assessments were run, so a degraded run is never silent:
92
- - Dual-agent: `Method: dual-agent (A: <agent-id> · B: <agent-id>)`
93
- - Degraded: `⚠️ DEGRADED: single-context (<reason, e.g. no sub-agent tool exposed>)`
94
-
95
- #### Design Health Score
96
- > *Consult the [Heuristics Scoring Guide](#heuristics-scoring-guide) section below.*
97
-
98
- Present the Nielsen's 10 heuristics scores as a table:
99
-
100
- | # | Heuristic | Score | Key Issue |
101
- |---|-----------|-------|-----------|
102
- | 1 | Visibility of System Status | ? | [specific finding or "n/a" if solid] |
103
- | 2 | Match System / Real World | ? | |
104
- | 3 | User Control and Freedom | ? | |
105
- | 4 | Consistency and Standards | ? | |
106
- | 5 | Error Prevention | ? | |
107
- | 6 | Recognition Rather Than Recall | ? | |
108
- | 7 | Flexibility and Efficiency | ? | |
109
- | 8 | Aesthetic and Minimalist Design | ? | |
110
- | 9 | Error Recovery | ? | |
111
- | 10 | Help and Documentation | ? | |
112
- | **Total** | | **??/[applicable max]** | **[Rating band]** |
113
-
114
- The applicable maximum is 4 times the number of heuristics you actually scored: **/40** when all ten apply, **/32** when two are `n/a`. Never print `/40` over a partial set.
115
-
116
- Be honest with scores. A 4 means genuinely excellent. Most real interfaces score 20-32 out of 40.
117
-
118
- **Mode applicability**: heuristics 7 (Flexibility and Efficiency) and 10 (Help and Documentation) may be scored `n/a` on Persuade and Experience surfaces (landing pages, campaigns, portfolios, bodies of work), as may any other heuristic that genuinely cannot apply to the surface under review. Write `n/a` in the Score cell with a one-line reason, and renormalize the total to the applicable maximum (e.g. **24/32** when two heuristics are n/a) so the rating band stays proportional. The persisted snapshot must record the applicable maximum and which heuristics were scored n/a.
119
-
120
- #### Design Specificity Verdict
121
-
122
- **Start here.** Does the result feel authored for this product, or category-interchangeable?
123
-
124
- **LLM assessment**: Your unanchored evaluation of design specificity. Cover overall coherence, structural sameness, category-interchangeable choices, and missed opportunities for product character.
125
-
126
- **Deterministic scan**: Summarize what the automated detector found, with counts and file locations. Note any additional issues the detector caught that you missed, and flag any false positives.
127
-
128
- **Visual overlays** (if injection succeeded): Tell the user that overlays are now visible in the **[Human]** tab in their browser, highlighting the detected issues. Summarize what the console output reported. If browser visualization was attempted but injection failed, say that no reliable user-visible overlay is available and report the fallback signal instead.
129
-
130
- #### Overall Impression
131
- A brief gut reaction: what works, what doesn't, and the single biggest opportunity.
132
-
133
- #### What's Working
134
- Highlight 2-3 things done well. Be specific about why they work.
135
-
136
- #### Priority Issues
137
- The 3-5 most impactful design problems, ordered by importance.
138
-
139
- For each issue, tag with **P0-P3 severity** (see [Issue Severity below](#issue-severity-p0p3) for definitions):
140
- - **[P?] What**: Name the problem clearly
141
- - **Why it matters**: How this hurts users or undermines goals
142
- - **Fix**: What to do about it (be concrete)
143
- - **Suggested command**: Which command could address this (from: /impeccable adapt, /impeccable animate, /impeccable audit, /impeccable bolder, /impeccable clarify, /impeccable colorize, /impeccable critique, /impeccable delight, /impeccable distill, /impeccable document, /impeccable harden, /impeccable layout, /impeccable onboard, /impeccable optimize, /impeccable overdrive, /impeccable polish, /impeccable quieter, /impeccable shape, /impeccable typeset)
144
-
145
- #### Persona Red Flags
146
- > *Consult the [Personas reference](#persona-based-design-testing) below.*
147
-
148
- Auto-select 2-3 personas most relevant to this interface type (use the selection table in the reference). If `AGENTS.md` contains a `## Design Context` section from `impeccable init`, also generate 1-2 project-specific personas from the audience/brand info.
149
-
150
- For each selected persona, walk through the primary user action and list specific red flags found:
151
-
152
- **Alex (Power User)**: No keyboard shortcuts detected. Form requires 8 clicks for primary action. Forced modal onboarding. High abandonment risk.
153
-
154
- **Jordan (First-Timer)**: Icon-only nav in sidebar. Technical jargon in error messages ("404 Not Found"). No visible help. Will abandon at step 2.
155
-
156
- Be specific. Name the exact elements and interactions that fail each persona. Don't write generic persona descriptions; write what broke for them.
157
-
158
- #### Minor Observations
159
- Quick notes on smaller issues worth addressing.
160
-
161
- #### Questions to Consider
162
- Provocative questions that might unlock better solutions:
163
- - "What if the primary action were more prominent?"
164
- - "Does this need to feel this complex?"
165
- - "What would a confident version of this look like?"
166
-
167
- **Remember**:
168
- - Be direct. Vague feedback wastes everyone's time.
169
- - Be specific. "The submit button," not "some elements."
170
- - Say what's wrong AND why it matters to users.
171
- - Give concrete suggestions. Cut "consider exploring..." entirely.
172
- - Prioritize ruthlessly. If everything is important, nothing is.
173
- - Don't soften criticism. Developers need honest feedback to ship great design.
174
-
175
- ### Persist the Snapshot
176
-
177
- Once the report above is finalized, write it to `.impeccable/critique/` so the user can refer back, and so `/impeccable polish` can pick up the priority issues without a copy-paste.
178
-
179
- Skip this step if the Setup slug was null (vague or root-level target).
180
-
181
- 1. **Write the body to a temp file** so you can pipe it to the helper. Use the full critique report (heuristic table, design-specificity verdict, priority issues, persona red flags, minor observations, and questions), but stop before the "Ask the User" / "Recommended Actions" sections that come later.
182
-
183
- 2. **Pass the structured metadata** through `IMPECCABLE_CRITIQUE_META` (JSON), then run the write command:
184
- ```bash
185
- IMPECCABLE_CRITIQUE_META='{"target":"<user phrasing>","total_score":<n>,"max_score":<n>,"na_heuristics":"<comma-separated numbers, or empty>","p0_count":<n>,"p1_count":<n>}' \
186
- node .pi/skills/impeccable/scripts/critique-storage.mjs write "<resolved target>" <body-file>
187
- ```
188
- `max_score` is the applicable maximum from the heuristic table (40 when every heuristic applied), so a later run can tell a renormalized total from a full one. The helper prints the absolute path it wrote.
189
-
190
- 3. **Delete the temp body file** after the write attempt completes, whether the write succeeded or failed. If deletion fails, mention `temp-file cleanup failed: <reason>` briefly in the final output, but do not block the critique.
191
-
192
- 4. **Read the trend** for context:
193
- ```bash
194
- node .pi/skills/impeccable/scripts/critique-storage.mjs trend "<resolved target>" 5
195
- ```
196
- This returns a JSON array of the last 5 frontmatter entries (including the one you just wrote).
197
-
198
- 5. **Append a single line to the user-visible output**, after the report and before the questions:
199
-
200
- > **Trend for `<slug>` (last 5 runs): 24 → 28 → 32 → 29 → 32 (out of 40)**
201
- > Wrote `.impeccable/critique/<filename>`.
202
-
203
- Read `max_score` on each trend entry. When every entry shares one maximum, state it once as above. When they differ, print each score with its own denominator (`24/32 → 30/40`) and note that the runs scored different heuristic sets, so the line is not a like-for-like comparison. Treat a missing `max_score` on an older entry as 40.
204
-
205
- If this is the first run for the slug, the trend is just one score; say so: "First run for this target, no trend yet."
206
-
207
- This is fire-and-forget. Do not show the user the helper's JSON output; only the human-readable trend line and the written path. Failures here should not block the rest of the flow; print the error and move on.
208
-
209
- ### Ask the User
210
-
211
- **After presenting findings**, use targeted questions based on what was actually found. ask the user directly to clarify what you cannot infer. These answers will shape the action plan.
212
-
213
- Ask questions along these lines (adapt to the specific findings; do NOT ask generic questions):
214
-
215
- 1. **Priority direction**: Based on the issues found, ask which category matters most to the user right now. For example: "I found problems with visual hierarchy, color usage, and information overload. Which area should we tackle first?" Offer the top 2-3 issue categories as options.
216
-
217
- 2. **Design intent**: If the critique found a tonal mismatch, ask whether it was intentional. For example: "The interface feels clinical and corporate. Is that the intended tone, or should it feel warmer/bolder/more playful?" Offer 2-3 tonal directions as options based on what would fix the issues found.
218
-
219
- 3. **Scope**: Ask how much the user wants to take on. For example: "I found N issues. Want to address everything, or focus on the top 3?" Offer scope options like "Top 3 only", "All issues", "Critical issues only".
220
-
221
- 4. **Constraints** (optional; only ask if relevant): If the findings touch many areas, ask if anything is off-limits. For example: "Should any sections stay as-is?" This prevents the plan from touching things the user considers done.
222
-
223
- **Rules for questions**:
224
- - Every question must reference specific findings from the report. Never ask generic "who is your audience?" questions.
225
- - Keep it to 2-4 questions maximum. Respect the user's time.
226
- - Offer concrete options, not open-ended prompts.
227
- - If findings are straightforward (e.g., only 1-2 clear issues), skip questions and go directly to Recommended Actions.
228
-
229
- ### Recommended Actions
230
-
231
- **After receiving the user's answers**, present a prioritized action summary reflecting the user's priorities and scope from Ask the User.
232
-
233
- #### Action Summary
234
-
235
- List recommended commands in priority order, based on the user's answers:
236
-
237
- 1. **`/command-name`**: Brief description of what to fix (specific context from critique findings)
238
- 2. **`/command-name`**: Brief description (specific context)
239
- ...
240
-
241
- **Rules for recommendations**:
242
- - Only recommend commands from: /impeccable adapt, /impeccable animate, /impeccable audit, /impeccable bolder, /impeccable clarify, /impeccable colorize, /impeccable critique, /impeccable delight, /impeccable distill, /impeccable document, /impeccable harden, /impeccable layout, /impeccable onboard, /impeccable optimize, /impeccable overdrive, /impeccable polish, /impeccable quieter, /impeccable shape, /impeccable typeset
243
- - Order by the user's stated priorities first, then by impact
244
- - Each item's description should carry enough context that the command knows what to focus on
245
- - Map each Priority Issue to the appropriate command
246
- - Skip commands that would address zero issues
247
- - If the user chose a limited scope, only include items within that scope
248
- - If the user marked areas as off-limits, exclude commands that would touch those areas
249
- - End with `/impeccable polish` as the final step if any fixes were recommended
250
-
251
- After presenting the summary, tell the user:
252
-
253
- > You can ask me to run these one at a time, all at once, or in any order you prefer.
254
- >
255
- > Re-run `/impeccable critique` after fixes to see your score improve.
256
-
257
- ---
258
-
259
- ## Reference Material
260
-
261
- The sections below were previously separate reference files (`cognitive-load.md`, `heuristics-scoring.md`, `personas.md`). They live inline now so the critique flow has all its deep context in one place.
262
-
263
- ### Cognitive Load Assessment
264
-
265
- Cognitive load is the total mental effort required to use an interface. Overloaded users make mistakes, get frustrated, and leave. This reference helps identify and fix cognitive overload.
266
-
267
- ---
268
-
269
- #### Three Types of Cognitive Load
270
-
271
- ##### Intrinsic Load: The Task Itself
272
- Complexity inherent to what the user is trying to do. You can't eliminate this, but you can structure it.
273
-
274
- **Manage it by**:
275
- - Breaking complex tasks into discrete steps
276
- - Providing scaffolding (templates, defaults, examples)
277
- - Progressive disclosure: show what's needed now, hide the rest
278
- - Grouping related decisions together
279
-
280
- ##### Extraneous Load: Bad Design
281
- Mental effort caused by poor design choices. **Eliminate this ruthlessly.** It's pure waste.
282
-
283
- **Common sources**:
284
- - Confusing navigation that requires mental mapping
285
- - Unclear labels that force users to guess meaning
286
- - Visual clutter competing for attention
287
- - Inconsistent patterns that prevent learning
288
- - Unnecessary steps between user intent and result
289
-
290
- ##### Germane Load: Learning Effort
291
- Mental effort spent building understanding. This is *good* cognitive load; it leads to mastery.
292
-
293
- **Support it by**:
294
- - Progressive disclosure that reveals complexity gradually
295
- - Consistent patterns that reward learning
296
- - Feedback that confirms correct understanding
297
- - Onboarding that teaches through action, not walls of text
298
-
299
- ---
300
-
301
- #### Cognitive Load Checklist
302
-
303
- Evaluate the interface against these 8 items:
304
-
305
- - [ ] **Single focus**: Can the user complete their primary task without distraction from competing elements?
306
- - [ ] **Chunking**: Is information presented in digestible groups (≤4 items per group)?
307
- - [ ] **Grouping**: Are related items visually grouped together (proximity, borders, shared background)?
308
- - [ ] **Visual hierarchy**: Is it immediately clear what's most important on the screen?
309
- - [ ] **One thing at a time**: Can the user focus on a single decision before moving to the next?
310
- - [ ] **Minimal choices**: Are decisions simplified (≤4 visible options at any decision point)?
311
- - [ ] **Working memory**: Does the user need to remember information from a previous screen to act on the current one?
312
- - [ ] **Progressive disclosure**: Is complexity revealed only when the user needs it?
313
-
314
- **Scoring**: Count the failed items. 0–1 failures = low cognitive load (good). 2–3 = moderate (address soon). 4+ = high cognitive load (critical fix needed).
315
-
316
- ---
317
-
318
- #### The Working Memory Rule
319
-
320
- **Humans can hold ≤4 items in working memory at once** (Miller's Law revised by Cowan, 2001).
321
-
322
- At any decision point, count the number of distinct options, actions, or pieces of information a user must simultaneously consider:
323
- - **≤4 items**: Within working memory limits, manageable
324
- - **5–7 items**: Pushing the boundary; consider grouping or progressive disclosure
325
- - **8+ items**: Overloaded; users will skip, misclick, or abandon
326
-
327
- **Practical applications**:
328
- - Action buttons: 1 primary, 1–2 secondary, group the rest in a menu
329
- - Navigation menus: ≤5 top-level items (group the rest under clear categories)
330
- - Long-form articles: one reading path; gather related links into a single block at the end instead of scattering them mid-flow
331
- - Documentation sidebars: ≤4 sibling choices visible per level before grouping kicks in
332
- - Portfolio and gallery indexes: one decision per screen (which piece to open), not filter, sort, and tag controls all at once
333
-
334
- ---
335
-
336
- #### Common Cognitive Load Violations
337
-
338
- ##### 1. The Wall of Options
339
- **Problem**: Presenting 10+ choices at once with no hierarchy.
340
- **Fix**: Group into categories, highlight recommended, use progressive disclosure.
341
-
342
- ##### 2. The Memory Bridge
343
- **Problem**: User must remember info from step 1 to complete step 3.
344
- **Fix**: Keep relevant context visible, or repeat it where it's needed.
345
-
346
- ##### 3. The Hidden Navigation
347
- **Problem**: User must build a mental map of where things are.
348
- **Fix**: Always show current location (breadcrumbs, active states, progress indicators).
349
-
350
- ##### 4. The Jargon Barrier
351
- **Problem**: Technical or domain language forces translation effort.
352
- **Fix**: Use plain language. If domain terms are unavoidable, define them inline.
353
-
354
- ##### 5. The Visual Noise Floor
355
- **Problem**: Every element has the same visual weight; nothing stands out.
356
- **Fix**: Establish clear hierarchy: one primary element, 2–3 secondary, everything else muted.
357
-
358
- ##### 6. The Inconsistent Pattern
359
- **Problem**: Similar actions work differently in different places.
360
- **Fix**: Standardize interaction patterns. Same type of action = same type of UI.
361
-
362
- ##### 7. The Multi-Task Demand
363
- **Problem**: Interface requires processing multiple simultaneous inputs (reading + deciding + navigating).
364
- **Fix**: Sequence the steps. Let the user do one thing at a time.
365
-
366
- ##### 8. The Context Switch
367
- **Problem**: User must jump between screens/tabs/modals to gather info for a single decision.
368
- **Fix**: Co-locate the information needed for each decision. Reduce back-and-forth.
369
-
370
- ---
371
-
372
- ### Heuristics Scoring Guide
373
-
374
- Score each of Nielsen's 10 Usability Heuristics on a 0–4 scale. Be honest: a 4 means genuinely excellent, not "good enough."
375
-
376
- #### Nielsen's 10 Heuristics
377
-
378
- ##### 1. Visibility of System Status
379
-
380
- Keep users informed about what's happening through timely, appropriate feedback.
381
-
382
- **Check for**:
383
- - Loading indicators during async operations
384
- - Confirmation of user actions (save, submit, delete)
385
- - Progress indicators for multi-step processes
386
- - Current location in navigation (breadcrumbs, active states)
387
- - Form validation feedback (inline, not just on submit)
388
-
389
- **Scoring**:
390
- | Score | Criteria |
391
- |-------|----------|
392
- | 0 | No feedback; user is guessing what happened |
393
- | 1 | Rare feedback; most actions produce no visible response |
394
- | 2 | Partial; some states communicated, major gaps remain |
395
- | 3 | Good; most operations give clear feedback, minor gaps |
396
- | 4 | Excellent; every action confirms, progress is always visible |
397
-
398
- ##### 2. Match Between System and Real World
399
-
400
- Speak the user's language. Follow real-world conventions. Information appears in natural, logical order.
401
-
402
- **Check for**:
403
- - Familiar terminology (no unexplained jargon)
404
- - Logical information order matching user expectations
405
- - Recognizable icons and metaphors
406
- - Domain-appropriate language for the target audience
407
- - Natural reading flow (left-to-right, top-to-bottom priority)
408
-
409
- **Scoring**:
410
- | Score | Criteria |
411
- |-------|----------|
412
- | 0 | Pure tech jargon, alien to users |
413
- | 1 | Mostly confusing; requires domain expertise to navigate |
414
- | 2 | Mixed; some plain language, some jargon leaks through |
415
- | 3 | Mostly natural; occasional term needs context |
416
- | 4 | Speaks the user's language fluently throughout |
417
-
418
- ##### 3. User Control and Freedom
419
-
420
- Users need a clear "emergency exit" from unwanted states without extended dialogue.
421
-
422
- **Check for**:
423
- - Undo/redo functionality
424
- - Cancel buttons on forms and modals
425
- - Clear navigation back to safety (home, previous)
426
- - Easy way to clear filters, search, selections
427
- - Escape from long or multi-step processes
428
-
429
- **Scoring**:
430
- | Score | Criteria |
431
- |-------|----------|
432
- | 0 | Users get trapped; no way out without refreshing |
433
- | 1 | Difficult exits; must find obscure paths to escape |
434
- | 2 | Some exits; main flows have escape, edge cases don't |
435
- | 3 | Good control; users can exit and undo most actions |
436
- | 4 | Full control; undo, cancel, back, and escape everywhere |
437
-
438
- ##### 4. Consistency and Standards
439
-
440
- Users shouldn't wonder whether different words, situations, or actions mean the same thing.
441
-
442
- **Check for**:
443
- - Consistent terminology throughout the interface
444
- - Same actions produce same results everywhere
445
- - Platform conventions followed (standard UI patterns)
446
- - Visual consistency (colors, typography, spacing, components)
447
- - Consistent interaction patterns (same gesture = same behavior)
448
-
449
- **Scoring**:
450
- | Score | Criteria |
451
- |-------|----------|
452
- | 0 | Inconsistent everywhere; feels like different products stitched together |
453
- | 1 | Many inconsistencies; similar things look/behave differently |
454
- | 2 | Partially consistent; main flows match, details diverge |
455
- | 3 | Mostly consistent; occasional deviation, nothing confusing |
456
- | 4 | Fully consistent; cohesive system, predictable behavior |
457
-
458
- ##### 5. Error Prevention
459
-
460
- Better than good error messages is a design that prevents problems in the first place.
461
-
462
- **Check for**:
463
- - Confirmation before destructive actions (delete, overwrite)
464
- - Constraints preventing invalid input (date pickers, dropdowns)
465
- - Smart defaults that reduce errors
466
- - Clear labels that prevent misunderstanding
467
- - Autosave and draft recovery
468
-
469
- **Scoring**:
470
- | Score | Criteria |
471
- |-------|----------|
472
- | 0 | Errors easy to make; no guardrails anywhere |
473
- | 1 | Few safeguards; some inputs validated, most aren't |
474
- | 2 | Partial prevention; common errors caught, edge cases slip |
475
- | 3 | Good prevention; most error paths blocked proactively |
476
- | 4 | Excellent; errors nearly impossible through smart constraints |
477
-
478
- ##### 6. Recognition Rather Than Recall
479
-
480
- Minimize memory load. Make objects, actions, and options visible or easily retrievable.
481
-
482
- **Check for**:
483
- - Visible options (not buried in hidden menus)
484
- - Contextual help when needed (tooltips, inline hints)
485
- - Recent items and history
486
- - Autocomplete and suggestions
487
- - Labels on icons (not icon-only navigation)
488
-
489
- **Scoring**:
490
- | Score | Criteria |
491
- |-------|----------|
492
- | 0 | Heavy memorization; users must remember paths and commands |
493
- | 1 | Mostly recall; many hidden features, few visible cues |
494
- | 2 | Some aids; main actions visible, secondary features hidden |
495
- | 3 | Good recognition; most things discoverable, few memory demands |
496
- | 4 | Everything discoverable; users never need to memorize |
497
-
498
- ##### 7. Flexibility and Efficiency of Use
499
-
500
- Accelerators, invisible to novices, speed up expert interaction.
501
-
502
- **Check for**:
503
- - Keyboard shortcuts for common actions
504
- - Customizable interface elements
505
- - Recent items and favorites
506
- - Bulk/batch actions
507
- - Power user features that don't complicate the basics
508
-
509
- **Scoring**:
510
- | Score | Criteria |
511
- |-------|----------|
512
- | 0 | One rigid path; no shortcuts or alternatives |
513
- | 1 | Limited flexibility; few alternatives to the main path |
514
- | 2 | Some shortcuts; basic keyboard support, limited bulk actions |
515
- | 3 | Good accelerators; keyboard nav, some customization |
516
- | 4 | Highly flexible; multiple paths, power features, customizable |
517
-
518
- ##### 8. Aesthetic and Minimalist Design
519
-
520
- Interfaces should not contain irrelevant or rarely needed information. Every element should serve a purpose.
521
-
522
- **Check for**:
523
- - Only necessary information visible at each step
524
- - Clear visual hierarchy directing attention
525
- - Purposeful use of color and emphasis
526
- - No decorative clutter competing for attention
527
- - Focused, uncluttered layouts
528
-
529
- **Scoring**:
530
- | Score | Criteria |
531
- |-------|----------|
532
- | 0 | Overwhelming; everything competes for attention equally |
533
- | 1 | Cluttered; too much noise, hard to find what matters |
534
- | 2 | Some clutter; main content clear, periphery noisy |
535
- | 3 | Mostly clean; focused design, minor visual noise |
536
- | 4 | Perfectly minimal; every element earns its pixel |
537
-
538
- ##### 9. Help Users Recognize, Diagnose, and Recover from Errors
539
-
540
- Error messages should use plain language, precisely indicate the problem, and constructively suggest a solution.
541
-
542
- **Check for**:
543
- - Plain language error messages (no error codes for users)
544
- - Specific problem identification ("Email is missing @" not "Invalid input")
545
- - Actionable recovery suggestions
546
- - Errors displayed near the source of the problem
547
- - Non-blocking error handling (don't wipe the form)
548
-
549
- **Scoring**:
550
- | Score | Criteria |
551
- |-------|----------|
552
- | 0 | Cryptic errors; codes, jargon, or no message at all |
553
- | 1 | Vague errors; "Something went wrong" with no guidance |
554
- | 2 | Clear but unhelpful; names the problem but not the fix |
555
- | 3 | Clear with suggestions; identifies problem and offers next steps |
556
- | 4 | Perfect recovery; pinpoints issue, suggests fix, preserves user work |
557
-
558
- ##### 10. Help and Documentation
559
-
560
- Even if the system is usable without docs, help should be easy to find, task-focused, and concise.
561
-
562
- **Check for**:
563
- - Searchable help or documentation
564
- - Contextual help (tooltips, inline hints, guided tours)
565
- - Task-focused organization (not feature-organized)
566
- - Concise, scannable content
567
- - Easy access without leaving current context
568
-
569
- **Scoring**:
570
- | Score | Criteria |
571
- |-------|----------|
572
- | 0 | No help available anywhere |
573
- | 1 | Help exists but hard to find or irrelevant |
574
- | 2 | Basic help; FAQ or docs exist, not contextual |
575
- | 3 | Good documentation; searchable, mostly task-focused |
576
- | 4 | Excellent contextual help; right info at the right moment |
577
-
578
- ---
579
-
580
- #### Score Summary
581
-
582
- **Total possible**: 40 points (10 heuristics × 4 max)
583
-
584
- | Score Range | Rating | What It Means |
585
- |-------------|--------|---------------|
586
- | 36–40 | Excellent | Minor polish only; ship it |
587
- | 28–35 | Good | Address weak areas, solid foundation |
588
- | 20–27 | Acceptable | Significant improvements needed before users are happy |
589
- | 12–19 | Poor | Major UX overhaul required; core experience broken |
590
- | 0–11 | Critical | Redesign needed; unusable in current state |
591
-
592
- When heuristics were scored `n/a`, the maximum is lower than 40; read the band off the percentage instead of the raw number (90%+ Excellent, 70%+ Good, 50%+ Acceptable, 30%+ Poor, below that Critical). 24/32 is 75%, so Good.
593
-
594
- ---
595
-
596
- #### Issue Severity (P0–P3)
597
-
598
- Tag each individual issue found during scoring with a priority level:
599
-
600
- | Priority | Name | Description | Action |
601
- |----------|------|-------------|--------|
602
- | **P0** | Blocking | Prevents task completion entirely | Fix immediately; this is a showstopper |
603
- | **P1** | Major | Causes significant difficulty or confusion | Fix before release |
604
- | **P2** | Minor | Annoyance, but workaround exists | Fix in next pass |
605
- | **P3** | Polish | Nice-to-fix, no real user impact | Fix if time permits |
606
-
607
- **Tip**: If you're unsure between two levels, ask: "Would a user contact support about this?" If yes, it's at least P1.
608
-
609
- ---
610
-
611
- ### Persona-Based Design Testing
612
-
613
- Test the interface through the eyes of 5 distinct user archetypes. Each persona exposes different failure modes that a single "design director" perspective would miss.
614
-
615
- **How to use**: Select 2–3 personas most relevant to the interface being critiqued. Walk through the primary user action as each persona. Report specific red flags, not generic concerns.
616
-
617
- ---
618
-
619
- #### 1. Impatient Power User: "Alex"
620
-
621
- **Profile**: Expert with similar products. Expects efficiency, hates hand-holding. Will find shortcuts or leave.
622
-
623
- **Behaviors**:
624
- - Skips all onboarding and instructions
625
- - Looks for keyboard shortcuts immediately
626
- - Tries to bulk-select, batch-edit, and automate
627
- - Gets frustrated by required steps that feel unnecessary
628
- - Abandons if anything feels slow or patronizing
629
-
630
- **Test Questions**:
631
- - Can Alex complete the core task in under 60 seconds?
632
- - Are there keyboard shortcuts for common actions?
633
- - Can onboarding be skipped entirely?
634
- - Do modals have keyboard dismiss (Esc)?
635
- - Is there a "power user" path (shortcuts, bulk actions)?
636
-
637
- **Red Flags** (report these specifically):
638
- - Forced tutorials or unskippable onboarding
639
- - No keyboard navigation for primary actions
640
- - Slow animations that can't be skipped
641
- - One-item-at-a-time workflows where batch would be natural
642
- - Redundant confirmation steps for low-risk actions
643
-
644
- ---
645
-
646
- #### 2. Confused First-Timer: "Jordan"
647
-
648
- **Profile**: Never used this type of product. Needs guidance at every step. Will abandon rather than figure it out.
649
-
650
- **Behaviors**:
651
- - Reads all instructions carefully
652
- - Hesitates before clicking anything unfamiliar
653
- - Looks for help or support constantly
654
- - Misunderstands jargon and abbreviations
655
- - Takes the most literal interpretation of any label
656
-
657
- **Test Questions**:
658
- - Is the first action obviously clear within 5 seconds?
659
- - Are all icons labeled with text?
660
- - Is there contextual help at decision points?
661
- - Does terminology assume prior knowledge?
662
- - Is there a clear "back" or "undo" at every step?
663
-
664
- **Red Flags** (report these specifically):
665
- - Icon-only navigation with no labels
666
- - Technical jargon without explanation
667
- - No visible help option or guidance
668
- - Ambiguous next steps after completing an action
669
- - No confirmation that an action succeeded
670
-
671
- ---
672
-
673
- #### 3. Accessibility-Dependent User: "Sam"
674
-
675
- **Profile**: Uses screen reader (VoiceOver/NVDA), keyboard-only navigation. May have low vision, motor impairment, or cognitive differences.
676
-
677
- **Behaviors**:
678
- - Tabs through the interface linearly
679
- - Relies on ARIA labels and heading structure
680
- - Cannot see hover states or visual-only indicators
681
- - Needs adequate color contrast (4.5:1 minimum)
682
- - May use browser zoom up to 200%
683
-
684
- **Test Questions**:
685
- - Can the entire primary flow be completed keyboard-only?
686
- - Are all interactive elements focusable with visible focus indicators?
687
- - Do images have meaningful alt text?
688
- - Is color contrast WCAG AA compliant (4.5:1 for text)?
689
- - Does the screen reader announce state changes (loading, success, errors)?
690
-
691
- **Red Flags** (report these specifically):
692
- - Click-only interactions with no keyboard alternative
693
- - Missing or invisible focus indicators
694
- - Meaning conveyed by color alone (red = error, green = success)
695
- - Unlabeled form fields or buttons
696
- - Time-limited actions without extension option
697
- - Custom components that break screen reader flow
698
-
699
- ---
700
-
701
- #### 4. Deliberate Stress Tester: "Riley"
702
-
703
- **Profile**: Methodical user who pushes interfaces beyond the happy path. Tests edge cases, tries unexpected inputs, and probes for gaps in the experience.
704
-
705
- **Behaviors**:
706
- - Tests edge cases intentionally (empty states, long strings, special characters)
707
- - Submits forms with unexpected data (emoji, RTL text, very long values)
708
- - Tries to break workflows by navigating backwards, refreshing mid-flow, or opening in multiple tabs
709
- - Looks for inconsistencies between what the UI promises and what actually happens
710
- - Documents problems methodically
711
-
712
- **Test Questions**:
713
- - What happens at the edges (0 items, 1000 items, very long text)?
714
- - Do error states recover gracefully or leave the UI in a broken state?
715
- - What happens on refresh mid-workflow? Is state preserved?
716
- - Are there features that appear to work but produce broken results?
717
- - How does the UI handle unexpected input (emoji, special chars, paste from Excel)?
718
-
719
- **Red Flags** (report these specifically):
720
- - Features that appear to work but silently fail or produce wrong results
721
- - Error handling that exposes technical details or leaves UI in a broken state
722
- - Empty states that show nothing useful ("No results" with no guidance)
723
- - Workflows that lose user data on refresh or navigation
724
- - Inconsistent behavior between similar interactions in different parts of the UI
725
-
726
- ---
727
-
728
- #### 5. Distracted Mobile User: "Casey"
729
-
730
- **Profile**: Using phone one-handed on the go. Frequently interrupted. Possibly on a slow connection.
731
-
732
- **Behaviors**:
733
- - Uses thumb only; prefers bottom-of-screen actions
734
- - Gets interrupted mid-flow and returns later
735
- - Switches between apps frequently
736
- - Has limited attention span and low patience
737
- - Types as little as possible, prefers taps and selections
738
-
739
- **Test Questions**:
740
- - Are primary actions in the thumb zone (bottom half of screen)?
741
- - Is state preserved if the user leaves and returns?
742
- - Does it work on slow connections (3G)?
743
- - Can forms use autocomplete and smart defaults?
744
- - Are touch targets at least 44×44pt?
745
-
746
- **Red Flags** (report these specifically):
747
- - Important actions positioned at the top of the screen (unreachable by thumb)
748
- - No state persistence; progress lost on tab switch or interruption
749
- - Large text inputs required where selection would work
750
- - Heavy assets loading on every page (no lazy loading)
751
- - Tiny tap targets or targets too close together
752
-
753
- ---
754
-
755
- #### Selecting Personas
756
-
757
- Choose personas based on the interface type:
758
-
759
- | Interface Type | Primary Personas | Why |
760
- |---------------|-----------------|-----|
761
- | Landing page / marketing | Jordan, Riley, Casey | First impressions, trust, mobile |
762
- | Dashboard / admin | Alex, Sam | Power users, accessibility |
763
- | E-commerce / checkout | Casey, Riley, Jordan | Mobile, edge cases, clarity |
764
- | Onboarding flow | Jordan, Casey | Confusion, interruption |
765
- | Data-heavy / analytics | Alex, Sam | Efficiency, keyboard nav |
766
- | Form-heavy / wizard | Jordan, Sam, Casey | Clarity, accessibility, mobile |
767
-
768
- ---
769
-
770
- #### Project-Specific Personas
771
-
772
- If `AGENTS.md` contains a `## Design Context` section (generated by `impeccable init`), derive 1–2 additional personas from the audience and brand information:
773
-
774
- 1. Read the target audience description
775
- 2. Identify the primary user archetype not covered by the 5 predefined personas
776
- 3. Create a persona following this template:
777
-
778
- ```
779
- ##### [Role]: "[Name]"
780
-
781
- **Profile**: [2-3 key characteristics derived from Design Context]
782
-
783
- **Behaviors**: [3-4 specific behaviors based on the described audience]
784
-
785
- **Red Flags**: [3-4 things that would alienate this specific user type]
786
- ```
787
-
788
- Only generate project-specific personas when real Design Context data is available. Don't invent audience details; use the 5 predefined personas when no context exists.