ai-design-context 0.4.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 (288) hide show
  1. package/AGENTS.md +156 -0
  2. package/CHANGELOG.md +71 -0
  3. package/CODE_OF_CONDUCT.md +29 -0
  4. package/CONTRIBUTING.md +128 -0
  5. package/LICENSE +21 -0
  6. package/README.md +283 -0
  7. package/RELEASE_NOTES_v0.1.0.md +45 -0
  8. package/RELEASE_NOTES_v0.3.0.md +47 -0
  9. package/RELEASE_NOTES_v0.4.0.md +29 -0
  10. package/RELEASE_READINESS.md +107 -0
  11. package/ROADMAP.md +60 -0
  12. package/SECURITY.md +40 -0
  13. package/assets/logo.svg +9 -0
  14. package/benchmarks/README.md +19 -0
  15. package/benchmarks/chat.md +37 -0
  16. package/benchmarks/mobile-home-screen.md +38 -0
  17. package/benchmarks/notes-app.md +37 -0
  18. package/benchmarks/settings.md +37 -0
  19. package/benchmarks/shopping-list.md +37 -0
  20. package/benchmarks/todo-app.md +144 -0
  21. package/checklists/DESIGN_QA.md +102 -0
  22. package/checklists/GENERATED_INDEX.md +7 -0
  23. package/docs/AGENT_CONTEXT.md +111 -0
  24. package/docs/BENCHMARK.md +170 -0
  25. package/docs/DESIGNLINT_READINESS.md +110 -0
  26. package/docs/DESIGN_SYSTEM.md +23 -0
  27. package/docs/EVALUATION_RUBRIC.md +154 -0
  28. package/docs/GITHUB_SETUP.md +28 -0
  29. package/docs/GLOSSARY.md +45 -0
  30. package/docs/INDEX.md +109 -0
  31. package/docs/KNOWLEDGE_ENGINE.md +594 -0
  32. package/docs/MOBILE_FIRST.md +18 -0
  33. package/docs/NPM_RELEASE.md +43 -0
  34. package/docs/PATTERN_SPEC.md +113 -0
  35. package/docs/PHILOSOPHY.md +25 -0
  36. package/docs/PRODUCT_THINKING.md +26 -0
  37. package/docs/STYLE_GUIDE.md +49 -0
  38. package/docs/TRACEABILITY.md +45 -0
  39. package/evidence/README.md +64 -0
  40. package/evidence/TEMPLATE.md +46 -0
  41. package/evidence/chat/.gitkeep +1 -0
  42. package/evidence/mobile-home/.gitkeep +1 -0
  43. package/evidence/notes/.gitkeep +1 -0
  44. package/evidence/settings/.gitkeep +1 -0
  45. package/evidence/shopping/.gitkeep +1 -0
  46. package/evidence/todo/.gitkeep +1 -0
  47. package/evidence/todo/2026-06-25-codex-gpt-5/EVALUATION.md +66 -0
  48. package/evidence/todo/2026-06-25-codex-gpt-5/README.md +40 -0
  49. package/evidence/todo/2026-06-25-codex-gpt-5/ai-design-rules/generated-output.md +163 -0
  50. package/evidence/todo/2026-06-25-codex-gpt-5/ai-design-rules/metadata.json +38 -0
  51. package/evidence/todo/2026-06-25-codex-gpt-5/ai-design-rules/notes.md +20 -0
  52. package/evidence/todo/2026-06-25-codex-gpt-5/ai-design-rules/prompt.md +16 -0
  53. package/evidence/todo/2026-06-25-codex-gpt-5/ai-design-rules/scores.md +18 -0
  54. package/evidence/todo/2026-06-25-codex-gpt-5/baseline/generated-output.md +98 -0
  55. package/evidence/todo/2026-06-25-codex-gpt-5/baseline/metadata.json +19 -0
  56. package/evidence/todo/2026-06-25-codex-gpt-5/baseline/notes.md +19 -0
  57. package/evidence/todo/2026-06-25-codex-gpt-5/baseline/prompt.md +9 -0
  58. package/evidence/todo/2026-06-25-codex-gpt-5/baseline/scores.md +18 -0
  59. package/evidence/todo/2026-09-28-codex-paired-todo/EVALUATION.md +70 -0
  60. package/evidence/todo/2026-09-28-codex-paired-todo/README.md +52 -0
  61. package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/GENERATION_NOTES.md +133 -0
  62. package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/app.js +289 -0
  63. package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/context/context-preserving-preview.json +443 -0
  64. package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/context/daily-home-surface.json +373 -0
  65. package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/context/quick-capture.json +301 -0
  66. package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/context/sources-read.txt +36 -0
  67. package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/generated-output.md +11 -0
  68. package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/index.html +64 -0
  69. package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/launch-prompt.md +1 -0
  70. package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/metadata.json +55 -0
  71. package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/notes.md +15 -0
  72. package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/parent-status-message.md +1 -0
  73. package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/prompt.md +49 -0
  74. package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/runtime-checks.json +776 -0
  75. package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/scores.md +20 -0
  76. package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/screenshots/desktop-completed.png +0 -0
  77. package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/screenshots/desktop-default.png +0 -0
  78. package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/screenshots/desktop-detail-reduced-motion.png +0 -0
  79. package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/screenshots/desktop-detail.png +0 -0
  80. package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/screenshots/desktop-empty.png +0 -0
  81. package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/screenshots/desktop-keyboard-focus.png +0 -0
  82. package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/screenshots/desktop-save-error.png +0 -0
  83. package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/screenshots/desktop-saved.png +0 -0
  84. package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/screenshots/desktop-saving.png +0 -0
  85. package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/screenshots/desktop-validation.png +0 -0
  86. package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/screenshots/mobile-completed.png +0 -0
  87. package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/screenshots/mobile-default.png +0 -0
  88. package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/screenshots/mobile-detail-reduced-motion.png +0 -0
  89. package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/screenshots/mobile-detail.png +0 -0
  90. package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/screenshots/mobile-empty.png +0 -0
  91. package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/screenshots/mobile-keyboard-focus.png +0 -0
  92. package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/screenshots/mobile-save-error.png +0 -0
  93. package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/screenshots/mobile-saved.png +0 -0
  94. package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/screenshots/mobile-saving.png +0 -0
  95. package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/screenshots/mobile-validation.png +0 -0
  96. package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/source-hashes.json +5 -0
  97. package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/styles.css +122 -0
  98. package/evidence/todo/2026-09-28-codex-paired-todo/baseline/GENERATION_NOTES.md +86 -0
  99. package/evidence/todo/2026-09-28-codex-paired-todo/baseline/app.js +303 -0
  100. package/evidence/todo/2026-09-28-codex-paired-todo/baseline/generated-output.md +11 -0
  101. package/evidence/todo/2026-09-28-codex-paired-todo/baseline/index.html +71 -0
  102. package/evidence/todo/2026-09-28-codex-paired-todo/baseline/launch-prompt.md +1 -0
  103. package/evidence/todo/2026-09-28-codex-paired-todo/baseline/metadata.json +55 -0
  104. package/evidence/todo/2026-09-28-codex-paired-todo/baseline/notes.md +15 -0
  105. package/evidence/todo/2026-09-28-codex-paired-todo/baseline/parent-status-message.md +1 -0
  106. package/evidence/todo/2026-09-28-codex-paired-todo/baseline/prompt.md +49 -0
  107. package/evidence/todo/2026-09-28-codex-paired-todo/baseline/runtime-checks.json +772 -0
  108. package/evidence/todo/2026-09-28-codex-paired-todo/baseline/scores.md +20 -0
  109. package/evidence/todo/2026-09-28-codex-paired-todo/baseline/screenshots/desktop-completed.png +0 -0
  110. package/evidence/todo/2026-09-28-codex-paired-todo/baseline/screenshots/desktop-default.png +0 -0
  111. package/evidence/todo/2026-09-28-codex-paired-todo/baseline/screenshots/desktop-detail-reduced-motion.png +0 -0
  112. package/evidence/todo/2026-09-28-codex-paired-todo/baseline/screenshots/desktop-detail.png +0 -0
  113. package/evidence/todo/2026-09-28-codex-paired-todo/baseline/screenshots/desktop-empty.png +0 -0
  114. package/evidence/todo/2026-09-28-codex-paired-todo/baseline/screenshots/desktop-keyboard-focus.png +0 -0
  115. package/evidence/todo/2026-09-28-codex-paired-todo/baseline/screenshots/desktop-save-error.png +0 -0
  116. package/evidence/todo/2026-09-28-codex-paired-todo/baseline/screenshots/desktop-saved.png +0 -0
  117. package/evidence/todo/2026-09-28-codex-paired-todo/baseline/screenshots/desktop-saving.png +0 -0
  118. package/evidence/todo/2026-09-28-codex-paired-todo/baseline/screenshots/desktop-validation.png +0 -0
  119. package/evidence/todo/2026-09-28-codex-paired-todo/baseline/screenshots/mobile-completed.png +0 -0
  120. package/evidence/todo/2026-09-28-codex-paired-todo/baseline/screenshots/mobile-default.png +0 -0
  121. package/evidence/todo/2026-09-28-codex-paired-todo/baseline/screenshots/mobile-detail-reduced-motion.png +0 -0
  122. package/evidence/todo/2026-09-28-codex-paired-todo/baseline/screenshots/mobile-detail.png +0 -0
  123. package/evidence/todo/2026-09-28-codex-paired-todo/baseline/screenshots/mobile-empty.png +0 -0
  124. package/evidence/todo/2026-09-28-codex-paired-todo/baseline/screenshots/mobile-keyboard-focus.png +0 -0
  125. package/evidence/todo/2026-09-28-codex-paired-todo/baseline/screenshots/mobile-save-error.png +0 -0
  126. package/evidence/todo/2026-09-28-codex-paired-todo/baseline/screenshots/mobile-saved.png +0 -0
  127. package/evidence/todo/2026-09-28-codex-paired-todo/baseline/screenshots/mobile-saving.png +0 -0
  128. package/evidence/todo/2026-09-28-codex-paired-todo/baseline/screenshots/mobile-validation.png +0 -0
  129. package/evidence/todo/2026-09-28-codex-paired-todo/baseline/source-hashes.json +5 -0
  130. package/evidence/todo/2026-09-28-codex-paired-todo/baseline/styles.css +9 -0
  131. package/evidence/todo/2026-09-28-codex-paired-todo/capture-ai-design-rules.js +60 -0
  132. package/evidence/todo/2026-09-28-codex-paired-todo/capture-baseline.js +60 -0
  133. package/evidence/todo/2026-09-28-codex-paired-todo/common/brief.md +35 -0
  134. package/evidence/todo/2026-09-28-codex-paired-todo/common/knowledge-files.json +127 -0
  135. package/evidence/todo/2026-09-28-codex-paired-todo/common/knowledge.patch +890 -0
  136. package/evidence/todo/2026-09-28-codex-paired-todo/common/review-context.json +550 -0
  137. package/evidence/todo/2026-09-28-codex-paired-todo/common/seed.json +86 -0
  138. package/evidence/todo/2026-09-28-codex-paired-todo/common/setup.json +47 -0
  139. package/evidence/todo/2026-09-28-codex-paired-todo/common/technical-envelope.md +11 -0
  140. package/evidence/todo/2026-09-28-codex-paired-todo/layout-metrics.json +133 -0
  141. package/evidence/todo/2026-09-28-codex-paired-todo/layout-probe.js +15 -0
  142. package/examples/GENERATED_INDEX.md +8 -0
  143. package/examples/INDEX.md +16 -0
  144. package/examples/README.md +15 -0
  145. package/examples/consequential-action-confirmation-reference.md +83 -0
  146. package/examples/todo-app-benchmark.md +117 -0
  147. package/examples/todo-reference/README.md +29 -0
  148. package/examples/todo-reference/app.js +154 -0
  149. package/examples/todo-reference/favicon.svg +4 -0
  150. package/examples/todo-reference/index.html +67 -0
  151. package/examples/todo-reference/review-evidence/2026-07-15/desktop-default.png +0 -0
  152. package/examples/todo-reference/review-evidence/2026-07-15/desktop-detail.png +0 -0
  153. package/examples/todo-reference/review-evidence/2026-07-15/mobile-detail.png +0 -0
  154. package/examples/todo-reference/review-evidence/2026-07-15/mobile-error.png +0 -0
  155. package/examples/todo-reference/styles.css +241 -0
  156. package/graph/GENERATED_GRAPH.md +71 -0
  157. package/observations/README.md +23 -0
  158. package/observations/accessibility/reduced-interaction-motion.md +49 -0
  159. package/observations/accessibility/textual-error-recovery.md +50 -0
  160. package/observations/accessibility/visible-keyboard-focus.md +49 -0
  161. package/observations/ai/agent-consequential-action-controls.md +56 -0
  162. package/observations/ai/agent-work-visibility-and-intervention.md +51 -0
  163. package/observations/ai/figma-agent-context-and-skills.md +52 -0
  164. package/observations/finance/high-risk-wallet-recovery-flows.md +55 -0
  165. package/observations/finance/market-interface-adaptive-trading-surfaces.md +55 -0
  166. package/observations/interaction/chrome-scoped-view-transitions.md +52 -0
  167. package/observations/interaction/figma-motion-as-system-capability.md +53 -0
  168. package/observations/mobile/mobile-bottom-sheet-choice-contracts.md +55 -0
  169. package/observations/performance/reserved-loading-space.md +51 -0
  170. package/observations/product-repos/pinned-ai-design-rules-integration.md +49 -0
  171. package/observations/visual/apple-liquid-glass-functional-layer.md +52 -0
  172. package/observations/visual/chrome-content-first-adaptive-ui.md +51 -0
  173. package/observations/visual/material-3-expressive-system.md +52 -0
  174. package/package.json +65 -0
  175. package/patterns/GENERATED_INDEX.md +13 -0
  176. package/patterns/INDEX.md +41 -0
  177. package/patterns/README.md +5 -0
  178. package/patterns/consequential-action-confirmation.md +127 -0
  179. package/patterns/context-preserving-preview.md +145 -0
  180. package/patterns/daily-home-surface.md +134 -0
  181. package/patterns/mobile-primary-action.md +110 -0
  182. package/patterns/object-status-list.md +114 -0
  183. package/patterns/progressive-detail.md +113 -0
  184. package/patterns/quick-capture.md +132 -0
  185. package/prompts/CONSEQUENTIAL_ACTION_REVIEW.md +100 -0
  186. package/prompts/DESIGN_EVIDENCE_REVIEW.md +49 -0
  187. package/prompts/GENERATED_INDEX.md +11 -0
  188. package/prompts/INDEX.md +24 -0
  189. package/prompts/PROTOTYPE_REVIEW.md +189 -0
  190. package/prompts/QUICK_CAPTURE_STATE_REVIEW.md +74 -0
  191. package/prompts/TODO_APP_BENCHMARK.md +88 -0
  192. package/registry/objects.json +568 -0
  193. package/registry/relationships.json +972 -0
  194. package/research/GENERATED_INDEX.md +18 -0
  195. package/research/INDEX.md +40 -0
  196. package/research/accessibility/keyboard-focus-and-interaction-motion.md +62 -0
  197. package/research/accessibility/textual-error-recovery.md +57 -0
  198. package/research/performance/reserved-loading-space.md +56 -0
  199. package/research/products/apple-reminders.md +59 -0
  200. package/research/products/arc.md +61 -0
  201. package/research/products/linear.md +62 -0
  202. package/research/products/telegram.md +61 -0
  203. package/research/products/things-3.md +60 -0
  204. package/research/ux/contextual-agentic-interface.md +68 -0
  205. package/research/ux/high-risk-operational-flows.md +89 -0
  206. package/research/ux/motion-as-state-continuity.md +71 -0
  207. package/research/visual/expressive-system-ui-2026.md +75 -0
  208. package/reviews/GENERATED_INDEX.md +9 -0
  209. package/reviews/README.md +25 -0
  210. package/reviews/consequential-action-confirmation-review.md +92 -0
  211. package/reviews/todo-app-benchmark-reference-review.md +86 -0
  212. package/reviews/todo-reference-fixture-review.md +77 -0
  213. package/rules/GENERATED_INDEX.md +23 -0
  214. package/rules/INDEX.md +37 -0
  215. package/rules/accessibility/A11Y-001.md +58 -0
  216. package/rules/accessibility/A11Y-002.md +55 -0
  217. package/rules/accessibility/A11Y-003.md +54 -0
  218. package/rules/accessibility/A11Y-004.md +54 -0
  219. package/rules/ia/IA-001.md +60 -0
  220. package/rules/ia/IA-002.md +61 -0
  221. package/rules/performance/PERF-001.md +55 -0
  222. package/rules/product/PRD-001.md +61 -0
  223. package/rules/product/PRD-002.md +61 -0
  224. package/rules/ux/UX-001.md +58 -0
  225. package/rules/ux/UX-002.md +61 -0
  226. package/rules/ux/UX-003.md +60 -0
  227. package/rules/ux/UX-004.md +61 -0
  228. package/rules/ux/UX-005.md +62 -0
  229. package/rules/ux/UX-006.md +69 -0
  230. package/rules/visual/VIS-001.md +59 -0
  231. package/rules/visual/VIS-002.md +59 -0
  232. package/schema/checklist.schema.json +21 -0
  233. package/schema/common.schema.json +178 -0
  234. package/schema/observation.schema.json +21 -0
  235. package/schema/pattern.schema.json +21 -0
  236. package/schema/prompt.schema.json +21 -0
  237. package/schema/reference-project.schema.json +21 -0
  238. package/schema/research.schema.json +21 -0
  239. package/schema/review.schema.json +21 -0
  240. package/schema/rule.schema.json +21 -0
  241. package/skills/README.md +48 -0
  242. package/skills/accessibility-reviewer/SKILL.md +101 -0
  243. package/skills/agent-context/SKILL.md +34 -0
  244. package/skills/agent-context/agents/openai.yaml +4 -0
  245. package/skills/design-evidence-researcher/SKILL.md +47 -0
  246. package/skills/design-evidence-researcher/agents/openai.yaml +4 -0
  247. package/skills/design-reviewer/SKILL.md +113 -0
  248. package/skills/design-system-architect/SKILL.md +101 -0
  249. package/skills/information-architect/SKILL.md +97 -0
  250. package/skills/interaction-designer/SKILL.md +104 -0
  251. package/skills/knowledge-graph-architect/SKILL.md +96 -0
  252. package/skills/mobile-ux-expert/SKILL.md +105 -0
  253. package/skills/motion-designer/SKILL.md +100 -0
  254. package/skills/performance-reviewer/SKILL.md +97 -0
  255. package/skills/product-designer/SKILL.md +104 -0
  256. package/skills/prompt-architect/SKILL.md +105 -0
  257. package/skills/reference-driven-design/SKILL.md +119 -0
  258. package/skills/ux-reviewer/SKILL.md +99 -0
  259. package/skills/visual-designer/SKILL.md +107 -0
  260. package/starter-kit/AGENTS.md +37 -0
  261. package/starter-kit/BOOTSTRAP.md +13 -0
  262. package/starter-kit/INSTALL_WITH_AGENT.md +133 -0
  263. package/starter-kit/PROJECT_INTEGRATION.md +60 -0
  264. package/starter-kit/README.md +41 -0
  265. package/starter-kit/benchmarks/BENCHMARK_CHECKLIST.md +10 -0
  266. package/starter-kit/docs/DESIGN_DECISIONS.md +22 -0
  267. package/starter-kit/docs/INFORMATION_ARCHITECTURE.md +25 -0
  268. package/starter-kit/docs/PERSONAS.md +14 -0
  269. package/starter-kit/docs/PRD.md +32 -0
  270. package/starter-kit/docs/USER_FLOWS.md +19 -0
  271. package/starter-kit/reviews/DESIGN_REVIEW.md +49 -0
  272. package/starter-kit/templates/FEATURE_TEMPLATE.md +36 -0
  273. package/starter-kit/templates/TASK_TEMPLATE.md +22 -0
  274. package/templates/CHECKLIST_TEMPLATE.md +43 -0
  275. package/templates/OBSERVATION_TEMPLATE.md +41 -0
  276. package/templates/PATTERN_TEMPLATE.md +100 -0
  277. package/templates/PROMPT_TEMPLATE.md +46 -0
  278. package/templates/PROTOTYPE_REVIEW.md +50 -0
  279. package/templates/REFERENCE_PROJECT_TEMPLATE.md +49 -0
  280. package/templates/REVIEW_TEMPLATE.md +55 -0
  281. package/templates/RULE_TEMPLATE.md +57 -0
  282. package/tools/cli.mjs +46 -0
  283. package/tools/context.mjs +342 -0
  284. package/tools/designlint.mjs +77 -0
  285. package/tools/generate-indexes.mjs +621 -0
  286. package/tools/init.mjs +99 -0
  287. package/tools/validate-benchmark-evidence.mjs +248 -0
  288. package/tools/validate-knowledge.mjs +481 -0
