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.
- package/AGENTS.md +156 -0
- package/CHANGELOG.md +71 -0
- package/CODE_OF_CONDUCT.md +29 -0
- package/CONTRIBUTING.md +128 -0
- package/LICENSE +21 -0
- package/README.md +283 -0
- package/RELEASE_NOTES_v0.1.0.md +45 -0
- package/RELEASE_NOTES_v0.3.0.md +47 -0
- package/RELEASE_NOTES_v0.4.0.md +29 -0
- package/RELEASE_READINESS.md +107 -0
- package/ROADMAP.md +60 -0
- package/SECURITY.md +40 -0
- package/assets/logo.svg +9 -0
- package/benchmarks/README.md +19 -0
- package/benchmarks/chat.md +37 -0
- package/benchmarks/mobile-home-screen.md +38 -0
- package/benchmarks/notes-app.md +37 -0
- package/benchmarks/settings.md +37 -0
- package/benchmarks/shopping-list.md +37 -0
- package/benchmarks/todo-app.md +144 -0
- package/checklists/DESIGN_QA.md +102 -0
- package/checklists/GENERATED_INDEX.md +7 -0
- package/docs/AGENT_CONTEXT.md +111 -0
- package/docs/BENCHMARK.md +170 -0
- package/docs/DESIGNLINT_READINESS.md +110 -0
- package/docs/DESIGN_SYSTEM.md +23 -0
- package/docs/EVALUATION_RUBRIC.md +154 -0
- package/docs/GITHUB_SETUP.md +28 -0
- package/docs/GLOSSARY.md +45 -0
- package/docs/INDEX.md +109 -0
- package/docs/KNOWLEDGE_ENGINE.md +594 -0
- package/docs/MOBILE_FIRST.md +18 -0
- package/docs/NPM_RELEASE.md +43 -0
- package/docs/PATTERN_SPEC.md +113 -0
- package/docs/PHILOSOPHY.md +25 -0
- package/docs/PRODUCT_THINKING.md +26 -0
- package/docs/STYLE_GUIDE.md +49 -0
- package/docs/TRACEABILITY.md +45 -0
- package/evidence/README.md +64 -0
- package/evidence/TEMPLATE.md +46 -0
- package/evidence/chat/.gitkeep +1 -0
- package/evidence/mobile-home/.gitkeep +1 -0
- package/evidence/notes/.gitkeep +1 -0
- package/evidence/settings/.gitkeep +1 -0
- package/evidence/shopping/.gitkeep +1 -0
- package/evidence/todo/.gitkeep +1 -0
- package/evidence/todo/2026-06-25-codex-gpt-5/EVALUATION.md +66 -0
- package/evidence/todo/2026-06-25-codex-gpt-5/README.md +40 -0
- package/evidence/todo/2026-06-25-codex-gpt-5/ai-design-rules/generated-output.md +163 -0
- package/evidence/todo/2026-06-25-codex-gpt-5/ai-design-rules/metadata.json +38 -0
- package/evidence/todo/2026-06-25-codex-gpt-5/ai-design-rules/notes.md +20 -0
- package/evidence/todo/2026-06-25-codex-gpt-5/ai-design-rules/prompt.md +16 -0
- package/evidence/todo/2026-06-25-codex-gpt-5/ai-design-rules/scores.md +18 -0
- package/evidence/todo/2026-06-25-codex-gpt-5/baseline/generated-output.md +98 -0
- package/evidence/todo/2026-06-25-codex-gpt-5/baseline/metadata.json +19 -0
- package/evidence/todo/2026-06-25-codex-gpt-5/baseline/notes.md +19 -0
- package/evidence/todo/2026-06-25-codex-gpt-5/baseline/prompt.md +9 -0
- package/evidence/todo/2026-06-25-codex-gpt-5/baseline/scores.md +18 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/EVALUATION.md +70 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/README.md +52 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/GENERATION_NOTES.md +133 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/app.js +289 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/context/context-preserving-preview.json +443 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/context/daily-home-surface.json +373 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/context/quick-capture.json +301 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/context/sources-read.txt +36 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/generated-output.md +11 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/index.html +64 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/launch-prompt.md +1 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/metadata.json +55 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/notes.md +15 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/parent-status-message.md +1 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/prompt.md +49 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/runtime-checks.json +776 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/scores.md +20 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/screenshots/desktop-completed.png +0 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/screenshots/desktop-default.png +0 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/screenshots/desktop-detail-reduced-motion.png +0 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/screenshots/desktop-detail.png +0 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/screenshots/desktop-empty.png +0 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/screenshots/desktop-keyboard-focus.png +0 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/screenshots/desktop-save-error.png +0 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/screenshots/desktop-saved.png +0 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/screenshots/desktop-saving.png +0 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/screenshots/desktop-validation.png +0 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/screenshots/mobile-completed.png +0 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/screenshots/mobile-default.png +0 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/screenshots/mobile-detail-reduced-motion.png +0 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/screenshots/mobile-detail.png +0 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/screenshots/mobile-empty.png +0 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/screenshots/mobile-keyboard-focus.png +0 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/screenshots/mobile-save-error.png +0 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/screenshots/mobile-saved.png +0 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/screenshots/mobile-saving.png +0 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/screenshots/mobile-validation.png +0 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/source-hashes.json +5 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/ai-design-rules/styles.css +122 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/baseline/GENERATION_NOTES.md +86 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/baseline/app.js +303 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/baseline/generated-output.md +11 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/baseline/index.html +71 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/baseline/launch-prompt.md +1 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/baseline/metadata.json +55 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/baseline/notes.md +15 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/baseline/parent-status-message.md +1 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/baseline/prompt.md +49 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/baseline/runtime-checks.json +772 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/baseline/scores.md +20 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/baseline/screenshots/desktop-completed.png +0 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/baseline/screenshots/desktop-default.png +0 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/baseline/screenshots/desktop-detail-reduced-motion.png +0 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/baseline/screenshots/desktop-detail.png +0 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/baseline/screenshots/desktop-empty.png +0 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/baseline/screenshots/desktop-keyboard-focus.png +0 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/baseline/screenshots/desktop-save-error.png +0 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/baseline/screenshots/desktop-saved.png +0 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/baseline/screenshots/desktop-saving.png +0 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/baseline/screenshots/desktop-validation.png +0 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/baseline/screenshots/mobile-completed.png +0 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/baseline/screenshots/mobile-default.png +0 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/baseline/screenshots/mobile-detail-reduced-motion.png +0 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/baseline/screenshots/mobile-detail.png +0 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/baseline/screenshots/mobile-empty.png +0 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/baseline/screenshots/mobile-keyboard-focus.png +0 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/baseline/screenshots/mobile-save-error.png +0 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/baseline/screenshots/mobile-saved.png +0 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/baseline/screenshots/mobile-saving.png +0 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/baseline/screenshots/mobile-validation.png +0 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/baseline/source-hashes.json +5 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/baseline/styles.css +9 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/capture-ai-design-rules.js +60 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/capture-baseline.js +60 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/common/brief.md +35 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/common/knowledge-files.json +127 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/common/knowledge.patch +890 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/common/review-context.json +550 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/common/seed.json +86 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/common/setup.json +47 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/common/technical-envelope.md +11 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/layout-metrics.json +133 -0
- package/evidence/todo/2026-09-28-codex-paired-todo/layout-probe.js +15 -0
- package/examples/GENERATED_INDEX.md +8 -0
- package/examples/INDEX.md +16 -0
- package/examples/README.md +15 -0
- package/examples/consequential-action-confirmation-reference.md +83 -0
- package/examples/todo-app-benchmark.md +117 -0
- package/examples/todo-reference/README.md +29 -0
- package/examples/todo-reference/app.js +154 -0
- package/examples/todo-reference/favicon.svg +4 -0
- package/examples/todo-reference/index.html +67 -0
- package/examples/todo-reference/review-evidence/2026-07-15/desktop-default.png +0 -0
- package/examples/todo-reference/review-evidence/2026-07-15/desktop-detail.png +0 -0
- package/examples/todo-reference/review-evidence/2026-07-15/mobile-detail.png +0 -0
- package/examples/todo-reference/review-evidence/2026-07-15/mobile-error.png +0 -0
- package/examples/todo-reference/styles.css +241 -0
- package/graph/GENERATED_GRAPH.md +71 -0
- package/observations/README.md +23 -0
- package/observations/accessibility/reduced-interaction-motion.md +49 -0
- package/observations/accessibility/textual-error-recovery.md +50 -0
- package/observations/accessibility/visible-keyboard-focus.md +49 -0
- package/observations/ai/agent-consequential-action-controls.md +56 -0
- package/observations/ai/agent-work-visibility-and-intervention.md +51 -0
- package/observations/ai/figma-agent-context-and-skills.md +52 -0
- package/observations/finance/high-risk-wallet-recovery-flows.md +55 -0
- package/observations/finance/market-interface-adaptive-trading-surfaces.md +55 -0
- package/observations/interaction/chrome-scoped-view-transitions.md +52 -0
- package/observations/interaction/figma-motion-as-system-capability.md +53 -0
- package/observations/mobile/mobile-bottom-sheet-choice-contracts.md +55 -0
- package/observations/performance/reserved-loading-space.md +51 -0
- package/observations/product-repos/pinned-ai-design-rules-integration.md +49 -0
- package/observations/visual/apple-liquid-glass-functional-layer.md +52 -0
- package/observations/visual/chrome-content-first-adaptive-ui.md +51 -0
- package/observations/visual/material-3-expressive-system.md +52 -0
- package/package.json +65 -0
- package/patterns/GENERATED_INDEX.md +13 -0
- package/patterns/INDEX.md +41 -0
- package/patterns/README.md +5 -0
- package/patterns/consequential-action-confirmation.md +127 -0
- package/patterns/context-preserving-preview.md +145 -0
- package/patterns/daily-home-surface.md +134 -0
- package/patterns/mobile-primary-action.md +110 -0
- package/patterns/object-status-list.md +114 -0
- package/patterns/progressive-detail.md +113 -0
- package/patterns/quick-capture.md +132 -0
- package/prompts/CONSEQUENTIAL_ACTION_REVIEW.md +100 -0
- package/prompts/DESIGN_EVIDENCE_REVIEW.md +49 -0
- package/prompts/GENERATED_INDEX.md +11 -0
- package/prompts/INDEX.md +24 -0
- package/prompts/PROTOTYPE_REVIEW.md +189 -0
- package/prompts/QUICK_CAPTURE_STATE_REVIEW.md +74 -0
- package/prompts/TODO_APP_BENCHMARK.md +88 -0
- package/registry/objects.json +568 -0
- package/registry/relationships.json +972 -0
- package/research/GENERATED_INDEX.md +18 -0
- package/research/INDEX.md +40 -0
- package/research/accessibility/keyboard-focus-and-interaction-motion.md +62 -0
- package/research/accessibility/textual-error-recovery.md +57 -0
- package/research/performance/reserved-loading-space.md +56 -0
- package/research/products/apple-reminders.md +59 -0
- package/research/products/arc.md +61 -0
- package/research/products/linear.md +62 -0
- package/research/products/telegram.md +61 -0
- package/research/products/things-3.md +60 -0
- package/research/ux/contextual-agentic-interface.md +68 -0
- package/research/ux/high-risk-operational-flows.md +89 -0
- package/research/ux/motion-as-state-continuity.md +71 -0
- package/research/visual/expressive-system-ui-2026.md +75 -0
- package/reviews/GENERATED_INDEX.md +9 -0
- package/reviews/README.md +25 -0
- package/reviews/consequential-action-confirmation-review.md +92 -0
- package/reviews/todo-app-benchmark-reference-review.md +86 -0
- package/reviews/todo-reference-fixture-review.md +77 -0
- package/rules/GENERATED_INDEX.md +23 -0
- package/rules/INDEX.md +37 -0
- package/rules/accessibility/A11Y-001.md +58 -0
- package/rules/accessibility/A11Y-002.md +55 -0
- package/rules/accessibility/A11Y-003.md +54 -0
- package/rules/accessibility/A11Y-004.md +54 -0
- package/rules/ia/IA-001.md +60 -0
- package/rules/ia/IA-002.md +61 -0
- package/rules/performance/PERF-001.md +55 -0
- package/rules/product/PRD-001.md +61 -0
- package/rules/product/PRD-002.md +61 -0
- package/rules/ux/UX-001.md +58 -0
- package/rules/ux/UX-002.md +61 -0
- package/rules/ux/UX-003.md +60 -0
- package/rules/ux/UX-004.md +61 -0
- package/rules/ux/UX-005.md +62 -0
- package/rules/ux/UX-006.md +69 -0
- package/rules/visual/VIS-001.md +59 -0
- package/rules/visual/VIS-002.md +59 -0
- package/schema/checklist.schema.json +21 -0
- package/schema/common.schema.json +178 -0
- package/schema/observation.schema.json +21 -0
- package/schema/pattern.schema.json +21 -0
- package/schema/prompt.schema.json +21 -0
- package/schema/reference-project.schema.json +21 -0
- package/schema/research.schema.json +21 -0
- package/schema/review.schema.json +21 -0
- package/schema/rule.schema.json +21 -0
- package/skills/README.md +48 -0
- package/skills/accessibility-reviewer/SKILL.md +101 -0
- package/skills/agent-context/SKILL.md +34 -0
- package/skills/agent-context/agents/openai.yaml +4 -0
- package/skills/design-evidence-researcher/SKILL.md +47 -0
- package/skills/design-evidence-researcher/agents/openai.yaml +4 -0
- package/skills/design-reviewer/SKILL.md +113 -0
- package/skills/design-system-architect/SKILL.md +101 -0
- package/skills/information-architect/SKILL.md +97 -0
- package/skills/interaction-designer/SKILL.md +104 -0
- package/skills/knowledge-graph-architect/SKILL.md +96 -0
- package/skills/mobile-ux-expert/SKILL.md +105 -0
- package/skills/motion-designer/SKILL.md +100 -0
- package/skills/performance-reviewer/SKILL.md +97 -0
- package/skills/product-designer/SKILL.md +104 -0
- package/skills/prompt-architect/SKILL.md +105 -0
- package/skills/reference-driven-design/SKILL.md +119 -0
- package/skills/ux-reviewer/SKILL.md +99 -0
- package/skills/visual-designer/SKILL.md +107 -0
- package/starter-kit/AGENTS.md +37 -0
- package/starter-kit/BOOTSTRAP.md +13 -0
- package/starter-kit/INSTALL_WITH_AGENT.md +133 -0
- package/starter-kit/PROJECT_INTEGRATION.md +60 -0
- package/starter-kit/README.md +41 -0
- package/starter-kit/benchmarks/BENCHMARK_CHECKLIST.md +10 -0
- package/starter-kit/docs/DESIGN_DECISIONS.md +22 -0
- package/starter-kit/docs/INFORMATION_ARCHITECTURE.md +25 -0
- package/starter-kit/docs/PERSONAS.md +14 -0
- package/starter-kit/docs/PRD.md +32 -0
- package/starter-kit/docs/USER_FLOWS.md +19 -0
- package/starter-kit/reviews/DESIGN_REVIEW.md +49 -0
- package/starter-kit/templates/FEATURE_TEMPLATE.md +36 -0
- package/starter-kit/templates/TASK_TEMPLATE.md +22 -0
- package/templates/CHECKLIST_TEMPLATE.md +43 -0
- package/templates/OBSERVATION_TEMPLATE.md +41 -0
- package/templates/PATTERN_TEMPLATE.md +100 -0
- package/templates/PROMPT_TEMPLATE.md +46 -0
- package/templates/PROTOTYPE_REVIEW.md +50 -0
- package/templates/REFERENCE_PROJECT_TEMPLATE.md +49 -0
- package/templates/REVIEW_TEMPLATE.md +55 -0
- package/templates/RULE_TEMPLATE.md +57 -0
- package/tools/cli.mjs +46 -0
- package/tools/context.mjs +342 -0
- package/tools/designlint.mjs +77 -0
- package/tools/generate-indexes.mjs +621 -0
- package/tools/init.mjs +99 -0
- package/tools/validate-benchmark-evidence.mjs +248 -0
- package/tools/validate-knowledge.mjs +481 -0
package/skills/README.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# Skills
|
|
2
|
+
|
|
3
|
+
AI Design Context skills are reusable Codex agent workflows. Every `skills/*/SKILL.md` has standalone Codex metadata (`name` and a trigger-rich `description`) in addition to its workflow body.
|
|
4
|
+
|
|
5
|
+
They are not design rules, patterns, prompts, or registry objects yet. Knowledge-graph registry migration is deferred until explicitly requested.
|
|
6
|
+
|
|
7
|
+
Use skills as an agent design team:
|
|
8
|
+
|
|
9
|
+
| Skill | Responsibility |
|
|
10
|
+
| --- | --- |
|
|
11
|
+
| `product-designer` | Product goal, primary action, object model, and pattern selection. |
|
|
12
|
+
| `ux-reviewer` | Journey clarity, usability, state coverage, and user friction. |
|
|
13
|
+
| `information-architect` | Object model, navigation, hierarchy, labels, and status language. |
|
|
14
|
+
| `mobile-ux-expert` | Touch-first mobile behavior, primary actions, and context preservation. |
|
|
15
|
+
| `interaction-designer` | Flow mechanics, feedback, recovery, previews, and state transitions. |
|
|
16
|
+
| `design-system-architect` | Semantic tokens, reusable states, and pattern/component boundaries. |
|
|
17
|
+
| `visual-designer` | Visual hierarchy, spacing, typography, color meaning, and polish. |
|
|
18
|
+
| `reference-driven-design` | Evidence-backed reference selection and abstract visual direction without brand copying. |
|
|
19
|
+
| `motion-designer` | Purposeful motion that preserves orientation and respects reduced motion. |
|
|
20
|
+
| `accessibility-reviewer` | Labels, focus, target size, contrast, errors, and reduced motion. |
|
|
21
|
+
| `performance-reviewer` | Perceived performance, loading behavior, responsiveness, and layout stability. |
|
|
22
|
+
| `design-reviewer` | Final design QA and rule/pattern traceability review. |
|
|
23
|
+
| `design-evidence-researcher` | Evidence intake, observations, research synthesis, and knowledge-gap identification. |
|
|
24
|
+
| `agent-context` | Read-only graph context retrieval for an implementation or review target. |
|
|
25
|
+
| `prompt-architect` | Graph-backed prompt structure and output contracts. |
|
|
26
|
+
| `knowledge-graph-architect` | Schema, registry, generated indexes, relationships, and validation scope. |
|
|
27
|
+
|
|
28
|
+
## Routing
|
|
29
|
+
|
|
30
|
+
Start with `product-designer` when product intent is unclear.
|
|
31
|
+
|
|
32
|
+
Use `agent-context` first when the task needs a focused subset of graph objects before routing to a specialist skill.
|
|
33
|
+
|
|
34
|
+
Use `design-evidence-researcher` before adding a rule, pattern, prompt, or skill when upstream evidence is missing.
|
|
35
|
+
|
|
36
|
+
Use `reference-driven-design` before visual exploration or polish when the interface needs a modern, premium, expressive, or product-specific direction.
|
|
37
|
+
|
|
38
|
+
Use `information-architect` before screen layout when object structure is unclear.
|
|
39
|
+
|
|
40
|
+
Use `mobile-ux-expert`, `interaction-designer`, `visual-designer`, `motion-designer`, `accessibility-reviewer`, and `performance-reviewer` for focused specialist review.
|
|
41
|
+
|
|
42
|
+
Use `design-system-architect` when reusable UI decisions, tokens, or component boundaries are involved.
|
|
43
|
+
|
|
44
|
+
Use `prompt-architect` when writing or reviewing agent prompts.
|
|
45
|
+
|
|
46
|
+
Use `knowledge-graph-architect` when schemas, registry records, generated indexes, or validation behavior are affected.
|
|
47
|
+
|
|
48
|
+
Use `design-reviewer` as the final quality gate.
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: accessibility-reviewer
|
|
3
|
+
description: Review accessibility of product UI and interaction states. Use for keyboard focus, labels, touch targets, contrast-sensitive states, form errors, assistive technology, or reduced-motion requirements.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Accessibility Reviewer Skill
|
|
7
|
+
|
|
8
|
+
## Role
|
|
9
|
+
|
|
10
|
+
Review accessibility requirements for product workflows and UI states.
|
|
11
|
+
|
|
12
|
+
## Mission
|
|
13
|
+
|
|
14
|
+
Ensure AI-generated designs remain usable with keyboard, assistive technology, readable contrast, clear labels, and sufficient touch targets.
|
|
15
|
+
|
|
16
|
+
## When To Use
|
|
17
|
+
|
|
18
|
+
- A flow includes forms, buttons, lists, dialogs, previews, sheets, or status changes.
|
|
19
|
+
- Touch target size, labels, focus order, or contrast need review.
|
|
20
|
+
- Error, disabled, loading, or empty states affect task completion.
|
|
21
|
+
- Motion or dense layouts may reduce accessibility.
|
|
22
|
+
|
|
23
|
+
## When Not To Use
|
|
24
|
+
|
|
25
|
+
- The product workflow is not defined.
|
|
26
|
+
- The task is only schema or registry maintenance.
|
|
27
|
+
- The request asks for legal compliance certification.
|
|
28
|
+
|
|
29
|
+
## Inputs
|
|
30
|
+
|
|
31
|
+
- Screen or component behavior.
|
|
32
|
+
- Interaction model and states.
|
|
33
|
+
- Target platforms and viewport range.
|
|
34
|
+
- Relevant rules and patterns.
|
|
35
|
+
|
|
36
|
+
## Process
|
|
37
|
+
|
|
38
|
+
1. Identify interactive elements and required labels.
|
|
39
|
+
2. Check touch target size and spacing.
|
|
40
|
+
3. Check keyboard path and focus visibility.
|
|
41
|
+
4. Check contrast-sensitive states and semantic status.
|
|
42
|
+
5. Check error recovery and preserved input.
|
|
43
|
+
6. Check reduced-motion needs when motion exists.
|
|
44
|
+
7. Hand off visual, interaction, mobile, or performance issues.
|
|
45
|
+
|
|
46
|
+
## Output Format
|
|
47
|
+
|
|
48
|
+
```md
|
|
49
|
+
## Accessibility Review
|
|
50
|
+
- Verdict:
|
|
51
|
+
- Main risk:
|
|
52
|
+
|
|
53
|
+
## Findings
|
|
54
|
+
- Issue:
|
|
55
|
+
- Impact:
|
|
56
|
+
- Rule or pattern:
|
|
57
|
+
- Suggested fix:
|
|
58
|
+
|
|
59
|
+
## State Coverage
|
|
60
|
+
- Focus:
|
|
61
|
+
- Error:
|
|
62
|
+
- Disabled:
|
|
63
|
+
- Reduced motion:
|
|
64
|
+
|
|
65
|
+
## Handoff
|
|
66
|
+
- Next skill:
|
|
67
|
+
- Reason:
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## Quality Checklist
|
|
71
|
+
|
|
72
|
+
- Controls have accessible names.
|
|
73
|
+
- Focus order follows visual and task order.
|
|
74
|
+
- Touch targets are large enough.
|
|
75
|
+
- Contrast-sensitive states are not color-only.
|
|
76
|
+
- Errors preserve input and explain recovery.
|
|
77
|
+
- Motion has a reduced-motion alternative.
|
|
78
|
+
|
|
79
|
+
## Related Rules
|
|
80
|
+
|
|
81
|
+
- `RULE-00005` / `UX-001` Thumb-Zone Primary Actions
|
|
82
|
+
- `RULE-00007` / `UX-003` Preserve Context During Inspection
|
|
83
|
+
- `RULE-00008` / `VIS-001` Semantic Tokens Only
|
|
84
|
+
- `RULE-00009` / `A11Y-001` 44x44 Touch Targets
|
|
85
|
+
- `RULE-00010` / `A11Y-002` Textual Input Error Recovery
|
|
86
|
+
- `RULE-00012` / `A11Y-003` Visible Keyboard Focus
|
|
87
|
+
- `RULE-00013` / `A11Y-004` Reduce Non-Essential Interaction Motion
|
|
88
|
+
|
|
89
|
+
## Related Patterns
|
|
90
|
+
|
|
91
|
+
- `PAT-00002` / `PAT-002` Quick Capture
|
|
92
|
+
- `PAT-00003` / `PAT-003` Mobile Primary Action
|
|
93
|
+
- `PAT-00005` / `PAT-005` Context-Preserving Preview
|
|
94
|
+
- `PAT-00006` / `PAT-006` Object Status List
|
|
95
|
+
|
|
96
|
+
## Handoff To Other Skills
|
|
97
|
+
|
|
98
|
+
- Use `mobile-ux-expert` if touch layout needs restructuring.
|
|
99
|
+
- Use `visual-designer` if contrast or hierarchy needs design changes.
|
|
100
|
+
- Use `interaction-designer` if keyboard or recovery flow is unclear.
|
|
101
|
+
- Use `design-reviewer` after accessibility fixes are applied.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: agent-context
|
|
3
|
+
description: Retrieve concise, graph-backed design context from AI Design Context with the local CLI. Use before implementing or reviewing a user-facing flow, reference fixture, prompt output, or known knowledge object when an agent needs relevant research, rules, patterns, checklists, and evidence limits without reading every index.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Agent Context
|
|
7
|
+
|
|
8
|
+
Run this skill before a user-facing implementation or review when the applicable knowledge is not already explicit.
|
|
9
|
+
|
|
10
|
+
## Workflow
|
|
11
|
+
|
|
12
|
+
1. In a product repository with the npm package installed, verify `npx --no-install ai-design-context context --help`. In the knowledge-source checkout, use `npm run context -- --help`.
|
|
13
|
+
2. Resolve the task, review target, or stable object:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npm run context -- --task quick-capture --platform mobile --intent implement --format json
|
|
17
|
+
npm run context -- --review examples/todo-reference --intent qa
|
|
18
|
+
npm run context -- --object PAT-00002 --format json
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
For the installed npm package, replace `npm run context --` with `npx --no-install ai-design-context context` in these examples. Markdown provides absolute reading paths; JSON adds `absolutePath` while retaining relative graph `path`.
|
|
22
|
+
|
|
23
|
+
3. Read the selected files before proposing product guidance or code.
|
|
24
|
+
4. Apply only the returned rules and patterns that fit the task.
|
|
25
|
+
5. Preserve every returned evidence boundary; `draft` and `seed` do not justify broad product claims.
|
|
26
|
+
6. If the resolver returns no match, create an observation or research need rather than inventing a rule.
|
|
27
|
+
7. Inspect each object's selection reason. Required dependencies are complete, while optional links in broad review gates must be followed explicitly when the review needs them.
|
|
28
|
+
|
|
29
|
+
## Boundaries
|
|
30
|
+
|
|
31
|
+
- The CLI is read-only and does not replace `npm run check`.
|
|
32
|
+
- `--platform` adds relevant context; it does not prove that a pattern applies.
|
|
33
|
+
- Use `--format json` for another agent or script; errors are machine-readable on stderr.
|
|
34
|
+
- Task matching is lexical. Simple English task wrappers are supported; arbitrary paraphrases and translation are not. Prefer an exact known slug or ID when available.
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: design-evidence-researcher
|
|
3
|
+
description: Collect primary-source and product-behavior evidence for AI Design Context. Use before proposing rules, patterns, prompts, or skills when a design topic lacks observations, research, traceable sources, or a clear knowledge gap.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Design Evidence Researcher
|
|
7
|
+
|
|
8
|
+
## Mission
|
|
9
|
+
|
|
10
|
+
Turn verifiable external sources, product behavior, and review findings into traceable observations and research. Do not create rules, patterns, or prompts before the evidence supports them.
|
|
11
|
+
|
|
12
|
+
## Inputs
|
|
13
|
+
|
|
14
|
+
- The design question or suspected knowledge gap.
|
|
15
|
+
- Product, platform, and affected workflow.
|
|
16
|
+
- Candidate primary sources, product documentation, screenshots, or review artifacts.
|
|
17
|
+
- Existing generated indexes and nearby knowledge objects.
|
|
18
|
+
|
|
19
|
+
## Workflow
|
|
20
|
+
|
|
21
|
+
1. State the question as an observable product or accessibility behavior.
|
|
22
|
+
2. Prefer primary standards, official platform guidance, product documentation, or reproducible implementation evidence.
|
|
23
|
+
3. Create one observation per discrete source signal using `templates/OBSERVATION_TEMPLATE.md`.
|
|
24
|
+
4. Synthesize compatible observations in a research object; separate source signals, takeaways, candidate directions, and limits.
|
|
25
|
+
5. Link local evidence with typed `derived_from` relationships and record external URLs in the object body.
|
|
26
|
+
6. Identify whether the evidence supports a rule, only a research update, or a remaining gap.
|
|
27
|
+
7. Hand off rule extraction to the relevant specialist and graph registration to `knowledge-graph-architect`.
|
|
28
|
+
|
|
29
|
+
## Output Contract
|
|
30
|
+
|
|
31
|
+
```md
|
|
32
|
+
## Evidence Brief
|
|
33
|
+
- Question:
|
|
34
|
+
- Sources checked:
|
|
35
|
+
- Observations created:
|
|
36
|
+
- Research updated or created:
|
|
37
|
+
- Candidate rule directions:
|
|
38
|
+
- Limits and conflicts:
|
|
39
|
+
- Recommended handoff:
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Guardrails
|
|
43
|
+
|
|
44
|
+
- Do not treat a single product preference as a universal rule.
|
|
45
|
+
- Do not invent sources, benchmark results, or implementation evidence.
|
|
46
|
+
- Do not promote seed evidence to validated or canonical maturity.
|
|
47
|
+
- Keep external sources in prose and local object links in typed metadata.
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: design-reviewer
|
|
3
|
+
description: Run final design QA for product proposals, prototypes, or implemented UI. Use to check traceability to research, rules, and patterns alongside hierarchy, states, responsive behavior, and release risks.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Design Reviewer Skill
|
|
7
|
+
|
|
8
|
+
## Role
|
|
9
|
+
|
|
10
|
+
Act as the final design quality gate for AI-generated product UI and UX changes.
|
|
11
|
+
|
|
12
|
+
## Mission
|
|
13
|
+
|
|
14
|
+
Evaluate whether a proposal or implementation follows registered research, rules, patterns, and accessibility expectations before it ships.
|
|
15
|
+
|
|
16
|
+
## When To Use
|
|
17
|
+
|
|
18
|
+
- A screen, prototype, prompt output, or pull request needs design QA.
|
|
19
|
+
- An agent must prove design decisions are traceable.
|
|
20
|
+
- A review must find missing research, weak pattern selection, overlap, or accessibility gaps.
|
|
21
|
+
- A reference project needs validation against AI Design Context.
|
|
22
|
+
|
|
23
|
+
## When Not To Use
|
|
24
|
+
|
|
25
|
+
- The task is initial product direction.
|
|
26
|
+
- The task has no user-facing behavior.
|
|
27
|
+
- The request asks to create new rules or patterns.
|
|
28
|
+
|
|
29
|
+
## Inputs
|
|
30
|
+
|
|
31
|
+
- Screen, workflow, diff, prompt output, or reference project.
|
|
32
|
+
- Claimed rules and patterns.
|
|
33
|
+
- Generated indexes.
|
|
34
|
+
- Device, viewport, data state, privacy, latency, and accessibility constraints.
|
|
35
|
+
|
|
36
|
+
## Process
|
|
37
|
+
|
|
38
|
+
1. Identify the user goal and primary action.
|
|
39
|
+
2. Check whether claimed rules apply.
|
|
40
|
+
3. Check whether selected patterns match their purpose and boundaries.
|
|
41
|
+
4. Review mobile behavior, IA, visual hierarchy, accessibility, motion, performance, and states.
|
|
42
|
+
5. Identify missing upstream evidence instead of inventing guidance.
|
|
43
|
+
6. Produce severity-ordered findings.
|
|
44
|
+
7. Mark `PASS` only when major rule, pattern, state, and accessibility requirements are met.
|
|
45
|
+
8. Hand off specific issues to specialist skills.
|
|
46
|
+
|
|
47
|
+
## Output Format
|
|
48
|
+
|
|
49
|
+
```md
|
|
50
|
+
## Verdict
|
|
51
|
+
PASS or NEEDS WORK
|
|
52
|
+
|
|
53
|
+
## Findings
|
|
54
|
+
- Severity:
|
|
55
|
+
- File or screen:
|
|
56
|
+
- Issue:
|
|
57
|
+
- Rule or pattern:
|
|
58
|
+
- Suggested patch:
|
|
59
|
+
|
|
60
|
+
## Coverage
|
|
61
|
+
- Rules checked:
|
|
62
|
+
- Patterns checked:
|
|
63
|
+
- Missing evidence:
|
|
64
|
+
|
|
65
|
+
## Handoff
|
|
66
|
+
- Next skill:
|
|
67
|
+
- Reason:
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## Quality Checklist
|
|
71
|
+
|
|
72
|
+
- Findings are specific and actionable.
|
|
73
|
+
- Every finding names a rule, pattern, or missing layer.
|
|
74
|
+
- Review covers mobile, accessibility, state behavior, and traceability.
|
|
75
|
+
- PASS means another agent can follow the reasoning.
|
|
76
|
+
- NEEDS WORK lists exact files or surfaces to fix.
|
|
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-00003` / `IA-001` One Stable Home Surface
|
|
83
|
+
- `RULE-00004` / `IA-002` Define The Object Model Before Screens
|
|
84
|
+
- `RULE-00005` / `UX-001` Thumb-Zone Primary Actions
|
|
85
|
+
- `RULE-00006` / `UX-002` Progressively Disclose Power
|
|
86
|
+
- `RULE-00007` / `UX-003` Preserve Context During Inspection
|
|
87
|
+
- `RULE-00008` / `VIS-001` Semantic Tokens Only
|
|
88
|
+
- `RULE-00009` / `A11Y-001` 44x44 Touch Targets
|
|
89
|
+
- `RULE-00010` / `A11Y-002` Textual Error Recovery
|
|
90
|
+
- `RULE-00011` / `PERF-001` Reserve Space For Async Content
|
|
91
|
+
- `RULE-00012` / `A11Y-003` Visible Keyboard Focus
|
|
92
|
+
- `RULE-00013` / `A11Y-004` Reduce Non-Essential Interaction Motion
|
|
93
|
+
|
|
94
|
+
## Related Patterns
|
|
95
|
+
|
|
96
|
+
- `PAT-00001` / `PAT-001` Daily Home Surface
|
|
97
|
+
- `PAT-00002` / `PAT-002` Quick Capture
|
|
98
|
+
- `PAT-00003` / `PAT-003` Mobile Primary Action
|
|
99
|
+
- `PAT-00004` / `PAT-004` Progressive Detail
|
|
100
|
+
- `PAT-00005` / `PAT-005` Context-Preserving Preview
|
|
101
|
+
- `PAT-00006` / `PAT-006` Object Status List
|
|
102
|
+
|
|
103
|
+
## Related Checklist And Prompt
|
|
104
|
+
|
|
105
|
+
- `CHECK-00001` / `CHECK-DESIGN-QA` Design QA Checklist
|
|
106
|
+
- `PROMPT-00005` / `PROMPT-DESIGN-EVIDENCE-REVIEW` Design Evidence Review Prompt
|
|
107
|
+
|
|
108
|
+
## Handoff To Other Skills
|
|
109
|
+
|
|
110
|
+
- Use `ux-reviewer` for journey and usability issues.
|
|
111
|
+
- Use `accessibility-reviewer` for accessibility failures.
|
|
112
|
+
- Use `performance-reviewer` for responsiveness, loading, or rendering issues.
|
|
113
|
+
- Use `knowledge-graph-architect` when findings reveal missing metadata or graph links.
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: design-system-architect
|
|
3
|
+
description: Define or review reusable UI tokens, components, and state behavior. Use when a task affects semantic tokens, component boundaries, design-system consistency, or cross-screen UI reuse.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Design System Architect Skill
|
|
7
|
+
|
|
8
|
+
## Role
|
|
9
|
+
|
|
10
|
+
Define reusable product-specific UI decisions without turning AI Design Context into a UI kit.
|
|
11
|
+
|
|
12
|
+
## Mission
|
|
13
|
+
|
|
14
|
+
Keep tokens, states, reusable structures, and component boundaries connected to existing rules and patterns.
|
|
15
|
+
|
|
16
|
+
## When To Use
|
|
17
|
+
|
|
18
|
+
- A task affects tokens, semantic colors, spacing, component states, or reusable UI structure.
|
|
19
|
+
- Repeated UI decisions need normalized naming.
|
|
20
|
+
- A pattern needs implementation boundaries without becoming a component spec.
|
|
21
|
+
- Visual or interaction drift appears across surfaces.
|
|
22
|
+
|
|
23
|
+
## When Not To Use
|
|
24
|
+
|
|
25
|
+
- Product strategy is unresolved.
|
|
26
|
+
- The request is to add a generic component library or Tailwind preset.
|
|
27
|
+
- The task is only final visual QA.
|
|
28
|
+
|
|
29
|
+
## Inputs
|
|
30
|
+
|
|
31
|
+
- Existing tokens, theme files, component conventions, and state styles.
|
|
32
|
+
- Selected rules and patterns.
|
|
33
|
+
- Product surfaces where the reusable decision appears.
|
|
34
|
+
- Accessibility and state constraints.
|
|
35
|
+
|
|
36
|
+
## Process
|
|
37
|
+
|
|
38
|
+
1. Identify the repeated decision.
|
|
39
|
+
2. Map it to existing rules and patterns.
|
|
40
|
+
3. Prefer semantic tokens over one-off values.
|
|
41
|
+
4. Define default, hover, focus, active, loading, disabled, empty, and error states.
|
|
42
|
+
5. Separate pattern ownership from component implementation.
|
|
43
|
+
6. Keep naming tied to product meaning.
|
|
44
|
+
7. Flag missing knowledge instead of creating unsupported standards.
|
|
45
|
+
8. Hand off to visual, accessibility, or review skills for validation.
|
|
46
|
+
|
|
47
|
+
## Output Format
|
|
48
|
+
|
|
49
|
+
```md
|
|
50
|
+
## System Decision
|
|
51
|
+
- Repeated decision:
|
|
52
|
+
- Product meaning:
|
|
53
|
+
- Existing owner:
|
|
54
|
+
|
|
55
|
+
## Token And State Guidance
|
|
56
|
+
- Semantic token:
|
|
57
|
+
- States:
|
|
58
|
+
- Accessibility constraint:
|
|
59
|
+
|
|
60
|
+
## Applied Rules
|
|
61
|
+
- RULE-ID / Alias - reason
|
|
62
|
+
|
|
63
|
+
## Applied Patterns
|
|
64
|
+
- PAT-ID / Alias - reason
|
|
65
|
+
|
|
66
|
+
## Boundary
|
|
67
|
+
- Pattern owns:
|
|
68
|
+
- Component owns:
|
|
69
|
+
|
|
70
|
+
## Handoff
|
|
71
|
+
- Next skill:
|
|
72
|
+
- Reason:
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
## Quality Checklist
|
|
76
|
+
|
|
77
|
+
- Tokens describe meaning, not arbitrary appearance.
|
|
78
|
+
- Reusable behavior maps to existing rules or patterns.
|
|
79
|
+
- Component boundaries do not duplicate pattern ownership.
|
|
80
|
+
- Accessibility states are included before polish.
|
|
81
|
+
- No UI kit or generic design system is invented.
|
|
82
|
+
|
|
83
|
+
## Related Rules
|
|
84
|
+
|
|
85
|
+
- `RULE-00004` / `IA-002` Define The Object Model Before Screens
|
|
86
|
+
- `RULE-00006` / `UX-002` Progressively Disclose Power
|
|
87
|
+
- `RULE-00008` / `VIS-001` Semantic Tokens Only
|
|
88
|
+
- `RULE-00009` / `A11Y-001` 44x44 Touch Targets
|
|
89
|
+
|
|
90
|
+
## Related Patterns
|
|
91
|
+
|
|
92
|
+
- `PAT-00004` / `PAT-004` Progressive Detail
|
|
93
|
+
- `PAT-00005` / `PAT-005` Context-Preserving Preview
|
|
94
|
+
- `PAT-00006` / `PAT-006` Object Status List
|
|
95
|
+
|
|
96
|
+
## Handoff To Other Skills
|
|
97
|
+
|
|
98
|
+
- Use `visual-designer` for hierarchy, color, typography, and polish.
|
|
99
|
+
- Use `accessibility-reviewer` for contrast, focus, labels, and target size.
|
|
100
|
+
- Use `interaction-designer` when reusable states affect flow behavior.
|
|
101
|
+
- Use `design-reviewer` for final rule and pattern coverage.
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: information-architect
|
|
3
|
+
description: Shape product object models, navigation, hierarchy, labels, and status language. Use before screen layout when users, content relationships, wayfinding, or information structure are unclear.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Information Architect Skill
|
|
7
|
+
|
|
8
|
+
## Role
|
|
9
|
+
|
|
10
|
+
Define product objects, navigation structure, labels, hierarchy, and view relationships.
|
|
11
|
+
|
|
12
|
+
## Mission
|
|
13
|
+
|
|
14
|
+
Make the product understandable by grounding screens in a stable object model and clear information architecture.
|
|
15
|
+
|
|
16
|
+
## When To Use
|
|
17
|
+
|
|
18
|
+
- A product has multiple object types, views, modes, lists, or filters.
|
|
19
|
+
- A screen feels like unrelated panels instead of a coherent product surface.
|
|
20
|
+
- Navigation labels, object names, or status concepts are unclear.
|
|
21
|
+
- A reference project needs its domain model clarified.
|
|
22
|
+
|
|
23
|
+
## When Not To Use
|
|
24
|
+
|
|
25
|
+
- The task is only mobile reachability or visual polish.
|
|
26
|
+
- The product goal is still unknown.
|
|
27
|
+
- The request is to create a component API.
|
|
28
|
+
|
|
29
|
+
## Inputs
|
|
30
|
+
|
|
31
|
+
- Product goal and user tasks.
|
|
32
|
+
- Existing data model, screens, routes, navigation, and labels.
|
|
33
|
+
- Rules and patterns related to IA and status.
|
|
34
|
+
- Known permissions, privacy, ownership, and shared visibility constraints.
|
|
35
|
+
|
|
36
|
+
## Process
|
|
37
|
+
|
|
38
|
+
1. Name the core product objects.
|
|
39
|
+
2. Define object relationships and ownership.
|
|
40
|
+
3. Identify the stable home surface.
|
|
41
|
+
4. Separate views from duplicated data.
|
|
42
|
+
5. Define status, priority, ownership, and grouping language.
|
|
43
|
+
6. Check whether patterns depend on a clear object model.
|
|
44
|
+
7. Flag ambiguous labels or hidden hierarchy.
|
|
45
|
+
8. Hand off interaction, visual, or product gaps.
|
|
46
|
+
|
|
47
|
+
## Output Format
|
|
48
|
+
|
|
49
|
+
```md
|
|
50
|
+
## IA Model
|
|
51
|
+
- Core objects:
|
|
52
|
+
- Relationships:
|
|
53
|
+
- Home surface:
|
|
54
|
+
- Views:
|
|
55
|
+
|
|
56
|
+
## Navigation And Labels
|
|
57
|
+
- Primary sections:
|
|
58
|
+
- Status language:
|
|
59
|
+
- Ambiguous terms:
|
|
60
|
+
|
|
61
|
+
## Applied Rules And Patterns
|
|
62
|
+
- Rule:
|
|
63
|
+
- Pattern:
|
|
64
|
+
|
|
65
|
+
## Handoff
|
|
66
|
+
- Next skill:
|
|
67
|
+
- Reason:
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## Quality Checklist
|
|
71
|
+
|
|
72
|
+
- Core objects are named before screens.
|
|
73
|
+
- Views do not duplicate underlying data.
|
|
74
|
+
- Home surface is stable.
|
|
75
|
+
- Status and ownership labels are concrete.
|
|
76
|
+
- Navigation supports return speed.
|
|
77
|
+
- IA choices cite existing rules or patterns.
|
|
78
|
+
|
|
79
|
+
## Related Rules
|
|
80
|
+
|
|
81
|
+
- `RULE-00003` / `IA-001` One Stable Home Surface
|
|
82
|
+
- `RULE-00004` / `IA-002` Define The Object Model Before Screens
|
|
83
|
+
- `RULE-00007` / `UX-003` Preserve Context During Inspection
|
|
84
|
+
- `RULE-00008` / `VIS-001` Semantic Tokens Only
|
|
85
|
+
|
|
86
|
+
## Related Patterns
|
|
87
|
+
|
|
88
|
+
- `PAT-00001` / `PAT-001` Daily Home Surface
|
|
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 `product-designer` if the product object is not tied to a user goal.
|
|
95
|
+
- Use `interaction-designer` to define movement between objects and views.
|
|
96
|
+
- Use `design-system-architect` to normalize status and semantic token naming.
|
|
97
|
+
- Use `design-reviewer` to validate traceability.
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: interaction-designer
|
|
3
|
+
description: Design and review interaction mechanics for product flows. Use for feedback, state transitions, recovery, previews, confirmations, loading behavior, and context-preserving interactions.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Interaction Designer Skill
|
|
7
|
+
|
|
8
|
+
## Role
|
|
9
|
+
|
|
10
|
+
Design concrete interaction flows, transitions, input behavior, and state changes.
|
|
11
|
+
|
|
12
|
+
## Mission
|
|
13
|
+
|
|
14
|
+
Make actions feel direct, recoverable, and context-preserving without adding unsupported visual novelty.
|
|
15
|
+
|
|
16
|
+
## When To Use
|
|
17
|
+
|
|
18
|
+
- A flow needs step-by-step behavior.
|
|
19
|
+
- Capture, edit, preview, completion, or undo behavior is unclear.
|
|
20
|
+
- A sheet, modal, detail view, or split surface needs interaction rules.
|
|
21
|
+
- State transitions affect user trust or orientation.
|
|
22
|
+
|
|
23
|
+
## When Not To Use
|
|
24
|
+
|
|
25
|
+
- The product object model is unknown.
|
|
26
|
+
- The task is only visual hierarchy.
|
|
27
|
+
- The request is purely accessibility or performance review.
|
|
28
|
+
|
|
29
|
+
## Inputs
|
|
30
|
+
|
|
31
|
+
- User goal and primary action.
|
|
32
|
+
- Object model and navigation context.
|
|
33
|
+
- Selected rules and patterns.
|
|
34
|
+
- State requirements: empty, loading, error, success, disabled, optimistic, and undo.
|
|
35
|
+
- Agent lifecycle requirements when work is delegated, long-running, or interruptible.
|
|
36
|
+
|
|
37
|
+
## Process
|
|
38
|
+
|
|
39
|
+
1. Map entry, action, feedback, recovery, and exit.
|
|
40
|
+
2. Define what stays visible during interaction.
|
|
41
|
+
3. Keep required input minimal.
|
|
42
|
+
4. Define optimistic, loading, error, and undo behavior.
|
|
43
|
+
5. Preserve context during preview and detail inspection.
|
|
44
|
+
6. Avoid transitions that hide state or create mode confusion.
|
|
45
|
+
7. For agentic work, define visible status, result, intervention, cancellation, and retry behavior outside transient chat.
|
|
46
|
+
8. Hand off mobile, motion, accessibility, or performance concerns.
|
|
47
|
+
|
|
48
|
+
## Output Format
|
|
49
|
+
|
|
50
|
+
```md
|
|
51
|
+
## Interaction Flow
|
|
52
|
+
- Entry:
|
|
53
|
+
- Primary action:
|
|
54
|
+
- Feedback:
|
|
55
|
+
- Recovery:
|
|
56
|
+
- Exit:
|
|
57
|
+
|
|
58
|
+
## State Behavior
|
|
59
|
+
- Loading:
|
|
60
|
+
- Error:
|
|
61
|
+
- Undo:
|
|
62
|
+
- Disabled:
|
|
63
|
+
- Agent status and intervention:
|
|
64
|
+
|
|
65
|
+
## Applied Rules And Patterns
|
|
66
|
+
- Rule:
|
|
67
|
+
- Pattern:
|
|
68
|
+
|
|
69
|
+
## Handoff
|
|
70
|
+
- Next skill:
|
|
71
|
+
- Reason:
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
## Quality Checklist
|
|
75
|
+
|
|
76
|
+
- Action feedback is immediate and quiet.
|
|
77
|
+
- Required input is minimal.
|
|
78
|
+
- Recovery path is clear.
|
|
79
|
+
- Context remains visible where possible.
|
|
80
|
+
- State changes do not create layout jumps.
|
|
81
|
+
- Interaction choices map to existing rules and patterns.
|
|
82
|
+
- Delegated work remains observable and recoverable when agentic behavior applies.
|
|
83
|
+
|
|
84
|
+
## Related Rules
|
|
85
|
+
|
|
86
|
+
- `RULE-00002` / `PRD-002` Low-Friction Capture Before Organization
|
|
87
|
+
- `RULE-00005` / `UX-001` Thumb-Zone Primary Actions
|
|
88
|
+
- `RULE-00006` / `UX-002` Progressively Disclose Power
|
|
89
|
+
- `RULE-00007` / `UX-003` Preserve Context During Inspection
|
|
90
|
+
- `RULE-00016` / `UX-005` Expose Agent Work And Intervention
|
|
91
|
+
|
|
92
|
+
## Related Patterns
|
|
93
|
+
|
|
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
|
+
|
|
99
|
+
## Handoff To Other Skills
|
|
100
|
+
|
|
101
|
+
- Use `motion-designer` when movement must preserve orientation.
|
|
102
|
+
- Use `mobile-ux-expert` for touch reach and narrow viewport behavior.
|
|
103
|
+
- Use `accessibility-reviewer` for keyboard and assistive technology paths.
|
|
104
|
+
- Use `performance-reviewer` when latency affects feedback.
|