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,55 @@
1
+ ---
2
+ id: OBS-00014
3
+ alias: OBS-MARKET-ADAPTIVE-TRADING
4
+ slug: market-interface-adaptive-trading-surfaces
5
+ title: Market Interfaces Adapt Trading Controls By Density And Risk
6
+ object_type: observation
7
+ status: draft
8
+ version: 0.1.0
9
+ category: ux
10
+ tags:
11
+ - finance
12
+ - market-interface
13
+ - responsive
14
+ - trading
15
+ created_at: 2026-08-12
16
+ updated_at: 2026-08-12
17
+ last_reviewed_at: 2026-08-12
18
+ owner: ai-design-rules
19
+ maturity: seed
20
+ risk_level: high
21
+ platform:
22
+ - web
23
+ product_type:
24
+ - fintech
25
+ - trading
26
+ surface:
27
+ - market-detail
28
+ - chart
29
+ - order-entry
30
+ applies_to:
31
+ - dense-market-interfaces
32
+ does_not_apply_to:
33
+ - static-analytics-cards
34
+ relationships: []
35
+ ---
36
+
37
+ # Market Interfaces Adapt Trading Controls By Density And Risk
38
+
39
+ ## Source
40
+
41
+ Market-interface charting research and mobile layout review note captured on 2026-08-12.
42
+
43
+ ## Observed Behavior
44
+
45
+ Market-interface research separates product data shapes from chart-engine data shapes, treats the graph as a functional trading surface, and reserves future paths for multi-series and candle/OHLC charts. Mobile behavior shifts dense controls into bottom sheets and tablet modals with tested viewport thresholds instead of squeezing desktop trading controls into a narrow layout.
46
+
47
+ ## Why It May Matter
48
+
49
+ Finance and market-trading interfaces need responsive contracts that preserve decision context, not only visual resizing. Dense chart, filter, and order controls require explicit mobile presentations, focus recovery, safe-area spacing, and disabled/frozen states.
50
+
51
+ ## Evidence
52
+
53
+ - Market-interface charting note captured on 2026-08-12.
54
+ - Mobile dropdown test note captured on 2026-08-12.
55
+ - Compact trading layout test note captured on 2026-08-12.
@@ -0,0 +1,52 @@
1
+ ---
2
+ id: OBS-00009
3
+ alias: OBS-CHROME-SCOPED-TRANSITIONS
4
+ slug: chrome-scoped-view-transitions
5
+ title: Scoped View Transitions Preserve Context During Local State Change
6
+ object_type: observation
7
+ status: draft
8
+ version: 0.1.0
9
+ category: ux
10
+ tags:
11
+ - motion
12
+ - web
13
+ - state-transition
14
+ - context
15
+ created_at: 2026-07-24
16
+ updated_at: 2026-07-24
17
+ last_reviewed_at: 2026-07-24
18
+ owner: ai-design-rules
19
+ maturity: seed
20
+ risk_level: medium
21
+ platform:
22
+ - web
23
+ product_type:
24
+ - consumer
25
+ - productivity
26
+ surface:
27
+ - state-transition
28
+ applies_to:
29
+ - local-state-change
30
+ does_not_apply_to:
31
+ - unsupported-browser-assumptions
32
+ relationships: []
33
+ ---
34
+
35
+ # Scoped View Transitions Preserve Context During Local State Change
36
+
37
+ ## Source
38
+
39
+ Chrome 147 element-scoped View Transition documentation.
40
+
41
+ ## Observed Behavior
42
+
43
+ Element-scoped transitions can animate a specific subtree while the rest of the page remains interactive. Chrome positions this capability as useful for local state morphing and micro-interactions that preserve context.
44
+
45
+ ## Why It May Matter
46
+
47
+ The product value of motion is continuity, not animation volume. A transition should make an object's state or location easier to follow without blocking unrelated work, and implementation guidance must account for platform support.
48
+
49
+ ## Evidence
50
+
51
+ - https://developer.chrome.com/blog/element-scoped-view-transitions
52
+ - https://developer.chrome.com/docs/css-ui/view-transitions/element-scoped-view-transitions
@@ -0,0 +1,53 @@
1
+ ---
2
+ id: OBS-00008
3
+ alias: OBS-FIGMA-MOTION-SYSTEM
4
+ slug: figma-motion-as-system-capability
5
+ title: Figma Treats Motion As A Design System Capability
6
+ object_type: observation
7
+ status: draft
8
+ version: 0.1.0
9
+ category: ux
10
+ tags:
11
+ - motion
12
+ - design-system
13
+ - handoff
14
+ - figma
15
+ created_at: 2026-07-24
16
+ updated_at: 2026-07-24
17
+ last_reviewed_at: 2026-07-24
18
+ owner: ai-design-rules
19
+ maturity: seed
20
+ risk_level: medium
21
+ platform:
22
+ - web
23
+ - mobile
24
+ product_type:
25
+ - consumer
26
+ - productivity
27
+ surface:
28
+ - state-transition
29
+ applies_to:
30
+ - purposeful-product-motion
31
+ does_not_apply_to:
32
+ - decorative-animation
33
+ relationships: []
34
+ ---
35
+
36
+ # Figma Treats Motion As A Design System Capability
37
+
38
+ ## Source
39
+
40
+ Figma Motion launch materials from Config 2026.
41
+
42
+ ## Observed Behavior
43
+
44
+ Figma places timelines, easing, timing, and keyframes beside components and variables. Motion can be reused through systems, inspected during handoff, and exported to implementation formats instead of being described informally after static screens are complete.
45
+
46
+ ## Why It May Matter
47
+
48
+ Motion becomes more reliable when its purpose and parameters are part of the component or transition contract. Agents should specify the state relationship, implementation values, and reduced-motion behavior rather than request generic polish.
49
+
50
+ ## Evidence
51
+
52
+ - https://www.figma.com/blog/introducing-figma-motion/
53
+ - https://www.figma.com/blog/config-2026-recap/
@@ -0,0 +1,55 @@
1
+ ---
2
+ id: OBS-00016
3
+ alias: OBS-MOBILE-SHEET-CHOICE
4
+ slug: mobile-bottom-sheet-choice-contracts
5
+ title: Mobile Choice Controls Need A Bottom-Sheet Contract
6
+ object_type: observation
7
+ status: draft
8
+ version: 0.1.0
9
+ category: ux
10
+ tags:
11
+ - mobile
12
+ - bottom-sheet
13
+ - responsive
14
+ - accessibility
15
+ created_at: 2026-08-12
16
+ updated_at: 2026-08-12
17
+ last_reviewed_at: 2026-08-12
18
+ owner: ai-design-rules
19
+ maturity: seed
20
+ risk_level: medium
21
+ platform:
22
+ - mobile-web
23
+ product_type:
24
+ - fintech
25
+ - consumer
26
+ surface:
27
+ - chooser
28
+ - filter
29
+ - action-sheet
30
+ applies_to:
31
+ - compact-mobile-choice-controls
32
+ does_not_apply_to:
33
+ - simple-inline-binary-toggles
34
+ relationships: []
35
+ ---
36
+
37
+ # Mobile Choice Controls Need A Bottom-Sheet Contract
38
+
39
+ ## Source
40
+
41
+ Mobile dropdown, compact layout, and media-capture planning note captured on 2026-08-12.
42
+
43
+ ## Observed Behavior
44
+
45
+ Dense choice controls become full-width mobile sheets with safe-area space, reachable rows, labels, close controls, and tested viewport thresholds. In chat/media capture, the attachment sheet owns gallery/file choice while voice and video recording remain part of the existing composer state instead of becoming a parallel composer.
46
+
47
+ ## Why It May Matter
48
+
49
+ Mobile sheets are often introduced as visual polish, but they define an interaction contract: ownership, focus, safe-area spacing, row target size, dismissal, and relationship to the triggering control.
50
+
51
+ ## Evidence
52
+
53
+ - Mobile dropdown test note captured on 2026-08-12.
54
+ - Compact layout test note captured on 2026-08-12.
55
+ - Media-capture planning note captured on 2026-08-12.
@@ -0,0 +1,51 @@
1
+ ---
2
+ id: OBS-00002
3
+ alias: OBS-PERF-RESERVED-SPACE
4
+ slug: asynchronous-content-layout-stability
5
+ title: Reserved Loading Space
6
+ object_type: observation
7
+ status: draft
8
+ version: 0.1.0
9
+ category: performance
10
+ tags:
11
+ - performance
12
+ - loading
13
+ - layout-stability
14
+ created_at: 2026-07-14
15
+ updated_at: 2026-07-14
16
+ last_reviewed_at: 2026-07-14
17
+ owner: ai-design-rules
18
+ maturity: seed
19
+ risk_level: medium
20
+ platform:
21
+ - web
22
+ product_type:
23
+ - consumer
24
+ surface:
25
+ - loading-state
26
+ applies_to:
27
+ - asynchronous-media
28
+ - lazy-loaded-content
29
+ - loading-placeholders
30
+ does_not_apply_to:
31
+ - user-initiated-layout-changes
32
+ relationships: []
33
+ ---
34
+
35
+ # Reserved Loading Space
36
+
37
+ ## Source
38
+
39
+ web.dev, Optimize Cumulative Layout Shift.
40
+
41
+ ## Observed Behavior
42
+
43
+ Asynchronous images, embeds, and other content move visible controls and text when their layout space is unknown before they load. Reserving space with known dimensions or a layout-matching placeholder keeps nearby content stable.
44
+
45
+ ## Why It May Matter
46
+
47
+ Unexpected movement makes a product feel unreliable and can cause users to lose their place or activate the wrong control. A placeholder only improves the experience when its reserved space approximates the arriving content.
48
+
49
+ ## Evidence
50
+
51
+ - https://web.dev/articles/optimize-cls
@@ -0,0 +1,49 @@
1
+ ---
2
+ id: OBS-00012
3
+ alias: OBS-PINNED-RULES-INTEGRATION
4
+ slug: pinned-ai-design-rules-integration
5
+ title: Mature Codebases Use Pinned AI Design Rules Snapshots
6
+ object_type: observation
7
+ status: draft
8
+ version: 0.1.0
9
+ category: product
10
+ tags:
11
+ - adoption
12
+ - agent-workflow
13
+ - design-rules
14
+ created_at: 2026-08-12
15
+ updated_at: 2026-08-12
16
+ last_reviewed_at: 2026-08-12
17
+ owner: ai-design-rules
18
+ maturity: seed
19
+ risk_level: medium
20
+ platform:
21
+ - repository
22
+ product_type:
23
+ - agent-instructions
24
+ surface:
25
+ - project-integration
26
+ applies_to:
27
+ - product-repository-agent-guidance
28
+ does_not_apply_to:
29
+ - backend-only-maintenance
30
+ relationships: []
31
+ ---
32
+
33
+ # Mature Codebases Use Pinned AI Design Rules Snapshots
34
+
35
+ ## Source
36
+
37
+ Implementation review notes for AI Design Rules adoption.
38
+
39
+ ## Observed Behavior
40
+
41
+ AI Design Rules does not need one fixed integration mode. One adoption mode keeps a pinned snapshot under a local design-rules directory. Another uses a local bridge skill that points agents at a minimal snapshot. A third treats the repository as an optional product/design reasoning layer and explicitly keeps local architecture, API, security, routing, testing, and verification rules higher priority.
42
+
43
+ ## Why It May Matter
44
+
45
+ Adoption works better when AI Design Rules offers integration modes instead of assuming one full starter-kit copy. Product repositories need reproducibility, local precedence, and a lightweight path for narrow UI changes.
46
+
47
+ ## Evidence
48
+
49
+ - Implementation review note captured on 2026-08-12.
@@ -0,0 +1,52 @@
1
+ ---
2
+ id: OBS-00005
3
+ alias: OBS-APPLE-LIQUID-GLASS-LAYER
4
+ slug: apple-liquid-glass-functional-layer
5
+ title: Apple Uses Liquid Glass As A Functional Layer
6
+ object_type: observation
7
+ status: draft
8
+ version: 0.1.0
9
+ category: visual
10
+ tags:
11
+ - apple
12
+ - liquid-glass
13
+ - hierarchy
14
+ - materials
15
+ created_at: 2026-07-24
16
+ updated_at: 2026-07-24
17
+ last_reviewed_at: 2026-07-24
18
+ owner: ai-design-rules
19
+ maturity: seed
20
+ risk_level: medium
21
+ platform:
22
+ - apple
23
+ product_type:
24
+ - consumer
25
+ surface:
26
+ - navigation
27
+ - controls
28
+ applies_to:
29
+ - layered-interface-materials
30
+ does_not_apply_to:
31
+ - unrestricted-glassmorphism
32
+ relationships: []
33
+ ---
34
+
35
+ # Apple Uses Liquid Glass As A Functional Layer
36
+
37
+ ## Source
38
+
39
+ Apple Human Interface Guidelines for materials and the WWDC26 design guide.
40
+
41
+ ## Observed Behavior
42
+
43
+ Apple describes Liquid Glass as a distinct layer for controls and navigation above content. The guidance warns against using the material throughout the content layer and recommends applying custom glass effects sparingly, with accessibility settings such as reduced transparency and increased contrast preserved.
44
+
45
+ ## Why It May Matter
46
+
47
+ The visible trend is not a license to cover every surface with transparency. Its reusable signal is that expressive material can separate interaction from content when hierarchy, legibility, and platform behavior remain clear.
48
+
49
+ ## Evidence
50
+
51
+ - https://developer.apple.com/design/human-interface-guidelines/materials
52
+ - https://developer.apple.com/wwdc26/guides/design/
@@ -0,0 +1,51 @@
1
+ ---
2
+ id: OBS-00007
3
+ alias: OBS-CHROME-CONTENT-FIRST-UI
4
+ slug: chrome-content-first-adaptive-ui
5
+ title: Modern Web UI Maximizes Content And Adapts To Form Factor
6
+ object_type: observation
7
+ status: draft
8
+ version: 0.1.0
9
+ category: visual
10
+ tags:
11
+ - web
12
+ - content-first
13
+ - responsive
14
+ - layered-ui
15
+ created_at: 2026-07-24
16
+ updated_at: 2026-07-24
17
+ last_reviewed_at: 2026-07-24
18
+ owner: ai-design-rules
19
+ maturity: seed
20
+ risk_level: medium
21
+ platform:
22
+ - web
23
+ product_type:
24
+ - consumer
25
+ - productivity
26
+ surface:
27
+ - product-ui
28
+ applies_to:
29
+ - responsive-web-apps
30
+ does_not_apply_to:
31
+ - hiding-required-actions
32
+ relationships: []
33
+ ---
34
+
35
+ # Modern Web UI Maximizes Content And Adapts To Form Factor
36
+
37
+ ## Source
38
+
39
+ Chrome for Developers, What's new in web UI at Google I/O 2026.
40
+
41
+ ## Observed Behavior
42
+
43
+ The guidance groups new UI capabilities around guided navigation, reduced visual noise, layered secondary actions, and adaptation to form factor and input method. It also distinguishes available capabilities from experimental features.
44
+
45
+ ## Why It May Matter
46
+
47
+ A modern surface should not gain perceived quality by adding chrome. It should preserve content priority, keep required actions discoverable, and adapt layout and interaction to the active device rather than only shrinking dimensions.
48
+
49
+ ## Evidence
50
+
51
+ - https://developer.chrome.com/blog/new-in-web-ui-io26
@@ -0,0 +1,52 @@
1
+ ---
2
+ id: OBS-00006
3
+ alias: OBS-MATERIAL-3-EXPRESSIVE
4
+ slug: material-3-expressive-system
5
+ title: Material 3 Expressive Combines Emotion With System Constraints
6
+ object_type: observation
7
+ status: draft
8
+ version: 0.1.0
9
+ category: visual
10
+ tags:
11
+ - android
12
+ - material
13
+ - expressive-design
14
+ - design-system
15
+ created_at: 2026-07-24
16
+ updated_at: 2026-07-24
17
+ last_reviewed_at: 2026-07-24
18
+ owner: ai-design-rules
19
+ maturity: seed
20
+ risk_level: medium
21
+ platform:
22
+ - android
23
+ product_type:
24
+ - consumer
25
+ surface:
26
+ - product-ui
27
+ applies_to:
28
+ - expressive-system-design
29
+ does_not_apply_to:
30
+ - decorative-novelty-without-product-purpose
31
+ relationships: []
32
+ ---
33
+
34
+ # Material 3 Expressive Combines Emotion With System Constraints
35
+
36
+ ## Source
37
+
38
+ Google Material Design and Android developer guidance for Material 3 Expressive.
39
+
40
+ ## Observed Behavior
41
+
42
+ Material 3 Expressive expands theming, typography, shape, motion, dynamic color, and responsive components while retaining semantic color roles and accessibility guidance. Google presents expression as flexible: it can be quiet or prominent depending on product context.
43
+
44
+ ## Why It May Matter
45
+
46
+ Modern product UI can carry more personality than neutral component assembly, but the personality needs reusable roles, accessible combinations, and context-sensitive intensity.
47
+
48
+ ## Evidence
49
+
50
+ - https://developer.android.com/develop/ui/compose/designsystems/material3
51
+ - https://design.google/library/design-notes-material-3-expressive-liam-spradlin
52
+ - https://blog.google/products-and-platforms/platforms/android/material-3-expressive-android-wearos-launch/
package/package.json ADDED
@@ -0,0 +1,65 @@
1
+ {
2
+ "name": "ai-design-context",
3
+ "version": "0.4.0",
4
+ "description": "Evidence-driven design knowledge and context retrieval for AI coding agents.",
5
+ "license": "MIT",
6
+ "author": "Dev Ik",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/dev-ik/ai-design-rules.git"
10
+ },
11
+ "homepage": "https://github.com/dev-ik/ai-design-rules#readme",
12
+ "bugs": {
13
+ "url": "https://github.com/dev-ik/ai-design-rules/issues"
14
+ },
15
+ "keywords": ["ai", "design", "ux", "ai-agents", "knowledge-graph", "codex", "cursor", "cli"],
16
+ "engines": {
17
+ "node": ">=20"
18
+ },
19
+ "bin": {
20
+ "ai-design-context": "tools/cli.mjs"
21
+ },
22
+ "files": [
23
+ "*.md",
24
+ "assets/logo.svg",
25
+ "benchmarks/",
26
+ "checklists/",
27
+ "docs/*.md",
28
+ "evidence/",
29
+ "examples/",
30
+ "graph/",
31
+ "observations/",
32
+ "patterns/",
33
+ "prompts/",
34
+ "registry/",
35
+ "research/",
36
+ "reviews/",
37
+ "rules/",
38
+ "schema/",
39
+ "skills/",
40
+ "starter-kit/",
41
+ "templates/",
42
+ "tools/cli.mjs",
43
+ "tools/context.mjs",
44
+ "tools/init.mjs",
45
+ "tools/validate-knowledge.mjs",
46
+ "tools/validate-benchmark-evidence.mjs",
47
+ "tools/designlint.mjs",
48
+ "tools/generate-indexes.mjs"
49
+ ],
50
+ "scripts": {
51
+ "prepack": "npm run check && npm test",
52
+ "validate": "node tools/validate-knowledge.mjs",
53
+ "lint:design": "node tools/designlint.mjs",
54
+ "benchmark:validate": "node tools/validate-benchmark-evidence.mjs",
55
+ "context": "node tools/context.mjs",
56
+ "generate:indexes": "node tools/generate-indexes.mjs",
57
+ "check": "npm run validate && npm run lint:design && npm run benchmark:validate",
58
+ "test:validate": "node --test tools/validate-knowledge.test.mjs",
59
+ "test": "node --test tools/*.test.mjs"
60
+ },
61
+ "publishConfig": {
62
+ "access": "public"
63
+ },
64
+ "type": "module"
65
+ }
@@ -0,0 +1,13 @@
1
+ # Generated Patterns Index
2
+
3
+ This file is generated from registry metadata. Do not edit manually.
4
+
5
+ | ID | Alias | Title | Category | Status | Maturity | File Path | Required Rules | Related Research |
6
+ | --- | --- | --- | --- | --- | --- | --- | --- | --- |
7
+ | PAT-00001 | PAT-001 | Daily Home Surface | product | draft | seed | patterns/daily-home-surface.md | PRD-001 / RULE-00001 Daily Actions First<br>IA-001 / RULE-00003 One Stable Home Surface<br>UX-002 / RULE-00006 Progressively Disclose Power<br>A11Y-001 / RULE-00009 44x44 Touch Targets<br>VIS-001 / RULE-00008 Semantic Tokens Only<br>VIS-002 / RULE-00014 Keep Expression Subordinate To Content | THINGS-3 / RESEARCH-00002 Things 3<br>TELEGRAM / RESEARCH-00001 Telegram<br>APPLE-REMINDERS / RESEARCH-00003 Apple Reminders<br>LINEAR / RESEARCH-00004 Linear<br>EXPRESSIVE-SYSTEM-UI-2026 / RESEARCH-00009 Expressive System UI In 2026 |
8
+ | PAT-00002 | PAT-002 | Quick Capture | workflow | draft | seed | patterns/quick-capture.md | PRD-002 / RULE-00002 Low-Friction Capture Before Organization<br>UX-001 / RULE-00005 Thumb-Zone Primary Actions<br>UX-002 / RULE-00006 Progressively Disclose Power<br>A11Y-001 / RULE-00009 44x44 Touch Targets<br>A11Y-002 / RULE-00010 Textual Input Error Recovery<br>PERF-001 / RULE-00011 Reserve Layout Space For Asynchronous Content<br>A11Y-003 / RULE-00012 Visible Keyboard Focus | APPLE-REMINDERS / RESEARCH-00003 Apple Reminders<br>THINGS-3 / RESEARCH-00002 Things 3<br>TELEGRAM / RESEARCH-00001 Telegram<br>TEXTUAL-ERROR-RECOVERY / RESEARCH-00006 Textual Error Recovery<br>RESERVED-LOADING-SPACE / RESEARCH-00007 Reserved Loading Space<br>KEYBOARD-FOCUS-AND-MOTION / RESEARCH-00008 Keyboard Focus And Interaction Motion |
9
+ | PAT-00003 | PAT-003 | Mobile Primary Action | mobile | draft | seed | patterns/mobile-primary-action.md | UX-001 / RULE-00005 Thumb-Zone Primary Actions<br>PRD-001 / RULE-00001 Daily Actions First<br>A11Y-001 / RULE-00009 44x44 Touch Targets | THINGS-3 / RESEARCH-00002 Things 3<br>TELEGRAM / RESEARCH-00001 Telegram<br>APPLE-REMINDERS / RESEARCH-00003 Apple Reminders |
10
+ | PAT-00004 | PAT-004 | Progressive Detail | ux | draft | seed | patterns/progressive-detail.md | UX-002 / RULE-00006 Progressively Disclose Power<br>PRD-002 / RULE-00002 Low-Friction Capture Before Organization<br>VIS-001 / RULE-00008 Semantic Tokens Only<br>A11Y-001 / RULE-00009 44x44 Touch Targets | APPLE-REMINDERS / RESEARCH-00003 Apple Reminders<br>THINGS-3 / RESEARCH-00002 Things 3<br>TELEGRAM / RESEARCH-00001 Telegram<br>LINEAR / RESEARCH-00004 Linear |
11
+ | PAT-00005 | PAT-005 | Context-Preserving Preview | ux | draft | seed | patterns/context-preserving-preview.md | UX-003 / RULE-00007 Preserve Context During Inspection<br>IA-002 / RULE-00004 Define The Object Model Before Screens<br>IA-001 / RULE-00003 One Stable Home Surface<br>A11Y-001 / RULE-00009 44x44 Touch Targets<br>A11Y-004 / RULE-00013 Reduce Non-Essential Interaction Motion<br>UX-004 / RULE-00015 Use Motion To Explain State Continuity | TELEGRAM / RESEARCH-00001 Telegram<br>THINGS-3 / RESEARCH-00002 Things 3<br>APPLE-REMINDERS / RESEARCH-00003 Apple Reminders<br>LINEAR / RESEARCH-00004 Linear<br>ARC / RESEARCH-00005 Arc<br>KEYBOARD-FOCUS-AND-MOTION / RESEARCH-00008 Keyboard Focus And Interaction Motion<br>MOTION-AS-STATE-CONTINUITY / RESEARCH-00010 Motion As State Continuity |
12
+ | PAT-00006 | PAT-006 | Object Status List | ia | draft | seed | patterns/object-status-list.md | IA-002 / RULE-00004 Define The Object Model Before Screens<br>UX-003 / RULE-00007 Preserve Context During Inspection<br>VIS-001 / RULE-00008 Semantic Tokens Only<br>A11Y-001 / RULE-00009 44x44 Touch Targets | LINEAR / RESEARCH-00004 Linear<br>TELEGRAM / RESEARCH-00001 Telegram<br>ARC / RESEARCH-00005 Arc<br>THINGS-3 / RESEARCH-00002 Things 3<br>APPLE-REMINDERS / RESEARCH-00003 Apple Reminders |
13
+ | PAT-00007 | PAT-007 | Consequential Action Confirmation | ux | active | validated | patterns/consequential-action-confirmation.md | UX-006 / RULE-00017 Confirm Consequential Actions With Preserved Context<br>UX-003 / RULE-00007 Preserve Context During Inspection<br>A11Y-002 / RULE-00010 Textual Input Error Recovery<br>UX-005 / RULE-00016 Expose Agent Work And Intervention | ARC / RESEARCH-00005 Arc<br>LINEAR / RESEARCH-00004 Linear<br>TELEGRAM / RESEARCH-00001 Telegram<br>TEXTUAL-ERROR-RECOVERY / RESEARCH-00006 Textual Error Recovery<br>CONTEXTUAL-AGENTIC-INTERFACE / RESEARCH-00011 Contextual And Observable Agentic Interfaces<br>HIGH-RISK-OPERATIONAL-FLOWS / RESEARCH-00012 High-Risk Operational Flows |
@@ -0,0 +1,41 @@
1
+ # Pattern Library
2
+
3
+ Patterns are compositions of rules. They convert rule-level guidance into reusable product structures that agents can apply in prompts, reference projects, and reviews.
4
+
5
+ Use this folder after `rules/` and before `prompts/`.
6
+
7
+ ```text
8
+ observations -> research -> knowledge -> rules -> patterns -> prompts -> reference projects -> reviews
9
+ ```
10
+
11
+ ## Source Of Truth
12
+
13
+ All pattern documents must follow `docs/PATTERN_SPEC.md`.
14
+
15
+ New patterns should start from `templates/PATTERN_TEMPLATE.md`.
16
+
17
+ Future pattern metadata should follow `docs/KNOWLEDGE_ENGINE.md`.
18
+
19
+ Manual indexes are transitional. Future indexes should be generated from registry metadata.
20
+
21
+ ## Current Patterns
22
+
23
+ - `daily-home-surface.md` - screen-level entry point for repeated daily work.
24
+ - `quick-capture.md` - creation flow for recording intent before organization.
25
+ - `progressive-detail.md` - staged access to metadata and advanced controls.
26
+ - `context-preserving-preview.md` - inspection without losing source context.
27
+ - `object-status-list.md` - scanable list of structured objects and states.
28
+ - `mobile-primary-action.md` - touch-first placement and sizing of one primary action.
29
+
30
+ ## Ownership Boundaries
31
+
32
+ - `daily-home-surface.md` owns the screen purpose and return point.
33
+ - `quick-capture.md` owns the creation flow.
34
+ - `mobile-primary-action.md` owns reachability, target size, and physical placement.
35
+ - `progressive-detail.md` owns staged disclosure of optional detail.
36
+ - `context-preserving-preview.md` owns inspection without navigation loss.
37
+ - `object-status-list.md` owns structured object scanning.
38
+
39
+ ## Contribution Rule
40
+
41
+ Do not add a pattern unless it references existing rules and related research. A pattern without rules or research is a one-off design idea.
@@ -0,0 +1,5 @@
1
+ # Patterns
2
+
3
+ Start with `patterns/INDEX.md`.
4
+
5
+ Pattern documents follow `docs/PATTERN_SPEC.md` and should be created from `templates/PATTERN_TEMPLATE.md`.