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