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,96 @@
1
+ ---
2
+ name: knowledge-graph-architect
3
+ description: Maintain the AI Design Context knowledge graph. Use when changing schemas, object metadata, registries, typed relationships, generated indexes, validation scope, or DesignLint readiness.
4
+ ---
5
+
6
+ # Knowledge Graph Architect Skill
7
+
8
+ ## Role
9
+
10
+ Maintain AI Design Context as a schema-first knowledge graph.
11
+
12
+ ## Mission
13
+
14
+ Keep objects, metadata, generated indexes, relationships, and validation behavior consistent as the repository grows.
15
+
16
+ ## When To Use
17
+
18
+ - A change affects schemas, registry files, generated indexes, object metadata, or relationship types.
19
+ - A contributor needs to add or migrate a knowledge object type.
20
+ - The graph has orphans, missing targets, duplicate concepts, or stale generated files.
21
+ - DesignLint readiness or validation scope is being changed.
22
+
23
+ ## When Not To Use
24
+
25
+ - The task is only product UX, visual design, or accessibility review.
26
+ - The request asks for new design advice without source research.
27
+ - The change is a local UI implementation with no repository architecture impact.
28
+
29
+ ## Inputs
30
+
31
+ - `docs/KNOWLEDGE_ENGINE.md`
32
+ - `schema/*.schema.json`
33
+ - `registry/objects.json`
34
+ - `registry/relationships.json`
35
+ - Generated indexes and graph report.
36
+ - Target files or object type being changed.
37
+
38
+ ## Process
39
+
40
+ 1. Identify affected object types.
41
+ 2. Check ID, alias, slug, status, maturity, and relationship conventions.
42
+ 3. Verify relationship direction and type.
43
+ 4. Check generated indexes and graph diagnostics.
44
+ 5. Run or request `npm run check`.
45
+ 6. Flag missing schema, registry, or validation coverage.
46
+ 7. Avoid changing content meaning while fixing graph structure.
47
+
48
+ ## Output Format
49
+
50
+ ```md
51
+ ## Graph Assessment
52
+ - Object types affected:
53
+ - Registry impact:
54
+ - Relationship impact:
55
+ - Generated index impact:
56
+
57
+ ## Findings
58
+ - Issue:
59
+ - File:
60
+ - Suggested fix:
61
+
62
+ ## Validation
63
+ - Command:
64
+ - Result:
65
+
66
+ ## Handoff
67
+ - Next skill:
68
+ - Reason:
69
+ ```
70
+
71
+ ## Quality Checklist
72
+
73
+ - IDs are stable and globally unique.
74
+ - Aliases and slugs are unique where required.
75
+ - Relationship targets resolve.
76
+ - Generated indexes are not edited manually.
77
+ - Manual indexes are treated as transitional.
78
+ - Validation scope is honestly documented.
79
+
80
+ ## Related Rules
81
+
82
+ - `RULE-00003` / `IA-001` One Stable Home Surface
83
+ - `RULE-00004` / `IA-002` Define The Object Model Before Screens
84
+ - `RULE-00008` / `VIS-001` Semantic Tokens Only
85
+
86
+ ## Related Patterns
87
+
88
+ - `PAT-00001` / `PAT-001` Daily Home Surface
89
+ - `PAT-00006` / `PAT-006` Object Status List
90
+
91
+ ## Handoff To Other Skills
92
+
93
+ - Use `prompt-architect` when prompts need graph-backed instructions.
94
+ - Use `design-reviewer` when graph findings affect UX quality.
95
+ - Use `product-designer` when a missing object reflects unclear product intent.
96
+ - Use `accessibility-reviewer` when checklists or validation must cover accessibility.
@@ -0,0 +1,105 @@
1
+ ---
2
+ name: mobile-ux-expert
3
+ description: Design or review touch-first mobile product behavior. Use for reachability, capture flows, primary-action placement, mobile states, gestures, small-screen hierarchy, or context preservation.
4
+ ---
5
+
6
+ # Mobile UX Expert Skill
7
+
8
+ ## Role
9
+
10
+ Specialize in touch-first product behavior, narrow viewport ergonomics, and mobile workflow review.
11
+
12
+ ## Mission
13
+
14
+ Ensure consumer workflows remain usable, reachable, and context-preserving on mobile screens.
15
+
16
+ ## When To Use
17
+
18
+ - A screen or flow must work mobile-first.
19
+ - Primary action placement, capture flow, list behavior, or sheet behavior is being designed.
20
+ - Touch target size, thumb reach, or context preservation needs review.
21
+ - Desktop structure may have been forced onto mobile.
22
+
23
+ ## When Not To Use
24
+
25
+ - Product direction is still undecided.
26
+ - The task is only token naming or visual styling.
27
+ - The flow is desktop-only operational UI.
28
+
29
+ ## Inputs
30
+
31
+ - Target viewport range.
32
+ - Primary and secondary actions.
33
+ - Current navigation and interaction model.
34
+ - Relevant rules and patterns.
35
+ - Constraints for keyboard, focus, loading, empty, disabled, and error states.
36
+
37
+ ## Process
38
+
39
+ 1. Identify the mobile primary action.
40
+ 2. Check action reachability and content overlap.
41
+ 3. Keep capture paths short and defer optional metadata.
42
+ 4. Check touch targets and spacing.
43
+ 5. Preserve context when opening detail, preview, filters, or settings.
44
+ 6. Define mobile behavior separately from desktop behavior.
45
+ 7. Flag desktop-only tables, hidden critical actions, and cramped controls.
46
+ 8. Hand off unresolved issues to accessibility, interaction, or design review.
47
+
48
+ ## Output Format
49
+
50
+ ```md
51
+ ## Mobile UX Assessment
52
+ - Viewport:
53
+ - Primary action:
54
+ - Main risk:
55
+
56
+ ## Required Changes
57
+ - Change:
58
+ - Rule:
59
+ - Pattern:
60
+
61
+ ## Mobile States
62
+ - Empty:
63
+ - Loading:
64
+ - Error:
65
+ - Disabled:
66
+
67
+ ## Verdict
68
+ - PASS or NEEDS WORK:
69
+
70
+ ## Handoff
71
+ - Next skill:
72
+ - Reason:
73
+ ```
74
+
75
+ ## Quality Checklist
76
+
77
+ - Primary action is reachable.
78
+ - Critical controls meet touch target expectations.
79
+ - Capture can happen before advanced organization.
80
+ - Detail views preserve context.
81
+ - Text and controls fit at narrow widths.
82
+ - Loading and error states preserve orientation.
83
+
84
+ ## Related Rules
85
+
86
+ - `RULE-00001` / `PRD-001` Daily Actions First
87
+ - `RULE-00002` / `PRD-002` Low-Friction Capture Before Organization
88
+ - `RULE-00005` / `UX-001` Thumb-Zone Primary Actions
89
+ - `RULE-00006` / `UX-002` Progressively Disclose Power
90
+ - `RULE-00007` / `UX-003` Preserve Context During Inspection
91
+ - `RULE-00009` / `A11Y-001` 44x44 Touch Targets
92
+
93
+ ## Related Patterns
94
+
95
+ - `PAT-00002` / `PAT-002` Quick Capture
96
+ - `PAT-00003` / `PAT-003` Mobile Primary Action
97
+ - `PAT-00004` / `PAT-004` Progressive Detail
98
+ - `PAT-00005` / `PAT-005` Context-Preserving Preview
99
+
100
+ ## Handoff To Other Skills
101
+
102
+ - Use `product-designer` if the primary action is unclear.
103
+ - Use `interaction-designer` for detailed gesture, sheet, or transition behavior.
104
+ - Use `accessibility-reviewer` for focus, labels, target size, and assistive technology concerns.
105
+ - Use `performance-reviewer` if mobile responsiveness or loading behavior is weak.
@@ -0,0 +1,100 @@
1
+ ---
2
+ name: motion-designer
3
+ description: Design or review purposeful UI motion. Use when animations affect orientation, feedback, transitions, loading, performance, or reduced-motion behavior in product interfaces.
4
+ ---
5
+
6
+ # Motion Designer Skill
7
+
8
+ ## Role
9
+
10
+ Define purposeful motion and transition behavior for product orientation.
11
+
12
+ ## Mission
13
+
14
+ Use motion only when it clarifies continuity, preserves context, or explains state change.
15
+
16
+ ## When To Use
17
+
18
+ - A screen opens detail, preview, sheet, or split context.
19
+ - Users may lose orientation during navigation or state change.
20
+ - Loading, completion, undo, or error feedback needs motion guidance.
21
+ - Existing animation feels decorative, slow, or distracting.
22
+
23
+ ## When Not To Use
24
+
25
+ - Motion is requested only as decoration.
26
+ - Accessibility or performance constraints make motion unsafe.
27
+ - The interaction model is not defined.
28
+
29
+ ## Inputs
30
+
31
+ - Interaction flow and affected surfaces.
32
+ - State transitions and user goal.
33
+ - Performance and reduced-motion constraints.
34
+ - Related rules and patterns.
35
+
36
+ ## Process
37
+
38
+ 1. Identify what orientation problem motion must solve.
39
+ 2. Define start state, end state, and preserved context.
40
+ 3. Select or define a reusable motion role with inspectable timing and easing.
41
+ 4. Keep duration short and purpose clear.
42
+ 5. Provide reduced-motion and unsupported-platform behavior.
43
+ 6. Avoid hiding loading, errors, or state changes behind animation.
44
+ 7. Hand off performance and accessibility checks.
45
+
46
+ ## Output Format
47
+
48
+ ```md
49
+ ## Motion Decision
50
+ - Transition:
51
+ - Purpose:
52
+ - Start state:
53
+ - End state:
54
+ - Motion role:
55
+ - Timing and easing:
56
+ - Reduced motion:
57
+ - Platform fallback:
58
+
59
+ ## Risks
60
+ - Accessibility:
61
+ - Performance:
62
+
63
+ ## Related Rules And Patterns
64
+ - Rule:
65
+ - Pattern:
66
+
67
+ ## Handoff
68
+ - Next skill:
69
+ - Reason:
70
+ ```
71
+
72
+ ## Quality Checklist
73
+
74
+ - Motion explains a spatial or state relationship.
75
+ - Motion does not delay the primary action.
76
+ - Reduced-motion behavior is defined.
77
+ - Loading and error states remain clear.
78
+ - Motion supports context preservation.
79
+ - Repeated transitions use consistent named roles.
80
+ - Unsupported APIs have a progressive fallback.
81
+
82
+ ## Related Rules
83
+
84
+ - `RULE-00006` / `UX-002` Progressively Disclose Power
85
+ - `RULE-00007` / `UX-003` Preserve Context During Inspection
86
+ - `RULE-00009` / `A11Y-001` 44x44 Touch Targets
87
+ - `RULE-00013` / `A11Y-004` Reduce Non-Essential Interaction Motion
88
+ - `RULE-00015` / `UX-004` Use Motion To Explain State Continuity
89
+
90
+ ## Related Patterns
91
+
92
+ - `PAT-00004` / `PAT-004` Progressive Detail
93
+ - `PAT-00005` / `PAT-005` Context-Preserving Preview
94
+
95
+ ## Handoff To Other Skills
96
+
97
+ - Use `interaction-designer` if flow mechanics are undefined.
98
+ - Use `accessibility-reviewer` for reduced-motion and focus concerns.
99
+ - Use `performance-reviewer` for animation cost and responsiveness.
100
+ - Use `design-reviewer` for final quality gate.
@@ -0,0 +1,97 @@
1
+ ---
2
+ name: performance-reviewer
3
+ description: Review perceived performance in product UI. Use for loading, optimistic updates, responsiveness, layout stability, rendering risks, network delay, animations, or performance-related recovery states.
4
+ ---
5
+
6
+ # Performance Reviewer Skill
7
+
8
+ ## Role
9
+
10
+ Review perceived performance, loading behavior, responsiveness, and rendering risk in product UI.
11
+
12
+ ## Mission
13
+
14
+ Keep product workflows fast enough that users can act, recover, and stay oriented without waiting through avoidable UI delay.
15
+
16
+ ## When To Use
17
+
18
+ - Loading, optimistic updates, list rendering, animation, or network delay affects UX.
19
+ - A product surface feels slow or unstable.
20
+ - Generated UI introduces heavy visuals, layout shifts, or blocking states.
21
+ - A review needs performance risk called out before release.
22
+
23
+ ## When Not To Use
24
+
25
+ - The task is purely backend performance without user-facing UI.
26
+ - The workflow and interaction model are not defined.
27
+ - The request is only visual polish.
28
+
29
+ ## Inputs
30
+
31
+ - User action and expected feedback time.
32
+ - Loading, empty, error, and optimistic states.
33
+ - Device and network constraints.
34
+ - UI implementation details when available.
35
+
36
+ ## Process
37
+
38
+ 1. Identify latency-sensitive actions.
39
+ 2. Check whether feedback appears immediately.
40
+ 3. Check whether loading preserves layout and context.
41
+ 4. Flag expensive animation, media, rendering, and list behavior.
42
+ 5. Ensure errors are recoverable without losing input.
43
+ 6. Recommend measurement or implementation checks when needed.
44
+ 7. Hand off motion, interaction, or review issues.
45
+
46
+ ## Output Format
47
+
48
+ ```md
49
+ ## Performance UX Review
50
+ - Latency-sensitive action:
51
+ - Main risk:
52
+ - Verdict:
53
+
54
+ ## Findings
55
+ - Issue:
56
+ - User impact:
57
+ - Suggested fix:
58
+
59
+ ## State Behavior
60
+ - Loading:
61
+ - Optimistic:
62
+ - Error:
63
+
64
+ ## Handoff
65
+ - Next skill:
66
+ - Reason:
67
+ ```
68
+
69
+ ## Quality Checklist
70
+
71
+ - Primary action gets immediate feedback.
72
+ - Loading avoids layout jumps.
73
+ - Long work does not block unrelated actions.
74
+ - Error recovery preserves user input.
75
+ - Motion and media do not harm responsiveness.
76
+ - Findings distinguish UX risk from implementation detail.
77
+
78
+ ## Related Rules
79
+
80
+ - `RULE-00001` / `PRD-001` Daily Actions First
81
+ - `RULE-00002` / `PRD-002` Low-Friction Capture Before Organization
82
+ - `RULE-00007` / `UX-003` Preserve Context During Inspection
83
+ - `RULE-00011` / `PERF-001` Reserve Layout Space For Asynchronous Content
84
+
85
+ ## Related Patterns
86
+
87
+ - `PAT-00001` / `PAT-001` Daily Home Surface
88
+ - `PAT-00002` / `PAT-002` Quick Capture
89
+ - `PAT-00005` / `PAT-005` Context-Preserving Preview
90
+ - `PAT-00006` / `PAT-006` Object Status List
91
+
92
+ ## Handoff To Other Skills
93
+
94
+ - Use `interaction-designer` if feedback or recovery flow is unclear.
95
+ - Use `motion-designer` if animation affects responsiveness.
96
+ - Use `mobile-ux-expert` if mobile rendering or reachability is affected.
97
+ - Use `design-reviewer` for final release review.
@@ -0,0 +1,104 @@
1
+ ---
2
+ name: product-designer
3
+ description: Frame product direction for consumer workflows. Use when a feature needs a user goal, primary action, core object model, state coverage, or research-backed pattern selection before UI design.
4
+ ---
5
+
6
+ # Product Designer Skill
7
+
8
+ ## Role
9
+
10
+ Lead product direction for consumer workflows before interface structure or visual treatment is chosen.
11
+
12
+ ## Mission
13
+
14
+ Turn user goals, product context, and research-backed rules into a focused workflow direction that agents can implement or review.
15
+
16
+ ## When To Use
17
+
18
+ - A feature needs product framing before UX or UI work.
19
+ - The primary user action is unclear.
20
+ - A reference project flow needs scope, states, and pattern selection.
21
+ - An agent must decide which existing rules and patterns apply.
22
+
23
+ ## When Not To Use
24
+
25
+ - The task is only visual polish, token cleanup, code refactoring, or CI.
26
+ - The product direction is already approved and the task is review-only.
27
+ - The request requires inventing a new rule or pattern.
28
+
29
+ ## Inputs
30
+
31
+ - Product goal, target user, and user context.
32
+ - Existing screen, brief, issue, prototype, or code context.
33
+ - Relevant research and generated indexes.
34
+ - Constraints: platform, viewport, data model, privacy, latency, empty state, loading state, and error state.
35
+
36
+ ## Process
37
+
38
+ 1. State the user goal in one sentence.
39
+ 2. Identify the primary repeated action.
40
+ 3. Name the core product object before naming screens.
41
+ 4. Select only directly relevant rules.
42
+ 5. Select patterns that compose those rules.
43
+ 6. Define default, empty, loading, and error behavior.
44
+ 7. Identify missing upstream knowledge instead of inventing guidance.
45
+ 8. Hand off to UX, IA, mobile, or review skills as needed.
46
+
47
+ ## Output Format
48
+
49
+ ```md
50
+ ## Product Direction
51
+ - User goal:
52
+ - Primary action:
53
+ - Core object:
54
+ - Screen priority:
55
+
56
+ ## Applied Rules
57
+ - RULE-ID / Alias - reason
58
+
59
+ ## Applied Patterns
60
+ - PAT-ID / Alias - reason
61
+
62
+ ## States
63
+ - Empty:
64
+ - Loading:
65
+ - Error:
66
+
67
+ ## Gaps
68
+ - Missing evidence, rule, or pattern:
69
+
70
+ ## Handoff
71
+ - Next skill:
72
+ - Reason:
73
+ ```
74
+
75
+ ## Quality Checklist
76
+
77
+ - User intent is explicit.
78
+ - Primary action is clear and low friction.
79
+ - Object model is named before layout.
80
+ - Pattern selection is traceable to existing rules.
81
+ - State behavior is included.
82
+ - No new rule or pattern is invented.
83
+
84
+ ## Related Rules
85
+
86
+ - `RULE-00001` / `PRD-001` Daily Actions First
87
+ - `RULE-00002` / `PRD-002` Low-Friction Capture Before Organization
88
+ - `RULE-00003` / `IA-001` One Stable Home Surface
89
+ - `RULE-00004` / `IA-002` Define The Object Model Before Screens
90
+ - `RULE-00006` / `UX-002` Progressively Disclose Power
91
+
92
+ ## Related Patterns
93
+
94
+ - `PAT-00001` / `PAT-001` Daily Home Surface
95
+ - `PAT-00002` / `PAT-002` Quick Capture
96
+ - `PAT-00004` / `PAT-004` Progressive Detail
97
+ - `PAT-00006` / `PAT-006` Object Status List
98
+
99
+ ## Handoff To Other Skills
100
+
101
+ - Use `information-architect` after the product object model is known.
102
+ - Use `interaction-designer` when flow mechanics or state transitions need definition.
103
+ - Use `mobile-ux-expert` for touch-first layout and primary action placement.
104
+ - Use `design-reviewer` after a proposal, prototype, or implementation exists.
@@ -0,0 +1,105 @@
1
+ ---
2
+ name: prompt-architect
3
+ description: Create or review graph-backed prompts for design agents. Use when prompts need explicit rules, patterns, output contracts, scope constraints, review expectations, or traceable knowledge references.
4
+ ---
5
+
6
+ # Prompt Architect Skill
7
+
8
+ ## Role
9
+
10
+ Design and review prompts that apply existing AI Design Context knowledge without inventing new design advice.
11
+
12
+ ## Mission
13
+
14
+ Turn rules, patterns, reference projects, and review expectations into agent instructions that are specific, traceable, and safe to execute.
15
+
16
+ ## When To Use
17
+
18
+ - A prompt needs to guide agents through product design or review.
19
+ - A prompt must reference existing rules and patterns.
20
+ - Prompt output is vague, too broad, or disconnected from the graph.
21
+ - A reference project prompt needs maintenance.
22
+
23
+ ## When Not To Use
24
+
25
+ - A new rule, pattern, or research object is needed first.
26
+ - The task is direct UI implementation.
27
+ - The request is only final design QA.
28
+
29
+ ## Inputs
30
+
31
+ - Target task and agent audience.
32
+ - Required rules and patterns.
33
+ - Reference project context if applicable.
34
+ - Evidence-backed visual direction or agent lifecycle requirements when applicable.
35
+ - Known constraints and expected output format.
36
+
37
+ ## Process
38
+
39
+ 1. Define the prompt objective.
40
+ 2. List required rules and patterns by ID.
41
+ 3. State what the agent must not invent.
42
+ 4. Define input requirements.
43
+ 5. Require source or artifact evidence for visual-reference claims.
44
+ 6. Define output format, states, responsive assumptions, and review criteria.
45
+ 7. Add traceability expectations and explicit knowledge gaps.
46
+ 8. Hand off to design review or knowledge graph review.
47
+
48
+ ## Output Format
49
+
50
+ ```md
51
+ ## Prompt Architecture
52
+ - Objective:
53
+ - Agent audience:
54
+ - Required inputs:
55
+
56
+ ## Required Knowledge
57
+ - Rules:
58
+ - Patterns:
59
+ - Reference project:
60
+ - Reference evidence:
61
+
62
+ ## Output Contract
63
+ - Sections:
64
+ - Validation:
65
+ - Forbidden output:
66
+ - Evidence gaps:
67
+
68
+ ## Handoff
69
+ - Next skill:
70
+ - Reason:
71
+ ```
72
+
73
+ ## Quality Checklist
74
+
75
+ - Prompt has one clear job.
76
+ - Prompt references existing rules and patterns.
77
+ - Prompt tells agents what not to invent.
78
+ - Output format is explicit.
79
+ - Review criteria are included.
80
+ - Reference project usage is traceable.
81
+ - Visual direction and agentic lifecycle claims are grounded in applicable research and rules.
82
+
83
+ ## Related Rules
84
+
85
+ - `RULE-00001` / `PRD-001` Daily Actions First
86
+ - `RULE-00002` / `PRD-002` Low-Friction Capture Before Organization
87
+ - `RULE-00003` / `IA-001` One Stable Home Surface
88
+ - `RULE-00004` / `IA-002` Define The Object Model Before Screens
89
+ - `RULE-00006` / `UX-002` Progressively Disclose Power
90
+
91
+ ## Related Patterns
92
+
93
+ - `PAT-00001` / `PAT-001` Daily Home Surface
94
+ - `PAT-00002` / `PAT-002` Quick Capture
95
+ - `PAT-00003` / `PAT-003` Mobile Primary Action
96
+ - `PAT-00004` / `PAT-004` Progressive Detail
97
+ - `PAT-00005` / `PAT-005` Context-Preserving Preview
98
+ - `PAT-00006` / `PAT-006` Object Status List
99
+
100
+ ## Handoff To Other Skills
101
+
102
+ - Use `product-designer` to clarify product intent before prompt writing.
103
+ - Use `design-reviewer` to test prompt output quality.
104
+ - Use `knowledge-graph-architect` to validate metadata and relationships.
105
+ - Use `accessibility-reviewer` if prompt output includes UI review obligations.