@hegemonart/get-design-done 1.42.0 → 1.43.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/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/CHANGELOG.md +1080 -1038
- package/README.md +157 -155
- package/SKILL.md +42 -42
- package/agents/README.md +53 -53
- package/agents/a11y-mapper.md +3 -3
- package/agents/component-benchmark-harvester.md +8 -8
- package/agents/component-benchmark-synthesizer.md +11 -11
- package/agents/component-taxonomy-mapper.md +5 -5
- package/agents/compose-executor.md +25 -25
- package/agents/conflict-resolver.md +8 -8
- package/agents/cost-forecaster.md +12 -12
- package/agents/decision-journal-exporter.md +5 -5
- package/agents/design-advisor.md +19 -19
- package/agents/design-assumptions-analyzer.md +16 -16
- package/agents/design-auditor.md +39 -39
- package/agents/design-authority-watcher.md +28 -28
- package/agents/design-component-generator.md +27 -27
- package/agents/design-context-builder.md +66 -66
- package/agents/design-context-checker-gate.md +5 -5
- package/agents/design-context-checker.md +20 -20
- package/agents/design-discussant.md +23 -23
- package/agents/design-doc-writer.md +12 -12
- package/agents/design-executor.md +38 -38
- package/agents/design-figma-writer.md +31 -31
- package/agents/design-fixer.md +27 -27
- package/agents/design-integration-checker-gate.md +5 -5
- package/agents/design-integration-checker.md +29 -29
- package/agents/design-paper-writer.md +14 -14
- package/agents/design-pattern-mapper.md +9 -9
- package/agents/design-pencil-writer.md +12 -12
- package/agents/design-phase-researcher.md +14 -14
- package/agents/design-plan-checker.md +13 -13
- package/agents/design-planner.md +24 -24
- package/agents/design-reflector.md +48 -48
- package/agents/design-research-synthesizer.md +21 -21
- package/agents/design-start-writer.md +7 -7
- package/agents/design-update-checker.md +8 -8
- package/agents/design-verifier-gate.md +5 -5
- package/agents/design-verifier.md +80 -80
- package/agents/ds-generator.md +14 -14
- package/agents/ds-migration-planner.md +12 -12
- package/agents/email-executor.md +26 -26
- package/agents/experiment-result-ingester.md +10 -10
- package/agents/flutter-executor.md +28 -28
- package/agents/gdd-graph-refresh.md +10 -10
- package/agents/gdd-intel-updater.md +11 -11
- package/agents/gdd-learnings-extractor.md +2 -2
- package/agents/motion-mapper.md +8 -8
- package/agents/motion-verifier.md +16 -16
- package/agents/pdf-executor.md +27 -27
- package/agents/perf-analyzer.md +20 -20
- package/agents/pr-commenter.md +24 -24
- package/agents/prototype-gate.md +29 -29
- package/agents/quality-gate-runner.md +21 -21
- package/agents/rollout-coordinator.md +8 -8
- package/agents/swift-executor.md +41 -41
- package/agents/ticket-sync-agent.md +19 -19
- package/agents/token-mapper.md +6 -6
- package/agents/user-research-synthesizer.md +13 -13
- package/agents/visual-hierarchy-mapper.md +2 -2
- package/dist/claude-code/.claude/skills/add-backlog/SKILL.md +3 -3
- package/dist/claude-code/.claude/skills/analyze-dependencies/SKILL.md +10 -10
- package/dist/claude-code/.claude/skills/apply-reflections/SKILL.md +13 -13
- package/dist/claude-code/.claude/skills/apply-reflections/apply-reflections-procedure.md +20 -20
- package/dist/claude-code/.claude/skills/audit/SKILL.md +7 -7
- package/dist/claude-code/.claude/skills/bandit-status/SKILL.md +7 -7
- package/dist/claude-code/.claude/skills/benchmark/SKILL.md +7 -7
- package/dist/claude-code/.claude/skills/bootstrap-ds/SKILL.md +10 -10
- package/dist/claude-code/.claude/skills/brief/SKILL.md +20 -20
- package/dist/claude-code/.claude/skills/budget/SKILL.md +4 -4
- package/dist/claude-code/.claude/skills/cache-manager/SKILL.md +6 -6
- package/dist/claude-code/.claude/skills/cache-manager/cache-policy.md +5 -5
- package/dist/claude-code/.claude/skills/check-update/SKILL.md +5 -5
- package/dist/claude-code/.claude/skills/compare/SKILL.md +15 -15
- package/dist/claude-code/.claude/skills/compare/compare-rubric.md +17 -17
- package/dist/claude-code/.claude/skills/complete-cycle/SKILL.md +5 -5
- package/dist/claude-code/.claude/skills/connections/SKILL.md +11 -11
- package/dist/claude-code/.claude/skills/connections/connections-onboarding.md +76 -76
- package/dist/claude-code/.claude/skills/continue/SKILL.md +2 -2
- package/dist/claude-code/.claude/skills/darkmode/SKILL.md +17 -17
- package/dist/claude-code/.claude/skills/darkmode/darkmode-audit-procedure.md +7 -7
- package/dist/claude-code/.claude/skills/debug/SKILL.md +3 -3
- package/dist/claude-code/.claude/skills/debug/debug-feedback-loops.md +12 -12
- package/dist/claude-code/.claude/skills/design/SKILL.md +12 -12
- package/dist/claude-code/.claude/skills/design/design-procedure.md +23 -23
- package/dist/claude-code/.claude/skills/discover/SKILL.md +7 -7
- package/dist/claude-code/.claude/skills/discover/discover-procedure.md +18 -18
- package/dist/claude-code/.claude/skills/discuss/SKILL.md +12 -12
- package/dist/claude-code/.claude/skills/do/SKILL.md +1 -1
- package/dist/claude-code/.claude/skills/explore/SKILL.md +21 -21
- package/dist/claude-code/.claude/skills/explore/explore-procedure.md +48 -48
- package/dist/claude-code/.claude/skills/export/SKILL.md +9 -9
- package/dist/claude-code/.claude/skills/extract-learnings/SKILL.md +5 -5
- package/dist/claude-code/.claude/skills/fast/SKILL.md +7 -7
- package/dist/claude-code/.claude/skills/figma-extract/SKILL.md +11 -11
- package/dist/claude-code/.claude/skills/figma-write/SKILL.md +6 -6
- package/dist/claude-code/.claude/skills/graphify/SKILL.md +4 -4
- package/dist/claude-code/.claude/skills/health/SKILL.md +16 -16
- package/dist/claude-code/.claude/skills/health/health-mcp-detection.md +3 -3
- package/dist/claude-code/.claude/skills/health/health-skill-length-report.md +6 -6
- package/dist/claude-code/.claude/skills/help/SKILL.md +1 -1
- package/dist/claude-code/.claude/skills/list-assumptions/SKILL.md +4 -4
- package/dist/claude-code/.claude/skills/map/SKILL.md +12 -12
- package/dist/claude-code/.claude/skills/migrate/SKILL.md +5 -5
- package/dist/claude-code/.claude/skills/new-cycle/SKILL.md +2 -2
- package/dist/claude-code/.claude/skills/new-cycle/milestone-completeness-rubric.md +16 -16
- package/dist/claude-code/.claude/skills/new-project/SKILL.md +1 -1
- package/dist/claude-code/.claude/skills/next/SKILL.md +5 -5
- package/dist/claude-code/.claude/skills/note/SKILL.md +1 -1
- package/dist/claude-code/.claude/skills/openrouter-status/SKILL.md +4 -4
- package/dist/claude-code/.claude/skills/optimize/SKILL.md +15 -15
- package/dist/claude-code/.claude/skills/pause/SKILL.md +5 -5
- package/dist/claude-code/.claude/skills/peer-cli-add/SKILL.md +11 -11
- package/dist/claude-code/.claude/skills/peer-cli-add/peer-cli-protocol.md +39 -39
- package/dist/claude-code/.claude/skills/peer-cli-customize/SKILL.md +14 -14
- package/dist/claude-code/.claude/skills/peers/SKILL.md +4 -4
- package/dist/claude-code/.claude/skills/plan/SKILL.md +13 -13
- package/dist/claude-code/.claude/skills/plan/plan-procedure.md +24 -24
- package/dist/claude-code/.claude/skills/plant-seed/SKILL.md +4 -4
- package/dist/claude-code/.claude/skills/pr-branch/SKILL.md +2 -2
- package/dist/claude-code/.claude/skills/progress/SKILL.md +15 -15
- package/dist/claude-code/.claude/skills/quality-gate/SKILL.md +22 -22
- package/dist/claude-code/.claude/skills/quality-gate/threat-modeling.md +19 -19
- package/dist/claude-code/.claude/skills/quick/SKILL.md +5 -5
- package/dist/claude-code/.claude/skills/reapply-patches/SKILL.md +7 -7
- package/dist/claude-code/.claude/skills/reflect/SKILL.md +3 -3
- package/dist/claude-code/.claude/skills/reflect/procedures/capability-gap-scan.md +11 -11
- package/dist/claude-code/.claude/skills/report-issue/SKILL.md +5 -5
- package/dist/claude-code/.claude/skills/report-issue/report-issue-procedure.md +27 -27
- package/dist/claude-code/.claude/skills/resume/SKILL.md +9 -9
- package/dist/claude-code/.claude/skills/review-backlog/SKILL.md +3 -3
- package/dist/claude-code/.claude/skills/review-decisions/SKILL.md +3 -3
- package/dist/claude-code/.claude/skills/roi/SKILL.md +5 -5
- package/dist/claude-code/.claude/skills/rollout-status/SKILL.md +4 -4
- package/dist/claude-code/.claude/skills/router/SKILL.md +11 -11
- package/dist/claude-code/.claude/skills/router/capability-gap-emitter.md +6 -6
- package/dist/claude-code/.claude/skills/router/router-pick-emitter.md +9 -9
- package/dist/claude-code/.claude/skills/router/router-rules.md +7 -7
- package/dist/claude-code/.claude/skills/scan/SKILL.md +16 -16
- package/dist/claude-code/.claude/skills/scan/scan-procedure.md +42 -42
- package/dist/claude-code/.claude/skills/settings/SKILL.md +2 -2
- package/dist/claude-code/.claude/skills/ship/SKILL.md +7 -7
- package/dist/claude-code/.claude/skills/sketch/SKILL.md +10 -10
- package/dist/claude-code/.claude/skills/sketch-wrap-up/SKILL.md +12 -12
- package/dist/claude-code/.claude/skills/skill-manifest/SKILL.md +5 -5
- package/dist/claude-code/.claude/skills/spike/SKILL.md +7 -7
- package/dist/claude-code/.claude/skills/spike-wrap-up/SKILL.md +13 -13
- package/dist/claude-code/.claude/skills/start/SKILL.md +8 -8
- package/dist/claude-code/.claude/skills/start/start-procedure.md +9 -9
- package/dist/claude-code/.claude/skills/stats/SKILL.md +5 -5
- package/dist/claude-code/.claude/skills/style/SKILL.md +12 -12
- package/dist/claude-code/.claude/skills/style/style-doc-procedure.md +12 -12
- package/dist/claude-code/.claude/skills/synthesize/SKILL.md +10 -10
- package/dist/claude-code/.claude/skills/timeline/SKILL.md +4 -4
- package/dist/claude-code/.claude/skills/todo/SKILL.md +3 -3
- package/dist/claude-code/.claude/skills/turn-closeout/SKILL.md +10 -10
- package/dist/claude-code/.claude/skills/unlock-decision/SKILL.md +3 -3
- package/dist/claude-code/.claude/skills/update/SKILL.md +9 -9
- package/dist/claude-code/.claude/skills/using-gdd/SKILL.md +17 -17
- package/dist/claude-code/.claude/skills/verify/SKILL.md +13 -13
- package/dist/claude-code/.claude/skills/verify/verify-procedure.md +34 -34
- package/dist/claude-code/.claude/skills/warm-cache/SKILL.md +8 -8
- package/dist/claude-code/.claude/skills/watch-authorities/SKILL.md +9 -9
- package/dist/claude-code/.claude/skills/zoom-out/SKILL.md +4 -4
- package/package.json +5 -2
- package/reference/DEPRECATIONS.md +10 -10
- package/reference/STATE-TEMPLATE.md +26 -26
- package/reference/accessibility.md +13 -13
- package/reference/adr-format.md +13 -13
- package/reference/ai-native-tool-interface.md +5 -5
- package/reference/anti-patterns.md +9 -9
- package/reference/architecture-vocabulary.md +31 -31
- package/reference/audit-scoring.md +13 -13
- package/reference/authority-feeds.md +36 -36
- package/reference/bandit-integration.md +25 -25
- package/reference/brand-voice.md +36 -36
- package/reference/capability-gap-stage-gate.md +20 -20
- package/reference/checklists.md +26 -26
- package/reference/cli-localization.md +13 -13
- package/reference/codex-tools.md +2 -2
- package/reference/color-theory.md +28 -28
- package/reference/component-authoring.md +4 -4
- package/reference/components/README.md +13 -13
- package/reference/components/TEMPLATE.md +13 -13
- package/reference/components/accordion.md +15 -15
- package/reference/components/alert.md +25 -25
- package/reference/components/badge.md +18 -18
- package/reference/components/breadcrumbs.md +24 -24
- package/reference/components/button.md +21 -21
- package/reference/components/card.md +13 -13
- package/reference/components/checkbox.md +20 -20
- package/reference/components/chip.md +20 -20
- package/reference/components/command-palette.md +15 -15
- package/reference/components/date-picker.md +22 -22
- package/reference/components/drawer.md +13 -13
- package/reference/components/file-upload.md +22 -22
- package/reference/components/input.md +18 -18
- package/reference/components/label.md +25 -25
- package/reference/components/link.md +19 -19
- package/reference/components/list.md +17 -17
- package/reference/components/menu.md +19 -19
- package/reference/components/modal-dialog.md +16 -16
- package/reference/components/navbar.md +19 -19
- package/reference/components/pagination.md +18 -18
- package/reference/components/popover.md +12 -12
- package/reference/components/progress.md +18 -18
- package/reference/components/radio.md +17 -17
- package/reference/components/rich-text-editor.md +24 -24
- package/reference/components/select-combobox.md +16 -16
- package/reference/components/sidebar.md +15 -15
- package/reference/components/skeleton.md +20 -20
- package/reference/components/slider.md +20 -20
- package/reference/components/stepper.md +24 -24
- package/reference/components/switch.md +19 -19
- package/reference/components/table.md +21 -21
- package/reference/components/tabs.md +11 -11
- package/reference/components/toast.md +19 -19
- package/reference/components/tooltip.md +19 -19
- package/reference/components/tree.md +17 -17
- package/reference/composition.md +38 -38
- package/reference/config-schema.md +37 -37
- package/reference/context-md-format.md +9 -9
- package/reference/contrast-advanced.md +29 -29
- package/reference/conversational-ui.md +17 -17
- package/reference/cost-governance.md +14 -14
- package/reference/css-grid-layout.md +8 -8
- package/reference/cycle-handoff-preamble.md +3 -3
- package/reference/data-visualization.md +67 -67
- package/reference/debugger-philosophy.md +5 -5
- package/reference/design-system-guidance.md +21 -21
- package/reference/design-systems-catalog.md +20 -20
- package/reference/design-variants.md +11 -11
- package/reference/domains/civic-patterns.md +10 -10
- package/reference/domains/finance-patterns.md +9 -9
- package/reference/domains/gaming-patterns.md +9 -9
- package/reference/domains/healthcare-patterns.md +11 -11
- package/reference/ds-bootstrap-rubric.md +13 -13
- package/reference/email-design.md +22 -22
- package/reference/emotional-design.md +10 -10
- package/reference/error-recovery.md +11 -11
- package/reference/export-formats.md +7 -7
- package/reference/figma-sandbox.md +6 -6
- package/reference/first-principles.md +10 -10
- package/reference/form-patterns.md +26 -26
- package/reference/framer-motion-patterns.md +49 -49
- package/reference/gdd-runtime-audit.md +17 -17
- package/reference/gdd-threat-model.md +44 -44
- package/reference/gemini-tools.md +3 -3
- package/reference/gestalt.md +24 -24
- package/reference/heuristics.md +32 -32
- package/reference/i18n.md +44 -44
- package/reference/iconography.md +24 -24
- package/reference/image-optimization.md +14 -14
- package/reference/information-architecture.md +47 -47
- package/reference/intel-schema.md +1 -1
- package/reference/known-failure-modes.md +37 -37
- package/reference/meta-rules.md +5 -5
- package/reference/migrations/material-3-to-4.md +17 -17
- package/reference/migrations/mui-v6.md +16 -16
- package/reference/migrations/shadcn-v2.md +25 -25
- package/reference/migrations/tailwind-v4.md +21 -21
- package/reference/model-prices.md +3 -3
- package/reference/model-tiers.md +40 -40
- package/reference/motion-advanced.md +21 -21
- package/reference/motion-easings.md +29 -29
- package/reference/motion-interpolate.md +1 -1
- package/reference/motion-spring.md +13 -13
- package/reference/motion-transition-taxonomy.md +34 -34
- package/reference/motion.md +31 -31
- package/reference/multi-author-model.md +13 -13
- package/reference/native-platforms.md +28 -28
- package/reference/notification-routing.md +6 -6
- package/reference/onboarding-progressive-disclosure.md +32 -32
- package/reference/openrouter-tier-mapping.md +8 -8
- package/reference/palette-catalog.md +37 -37
- package/reference/parallelism-rules.md +20 -20
- package/reference/peer-cli-capabilities.md +14 -14
- package/reference/peer-protocols.md +21 -21
- package/reference/perf-budget.md +21 -21
- package/reference/performance.md +22 -22
- package/reference/platforms.md +51 -51
- package/reference/pr-review-integration.md +7 -7
- package/reference/prices/antigravity.md +3 -3
- package/reference/prices/augment.md +3 -3
- package/reference/prices/claude.md +2 -2
- package/reference/prices/cline.md +4 -4
- package/reference/prices/codebuddy.md +3 -3
- package/reference/prices/codex.md +2 -2
- package/reference/prices/copilot.md +3 -3
- package/reference/prices/cursor.md +3 -3
- package/reference/prices/gemini.md +2 -2
- package/reference/prices/kilo.md +3 -3
- package/reference/prices/opencode.md +4 -4
- package/reference/prices/qwen.md +2 -2
- package/reference/prices/trae.md +3 -3
- package/reference/prices/windsurf.md +3 -3
- package/reference/prices.openrouter.md +5 -5
- package/reference/print-design.md +36 -36
- package/reference/priority-matrix.md +2 -2
- package/reference/project-skills-guide.md +3 -3
- package/reference/proportion-systems.md +23 -23
- package/reference/pseudonymization-rules.md +30 -30
- package/reference/retrieval-contract.md +14 -14
- package/reference/review-format.md +7 -7
- package/reference/rollout-coordination.md +10 -10
- package/reference/rtl-cjk-cultural.md +39 -39
- package/reference/runtime-models.md +28 -28
- package/reference/shared-preamble.md +26 -26
- package/reference/skill-authoring-contract.md +16 -16
- package/reference/skill-placeholders.md +3 -3
- package/reference/start-interview.md +10 -10
- package/reference/style-vocabulary.md +25 -25
- package/reference/surfaces.md +4 -4
- package/reference/ticket-sync.md +9 -9
- package/reference/typography.md +64 -64
- package/reference/user-research.md +54 -54
- package/reference/variable-fonts-loading.md +15 -15
- package/reference/visual-hierarchy-layout.md +41 -41
- package/scripts/lib/manifest/prose-denylist.json +1 -1
- package/skills/add-backlog/SKILL.md +3 -3
- package/skills/analyze-dependencies/SKILL.md +10 -10
- package/skills/apply-reflections/SKILL.md +13 -13
- package/skills/apply-reflections/apply-reflections-procedure.md +20 -20
- package/skills/audit/SKILL.md +7 -7
- package/skills/bandit-status/SKILL.md +7 -7
- package/skills/benchmark/SKILL.md +7 -7
- package/skills/bootstrap-ds/SKILL.md +10 -10
- package/skills/brief/SKILL.md +20 -20
- package/skills/budget/SKILL.md +4 -4
- package/skills/cache-manager/SKILL.md +6 -6
- package/skills/cache-manager/cache-policy.md +5 -5
- package/skills/check-update/SKILL.md +5 -5
- package/skills/compare/SKILL.md +15 -15
- package/skills/compare/compare-rubric.md +17 -17
- package/skills/complete-cycle/SKILL.md +5 -5
- package/skills/connections/SKILL.md +11 -11
- package/skills/connections/connections-onboarding.md +76 -76
- package/skills/continue/SKILL.md +2 -2
- package/skills/darkmode/SKILL.md +17 -17
- package/skills/darkmode/darkmode-audit-procedure.md +7 -7
- package/skills/debug/SKILL.md +3 -3
- package/skills/debug/debug-feedback-loops.md +12 -12
- package/skills/design/SKILL.md +12 -12
- package/skills/design/design-procedure.md +23 -23
- package/skills/discover/SKILL.md +7 -7
- package/skills/discover/discover-procedure.md +18 -18
- package/skills/discuss/SKILL.md +12 -12
- package/skills/do/SKILL.md +1 -1
- package/skills/explore/SKILL.md +21 -21
- package/skills/explore/explore-procedure.md +48 -48
- package/skills/export/SKILL.md +9 -9
- package/skills/extract-learnings/SKILL.md +5 -5
- package/skills/fast/SKILL.md +7 -7
- package/skills/figma-extract/SKILL.md +11 -11
- package/skills/figma-write/SKILL.md +6 -6
- package/skills/graphify/SKILL.md +4 -4
- package/skills/health/SKILL.md +16 -16
- package/skills/health/health-mcp-detection.md +3 -3
- package/skills/health/health-skill-length-report.md +6 -6
- package/skills/help/SKILL.md +1 -1
- package/skills/list-assumptions/SKILL.md +4 -4
- package/skills/map/SKILL.md +12 -12
- package/skills/migrate/SKILL.md +5 -5
- package/skills/new-cycle/SKILL.md +2 -2
- package/skills/new-cycle/milestone-completeness-rubric.md +16 -16
- package/skills/new-project/SKILL.md +1 -1
- package/skills/next/SKILL.md +5 -5
- package/skills/note/SKILL.md +1 -1
- package/skills/openrouter-status/SKILL.md +4 -4
- package/skills/optimize/SKILL.md +15 -15
- package/skills/pause/SKILL.md +5 -5
- package/skills/peer-cli-add/SKILL.md +11 -11
- package/skills/peer-cli-add/peer-cli-protocol.md +39 -39
- package/skills/peer-cli-customize/SKILL.md +14 -14
- package/skills/peers/SKILL.md +4 -4
- package/skills/plan/SKILL.md +13 -13
- package/skills/plan/plan-procedure.md +24 -24
- package/skills/plant-seed/SKILL.md +4 -4
- package/skills/pr-branch/SKILL.md +2 -2
- package/skills/progress/SKILL.md +15 -15
- package/skills/quality-gate/SKILL.md +22 -22
- package/skills/quality-gate/threat-modeling.md +19 -19
- package/skills/quick/SKILL.md +5 -5
- package/skills/reapply-patches/SKILL.md +7 -7
- package/skills/reflect/SKILL.md +3 -3
- package/skills/reflect/procedures/capability-gap-scan.md +11 -11
- package/skills/report-issue/SKILL.md +5 -5
- package/skills/report-issue/report-issue-procedure.md +27 -27
- package/skills/resume/SKILL.md +9 -9
- package/skills/review-backlog/SKILL.md +3 -3
- package/skills/review-decisions/SKILL.md +3 -3
- package/skills/roi/SKILL.md +5 -5
- package/skills/rollout-status/SKILL.md +4 -4
- package/skills/router/SKILL.md +11 -11
- package/skills/router/capability-gap-emitter.md +6 -6
- package/skills/router/router-pick-emitter.md +9 -9
- package/skills/router/router-rules.md +7 -7
- package/skills/scan/SKILL.md +16 -16
- package/skills/scan/scan-procedure.md +42 -42
- package/skills/settings/SKILL.md +2 -2
- package/skills/ship/SKILL.md +7 -7
- package/skills/sketch/SKILL.md +10 -10
- package/skills/sketch-wrap-up/SKILL.md +12 -12
- package/skills/skill-manifest/SKILL.md +5 -5
- package/skills/spike/SKILL.md +7 -7
- package/skills/spike-wrap-up/SKILL.md +13 -13
- package/skills/start/SKILL.md +8 -8
- package/skills/start/start-procedure.md +9 -9
- package/skills/stats/SKILL.md +5 -5
- package/skills/style/SKILL.md +12 -12
- package/skills/style/style-doc-procedure.md +12 -12
- package/skills/synthesize/SKILL.md +10 -10
- package/skills/timeline/SKILL.md +4 -4
- package/skills/todo/SKILL.md +3 -3
- package/skills/turn-closeout/SKILL.md +10 -10
- package/skills/unlock-decision/SKILL.md +3 -3
- package/skills/update/SKILL.md +9 -9
- package/skills/using-gdd/SKILL.md +17 -17
- package/skills/verify/SKILL.md +13 -13
- package/skills/verify/verify-procedure.md +34 -34
- package/skills/warm-cache/SKILL.md +8 -8
- package/skills/watch-authorities/SKILL.md +9 -9
- package/skills/zoom-out/SKILL.md +4 -4
package/SKILL.md
CHANGED
|
@@ -6,7 +6,7 @@ argument-hint: "[brief|explore|plan|design|verify|handoff|map|next|help|status|s
|
|
|
6
6
|
user-invocable: true
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
# Get Design Done
|
|
9
|
+
# Get Design Done - Pipeline Router
|
|
10
10
|
|
|
11
11
|
Entry point for the get-design-done toolkit. Establishes the `/gdd:` command namespace.
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ Entry point for the get-design-done toolkit. Establishes the `/gdd:` command nam
|
|
|
14
14
|
Brief → Explore → Plan → Design → Verify → next
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
The 5-stage pipeline. `scan` and `discover` are now merged into `explore`
|
|
17
|
+
The 5-stage pipeline. `scan` and `discover` are now merged into `explore` - their old aliases still route through for backward compatibility.
|
|
18
18
|
|
|
19
19
|
Each stage produces artifacts in `.design/` inside the current project.
|
|
20
20
|
|
|
@@ -22,13 +22,13 @@ Each stage produces artifacts in `.design/` inside the current project.
|
|
|
22
22
|
|
|
23
23
|
| Command | Skill | Purpose |
|
|
24
24
|
|---|---|---|
|
|
25
|
-
| `brief` | `get-design-done:gdd-brief` | Stage 1 of 5
|
|
26
|
-
| `explore` | `get-design-done:gdd-explore` | Stage 2 of 5
|
|
27
|
-
| `plan` | `get-design-done:plan` | Stage 3 of 5
|
|
28
|
-
| `design` | `get-design-done:design` | Stage 4 of 5
|
|
29
|
-
| `verify` | `get-design-done:verify` | Stage 5 of 5
|
|
25
|
+
| `brief` | `get-design-done:gdd-brief` | Stage 1 of 5 - capture problem, audience, constraints, metrics, scope → BRIEF.md |
|
|
26
|
+
| `explore` | `get-design-done:gdd-explore` | Stage 2 of 5 - inventory scan + design interview → DESIGN.md, DESIGN-DEBT.md, DESIGN-CONTEXT.md |
|
|
27
|
+
| `plan` | `get-design-done:plan` | Stage 3 of 5 - decompose into tasks → DESIGN-PLAN.md |
|
|
28
|
+
| `design` | `get-design-done:design` | Stage 4 of 5 - execute tasks → DESIGN-SUMMARY.md |
|
|
29
|
+
| `verify` | `get-design-done:verify` | Stage 5 of 5 - score + audit → DESIGN-VERIFICATION.md |
|
|
30
30
|
| `handoff <path>` | inline | Skip scan/discover/plan; initialize from Claude Design bundle; route to verify |
|
|
31
|
-
| `map` | `get-design-done:gdd-map` | Parallel codebase mapping
|
|
31
|
+
| `map` | `get-design-done:gdd-map` | Parallel codebase mapping - spawns 5 mappers → `.design/map/*.md` + `.design/DESIGN-MAP.md` |
|
|
32
32
|
| `next` | `get-design-done:gdd-next` | Route to the next pipeline stage based on STATE.md |
|
|
33
33
|
| `help` | `get-design-done:gdd-help` | List all commands with one-line descriptions |
|
|
34
34
|
| `style [ComponentName]` | `get-design-done:gdd-style` | Generate component handoff doc → .design/DESIGN-STYLE-[Name].md |
|
|
@@ -37,11 +37,11 @@ Each stage produces artifacts in `.design/` inside the current project.
|
|
|
37
37
|
| `figma-write <mode>` | `get-design-done:gdd-figma-write` | Write design decisions to Figma (annotate/tokenize/mappings) |
|
|
38
38
|
| `figma-extract <file-url-or-key>` | `get-design-done:gdd-figma-extract` | Off-context Figma design-system extraction → compact local digest (DESIGN.md + tokens.json + components.json), zero raw JSON in context |
|
|
39
39
|
| `graphify <subcommand>` | `get-design-done:gdd-graphify` | Manage Graphify knowledge graph (build/query/status/diff) |
|
|
40
|
-
| `discuss [topic] [--all] [--spec] [--cycle <name>]` | `get-design-done:gdd-discuss` | Adaptive design interview
|
|
40
|
+
| `discuss [topic] [--all] [--spec] [--cycle <name>]` | `get-design-done:gdd-discuss` | Adaptive design interview - spawns design-discussant; appends D-XX decisions to STATE.md |
|
|
41
41
|
| `list-assumptions [--area]` | `get-design-done:gdd-list-assumptions` | Surface implicit design assumptions baked into the codebase |
|
|
42
42
|
| **Audit & Session** | | |
|
|
43
43
|
| `audit [--retroactive] [--quick] [--no-reflect]` | `get-design-done:gdd-audit` | Wraps design-verifier + design-auditor + design-reflector; `--retroactive` audits full cycle scope |
|
|
44
|
-
| `reflect [--dry-run] [--cycle <slug>]` | `get-design-done:gdd-reflect` | On-demand reflection
|
|
44
|
+
| `reflect [--dry-run] [--cycle <slug>]` | `get-design-done:gdd-reflect` | On-demand reflection - reads cycle data, produces improvement proposals → `.design/reflections/<slug>.md` |
|
|
45
45
|
| `apply-reflections [--filter <type>] [--dry-run]` | `get-design-done:gdd-apply-reflections` | Review + selectively apply reflection proposals (FRONTMATTER/REFERENCE/BUDGET/QUESTION/GLOBAL-SKILL) |
|
|
46
46
|
| `pause [context]` | `get-design-done:gdd-pause` | Write numbered checkpoint to `.design/checkpoints/NN-*.md` |
|
|
47
47
|
| `resume [N]` | `get-design-done:gdd-resume` | Restore session from checkpoint N (or list checkpoints if no arg) |
|
|
@@ -49,26 +49,26 @@ Each stage produces artifacts in `.design/` inside the current project.
|
|
|
49
49
|
| `recall <query>` | `get-design-done:gdd-recall` | Search cross-cycle memory (decisions, learnings, experience archives) |
|
|
50
50
|
| `timeline [N\|N-M\|all]` | `get-design-done:gdd-timeline` | Narrative retrospective across completed cycles |
|
|
51
51
|
| **Lifecycle** | | |
|
|
52
|
-
| `start [--budget <t>] [--skip-interview] [--dismiss-nudge]` | `get-design-done:start` | First-Run Proof Path
|
|
53
|
-
| `new-project [--name <n>]` | `get-design-done:gdd-new-project` | Initialize project
|
|
52
|
+
| `start [--budget <t>] [--skip-interview] [--dismiss-nudge]` | `get-design-done:start` | First-Run Proof Path - scans UI code, returns one concrete first fix. No STATE.md writes. |
|
|
53
|
+
| `new-project [--name <n>]` | `get-design-done:gdd-new-project` | Initialize project - PROJECT.md + STATE.md + cycle-1 |
|
|
54
54
|
| `new-cycle [<goal>]` | `get-design-done:gdd-new-cycle` | Start a new design cycle; writes `.design/CYCLES.md` entry |
|
|
55
55
|
| `complete-cycle [<note>]` | `get-design-done:gdd-complete-cycle` | Archive cycle artifacts to `.design/archive/cycle-N/`; reset STATE.md |
|
|
56
56
|
| **Execution speed** | | |
|
|
57
57
|
| `quick [--skip <agent>] [stage]` | `get-design-done:gdd-quick` | Run pipeline skipping optional agents for speed |
|
|
58
|
-
| `fast <task>` | `get-design-done:gdd-fast` | Trivial inline task
|
|
58
|
+
| `fast <task>` | `get-design-done:gdd-fast` | Trivial inline task - no subagents, no pipeline, no artifacts |
|
|
59
59
|
| **Debug & Workflow** | | |
|
|
60
60
|
| `debug [<symptom>]` | `get-design-done:gdd-debug` | Symptom-driven design investigation; persistent state in `.design/DEBUG.md` |
|
|
61
|
-
| `do <natural language>` | `get-design-done:gdd-do` | Natural-language router
|
|
62
|
-
| `report-issue [<cmd>] [--force-report]` | `get-design-done:report-issue` | Consent-gated GitHub issue reporter
|
|
61
|
+
| `do <natural language>` | `get-design-done:gdd-do` | Natural-language router - parses intent, confirms, dispatches |
|
|
62
|
+
| `report-issue [<cmd>] [--force-report]` | `get-design-done:report-issue` | Consent-gated GitHub issue reporter - triage, pseudonymize, draft to disk, submit via `gh` (no auto-mode; hardcoded destination) |
|
|
63
63
|
| **Ship & Safety** | | |
|
|
64
|
-
| `ship [--title <t>] [--draft]` | `get-design-done:gdd-ship` | Post-verify PR flow
|
|
64
|
+
| `ship [--title <t>] [--draft]` | `get-design-done:gdd-ship` | Post-verify PR flow - clean branch + `gh pr create` |
|
|
65
65
|
| `pr-branch [<base>]` | `get-design-done:gdd-pr-branch` | Strip `.design/` and `.planning/` commits for clean code-review branch |
|
|
66
66
|
| `undo [<sha>]` | `get-design-done:gdd-undo` | Safe revert with dependency check |
|
|
67
67
|
| **Ops** | | |
|
|
68
68
|
| `progress [--forensic]` | `get-design-done:gdd-progress` | Pipeline position + recommended next action; `--forensic` runs 6-check integrity audit |
|
|
69
69
|
| `health` | `get-design-done:gdd-health` | Artifact health report for `.design/` |
|
|
70
70
|
| `todo <add\|list\|pick> [text]` | `get-design-done:gdd-todo` | Design todo list → `.design/TODO.md` |
|
|
71
|
-
| `stats` | `get-design-done:gdd-stats` | Cycle metrics
|
|
71
|
+
| `stats` | `get-design-done:gdd-stats` | Cycle metrics - decisions, commits, todos |
|
|
72
72
|
| **Idea capture** | | |
|
|
73
73
|
| `note <add\|list\|promote> [text]` | `get-design-done:gdd-note` | Zero-friction notes → `.design/NOTES.md` |
|
|
74
74
|
| `plant-seed [--trigger <cond>] [text]` | `get-design-done:gdd-plant-seed` | Forward-looking idea with trigger → `.design/SEEDS.md` |
|
|
@@ -79,39 +79,39 @@ Each stage produces artifacts in `.design/` inside the current project.
|
|
|
79
79
|
| `sketch-wrap-up [slug]` | `get-design-done:gdd-sketch-wrap-up` | Pick winner + rationale → writes `./.claude/skills/design-<area>-conventions.md` |
|
|
80
80
|
| `spike [hypothesis] [--timebox N]` | `get-design-done:gdd-spike` | Timeboxed feasibility experiment → `.design/spikes/<slug>/` |
|
|
81
81
|
| `spike-wrap-up [slug]` | `get-design-done:gdd-spike-wrap-up` | Capture findings + D-XX decision → `.design/spikes/<slug>/FINDINGS.md` |
|
|
82
|
-
| `scan` *(deprecated)* | `get-design-done:scan` | Alias
|
|
83
|
-
| `discover` *(deprecated)* | `get-design-done:discover` | Alias
|
|
82
|
+
| `scan` *(deprecated)* | `get-design-done:scan` | Alias - use `explore` instead |
|
|
83
|
+
| `discover` *(deprecated)* | `get-design-done:discover` | Alias - use `explore` instead |
|
|
84
84
|
| **Configuration** | | |
|
|
85
|
-
| `settings <profile\|parallelism\|cleanup\|show>` | `get-design-done:gdd-settings` | Manage `.design/config.json`
|
|
85
|
+
| `settings <profile\|parallelism\|cleanup\|show>` | `get-design-done:gdd-settings` | Manage `.design/config.json` - model profile, parallelism, cleanup |
|
|
86
86
|
| **Maintenance** | | |
|
|
87
87
|
| `update [--dry-run] [--version <tag>]` | `get-design-done:gdd-update` | Update plugin to latest release; preserves config + local skills |
|
|
88
88
|
| `reapply-patches [--dry-run]` | `get-design-done:gdd-reapply-patches` | Reapply `reference/` customizations after an update |
|
|
89
|
-
| `analyze-dependencies [--slice <name>]` | `get-design-done:analyze-dependencies` | Query the `.design/intel/` store
|
|
89
|
+
| `analyze-dependencies [--slice <name>]` | `get-design-done:analyze-dependencies` | Query the `.design/intel/` store - dependency slices, graph queries, phase-scoped reads |
|
|
90
90
|
| `extract-learnings [--cycle <slug>]` | `get-design-done:extract-learnings` | Extract decisions, lessons, patterns, and surprises from a completed cycle → `.design/cycles/<slug>/LEARNINGS.md` |
|
|
91
91
|
| `skill-manifest [--refresh]` | `get-design-done:skill-manifest` | List or refresh the local skill manifest used by the router for discovery |
|
|
92
|
-
| `quality-gate` | `get-design-done:quality-gate` | Phase 25
|
|
93
|
-
| `turn-closeout` | `get-design-done:turn-closeout` | Phase 25
|
|
94
|
-
| `bandit-status` | `get-design-done:bandit-status` | Phase 27.5
|
|
95
|
-
| `openrouter-status [--refresh]` | `get-design-done:gdd-openrouter-status` | Phase 33.6
|
|
96
|
-
| `peers` | `get-design-done:peers` | Phase 27
|
|
97
|
-
| `peer-cli-customize` | `get-design-done:peer-cli-customize` | Phase 27
|
|
98
|
-
| `peer-cli-add` | `get-design-done:peer-cli-add` | Phase 27
|
|
99
|
-
| `watch-authorities [--refresh] [--since <date>] [--feed <name>] [--schedule <cadence>]` | `get-design-done:gdd-watch-authorities` | Run design-authority-watcher
|
|
92
|
+
| `quality-gate` | `get-design-done:quality-gate` | Phase 25 - parallel lint/type/test/visual command runner; classifies failures via quality-gate-runner agent |
|
|
93
|
+
| `turn-closeout` | `get-design-done:turn-closeout` | Phase 25 - Stop-hook mirror skill; finalizes per-turn STATE blocks and emits closeout events |
|
|
94
|
+
| `bandit-status` | `get-design-done:bandit-status` | Phase 27.5 - read-only diagnostic surface for the bandit posterior; per-(agent, bin, delegate, tier) snapshots (alpha, beta, mean, stddev, count, last-used). Use `/gdd:bandit-reset` to mutate. |
|
|
95
|
+
| `openrouter-status [--refresh]` | `get-design-done:gdd-openrouter-status` | Phase 33.6 - read-only OpenRouter catalog + tier-mapping diagnostic; surfaces catalog freshness (vs 24h TTL), last-fetch, resolved opus/sonnet/haiku → model mappings, per-tier preview. `--refresh` re-fetches (needs `OPENROUTER_API_KEY`). |
|
|
96
|
+
| `peers` | `get-design-done:peers` | Phase 27 - `/gdd:peers` capability matrix command; shows installed peer-CLIs (codex/gemini/cursor/copilot/qwen), allowlist status, claimed roles, posterior delta vs local |
|
|
97
|
+
| `peer-cli-customize` | `get-design-done:peer-cli-customize` | Phase 27 - rewire role→peer mappings on a per-agent basis (edits frontmatter `delegate_to:` directly) |
|
|
98
|
+
| `peer-cli-add` | `get-design-done:peer-cli-add` | Phase 27 - guided ladder for adding a brand-new peer (verification ladder + adapter scaffolding + capability-matrix update) |
|
|
99
|
+
| `watch-authorities [--refresh] [--since <date>] [--feed <name>] [--schedule <cadence>]` | `get-design-done:gdd-watch-authorities` | Run design-authority-watcher - fetch curated feeds, diff snapshot, classify new entries → `.design/authority-report.md` (consumed by `/gdd:reflect`) |
|
|
100
100
|
| `benchmark <component\|--wave N\|--list\|--refresh component>` | `get-design-done:gdd-benchmark` | Harvest + synthesize per-component design specs from 18 design systems → `reference/components/<name>.md` |
|
|
101
101
|
| `benchmark <component\|--wave N\|--list\|--refresh component>` | `get-design-done:gdd-benchmark` | Harvest + synthesize per-component design specs from 18 design systems → `reference/components/<name>.md` |
|
|
102
|
-
| `export <cycle> --format html\|pdf\|notion [--pseudonymize] [--pr]` | `get-design-done:gdd-export` | Phase 35.5
|
|
103
|
-
| `bootstrap-ds [--primary <color>] [--secondary <color>] [--tone <tags>] [--framework <t>]` | `get-design-done:gdd-bootstrap-ds` | Phase 37.2
|
|
104
|
-
| `rollout-status [<cycle>] [--all] [--stuck]` | `get-design-done:gdd-rollout-status` | Phase 38.5
|
|
105
|
-
| `budget [--cycles N] [--scenario best\|typical\|worst]` | `get-design-done:gdd-budget` | Phase 39.2
|
|
106
|
-
| `roi [--since <date>] [--window-days 14]` | `get-design-done:gdd-roi` | Phase 39.2
|
|
107
|
-
| `migrate [--yes] [--dry-run]` | `get-design-done:gdd-migrate` | Phase 39.5
|
|
108
|
-
| `review-decisions [<id>] [--pending]` | `get-design-done:gdd-review-decisions` | Phase 40
|
|
109
|
-
| `unlock-decision <id> --approver <who> [--reason <text>] [--dry-run]` | `get-design-done:gdd-unlock-decision` | Phase 40
|
|
110
|
-
| `locale [<code>]` | `get-design-done:gdd-locale` | Phase 40.5
|
|
102
|
+
| `export <cycle> --format html\|pdf\|notion [--pseudonymize] [--pr]` | `get-design-done:gdd-export` | Phase 35.5 - package a finished cycle's design output into a stakeholder-shareable artifact (self-contained HTML / Paged.js-print PDF / Notion page); redacts always, `--pseudonymize` masks identity for external sharing, `--pr` posts the HTML preview via pr-commenter |
|
|
103
|
+
| `bootstrap-ds [--primary <color>] [--secondary <color>] [--tone <tags>] [--framework <t>]` | `get-design-done:gdd-bootstrap-ds` | Phase 37.2 - bootstrap a design system for a GREENFIELD project (no DS): brand input → OKLCH token system (color tints + modular type + 4pt/8pt spacing + radius/motion) in 3 variants to pick, then button/input/card proof scaffolding via `ds-generator` |
|
|
104
|
+
| `rollout-status [<cycle>] [--all] [--stuck]` | `get-design-done:gdd-rollout-status` | Phase 38.5 - track a shipped cycle's production rollout (unrolled / staging-only / canary-N% / prod-100%) by reading the feature-flag service via `rollout-coordinator`; surfaces STUCK rollouts; feeds `design_arms` by deployed %. Read-only - never advances or rolls back |
|
|
105
|
+
| `budget [--cycles N] [--scenario best\|typical\|worst]` | `get-design-done:gdd-budget` | Phase 39.2 - forecast design-cycle spend (best/typical/worst from telemetry variance) via `cost-forecaster`; "at the current rate you'll hit your $X project cap in Y cycles." Read-only - never spends, edits `budget.json`, or halts (the budget-enforcer hook halts) |
|
|
106
|
+
| `roi [--since <date>] [--window-days 14]` | `get-design-done:gdd-roi` | Phase 39.2 - ROI table joining per-cycle cost with commits that shipped (survived ≥14d) vs reverted → cost-per-shipped-commit + stick rate. Read-only markdown report |
|
|
107
|
+
| `migrate [--yes] [--dry-run]` | `get-design-done:gdd-migrate` | Phase 39.5 - migrate a project off GDD's own deprecated paths after an upgrade; reads `reference/DEPRECATIONS.md` via `deprecation-registry.cjs`, previews a diff, applies on confirm. Preview-first; never edits silently |
|
|
108
|
+
| `review-decisions [<id>] [--pending]` | `get-design-done:gdd-review-decisions` | Phase 40 - surface the async decision-review queue (`proposed → reviewing → approved → locked`); `--pending` shows decisions still awaiting action. Read-only |
|
|
109
|
+
| `unlock-decision <id> --approver <who> [--reason <text>] [--dry-run]` | `get-design-done:gdd-unlock-decision` | Phase 40 - reopen a LOCKED decision (the only escape hatch); requires an approver + writes an audit entry; previews before writing |
|
|
110
|
+
| `locale [<code>]` | `get-design-done:gdd-locale` | Phase 40.5 - inspect or set the GDD CLI locale (en/ru/uk/de/fr/zh/ja) for `--help`, errors, and skill prompt headers; missing keys fall back to English. No arg reports the resolved locale + coverage |
|
|
111
111
|
|
|
112
112
|
## Handoff Routing
|
|
113
113
|
|
|
114
|
-
**Check FIRST**
|
|
114
|
+
**Check FIRST** - before any other routing logic. If `$ARGUMENTS` starts with `handoff` OR contains `--from-handoff`:
|
|
115
115
|
|
|
116
116
|
1. **Extract bundle path:**
|
|
117
117
|
- `handoff <path>` → bundle path is the second argument
|
|
@@ -186,7 +186,7 @@ Use `[✓]` for complete, `[→]` for current, `[ ]` for pending, `[!]` for gaps
|
|
|
186
186
|
|
|
187
187
|
## Jump Mode
|
|
188
188
|
|
|
189
|
-
If `$ARGUMENTS` is a stage or command name
|
|
189
|
+
If `$ARGUMENTS` is a stage or command name - invoke it directly, no state check:
|
|
190
190
|
|
|
191
191
|
```
|
|
192
192
|
/gdd:brief → Skill("get-design-done:gdd-brief")
|
|
@@ -263,6 +263,6 @@ Pass remaining arguments through: `/gdd:explore --skip-interview` → `Skill("ge
|
|
|
263
263
|
|
|
264
264
|
## Do Not
|
|
265
265
|
|
|
266
|
-
- Do not perform any design work yourself
|
|
266
|
+
- Do not perform any design work yourself - route to the stage skill.
|
|
267
267
|
- Do not skip stages unless the user explicitly passes a stage argument.
|
|
268
|
-
- Do not create or modify `.design/` files
|
|
268
|
+
- Do not create or modify `.design/` files - the stage skills own their artifacts.
|
package/agents/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Agents
|
|
1
|
+
# Agents - Authoring Contract
|
|
2
2
|
|
|
3
|
-
This directory contains the specialized agents that pipeline stages spawn to do focused work. Read this file before writing a new agent
|
|
3
|
+
This directory contains the specialized agents that pipeline stages spawn to do focused work. Read this file before writing a new agent - it is the complete authoring contract. You do not need to read GSD source code.
|
|
4
4
|
|
|
5
5
|
## Overview
|
|
6
6
|
|
|
@@ -8,9 +8,9 @@ Pipeline stages are **thin orchestrators**. They read `.design/STATE.md`, decide
|
|
|
8
8
|
|
|
9
9
|
This separation provides three concrete benefits:
|
|
10
10
|
|
|
11
|
-
- **Context isolation**
|
|
12
|
-
- **Reusability**
|
|
13
|
-
- **Testability**
|
|
11
|
+
- **Context isolation** - each agent starts fresh with only what it needs, keeping token budgets tight and results deterministic.
|
|
12
|
+
- **Reusability** - the same `design-verifier` agent can be called from the `design` stage and the `verify` stage without modification.
|
|
13
|
+
- **Testability** - agents can be invoked directly against fixture inputs without running the full pipeline.
|
|
14
14
|
|
|
15
15
|
Agents live in `agents/` as individual markdown files. Each file contains YAML frontmatter (metadata consumed by the Claude Code `Task` tool) and a prose body (instructions the agent follows when invoked).
|
|
16
16
|
|
|
@@ -33,24 +33,24 @@ The `design-` prefix prevents name collisions with agents from other Claude Code
|
|
|
33
33
|
|
|
34
34
|
## Frontmatter Schema
|
|
35
35
|
|
|
36
|
-
Every agent file begins with a YAML frontmatter block. All fields except `model` are required. The `default-tier` and `tier-rationale` fields were added in Phase 10.1
|
|
36
|
+
Every agent file begins with a YAML frontmatter block. All fields except `model` are required. The `default-tier` and `tier-rationale` fields were added in Phase 10.1 - see `reference/model-tiers.md` for the per-agent assignment rationale.
|
|
37
37
|
|
|
38
38
|
| Field | Type | Accepted values | Purpose |
|
|
39
39
|
|-------|------|-----------------|---------|
|
|
40
|
-
| `name` | kebab-case string | unique within plugin | Identifier passed to the `Task` tool
|
|
40
|
+
| `name` | kebab-case string | unique within plugin | Identifier passed to the `Task` tool - must match the filename without `.md` |
|
|
41
41
|
| `description` | string | free-form | One sentence: what the agent does + when it is spawned |
|
|
42
|
-
| `description_i18n` | object | `{ <locale>: "<description>" }` | **Phase 40.5, opt-in.** Localized descriptions keyed by locale (en/ru/uk/de/fr/zh/ja). `scripts/lib/i18n/index.cjs` `descriptionFor(frontmatter, locale)` resolves it via the fallback chain and falls back to the English `description` when a locale is absent. Backward-compatible
|
|
43
|
-
| `tools` | comma-separated list | `Read`, `Write`, `Edit`, `Bash`, `Grep`, `Glob`, `Task`, `WebFetch`, `TodoWrite`, `mcp__*` | Claude tools the agent may use
|
|
42
|
+
| `description_i18n` | object | `{ <locale>: "<description>" }` | **Phase 40.5, opt-in.** Localized descriptions keyed by locale (en/ru/uk/de/fr/zh/ja). `scripts/lib/i18n/index.cjs` `descriptionFor(frontmatter, locale)` resolves it via the fallback chain and falls back to the English `description` when a locale is absent. Backward-compatible - omit it and nothing changes. |
|
|
43
|
+
| `tools` | comma-separated list | `Read`, `Write`, `Edit`, `Bash`, `Grep`, `Glob`, `Task`, `WebFetch`, `TodoWrite`, `mcp__*` | Claude tools the agent may use - list only what is needed |
|
|
44
44
|
| `color` | enum | `yellow`, `green`, `blue`, `red` | Terminal display color for the agent's output |
|
|
45
45
|
| `model` | enum (optional) | `inherit`, `sonnet`, `haiku` | Omit to use the project's configured profile default. Use `inherit` to bypass the profile and use the highest available model (quality-tier work) |
|
|
46
|
-
| `default-tier` | enum | `haiku`, `sonnet`, `opus` | **Phase 10.1.** The model tier the router + budget-enforcer hook select when `.design/budget.json.tier_overrides` has no entry for this agent. Paired with `reference/model-tiers.md`
|
|
46
|
+
| `default-tier` | enum | `haiku`, `sonnet`, `opus` | **Phase 10.1.** The model tier the router + budget-enforcer hook select when `.design/budget.json.tier_overrides` has no entry for this agent. Paired with `reference/model-tiers.md` - the per-agent map in that file is the source of truth; this field is the per-agent replica the hook reads. Required on all agents. |
|
|
47
47
|
| `tier-rationale` | string | free-form, one line, quoted | **Phase 10.1.** One-sentence justification for the `default-tier` choice. Surfaces in `/gdd:optimize` output when the advisor suggests a tier move. Required on all agents. |
|
|
48
48
|
| `parallel-safe` | enum | `always`, `never`, `conditional-on-touches`, `auto` | Whether stages may dispatch this agent in parallel with siblings. `conditional-on-touches` means safe only when `Touches:` do not overlap |
|
|
49
|
-
| `typical-duration-seconds` | int | e.g. `30`, `60`, `120` | Expected wall-clock duration. Used by parallelism planner to decide whether savings clear `min_estimated_savings_seconds`. **Extensible**
|
|
49
|
+
| `typical-duration-seconds` | int | e.g. `30`, `60`, `120` | Expected wall-clock duration. Used by parallelism planner to decide whether savings clear `min_estimated_savings_seconds`. **Extensible** - Phase 10.1 adds `default-tier` override; Phase 11's `design-reflector` adds `measured-duration-seconds` from telemetry without replacing this field. |
|
|
50
50
|
| `reads-only` | bool | `true`/`false` | True when the agent never writes any file |
|
|
51
51
|
| `writes` | list | e.g. `[".design/DESIGN-PLAN.md"]` | Files / globs the agent may write. `[]` for read-only agents |
|
|
52
52
|
|
|
53
|
-
> **Frontmatter is extensible.** New fields can be added by downstream phases without removing existing ones. The `design-reflector` agent (Phase 11) may propose updates to `typical-duration-seconds` and `default-tier` based on measured telemetry
|
|
53
|
+
> **Frontmatter is extensible.** New fields can be added by downstream phases without removing existing ones. The `design-reflector` agent (Phase 11) may propose updates to `typical-duration-seconds` and `default-tier` based on measured telemetry - those proposals go through `/gdd:apply-reflections`, never auto-applied.
|
|
54
54
|
|
|
55
55
|
Example frontmatter block:
|
|
56
56
|
|
|
@@ -69,7 +69,7 @@ color: blue
|
|
|
69
69
|
|
|
70
70
|
**Phase 26 (v1.26.0).** Agents may carry an optional `reasoning-class: high|medium|low` field as a runtime-neutral alias for `default-tier`. The alias exists because `default-tier`'s enum (`opus|sonnet|haiku`) hard-codes Anthropic model names, while the multi-runtime installer (Phase 24) ships agents to 14 runtimes whose authors do not all use those names. `reasoning-class` describes the *reasoning density* the agent needs without naming a vendor's model lineup.
|
|
71
71
|
|
|
72
|
-
**This field is additive, not a replacement.** `default-tier: opus|sonnet|haiku` remains the authoritative, required field for v1.26 and is the source of truth that `hooks/budget-enforcer.ts`, `skills/router/SKILL.md`, and `agents/gdd-intel-updater.md` read. Both fields may coexist on the same agent during the transition window. The long-term winner
|
|
72
|
+
**This field is additive, not a replacement.** `default-tier: opus|sonnet|haiku` remains the authoritative, required field for v1.26 and is the source of truth that `hooks/budget-enforcer.ts`, `skills/router/SKILL.md`, and `agents/gdd-intel-updater.md` read. Both fields may coexist on the same agent during the transition window. The long-term winner - which field is canonical and which is deprecated - is data-gated per Phase 28+ measurement of adoption rates (CONTEXT D-10); no deprecation lands in v1.26.
|
|
73
73
|
|
|
74
74
|
### Frontmatter shape
|
|
75
75
|
|
|
@@ -85,7 +85,7 @@ color: blue
|
|
|
85
85
|
| `medium` | `sonnet` | Researchers, mappers, doc-writers, executors, fixers. |
|
|
86
86
|
| `low` | `haiku` | Verifiers and checkers with deterministic rubrics. |
|
|
87
87
|
|
|
88
|
-
The mapping is bidirectional and exhaustive
|
|
88
|
+
The mapping is bidirectional and exhaustive - there is no `reasoning-class` value without a `default-tier` equivalent and vice versa. See `reference/model-tiers.md` for the per-class role rationale (the tier-selection guide that `default-tier` is keyed against - `reasoning-class` inherits the same semantics through the equivalence above).
|
|
89
89
|
|
|
90
90
|
### Coexistence rule
|
|
91
91
|
|
|
@@ -100,28 +100,28 @@ tier-rationale: "Authors DESIGN-PLAN.md — the contract every downstream agent
|
|
|
100
100
|
---
|
|
101
101
|
```
|
|
102
102
|
|
|
103
|
-
When both are present, the values MUST be equivalent per the table above. Mismatched dual annotations (e.g. `default-tier: opus` paired with `reasoning-class: medium`) are a validation error
|
|
103
|
+
When both are present, the values MUST be equivalent per the table above. Mismatched dual annotations (e.g. `default-tier: opus` paired with `reasoning-class: medium`) are a validation error - `scripts/validate-frontmatter.ts` (extended in Plan 26-08) enforces equivalence at lint time. If only one of the two is present, the validator accepts it and downstream consumers use the equivalence table to derive the missing field.
|
|
104
104
|
|
|
105
105
|
### How runtime-aware tooling reads either field
|
|
106
106
|
|
|
107
107
|
Downstream consumers (`skills/router/SKILL.md`, `hooks/budget-enforcer.ts`, `scripts/lib/budget-enforcer.cjs`, `agents/gdd-intel-updater.md`) accept either field individually and map between them via the equivalence table:
|
|
108
108
|
|
|
109
|
-
- **`default-tier` only**
|
|
110
|
-
- **`reasoning-class` only**
|
|
111
|
-
- **Both present**
|
|
109
|
+
- **`default-tier` only** - consumers read `default-tier` directly. This is the v1.26 baseline state for all 26 shipped agents.
|
|
110
|
+
- **`reasoning-class` only** - consumers map `high → opus`, `medium → sonnet`, `low → haiku` and feed the resulting tier into `tier-resolver.cjs` (Plan 26-02) for runtime-correct model resolution. Consumers that have not yet been updated to read `reasoning-class` natively still see a valid `default-tier` semantically (via the alias), so no consumer breaks when an agent author chooses the runtime-neutral name.
|
|
111
|
+
- **Both present** - consumers prefer `default-tier` for now (v1.26 canonical), with `reasoning-class` carried through to telemetry (`gdd-intel-updater` writes both fields to `.design/intel/agent-tiers.json` per Plan 26-08) so adoption can be measured for the Phase 28 deprecation gate.
|
|
112
112
|
|
|
113
113
|
### Rollout policy for v1.26
|
|
114
114
|
|
|
115
|
-
- The 26 existing agents continue to carry `default-tier` only
|
|
115
|
+
- The 26 existing agents continue to carry `default-tier` only - **no per-agent retrofit lands in v1.26**. New agents (added in Phase 27+) MAY carry `reasoning-class` instead of, or alongside, `default-tier`.
|
|
116
116
|
- Validators, intel-updater, router, and budget-enforcer accept either field starting in v1.26 (Plans 26-04, 26-05, 26-08).
|
|
117
117
|
- Adoption is measured by `gdd-intel-updater` over `agents/*.md` changes; if alias adoption stays below 50% by Phase 28, `default-tier` remains canonical and the alias is deprecated. If alias wins majority share, the reverse. **No deprecation in v1.26.**
|
|
118
118
|
|
|
119
119
|
### Cross-references
|
|
120
120
|
|
|
121
|
-
- `reference/model-tiers.md`
|
|
122
|
-
- `reference/runtime-models.md` (Plan 26-01)
|
|
123
|
-
- `scripts/validate-frontmatter.ts` (Plan 26-08)
|
|
124
|
-
- `.planning/phases/26-headless-model-resolver/CONTEXT.md` D-10, D-11
|
|
121
|
+
- `reference/model-tiers.md` - tier-selection guide and per-agent map for `default-tier`. The same role-class rationale applies to `reasoning-class` via the equivalence table.
|
|
122
|
+
- `reference/runtime-models.md` (Plan 26-01) - per-runtime tier→model adapter that consumes the resolved tier (whether sourced from `default-tier` or via `reasoning-class` alias).
|
|
123
|
+
- `scripts/validate-frontmatter.ts` (Plan 26-08) - validator extension that accepts the optional field and enforces equivalence when both are present.
|
|
124
|
+
- `.planning/phases/26-headless-model-resolver/CONTEXT.md` D-10, D-11 - decision lineage for additive-alias and equivalence-enforced semantics.
|
|
125
125
|
|
|
126
126
|
---
|
|
127
127
|
|
|
@@ -132,25 +132,25 @@ Phase 27 introduces an **optional** frontmatter field `delegate_to:` that lets a
|
|
|
132
132
|
| Property | Value |
|
|
133
133
|
|----------|-------|
|
|
134
134
|
| Field | `delegate_to: <peer>-<role> \| none` |
|
|
135
|
-
| Required | NO
|
|
135
|
+
| Required | NO - optional, additive |
|
|
136
136
|
| Default | absent = use local Anthropic call (existing behavior) |
|
|
137
137
|
| Valid values | `gemini-research`, `gemini-exploration`, `codex-execute`, `cursor-debug`, `cursor-plan`, `copilot-review`, `copilot-research`, `qwen-write`, or `none` (explicit opt-out) |
|
|
138
|
-
| Validator | `scripts/validate-frontmatter.ts` (Plan 27-06)
|
|
138
|
+
| Validator | `scripts/validate-frontmatter.ts` (Plan 27-06) - checks format + cross-references the capability matrix in `scripts/lib/peer-cli/registry.cjs`. Mismatched `<peer>-<role>` values that aren't in the matrix → validation error. |
|
|
139
139
|
|
|
140
140
|
**Behavior at runtime:**
|
|
141
141
|
- When session-runner spawns an agent with `delegate_to: gemini-research`, it tries `peer-cli/registry.dispatch('research', tier, prompt, opts)` first. On null result (peer absent OR peer error per D-07) it transparently falls back to the local Anthropic call. The skill never sees the peer failure.
|
|
142
142
|
- `delegate_to: none` explicitly skips registry dispatch (security-sensitive agents).
|
|
143
143
|
- Absent field = same as not setting it = local Anthropic call (unchanged behavior).
|
|
144
144
|
|
|
145
|
-
**Opt-in gating:** Even with `delegate_to:` set on an agent, dispatch only fires if the peer is in `.design/config.json#peer_cli.enabled_peers` allowlist (populated by the install-time nudge in Plan 27-11; default empty). This keeps cost surprises off
|
|
145
|
+
**Opt-in gating:** Even with `delegate_to:` set on an agent, dispatch only fires if the peer is in `.design/config.json#peer_cli.enabled_peers` allowlist (populated by the install-time nudge in Plan 27-11; default empty). This keeps cost surprises off - users explicitly authorize each peer.
|
|
146
146
|
|
|
147
147
|
**Telemetry:** Peer calls emit `peer_call_started` / `peer_call_complete` / `peer_call_failed` events in `events.jsonl`, tagged with `runtime_role: "peer"` and `peer_id` (Plan 27-08). Cost rows in `costs.jsonl` carry the same tags so reflector cross-runtime arbitrage (Phase 26) extends naturally.
|
|
148
148
|
|
|
149
149
|
**Cross-references:**
|
|
150
|
-
- `scripts/lib/peer-cli/registry.cjs` (Plan 27-05)
|
|
151
|
-
- `scripts/lib/peer-cli/adapters/{codex,gemini,cursor,copilot,qwen}.cjs` (Plan 27-04)
|
|
152
|
-
- `reference/peer-cli-capabilities.md` (Plan 27-05)
|
|
153
|
-
- `.planning/phases/27-peer-cli-delegation/CONTEXT.md` D-06, D-07, D-11
|
|
150
|
+
- `scripts/lib/peer-cli/registry.cjs` (Plan 27-05) - capability matrix + dispatch.
|
|
151
|
+
- `scripts/lib/peer-cli/adapters/{codex,gemini,cursor,copilot,qwen}.cjs` (Plan 27-04) - per-peer thin adapters.
|
|
152
|
+
- `reference/peer-cli-capabilities.md` (Plan 27-05) - full capability matrix doc.
|
|
153
|
+
- `.planning/phases/27-peer-cli-delegation/CONTEXT.md` D-06, D-07, D-11 - decision lineage.
|
|
154
154
|
|
|
155
155
|
---
|
|
156
156
|
|
|
@@ -165,7 +165,7 @@ When an agent must read specific files before acting, the orchestrating stage em
|
|
|
165
165
|
</required_reading>
|
|
166
166
|
```
|
|
167
167
|
|
|
168
|
-
**Invariant:** when a `<required_reading>` block is present in the prompt, the agent MUST `Read` every listed file before taking any other action. Paths starting with `@` are repo-relative (or absolute) file paths
|
|
168
|
+
**Invariant:** when a `<required_reading>` block is present in the prompt, the agent MUST `Read` every listed file before taking any other action. Paths starting with `@` are repo-relative (or absolute) file paths - pass them directly to the `Read` tool.
|
|
169
169
|
|
|
170
170
|
Agents do not hard-code their required reading. Required reading is supplied by the stage at call time, so the same agent can be given different context for different invocations.
|
|
171
171
|
|
|
@@ -173,7 +173,7 @@ Agents do not hard-code their required reading. Required reading is supplied by
|
|
|
173
173
|
|
|
174
174
|
## Completion Markers
|
|
175
175
|
|
|
176
|
-
Every agent terminates its response with a completion marker
|
|
176
|
+
Every agent terminates its response with a completion marker - a specific `##` heading that the orchestrating stage checks to confirm the agent finished successfully.
|
|
177
177
|
|
|
178
178
|
**GSD-style markers (used by research/planning/execution/verification agents):**
|
|
179
179
|
|
|
@@ -184,7 +184,7 @@ Every agent terminates its response with a completion marker — a specific `##`
|
|
|
184
184
|
| Execution agent | `## EXECUTION COMPLETE` |
|
|
185
185
|
| Verification agent | `## VERIFICATION COMPLETE` |
|
|
186
186
|
|
|
187
|
-
**Design-pipeline-specific markers (proposed
|
|
187
|
+
**Design-pipeline-specific markers (proposed - confirm in Phase 2 when the first stage agent is written):**
|
|
188
188
|
|
|
189
189
|
| Stage | Proposed marker |
|
|
190
190
|
|-------|-----------------|
|
|
@@ -206,7 +206,7 @@ Stages spawn agents using the Claude Code `Task` tool:
|
|
|
206
206
|
Task("design-planner", prompt_string)
|
|
207
207
|
```
|
|
208
208
|
|
|
209
|
-
The first argument is the agent's `name` field (must match exactly). The second argument is a **fully self-contained prompt string**
|
|
209
|
+
The first argument is the agent's `name` field (must match exactly). The second argument is a **fully self-contained prompt string** - no session state, no previous tool call results, nothing from the orchestrator's context passes through automatically. Everything the agent needs must be in the prompt.
|
|
210
210
|
|
|
211
211
|
This means: if the agent needs to know the current pipeline stage, the target component, or the path to an artifact, the stage must embed that information in the prompt.
|
|
212
212
|
|
|
@@ -216,18 +216,18 @@ This means: if the agent needs to know the current pipeline stage, the target co
|
|
|
216
216
|
|
|
217
217
|
Use this checklist when writing the prompt string a stage passes to `Task`:
|
|
218
218
|
|
|
219
|
-
- **Task specification**
|
|
220
|
-
- **Context block**
|
|
221
|
-
- **Required reading block**
|
|
222
|
-
- **Acceptance criteria**
|
|
223
|
-
- **Output format**
|
|
224
|
-
- **Constraints**
|
|
219
|
+
- **Task specification** - what the agent must do, stated as a concrete imperative ("Extract all color tokens from the files listed in STATE.md `<source_roots>` and write them to `.design/DESIGN-TOKENS.md`.")
|
|
220
|
+
- **Context block** - paths to relevant artifacts, the current pipeline position, prior stage outputs the agent should be aware of
|
|
221
|
+
- **Required reading block** - `<required_reading>` listing files the agent must read before acting
|
|
222
|
+
- **Acceptance criteria** - how the orchestrator (and the agent itself) will know the task succeeded; specific, checkable conditions
|
|
223
|
+
- **Output format** - structured output required: which file to write, what sections to include, what the completion marker is
|
|
224
|
+
- **Constraints** - what the agent must NOT do ("do not modify files outside `.design/`", "do not run shell commands")
|
|
225
225
|
|
|
226
226
|
---
|
|
227
227
|
|
|
228
228
|
## Worked Example
|
|
229
229
|
|
|
230
|
-
### Example agent file
|
|
230
|
+
### Example agent file - `agents/design-example.md`
|
|
231
231
|
|
|
232
232
|
```markdown
|
|
233
233
|
---
|
|
@@ -290,13 +290,13 @@ Every agent **must** end its run by appending one JSONL line to `.design/intel/i
|
|
|
290
290
|
|
|
291
291
|
### Schema
|
|
292
292
|
|
|
293
|
-
`reference/schemas/insight-line.schema.json`
|
|
293
|
+
`reference/schemas/insight-line.schema.json` - all six fields are required.
|
|
294
294
|
|
|
295
295
|
| Field | Type | Notes |
|
|
296
296
|
|-------|------|-------|
|
|
297
297
|
| `ts` | ISO 8601 string | Current UTC time |
|
|
298
298
|
| `agent` | string | Must match frontmatter `name` field |
|
|
299
|
-
| `cycle` | string | From `STATE.md cycle:`
|
|
299
|
+
| `cycle` | string | From `STATE.md cycle:` - empty string if no active cycle |
|
|
300
300
|
| `stage` | string | From `STATE.md stage:` |
|
|
301
301
|
| `one_line_insight` | string ≤200 chars | Declarative fact: what was produced or learned |
|
|
302
302
|
| `artifacts_written` | string[] | Relative paths written; `[]` for read-only agents |
|
|
@@ -333,7 +333,7 @@ Schema: `reference/schemas/insight-line.schema.json`.
|
|
|
333
333
|
|
|
334
334
|
## Size Budgets
|
|
335
335
|
|
|
336
|
-
Agents should be kept small
|
|
336
|
+
Agents should be kept small - long instruction bodies burn context at every spawn and drift from their single-responsibility role. Per-tier soft limits:
|
|
337
337
|
|
|
338
338
|
| Tier | Examples | Limit |
|
|
339
339
|
|---|---|---|
|
|
@@ -349,21 +349,21 @@ Global ceiling: **no single agent file exceeds 600 lines** under any circumstanc
|
|
|
349
349
|
|
|
350
350
|
Every agent body under `agents/*.md` is structured in this exact order so that Anthropic's 5-minute prompt cache (and the plugin's `/gdd:warm-cache` pre-warmer) can key on the longest possible identical prefix across spawns. The rule (from Phase 10.1 decision D-17):
|
|
351
351
|
|
|
352
|
-
1. **Shared-preamble import**
|
|
353
|
-
2. **Agent-specific role + tools contract + output format**
|
|
354
|
-
3. **Dynamic content**
|
|
352
|
+
1. **Shared-preamble import** - the first non-blank line of the body MUST be `@reference/shared-preamble.md`. This pulls the framework identity, required-reading discipline, writes protocol, deviation handling, and hook awareness into the prompt. Identical bytes across all 26 agents → one cache entry warms them all.
|
|
353
|
+
2. **Agent-specific role + tools contract + output format** - unique to the agent but stable across every invocation of that same agent. Cache hits on the per-agent tail after the first call of the session.
|
|
354
|
+
3. **Dynamic content** - the orchestrator's `<required_reading>` block, per-invocation parameters, concrete task description. Different every call; never caches, but also never invalidates the earlier layers.
|
|
355
355
|
|
|
356
356
|
**Do not reorder these layers.** Splicing dynamic content (e.g., a `<context>` block) before the stable role description breaks the cache for everything after that splice. Inlining the preamble into the agent body (instead of importing) costs every spawn full-input rates on the preamble bytes.
|
|
357
357
|
|
|
358
358
|
See `reference/shared-preamble.md` (the imported file) and `reference/model-tiers.md` (tier assignment + override precedence) for the two paired references.
|
|
359
359
|
|
|
360
360
|
**Cross-references.**
|
|
361
|
-
- `reference/shared-preamble.md`
|
|
362
|
-
- `reference/model-tiers.md`
|
|
363
|
-
- `skills/warm-cache/SKILL.md`
|
|
364
|
-
- `skills/cache-manager/SKILL.md`
|
|
365
|
-
- `.planning/phases/10.1-optimization-layer-cost-governance/10.1-CONTEXT.md` §D-08, §D-16, §D-17
|
|
361
|
+
- `reference/shared-preamble.md` - the preamble file itself (Plan 10.1-03).
|
|
362
|
+
- `reference/model-tiers.md` - tier-selection guide + per-agent map (Plan 10.1-03).
|
|
363
|
+
- `skills/warm-cache/SKILL.md` - the command that primes Layer A cache across the roster (Plan 10.1-02).
|
|
364
|
+
- `skills/cache-manager/SKILL.md` - Layer B (explicit manifest) cache; independent of this ordering rule (Plan 10.1-02).
|
|
365
|
+
- `.planning/phases/10.1-optimization-layer-cost-governance/10.1-CONTEXT.md` §D-08, §D-16, §D-17 - decision lineage.
|
|
366
366
|
|
|
367
367
|
---
|
|
368
368
|
|
|
369
|
-
*Cross-reference: [Claude Code Task tool documentation](https://docs.anthropic.com/en/docs/claude-code/sub-agents) for deeper detail on agent invocation, tool permissions, and model selection. This README is the authoring contract
|
|
369
|
+
*Cross-reference: [Claude Code Task tool documentation](https://docs.anthropic.com/en/docs/claude-code/sub-agents) for deeper detail on agent invocation, tool permissions, and model selection. This README is the authoring contract - the documentation covers the runtime.*
|
package/agents/a11y-mapper.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: a11y-mapper
|
|
3
|
-
description: "Maps static accessibility signals
|
|
3
|
+
description: "Maps static accessibility signals - ARIA usage, keyboard nav, focus states, skip links, semantic markup - to .design/map/a11y.md. Static-only; no live browser audit."
|
|
4
4
|
tools: Read, Write, Bash, Grep, Glob
|
|
5
5
|
color: cyan
|
|
6
6
|
model: inherit
|
|
@@ -19,7 +19,7 @@ writes:
|
|
|
19
19
|
|
|
20
20
|
## Role
|
|
21
21
|
|
|
22
|
-
You produce a static accessibility inventory. You do NOT run a browser audit
|
|
22
|
+
You produce a static accessibility inventory. You do NOT run a browser audit - that is Phase 8 work. You never modify source code and do not spawn agents.
|
|
23
23
|
|
|
24
24
|
## Required Reading
|
|
25
25
|
|
|
@@ -70,7 +70,7 @@ grep -rEn "<img\b[^>]*>" src/ | head -100
|
|
|
70
70
|
|
|
71
71
|
Count how many include `alt=`.
|
|
72
72
|
|
|
73
|
-
## Output Format
|
|
73
|
+
## Output Format - `.design/map/a11y.md`
|
|
74
74
|
|
|
75
75
|
```markdown
|
|
76
76
|
---
|
|
@@ -23,7 +23,7 @@ You are the harvesting agent for the component benchmark corpus. Given a compone
|
|
|
23
23
|
18 design systems catalogued in `connections/design-corpora.md` and emit a consolidated
|
|
24
24
|
raw harvest file at `.planning/benchmarks/raw/<component>.md`.
|
|
25
25
|
|
|
26
|
-
The raw harvest is **input to `component-benchmark-synthesizer`**
|
|
26
|
+
The raw harvest is **input to `component-benchmark-synthesizer`** - it is not the final
|
|
27
27
|
spec. Focus on breadth and attribution; the synthesizer does convergence analysis.
|
|
28
28
|
|
|
29
29
|
## Required Reading
|
|
@@ -31,15 +31,15 @@ spec. Focus on breadth and attribution; the synthesizer does convergence analysi
|
|
|
31
31
|
The orchestrating skill supplies a `<required_reading>` block in the prompt. Read every
|
|
32
32
|
listed file before acting. Minimum expected inputs:
|
|
33
33
|
|
|
34
|
-
- `connections/design-corpora.md`
|
|
35
|
-
- `.planning/research/impeccable-salvage/`
|
|
34
|
+
- `connections/design-corpora.md` - system catalog with URLs, licenses, fallback chain
|
|
35
|
+
- `.planning/research/impeccable-salvage/` - any files relevant to the target component
|
|
36
36
|
|
|
37
|
-
## Step 1
|
|
37
|
+
## Step 1 - Check impeccable salvage
|
|
38
38
|
|
|
39
39
|
Before any network fetch, `Grep` the impeccable salvage directory for the component name
|
|
40
40
|
(case-insensitive). Extract any relevant prose as the first source in the raw file.
|
|
41
41
|
|
|
42
|
-
## Step 2
|
|
42
|
+
## Step 2 - Fetch each design system
|
|
43
43
|
|
|
44
44
|
For each of the 18 systems in `design-corpora.md`:
|
|
45
45
|
|
|
@@ -52,7 +52,7 @@ For each of the 18 systems in `design-corpora.md`:
|
|
|
52
52
|
**Prioritise signal over volume.** One precise quoted sentence beats three paraphrased
|
|
53
53
|
paragraphs. For WAI-ARIA APG keyboard contracts, quote verbatim.
|
|
54
54
|
|
|
55
|
-
## Step 3
|
|
55
|
+
## Step 3 - Write raw harvest file
|
|
56
56
|
|
|
57
57
|
Write `.planning/benchmarks/raw/<component>.md` with this structure:
|
|
58
58
|
|
|
@@ -83,9 +83,9 @@ _Fill in patterns you noticed while harvesting — what ≥4 systems agree on._
|
|
|
83
83
|
```
|
|
84
84
|
|
|
85
85
|
One `###` section per source. Omit a source only if the fallback chain is fully
|
|
86
|
-
exhausted
|
|
86
|
+
exhausted - document the failure with `**Status: unreachable**`.
|
|
87
87
|
|
|
88
|
-
## Step 4
|
|
88
|
+
## Step 4 - Convergence pre-analysis
|
|
89
89
|
|
|
90
90
|
After all sources, add a `## Convergence Notes (pre-synthesis)` summary identifying:
|
|
91
91
|
- What the majority of systems (≥4) agree on → mark `NORM`
|
|
@@ -32,38 +32,38 @@ that signal in the spec so future agents know what is non-negotiable.
|
|
|
32
32
|
The orchestrating skill supplies a `<required_reading>` block in the prompt. Read every
|
|
33
33
|
listed file before acting. Minimum expected inputs:
|
|
34
34
|
|
|
35
|
-
- `.planning/benchmarks/raw/<component>.md`
|
|
36
|
-
- `reference/components/TEMPLATE.md`
|
|
37
|
-
- `reference/anti-patterns.md`
|
|
35
|
+
- `.planning/benchmarks/raw/<component>.md` - the raw harvest to synthesize
|
|
36
|
+
- `reference/components/TEMPLATE.md` - the locked spec shape you must follow
|
|
37
|
+
- `reference/anti-patterns.md` - for cross-linking anti-pattern entries
|
|
38
38
|
|
|
39
39
|
## Convergence Analysis Rules
|
|
40
40
|
|
|
41
41
|
After reading all source sections from the raw file:
|
|
42
42
|
|
|
43
|
-
1. **Count agreement**
|
|
43
|
+
1. **Count agreement** - if ≥4 of the 18 systems agree on a property (anatomy element,
|
|
44
44
|
state name, keyboard key, constraint), mark it `**Norm** (≥N/18 systems agree)`.
|
|
45
|
-
2. **Flag divergence**
|
|
45
|
+
2. **Flag divergence** - if systems meaningfully disagree on a property, mark it
|
|
46
46
|
`**Diverge** — <brief note on what differs and why>`.
|
|
47
|
-
3. **Do not invent**
|
|
47
|
+
3. **Do not invent** - if fewer than 2 sources mention a property, omit it from the spec
|
|
48
48
|
rather than guessing. The corpus is additive; gaps will be filled when more sources
|
|
49
49
|
are harvested.
|
|
50
50
|
|
|
51
51
|
## Output Rules
|
|
52
52
|
|
|
53
|
-
- Strictly follow `reference/components/TEMPLATE.md`
|
|
53
|
+
- Strictly follow `reference/components/TEMPLATE.md` - every section must be present,
|
|
54
54
|
in order, even if sparse.
|
|
55
|
-
- **Max 350 lines**
|
|
55
|
+
- **Max 350 lines** - dense, diff-friendly, greppable. Extract verbose prose to
|
|
56
56
|
`reference/` cross-links rather than embedding it.
|
|
57
|
-
- **WAI-ARIA keyboard contract**
|
|
57
|
+
- **WAI-ARIA keyboard contract** - quote verbatim from WAI-ARIA APG source. Mark the
|
|
58
58
|
source attribution inline.
|
|
59
|
-
- **Failing-example block**
|
|
59
|
+
- **Failing-example block** - each spec must include a `## Failing Example` section
|
|
60
60
|
showing what a broken implementation looks like (missing a11y attribute, wrong role,
|
|
61
61
|
broken keyboard handler). Include at least one grep detection pattern:
|
|
62
62
|
```
|
|
63
63
|
# Grep: detect common failure
|
|
64
64
|
grep -r "pattern" src/
|
|
65
65
|
```
|
|
66
|
-
- **Benchmark citations**
|
|
66
|
+
- **Benchmark citations** - every claim carries an inline citation: `(Material 3, Polaris)`
|
|
67
67
|
or `(WAI-ARIA APG §4.2)`.
|
|
68
68
|
|
|
69
69
|
## Output Path
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: component-taxonomy-mapper
|
|
3
|
-
description: "Maps the component inventory
|
|
3
|
+
description: "Maps the component inventory - React/Vue/Svelte components, design patterns, reuse opportunities - to .design/map/components.md."
|
|
4
4
|
tools: Read, Write, Bash, Grep, Glob
|
|
5
5
|
color: cyan
|
|
6
6
|
model: inherit
|
|
@@ -46,15 +46,15 @@ For each file:
|
|
|
46
46
|
|
|
47
47
|
### Pattern classification (atomic design)
|
|
48
48
|
|
|
49
|
-
- **Atom**
|
|
50
|
-
- **Molecule**
|
|
51
|
-
- **Organism**
|
|
49
|
+
- **Atom** - 0 child components, single responsibility (Button, Input, Icon)
|
|
50
|
+
- **Molecule** - 2-5 child components (FormField, Card, SearchBar)
|
|
51
|
+
- **Organism** - 6+ children or routable (Header, Sidebar, ProductList)
|
|
52
52
|
|
|
53
53
|
### Reuse opportunities
|
|
54
54
|
|
|
55
55
|
Grep for near-duplicate component names and file-size clusters. Flag components with 3+ near-identical siblings.
|
|
56
56
|
|
|
57
|
-
## Output Format
|
|
57
|
+
## Output Format - `.design/map/components.md`
|
|
58
58
|
|
|
59
59
|
```markdown
|
|
60
60
|
---
|