@@ -0,0 +1,113 @@
1
+ ---
2
+ id: PAT-00004
3
+ alias: PAT-004
4
+ slug: progressive-detail
5
+ title: Progressive Detail
6
+ object_type: pattern
7
+ status: draft
8
+ version: 0.1.0
9
+ category: ux
10
+ tags:
11
+ - ux
12
+ - progressive-disclosure
13
+ maturity: seed
14
+ risk_level: medium
15
+ relationships:
16
+ - type: requires
17
+ target: RULE-00006
18
+ - type: requires
19
+ target: RULE-00002
20
+ - type: requires
21
+ target: RULE-00008
22
+ - type: requires
23
+ target: RULE-00009
24
+ - type: related_to
25
+ target: PAT-00006
26
+ ---
27
+
28
+ # Progressive Detail
29
+
30
+ ## Purpose
31
+
32
+ Keep the default task simple while preserving access to advanced fields.
33
+
34
+ ## User Goal
35
+
36
+ Complete or understand the item first, then add detail only when needed.
37
+
38
+ ## Product Context
39
+
40
+ Items that start simple but can gain metadata, settings, states, notes, or scheduling.
41
+
42
+ ## Use When
43
+
44
+ - Most users need only a small subset of fields at first.
45
+ - Advanced metadata is optional or can be added later.
46
+ - The product must support both casual and power users.
47
+
48
+ ## Do Not Use When
49
+
50
+ - Hidden information is required for trust, safety, or accountability.
51
+ - Users must compare many items by the hidden metadata.
52
+ - Advanced controls are the primary workflow.
53
+
54
+ ## UX Rules
55
+
56
+ - `UX-002` Progressively Disclose Power
57
+ - `PRD-002` Low-Friction Capture Before Organization
58
+
59
+ ## Accessibility Rules
60
+
61
+ - `A11Y-001` 44x44 Touch Targets
62
+
63
+ ## Mobile Behavior
64
+
65
+ Show essential fields first. Reveal optional detail through edit, details, expand, or more controls that remain reachable.
66
+
67
+ ## Desktop Behavior
68
+
69
+ Use available width for secondary detail only when it supports scanning or editing. Do not turn optional metadata into a wall of fields.
70
+
71
+ ## Empty State
72
+
73
+ Show the minimal item shape and the action to add the first item.
74
+
75
+ ## Loading State
76
+
77
+ Load essential content first; defer optional detail without shifting the main item.
78
+
79
+ ## Error State
80
+
81
+ If optional detail fails, keep the core item usable and show targeted recovery.
82
+
83
+ ## Required Rules
84
+
85
+ - `UX-002` Progressively Disclose Power
86
+ - `PRD-002` Low-Friction Capture Before Organization
87
+ - `VIS-001` Semantic Tokens Only
88
+ - `A11Y-001` 44x44 Touch Targets
89
+
90
+ ## Related Research
91
+
92
+ - `research/products/things-3.md`
93
+ - `research/products/apple-reminders.md`
94
+ - `research/products/telegram.md`
95
+
96
+ ## Related Patterns
97
+
98
+ - Parent: none
99
+ - Child: none
100
+ - Alternative: `object-status-list.md` when comparison requires visible metadata
101
+ - Depends on: none
102
+
103
+ ## Examples
104
+
105
+ - A task app detail view hides notes, repeat settings, and tags until edit.
106
+ - A reminder shows title and due time first, then exposes location and subtasks.
107
+
108
+ ## Agent Checklist
109
+
110
+ - Which fields are essential at first glance?
111
+ - Which fields can wait until edit or inspection?
112
+ - Is hidden detail discoverable?
113
+ - Does hiding detail harm comparison or accountability?
@@ -0,0 +1,132 @@
1
+ ---
2
+ id: PAT-00002
3
+ alias: PAT-002
4
+ slug: quick-capture
5
+ title: Quick Capture
6
+ object_type: pattern
7
+ status: draft
8
+ version: 0.1.0
9
+ category: workflow
10
+ tags:
11
+ - workflow
12
+ - capture
13
+ maturity: seed
14
+ risk_level: medium
15
+ relationships:
16
+ - type: requires
17
+ target: RULE-00002
18
+ - type: requires
19
+ target: RULE-00005
20
+ - type: requires
21
+ target: RULE-00006
22
+ - type: requires
23
+ target: RULE-00009
24
+ - type: requires
25
+ target: RULE-00010
26
+ - type: requires
27
+ target: RULE-00011
28
+ - type: requires
29
+ target: RULE-00012
30
+ - type: related_to
31
+ target: PAT-00003
32
+ ---
33
+
34
+ # Quick Capture
35
+
36
+ ## Purpose
37
+
38
+ Let users record intent before they organize details.
39
+
40
+ ## User Goal
41
+
42
+ Add a task, note, reminder, message, or idea before it is forgotten.
43
+
44
+ ## Product Context
45
+
46
+ Everyday consumer workflows where speed matters more than complete metadata at creation time.
47
+
48
+ ## Use When
49
+
50
+ - The smallest valid item can be saved with minimal input.
51
+ - Metadata can be added after creation.
52
+ - Capture is more frequent than organization.
53
+
54
+ ## Do Not Use When
55
+
56
+ - Compliance or safety requires required fields before creation.
57
+ - The captured item is invalid without structured data.
58
+ - The workflow is primarily comparison or review.
59
+
60
+ ## UX Rules
61
+
62
+ - `PRD-002` Low-Friction Capture Before Organization
63
+ - `UX-001` Thumb-Zone Primary Actions
64
+ - `UX-002` Progressively Disclose Power
65
+
66
+ ## Accessibility Rules
67
+
68
+ - `A11Y-001` 44x44 Touch Targets
69
+ - `A11Y-002` Textual Input Error Recovery
70
+ - `A11Y-003` Visible Keyboard Focus
71
+
72
+ ## Performance Rules
73
+
74
+ - `PERF-001` Reserve Layout Space For Asynchronous Content
75
+
76
+ ## Mobile Behavior
77
+
78
+ Provide a reachable create action and a short input path. Do not force category, date, owner, or priority before save.
79
+
80
+ ## Desktop Behavior
81
+
82
+ Support keyboard-first entry and quick submit. Keep optional metadata adjacent but secondary.
83
+
84
+ ## Empty State
85
+
86
+ Show the create action and one concise cue for what can be captured.
87
+
88
+ ## Loading State
89
+
90
+ Preserve entered content, reserve the same input and row geometry, and show saving progress without moving the input or nearby actions.
91
+
92
+ ## Error State
93
+
94
+ Keep the user's input, identify the affected input and failed condition in text, and offer retry.
95
+
96
+ ## Required Rules
97
+
98
+ - `PRD-002` Low-Friction Capture Before Organization
99
+ - `UX-001` Thumb-Zone Primary Actions
100
+ - `UX-002` Progressively Disclose Power
101
+ - `A11Y-001` 44x44 Touch Targets
102
+ - `A11Y-002` Textual Input Error Recovery
103
+ - `PERF-001` Reserve Layout Space For Asynchronous Content
104
+ - `A11Y-003` Visible Keyboard Focus
105
+
106
+ ## Related Research
107
+
108
+ - `research/products/apple-reminders.md`
109
+ - `research/products/things-3.md`
110
+ - `research/products/telegram.md`
111
+
112
+ ## Related Patterns
113
+
114
+ - Parent: `daily-home-surface.md`
115
+ - Child: none
116
+ - Alternative: none
117
+ - Depends on: `mobile-primary-action.md` for touch-first placement
118
+
119
+ ## Examples
120
+
121
+ - A shopping list app lets a user add "Buy milk" before assigning list, owner, or due time.
122
+ - A reminder app saves a title first and lets scheduling happen later.
123
+
124
+ ## Agent Checklist
125
+
126
+ - What is the smallest valid item?
127
+ - How many decisions are required before saving?
128
+ - Can optional metadata be added later?
129
+ - Is failed save recoverable without losing input?
130
+ - Does loading preserve the input and surrounding layout geometry?
131
+ - Is the validation error understandable without relying on color?
132
+ - Does every keyboard-operable capture control keep visible focus?
@@ -0,0 +1,100 @@
1
+ ---
2
+ id: PROMPT-00006
3
+ alias: PROMPT-CONSEQUENTIAL-ACTION-REVIEW
4
+ slug: consequential-action-review
5
+ title: Consequential Action Review Prompt
6
+ object_type: prompt
7
+ status: active
8
+ version: 0.1.0
9
+ category: review
10
+ tags:
11
+ - prompt
12
+ - review
13
+ - confirmation
14
+ - recovery
15
+ - agentic-ui
16
+ maturity: validated
17
+ risk_level: high
18
+ last_reviewed_at: 2026-08-12
19
+ relationships:
20
+ - type: requires
21
+ target: PAT-00007
22
+ - type: requires
23
+ target: RULE-00017
24
+ - type: requires
25
+ target: RULE-00007
26
+ - type: requires
27
+ target: RULE-00010
28
+ - type: related_to
29
+ target: RULE-00016
30
+ ---
31
+
32
+ # Consequential Action Review Prompt
33
+
34
+ ## Objective
35
+
36
+ Review a high-consequence action flow for context preservation, risk-proportional confirmation, recoverable challenge states, and agent approval boundaries.
37
+
38
+ ## Required Inputs
39
+
40
+ - The action being reviewed and its consequence.
41
+ - The affected object, critical inputs, side effects, and reversibility.
42
+ - Screens, implementation, screenshots, or runnable prototype.
43
+ - Default, confirmation, challenge, loading, error, retry, success, and cancelled states.
44
+ - Whether the action is human-initiated, agent-initiated, or agent-assisted.
45
+
46
+ ## Instruction
47
+
48
+ ```text
49
+ Review the provided flow using PAT-007, UX-006, UX-003, A11Y-002, and UX-005 when agentic work exists.
50
+
51
+ Do not invent legal, compliance, security, financial, trading, or backend policy. Mark missing policy or implementation evidence as a gap.
52
+
53
+ Verify that the flow preserves the affected object, critical inputs, side effects, reversibility, and recovery path through confirmation, challenge, loading, error, retry, success, and cancellation. For agentic work, verify that consequential side effects require explicit approval, remain interruptible before execution, and leave inspectable evidence.
54
+
55
+ Return a verdict, severity-ordered findings, state coverage, and the rule or pattern supporting every finding.
56
+ ```
57
+
58
+ ## Output Contract
59
+
60
+ ```md
61
+ ## Verdict
62
+ - Result: PASS | NEEDS WORK
63
+ - Evidence reviewed:
64
+ - Evidence gaps:
65
+
66
+ ## Consequence Map
67
+ - Action:
68
+ - Affected object:
69
+ - Critical inputs:
70
+ - Side effects:
71
+ - Reversibility:
72
+ - Required authority or challenge:
73
+
74
+ ## State Coverage
75
+ - Default:
76
+ - Confirmation:
77
+ - Challenge:
78
+ - Loading:
79
+ - Error:
80
+ - Retry:
81
+ - Success:
82
+ - Cancelled:
83
+
84
+ ## Agent Boundary
85
+ - Agent involvement:
86
+ - Approval point:
87
+ - Interruption path:
88
+ - Evidence or audit trail:
89
+
90
+ ## Findings
91
+ For each finding:
92
+ - Severity:
93
+ - Evidence:
94
+ - Impact:
95
+ - Related IDs:
96
+ - Smallest safe change:
97
+
98
+ ## Knowledge Gaps
99
+ - Missing policy, evidence, or research:
100
+ ```
@@ -0,0 +1,49 @@
1
+ ---
2
+ id: PROMPT-00005
3
+ alias: PROMPT-DESIGN-EVIDENCE-REVIEW
4
+ slug: design-evidence-review
5
+ title: Design Evidence Review Prompt
6
+ object_type: prompt
7
+ status: draft
8
+ version: 0.1.0
9
+ category: review
10
+ tags:
11
+ - prompt
12
+ - review
13
+ - evidence
14
+ maturity: seed
15
+ risk_level: medium
16
+ relationships:
17
+ - type: requires
18
+ target: CHECK-00001
19
+ ---
20
+
21
+ # Design Evidence Review Prompt
22
+
23
+ ## Objective
24
+
25
+ Turn evidence from a design artifact, benchmark run, reference project, or implementation into a traceable review object.
26
+
27
+ ## Required Inputs
28
+
29
+ - Target object or product surface.
30
+ - Evidence artifacts: implementation, screenshots, benchmark output, or evaluation notes.
31
+ - Claimed rules and patterns.
32
+
33
+ ## Instruction
34
+
35
+ ```text
36
+ Review the supplied target using CHECK-00001.
37
+
38
+ Do not invent evidence, design rules, benchmark results, or implementation behavior. Mark any unrendered, unmeasured, or untested claim as a gap.
39
+
40
+ Produce a REVIEW object with a PASS or NEEDS WORK verdict, severity-ordered findings, coverage of applicable rules and patterns, cited evidence, and concrete next validation steps. A PASS requires direct evidence for the primary action, required states, accessibility behavior, and applicable mobile or performance claims.
41
+ ```
42
+
43
+ ## Output Contract
44
+
45
+ - Verdict: `PASS` or `NEEDS WORK`.
46
+ - Scope and evidence reviewed.
47
+ - Findings: severity, gap, affected object or surface, and related IDs.
48
+ - Coverage: checked and unverified rules, patterns, states, and constraints.
49
+ - Handoff: exact follow-up evidence or change required.
@@ -0,0 +1,11 @@
1
+ # Generated Prompts Index
2
+
3
+ This file is generated from registry metadata. Do not edit manually.
4
+
5
+ | ID | Alias | Title | Category | Status | Maturity | File Path | Pattern References | Rule References | Checklist References |
6
+ | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
7
+ | PROMPT-00002 | PROMPT-PROTOTYPE-REVIEW | Prototype Review Prompt | review | draft | seed | prompts/PROTOTYPE_REVIEW.md | related_to: PAT-001 / PAT-00001 Daily Home Surface<br>related_to: PAT-002 / PAT-00002 Quick Capture<br>related_to: PAT-003 / PAT-00003 Mobile Primary Action<br>related_to: PAT-004 / PAT-00004 Progressive Detail<br>related_to: PAT-005 / PAT-00005 Context-Preserving Preview<br>related_to: PAT-006 / PAT-00006 Object Status List<br>related_to: PAT-007 / PAT-00007 Consequential Action Confirmation | related_to: PRD-001 / RULE-00001 Daily Actions First<br>related_to: PRD-002 / RULE-00002 Low-Friction Capture Before Organization<br>related_to: IA-001 / RULE-00003 One Stable Home Surface<br>related_to: IA-002 / RULE-00004 Define The Object Model Before Screens<br>related_to: UX-001 / RULE-00005 Thumb-Zone Primary Actions<br>related_to: UX-002 / RULE-00006 Progressively Disclose Power<br>related_to: UX-003 / RULE-00007 Preserve Context During Inspection<br>related_to: VIS-001 / RULE-00008 Semantic Tokens Only<br>related_to: A11Y-001 / RULE-00009 44x44 Touch Targets<br>related_to: A11Y-002 / RULE-00010 Textual Input Error Recovery<br>related_to: PERF-001 / RULE-00011 Reserve Layout Space For Asynchronous Content<br>related_to: A11Y-003 / RULE-00012 Visible Keyboard Focus<br>related_to: A11Y-004 / RULE-00013 Reduce Non-Essential Interaction Motion<br>related_to: VIS-002 / RULE-00014 Keep Expression Subordinate To Content<br>related_to: UX-004 / RULE-00015 Use Motion To Explain State Continuity<br>related_to: UX-005 / RULE-00016 Expose Agent Work And Intervention<br>related_to: UX-006 / RULE-00017 Confirm Consequential Actions With Preserved Context | requires: CHECK-DESIGN-QA / CHECK-00001 Design QA Checklist |
8
+ | PROMPT-00003 | PROMPT-TODO-BENCHMARK | Todo App Benchmark Prompt | generation | draft | seed | prompts/TODO_APP_BENCHMARK.md | requires: PAT-001 / PAT-00001 Daily Home Surface<br>requires: PAT-002 / PAT-00002 Quick Capture<br>requires: PAT-003 / PAT-00003 Mobile Primary Action<br>requires: PAT-004 / PAT-00004 Progressive Detail<br>requires: PAT-005 / PAT-00005 Context-Preserving Preview<br>requires: PAT-006 / PAT-00006 Object Status List | requires: PRD-001 / RULE-00001 Daily Actions First<br>requires: PRD-002 / RULE-00002 Low-Friction Capture Before Organization<br>requires: IA-001 / RULE-00003 One Stable Home Surface<br>requires: IA-002 / RULE-00004 Define The Object Model Before Screens<br>requires: UX-001 / RULE-00005 Thumb-Zone Primary Actions<br>requires: UX-002 / RULE-00006 Progressively Disclose Power<br>requires: UX-003 / RULE-00007 Preserve Context During Inspection<br>requires: VIS-001 / RULE-00008 Semantic Tokens Only<br>requires: A11Y-001 / RULE-00009 44x44 Touch Targets | None |
9
+ | PROMPT-00004 | PROMPT-QUICK-CAPTURE-STATE-REVIEW | Quick Capture State Review Prompt | review | draft | seed | prompts/QUICK_CAPTURE_STATE_REVIEW.md | requires: PAT-002 / PAT-00002 Quick Capture | requires: PRD-002 / RULE-00002 Low-Friction Capture Before Organization<br>requires: A11Y-001 / RULE-00009 44x44 Touch Targets<br>requires: A11Y-002 / RULE-00010 Textual Input Error Recovery<br>requires: PERF-001 / RULE-00011 Reserve Layout Space For Asynchronous Content<br>requires: A11Y-003 / RULE-00012 Visible Keyboard Focus | None |
10
+ | PROMPT-00005 | PROMPT-DESIGN-EVIDENCE-REVIEW | Design Evidence Review Prompt | review | draft | seed | prompts/DESIGN_EVIDENCE_REVIEW.md | None | None | requires: CHECK-DESIGN-QA / CHECK-00001 Design QA Checklist |
11
+ | PROMPT-00006 | PROMPT-CONSEQUENTIAL-ACTION-REVIEW | Consequential Action Review Prompt | review | active | validated | prompts/CONSEQUENTIAL_ACTION_REVIEW.md | requires: PAT-007 / PAT-00007 Consequential Action Confirmation | requires: UX-006 / RULE-00017 Confirm Consequential Actions With Preserved Context<br>requires: UX-003 / RULE-00007 Preserve Context During Inspection<br>requires: A11Y-002 / RULE-00010 Textual Input Error Recovery<br>related_to: UX-005 / RULE-00016 Expose Agent Work And Intervention | None |
@@ -0,0 +1,24 @@
1
+ # Prompt Index
2
+
3
+ Prompts apply patterns and rules to a specific agent task.
4
+
5
+ Prompts should not introduce new design advice. They should reference existing patterns and rules.
6
+
7
+ ## Current Prompts
8
+
9
+ - `PROTOTYPE_REVIEW.md` - reviews prototypes before refactoring.
10
+
11
+ ## Future Metadata
12
+
13
+ Prompt objects should follow the metadata model in `docs/KNOWLEDGE_ENGINE.md`.
14
+
15
+ Each prompt should define:
16
+
17
+ - stable ID;
18
+ - status;
19
+ - version;
20
+ - required patterns;
21
+ - required rules;
22
+ - last reviewed date.
23
+
24
+ Manual indexes are transitional. Future indexes should be generated from registry metadata.
@@ -0,0 +1,189 @@
1
+ ---
2
+ id: PROMPT-00002
3
+ alias: PROMPT-PROTOTYPE-REVIEW
4
+ slug: prototype-review
5
+ title: Prototype Review Prompt
6
+ object_type: prompt
7
+ status: draft
8
+ version: 0.3.0
9
+ category: review
10
+ tags:
11
+ - prompt
12
+ - review
13
+ - prototype
14
+ maturity: seed
15
+ risk_level: medium
16
+ relationships:
17
+ - type: related_to
18
+ target: PAT-00001
19
+ - type: related_to
20
+ target: PAT-00002
21
+ - type: related_to
22
+ target: PAT-00003
23
+ - type: related_to
24
+ target: PAT-00004
25
+ - type: related_to
26
+ target: PAT-00005
27
+ - type: related_to
28
+ target: PAT-00006
29
+ - type: related_to
30
+ target: PAT-00007
31
+ - type: related_to
32
+ target: RULE-00001
33
+ - type: related_to
34
+ target: RULE-00002
35
+ - type: related_to
36
+ target: RULE-00003
37
+ - type: related_to
38
+ target: RULE-00004
39
+ - type: related_to
40
+ target: RULE-00005
41
+ - type: related_to
42
+ target: RULE-00006
43
+ - type: related_to
44
+ target: RULE-00007
45
+ - type: related_to
46
+ target: RULE-00008
47
+ - type: related_to
48
+ target: RULE-00009
49
+ - type: related_to
50
+ target: RULE-00010
51
+ - type: related_to
52
+ target: RULE-00011
53
+ - type: related_to
54
+ target: RULE-00012
55
+ - type: related_to
56
+ target: RULE-00013
57
+ - type: related_to
58
+ target: RULE-00014
59
+ - type: related_to
60
+ target: RULE-00015
61
+ - type: related_to
62
+ target: RULE-00016
63
+ - type: related_to
64
+ target: RULE-00017
65
+ - type: requires
66
+ target: CHECK-00001
67
+ ---
68
+
69
+ # Prototype Review Prompt
70
+
71
+ Review a rendered or runnable prototype before refactoring.
72
+
73
+ ## Objective
74
+
75
+ Identify the smallest evidence-backed changes that improve product clarity, visual hierarchy, state behavior, responsive quality, and accessibility without inventing a new product direction.
76
+
77
+ ## Required Inputs
78
+
79
+ - User goal and primary action.
80
+ - Prototype path, URL, screenshots, or runnable implementation.
81
+ - Target platforms and viewports.
82
+ - Existing components, tokens, and product design direction.
83
+ - Focused graph context for the reviewed task.
84
+ - Reference evidence when the requested change is visual exploration or polish.
85
+
86
+ ## Pattern Coverage
87
+
88
+ Check whether a documented pattern applies:
89
+
90
+ - `patterns/daily-home-surface.md`
91
+ - `patterns/quick-capture.md`
92
+ - `patterns/mobile-primary-action.md`
93
+ - `patterns/progressive-detail.md`
94
+ - `patterns/object-status-list.md`
95
+ - `patterns/context-preserving-preview.md`
96
+ - `patterns/consequential-action-confirmation.md`
97
+
98
+ ## Rule Coverage
99
+
100
+ - `PRD-001`
101
+ - `PRD-002`
102
+ - `IA-001`
103
+ - `IA-002`
104
+ - `UX-001`
105
+ - `UX-002`
106
+ - `UX-003`
107
+ - `VIS-001`
108
+ - `A11Y-001`
109
+ - `A11Y-002`
110
+ - `PERF-001`
111
+ - `A11Y-003`
112
+ - `A11Y-004`
113
+ - `VIS-002`
114
+ - `UX-004`
115
+ - `UX-005` when delegated or long-running agent work exists
116
+ - `UX-006` when consequential actions, money movement, account access, destructive durable changes, external publishing, or agent side effects exist
117
+
118
+ ## Review Sequence
119
+
120
+ 1. Confirm the artifact can be rendered or inspected. Mark missing evidence instead of guessing.
121
+ 2. Describe the current user goal, primary action, secondary actions, and object states.
122
+ 3. Check applicable patterns and rules.
123
+ 4. Review the content layer, functional layer, focal emphasis, density, typography, spacing, and semantic visual roles.
124
+ 5. Review default, loading, empty, error, success, disabled, and permission states that apply.
125
+ 6. Review desktop and mobile behavior when layout is affected.
126
+ 7. Review focus, labels, target size, contrast-sensitive choices, textual errors, and reduced motion.
127
+ 8. Review start state, end state, purpose, timing role, and fallback for meaningful motion.
128
+ 9. When agentic work applies, review queued, active, blocked, review-ready, complete, failed, cancelled, and intervention behavior.
129
+ 10. When consequential actions apply, review affected object, critical inputs, side effects, reversibility, confirmation, challenge, error, retry, success, cancellation, and audit evidence.
130
+ 11. Compare recommendations with supplied references at the level of abstract behavior; do not copy a brand composition or proprietary asset.
131
+
132
+ ## Instruction
133
+
134
+ Use `CHECK-00001`.
135
+
136
+ Do not redesign immediately. Before broad visual design, visual exploration, or product polish, ask whether the user wants multiple design options or one conservative implementation path. Do not invent rendered behavior, visual evidence, benchmark results, or unsupported design rules.
137
+
138
+ Produce a severity-ordered review and a phased change plan. Every recommendation must cite the inspected artifact and an applicable rule, pattern, token, component convention, or explicit research gap.
139
+
140
+ ## Output Contract
141
+
142
+ ```md
143
+ ## Verdict
144
+ - Result: PASS | NEEDS WORK
145
+ - Evidence reviewed:
146
+ - Evidence gaps:
147
+
148
+ ## Product And Interaction
149
+ - User goal:
150
+ - Primary action:
151
+ - Main friction:
152
+
153
+ ## Visual Direction
154
+ - Content layer:
155
+ - Functional layer:
156
+ - Focal emphasis:
157
+ - Generic-AI or overdesign risk:
158
+ - Reference evidence:
159
+
160
+ ## State Coverage
161
+ - Missing or weak states:
162
+ - Agent lifecycle states, when applicable:
163
+ - Consequential action states, when applicable:
164
+
165
+ ## Responsive And Accessibility
166
+ - Desktop:
167
+ - Mobile:
168
+ - Keyboard and focus:
169
+ - Contrast and target size:
170
+ - Reduced motion:
171
+
172
+ ## Findings
173
+ For each finding:
174
+ - Severity:
175
+ - Evidence:
176
+ - Impact:
177
+ - Related IDs:
178
+ - Smallest safe change:
179
+
180
+ ## Phased Plan
181
+ 1. Tokens and reusable roles.
182
+ 2. Components and states.
183
+ 3. Layout and responsive behavior.
184
+ 4. Interaction and motion.
185
+ 5. Visual QA and accessibility verification.
186
+
187
+ ## Knowledge Gaps
188
+ - Observation or research needed:
189
+ ```
@@ -0,0 +1,74 @@
1
+ ---
2
+ id: PROMPT-00004
3
+ alias: PROMPT-QUICK-CAPTURE-STATE-REVIEW
4
+ slug: quick-capture-state-review
5
+ title: Quick Capture State Review Prompt
6
+ object_type: prompt
7
+ status: draft
8
+ version: 0.2.0
9
+ category: review
10
+ tags:
11
+ - prompt
12
+ - review
13
+ - capture
14
+ - states
15
+ maturity: seed
16
+ risk_level: medium
17
+ relationships:
18
+ - type: requires
19
+ target: PAT-00002
20
+ - type: requires
21
+ target: RULE-00002
22
+ - type: requires
23
+ target: RULE-00009
24
+ - type: requires
25
+ target: RULE-00010
26
+ - type: requires
27
+ target: RULE-00011
28
+ - type: requires
29
+ target: RULE-00012
30
+ - type: cites
31
+ target: evidence/todo/2026-09-28-codex-paired-todo/EVALUATION.md
32
+ ---
33
+
34
+ # Quick Capture State Review Prompt
35
+
36
+ ## Objective
37
+
38
+ Review an existing quick-capture flow for low friction, accessible recovery, stable loading, and keyboard-operable state behavior.
39
+
40
+ ## Required Inputs
41
+
42
+ - The capture surface or implementation.
43
+ - Default, loading, validation-error, failed-save, and success behavior.
44
+ - Target platform and viewport constraints.
45
+ - A realistic populated list as well as an empty list, and a way to reproduce save failure and retry.
46
+
47
+ ## Instruction
48
+
49
+ ```text
50
+ Review the provided quick-capture flow using PAT-002 and its required rules.
51
+
52
+ Do not invent new product features, rules, or patterns. Identify only observable gaps in the current capture path.
53
+
54
+ Verify that the smallest valid item can be saved with minimal input; controls meet touch and keyboard needs; validation identifies the affected input in text; loading preserves input and layout geometry; and focus remains visible through recovery.
55
+
56
+ Test capture from a fresh page using only the keyboard with a realistically populated list. Record the navigation steps, including the Tab count, and any discoverable direct route to capture. A reachable input can still impose avoidable friction when it follows every list control; assess the user task under PRD-002 rather than inventing a universal Tab-count limit. Verify focus visibility separately under A11Y-003.
57
+
58
+ Compare the input, submit control, feedback region, and first list row across default, saving, failed-save, retry, and success states. Include wrapping error text and changing action labels when checking geometry under PERF-001. Measure actual touch areas, including associated labels, under A11Y-001.
59
+
60
+ Return a verdict, severity-ordered findings, state coverage, and the rule or pattern supporting every finding.
61
+ ```
62
+
63
+ ## Output Contract
64
+
65
+ - Verdict: `PASS` or `NEEDS WORK`.
66
+ - Findings: severity, observed issue, supporting ID, and concrete recovery behavior.
67
+ - State coverage: default, loading, validation error, failed save, success, and keyboard focus.
68
+ - Keyboard route: starting state, populated item count, Tab count, direct routes tried, and observed friction.
69
+ - Geometry evidence: viewport, input/action hit areas, and measured or visibly observed movement across saving/error/retry states.
70
+ - Gaps: missing evidence rather than invented guidance.
71
+
72
+ ## Review Evidence
73
+
74
+ The [paired rendered Todo evaluation](../evidence/todo/2026-09-28-codex-paired-todo/EVALUATION.md) found a 29-versus-4 Tab capture path, a 22px baseline error-layout shift, and changing save-button widths in both outputs. These observations motivate more concrete checks of the existing rules; they do not establish new universal thresholds. This prompt revision was made after that run and has not itself been validated by a new paired generation.