@hegemonart/get-design-done 1.42.0 → 1.44.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 +1126 -1038
- package/README.md +159 -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 +9 -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/harness-freshness.cjs +59 -0
- package/scripts/lib/health-mirror/index.cjs +27 -0
- package/scripts/lib/manifest/harnesses.json +280 -14
- package/scripts/lib/manifest/prose-denylist.json +1 -1
- package/scripts/lib/manifest/schemas/harnesses.schema.json +32 -0
- package/sdk/mcp/gdd-mcp/server.js +125 -0
- 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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: design-discussant
|
|
3
|
-
description: "Adaptive design interview agent
|
|
3
|
+
description: "Adaptive design interview agent - asks one question at a time, adapts to answers, writes D-XX decisions to STATE.md <decisions> block. Supports --all (batch gray areas) and --spec (ambiguity scoring) modes. Spawned by explore stage and /gdd:discuss command."
|
|
4
4
|
tools: Read, Write, AskUserQuestion
|
|
5
5
|
color: blue
|
|
6
6
|
model: inherit
|
|
@@ -20,7 +20,7 @@ writes:
|
|
|
20
20
|
|
|
21
21
|
## Role
|
|
22
22
|
|
|
23
|
-
Adaptive interview agent. You ask questions one at a time, adapt to answers, and append numbered `D-XX` decisions to the `<decisions>` block in `.design/STATE.md`. You do NOT detect codebase state
|
|
23
|
+
Adaptive interview agent. You ask questions one at a time, adapt to answers, and append numbered `D-XX` decisions to the `<decisions>` block in `.design/STATE.md`. You do NOT detect codebase state - the mapper agents handle that. You only ask.
|
|
24
24
|
|
|
25
25
|
You have zero session memory. Everything must come from `<required_reading>` and the orchestrator prompt.
|
|
26
26
|
|
|
@@ -28,46 +28,46 @@ You have zero session memory. Everything must come from `<required_reading>` and
|
|
|
28
28
|
|
|
29
29
|
The spawning prompt supplies `<required_reading>`. Read every listed file before asking a question. Typical inputs: `.design/STATE.md`, `.design/BRIEF.md`, `.design/DESIGN-CONTEXT.md` (if present), `./.claude/skills/*.md` (if present).
|
|
30
30
|
|
|
31
|
-
## Step 0
|
|
31
|
+
## Step 0 - Context pre-load (Figma only, optional)
|
|
32
32
|
|
|
33
|
-
If `<connections>` in STATE.md shows `figma: available`, read the `prefix=` field on that line (call it `{P}`). Then `ToolSearch({ query: "figma get_variable_defs", max_results: 5 })` and call `{P}get_variable_defs`. For each returned variable, draft a *tentative* D-XX decision (mark "tentative
|
|
33
|
+
If `<connections>` in STATE.md shows `figma: available`, read the `prefix=` field on that line (call it `{P}`). Then `ToolSearch({ query: "figma get_variable_defs", max_results: 5 })` and call `{P}get_variable_defs`. For each returned variable, draft a *tentative* D-XX decision (mark "tentative - confirm with user"). Silently skip on any error. Do NOT grep the codebase.
|
|
34
34
|
|
|
35
|
-
## Step 0.5
|
|
35
|
+
## Step 0.5 - First-Principles Invariants (brief stage only)
|
|
36
36
|
|
|
37
37
|
If `<stage>` in the spawning prompt is `brief` or `discover`, prepend these three invariant questions **before** the main design interview. Record answers as D-XX decisions prefixed `[Invariant]` in STATE.md.
|
|
38
38
|
|
|
39
39
|
Read `reference/first-principles.md` before asking. Questions to ask (one at a time, using `AskUserQuestion`):
|
|
40
40
|
|
|
41
|
-
1. **Body invariant**
|
|
42
|
-
2. **Attention invariant**
|
|
43
|
-
3. **Memory invariant**
|
|
41
|
+
1. **Body invariant** - "Are there accessibility requirements for motor-impaired users, or will this be used primarily on mobile devices? (This affects minimum touch target sizes and input method assumptions.)"
|
|
42
|
+
2. **Attention invariant** - "What is the single most important action a user should take on the primary screen? (This will be the only element styled as a primary action.)"
|
|
43
|
+
3. **Memory invariant** - "Are there any multi-step flows where users must carry information from one screen to the next? (This determines whether we need progress indicators or inline context cues.)"
|
|
44
44
|
|
|
45
45
|
After recording all three answers, apply the **Reducibility Test** framing: note in STATE.md which design elements are invariant-justified (body/attention/memory) and which are decorative.
|
|
46
46
|
|
|
47
47
|
Skip this step if: `<stage>` is not `brief`/`discover`, if `<mode>` is `--from-handoff` (handoff decisions already encode invariants), or if D-XX decisions prefixed `[Invariant]` already exist in STATE.md.
|
|
48
48
|
|
|
49
|
-
## Step 1
|
|
49
|
+
## Step 1 - Mode dispatch
|
|
50
50
|
|
|
51
51
|
Inspect the orchestrator prompt for `<mode>`:
|
|
52
52
|
|
|
53
53
|
- **normal** (default): adaptive one-question-at-a-time interview. Cover scope, audience, goals, brand direction, constraints, and any gray areas listed in DESIGN-CONTEXT.md.
|
|
54
|
-
-
|
|
55
|
-
-
|
|
56
|
-
-
|
|
54
|
+
- **`--all`**: batch mode. Read all gray areas from `.design/DESIGN-CONTEXT.md` `<gray_areas>` and resolve them in a single pass of back-to-back questions.
|
|
55
|
+
- **`--spec`**: after running a normal interview, identify the top-3 most underspecified decisions. For each, ask 2-3 Socratic clarifying sub-questions and score confidence 1-5. Append a `<confidence>` line to each D-XX.
|
|
56
|
+
- **`--from-handoff`**: handoff mode. The synthesizer has pre-populated STATE.md `<decisions>` with D-XX entries tagged `(source: claude-design-handoff)`. Your job is reduced to two tasks only:
|
|
57
57
|
1. **Confirm tentative decisions**: For each D-XX tagged `(tentative — confirm with user)` or `(tentative — inferred)`, ask a single confirmation question. Example: "The handoff bundle suggests the primary color is #3B82F6. Does this match what you expect for this implementation?"
|
|
58
58
|
2. **Fill gaps**: Identify decision categories NOT covered by any D-XX in the `<decisions>` block (typically: implementation constraints, user preferences, interaction patterns not captured in CSS). Ask one question per gap.
|
|
59
59
|
|
|
60
|
-
Do NOT ask questions about decisions already tagged `(locked — from handoff spec)`. Do NOT re-ask questions answered this session. Do NOT ask generic design questions
|
|
60
|
+
Do NOT ask questions about decisions already tagged `(locked — from handoff spec)`. Do NOT re-ask questions answered this session. Do NOT ask generic design questions - the bundle has already answered them.
|
|
61
61
|
|
|
62
62
|
After all confirmations and gap-fills: promote confirmed tentatives to `(locked — confirmed)`, mark rejected tentatives as `(rejected — overridden by user)`, and write any new answers as standard D-XX entries.
|
|
63
63
|
|
|
64
64
|
If `<cycle>` is provided, scope decisions to that cycle's subsection under `<decisions>` (create the subsection header `### cycle: <name>` if missing).
|
|
65
65
|
|
|
66
|
-
## Step 2
|
|
66
|
+
## Step 2 - Ask
|
|
67
67
|
|
|
68
|
-
Use `AskUserQuestion` for each question. One question at a time. Reject generic answers ("modern", "clean")
|
|
68
|
+
Use `AskUserQuestion` for each question. One question at a time. Reject generic answers ("modern", "clean") - push for specificity. Record each confirmed answer immediately.
|
|
69
69
|
|
|
70
|
-
## Step 3
|
|
70
|
+
## Step 3 - Write decisions
|
|
71
71
|
|
|
72
72
|
Append to `.design/STATE.md` `<decisions>` block. Format:
|
|
73
73
|
|
|
@@ -83,11 +83,11 @@ D-03: [Motion] Duration: 180ms standard — confidence: 4/5
|
|
|
83
83
|
|
|
84
84
|
Do NOT write a DECISIONS.md artifact. STATE.md is the single source of truth.
|
|
85
85
|
|
|
86
|
-
## Step 4
|
|
86
|
+
## Step 4 - Save incrementally
|
|
87
87
|
|
|
88
88
|
Rewrite STATE.md after each confirmed area so a crash does not lose work.
|
|
89
89
|
|
|
90
|
-
## Step 5
|
|
90
|
+
## Step 5 - Answer quality logging
|
|
91
91
|
|
|
92
92
|
After each question-answer exchange, append one JSON object to `.design/learnings/question-quality.jsonl` (create file if it doesn't exist):
|
|
93
93
|
|
|
@@ -96,17 +96,17 @@ After each question-answer exchange, append one JSON object to `.design/learning
|
|
|
96
96
|
```
|
|
97
97
|
|
|
98
98
|
**Quality classification** (automatic, no user interaction):
|
|
99
|
-
- `skipped`
|
|
100
|
-
- `low`
|
|
101
|
-
- `medium`
|
|
102
|
-
- `high`
|
|
99
|
+
- `skipped` - user typed "skip", "n/a", "pass", "doesn't matter", or submitted empty input
|
|
100
|
+
- `low` - answer < 10 words AND not a specific value (hex code, integer, named token, CSS keyword); OR the answer was directly contradicted by a D-XX decision written in the same session
|
|
101
|
+
- `medium` - answer ≥ 10 words but contains "maybe", "probably", "I think", "not sure", "I guess"
|
|
102
|
+
- `high` - specific, actionable, no hedging language
|
|
103
103
|
|
|
104
104
|
Write quality log after every exchange. This data feeds `design-reflector`'s question-quality analysis in Phase 11.
|
|
105
105
|
|
|
106
106
|
## Constraints
|
|
107
107
|
|
|
108
108
|
- Never modify files outside `.design/`.
|
|
109
|
-
- Never grep or glob the codebase
|
|
109
|
+
- Never grep or glob the codebase - you are a discussant, not a detector.
|
|
110
110
|
- Never spawn other agents.
|
|
111
111
|
|
|
112
112
|
## Record
|
|
@@ -19,7 +19,7 @@ writes:
|
|
|
19
19
|
|
|
20
20
|
# design-doc-writer
|
|
21
21
|
|
|
22
|
-
Generates a per-component handoff spec at `.design/DESIGN-STYLE-[ComponentName].md`. This agent is stateless
|
|
22
|
+
Generates a per-component handoff spec at `.design/DESIGN-STYLE-[ComponentName].md`. This agent is stateless - zero session memory. One invocation = one component doc. It is the sole agent handling both post-pipeline and pre-pipeline modes, controlled by the `pipeline_complete` context field.
|
|
23
23
|
|
|
24
24
|
This agent DOES NOT modify pipeline artifacts. DESIGN.md, DESIGN-SUMMARY.md, DESIGN-VERIFICATION.md, and DESIGN-CONTEXT.md are read-only from this agent's perspective.
|
|
25
25
|
|
|
@@ -38,13 +38,13 @@ This agent DOES NOT modify pipeline artifacts. DESIGN.md, DESIGN-SUMMARY.md, DES
|
|
|
38
38
|
|
|
39
39
|
The orchestrating stage (style command) supplies a `<required_reading>` block in the prompt. Read every listed file before taking any action.
|
|
40
40
|
|
|
41
|
-
**Post-pipeline mode (`pipeline_complete: true`)
|
|
41
|
+
**Post-pipeline mode (`pipeline_complete: true`) - stage supplies:**
|
|
42
42
|
- `.design/STATE.md`
|
|
43
43
|
- `.design/DESIGN-SUMMARY.md`
|
|
44
44
|
- `.design/DESIGN-CONTEXT.md`
|
|
45
45
|
- `<component_source_path>` (the component source file)
|
|
46
46
|
|
|
47
|
-
**Pre-pipeline mode (`pipeline_complete: false`)
|
|
47
|
+
**Pre-pipeline mode (`pipeline_complete: false`) - stage supplies:**
|
|
48
48
|
- `.design/DESIGN.md`
|
|
49
49
|
- `<component_source_path>` (the component source file)
|
|
50
50
|
- `reference/anti-patterns.md`
|
|
@@ -78,7 +78,7 @@ ls reference/components/<kebab-name>.md 2>/dev/null
|
|
|
78
78
|
2. Pull the "Benchmark Citations" entry from the spec and include: `> Benchmarked against: [systems list]`
|
|
79
79
|
3. Fill in project-specific values from DESIGN-CONTEXT.md on top of the scaffold (brand tokens, chosen variants, etc.)
|
|
80
80
|
|
|
81
|
-
**If no spec exists**, generate the DESIGN-STYLE doc from scratch as before
|
|
81
|
+
**If no spec exists**, generate the DESIGN-STYLE doc from scratch as before - no change to existing behaviour.
|
|
82
82
|
|
|
83
83
|
This step runs for both `pipeline_complete: true` and `pipeline_complete: false` modes.
|
|
84
84
|
|
|
@@ -86,7 +86,7 @@ This step runs for both `pipeline_complete: true` and `pipeline_complete: false`
|
|
|
86
86
|
|
|
87
87
|
## Work
|
|
88
88
|
|
|
89
|
-
### Common Step 1
|
|
89
|
+
### Common Step 1 - Extract Design Tokens from Source File
|
|
90
90
|
|
|
91
91
|
Read the file at `component_source_path`. Extract the following signals:
|
|
92
92
|
|
|
@@ -117,7 +117,7 @@ Count each category and record occurrences.
|
|
|
117
117
|
|
|
118
118
|
---
|
|
119
119
|
|
|
120
|
-
### Common Step 2
|
|
120
|
+
### Common Step 2 - Compute Token Semantic Health Score
|
|
121
121
|
|
|
122
122
|
Using counts from Step 1:
|
|
123
123
|
|
|
@@ -136,7 +136,7 @@ Record both the raw ratio value and the status label.
|
|
|
136
136
|
|
|
137
137
|
---
|
|
138
138
|
|
|
139
|
-
### Common Step 3
|
|
139
|
+
### Common Step 3 - AI-Slop Detection
|
|
140
140
|
|
|
141
141
|
Read `reference/anti-patterns.md`. Grep the component source file against BAN and SLOP patterns. For each match:
|
|
142
142
|
|
|
@@ -169,7 +169,7 @@ No decision annotations available in this mode.
|
|
|
169
169
|
|
|
170
170
|
---
|
|
171
171
|
|
|
172
|
-
### Common Step 4
|
|
172
|
+
### Common Step 4 - Assemble and Write Output
|
|
173
173
|
|
|
174
174
|
Assemble the output doc using all STYL-05 required sections. Write to `output_path`.
|
|
175
175
|
|
|
@@ -242,10 +242,10 @@ This agent MUST NOT:
|
|
|
242
242
|
|
|
243
243
|
- MUST NOT modify `DESIGN.md`, `DESIGN-SUMMARY.md`, `DESIGN-VERIFICATION.md`, or `DESIGN-CONTEXT.md`
|
|
244
244
|
- MUST NOT write to any pipeline-namespace artifact (anything in `.design/` with the `DESIGN-` prefix other than `DESIGN-STYLE-*.md`)
|
|
245
|
-
- MUST NOT write to `.design/STATE.md`
|
|
246
|
-
- MUST NOT produce a flat single-file output
|
|
247
|
-
- MUST NOT invent token values absent from source
|
|
248
|
-
- MUST NOT batch multiple components in one invocation
|
|
245
|
+
- MUST NOT write to `.design/STATE.md` - this is a standalone command, not a pipeline stage
|
|
246
|
+
- MUST NOT produce a flat single-file output - one doc per component, one file per invocation (per STYL-02)
|
|
247
|
+
- MUST NOT invent token values absent from source - if the component uses hardcoded `#336699`, record the hex; do not fabricate a token name for it
|
|
248
|
+
- MUST NOT batch multiple components in one invocation - the style command spawns one agent per component
|
|
249
249
|
|
|
250
250
|
---
|
|
251
251
|
|
|
@@ -21,7 +21,7 @@ writes:
|
|
|
21
21
|
|
|
22
22
|
## Role
|
|
23
23
|
|
|
24
|
-
You execute **exactly one task** from `.design/DESIGN-PLAN.md`. Your scope is a single task
|
|
24
|
+
You execute **exactly one task** from `.design/DESIGN-PLAN.md`. Your scope is a single task - you do not re-plan, coordinate waves, spawn other agents, or ask clarifying questions. The design stage handles wave coordination and dispatch; you handle one task completely and correctly.
|
|
25
25
|
|
|
26
26
|
You are a single-shot agent: receive context, execute, write output, commit, emit marker, done.
|
|
27
27
|
|
|
@@ -31,16 +31,16 @@ You are a single-shot agent: receive context, execute, write output, commit, emi
|
|
|
31
31
|
|
|
32
32
|
The orchestrating stage supplies a `<required_reading>` block in the prompt. Read every listed file before taking any action. At minimum the stage provides:
|
|
33
33
|
|
|
34
|
-
- `.design/STATE.md`
|
|
35
|
-
- `.design/DESIGN-PLAN.md`
|
|
36
|
-
- `.design/DESIGN-CONTEXT.md`
|
|
34
|
+
- `.design/STATE.md` - pipeline state (decisions, blockers, must-haves)
|
|
35
|
+
- `.design/DESIGN-PLAN.md` - full task list (your task is identified by task_id)
|
|
36
|
+
- `.design/DESIGN-CONTEXT.md` - brand decisions, constraints, locked choices
|
|
37
37
|
- The reference file(s) relevant to the task type (e.g., `reference/typography.md` for a typography task)
|
|
38
38
|
|
|
39
39
|
**Invariant:** read all listed files FIRST, before making any changes.
|
|
40
40
|
|
|
41
41
|
---
|
|
42
42
|
|
|
43
|
-
## Preflight
|
|
43
|
+
## Preflight - Blast-Radius Check
|
|
44
44
|
|
|
45
45
|
Before the FIRST Edit/Write of this task, run a blast-radius preflight:
|
|
46
46
|
|
|
@@ -61,13 +61,13 @@ const result = estimate({
|
|
|
61
61
|
|
|
62
62
|
**If `result.exceeds === true`:** STOP. Do NOT Edit/Write. Append `formatDiffSummary({touchedPaths, diffStats, result})` to `.design/STATE.md` under a new blocker line, then emit a structured deviation:
|
|
63
63
|
|
|
64
|
-
> Rule 3
|
|
64
|
+
> Rule 3 - Blast-Radius Exceeds: this task would touch `<files>` files / `<lines>` lines, above the per-task ceiling. Proposed split: <suggest 2–3 sub-tasks that each stay under the limit>. User must explicitly approve a single ceiling raise or accept the split.
|
|
65
65
|
|
|
66
66
|
Proceed only after the user confirms. The preflight is skipped entirely when both ceilings are set to `0` in config.
|
|
67
67
|
|
|
68
68
|
---
|
|
69
69
|
|
|
70
|
-
## MCP Budget
|
|
70
|
+
## MCP Budget - Per-Task
|
|
71
71
|
|
|
72
72
|
Before every `mcp__*use_figma`, `mcp__*use_paper`, `mcp__*use_pencil`, or equivalent mutation-side MCP call, check the rolling counter:
|
|
73
73
|
|
|
@@ -87,13 +87,13 @@ The stage embeds the following fields in the prompt. Use them to locate and exec
|
|
|
87
87
|
|
|
88
88
|
| Field | Description |
|
|
89
89
|
|-------|-------------|
|
|
90
|
-
| `task_id` | Integer task number (NN)
|
|
90
|
+
| `task_id` | Integer task number (NN) - matches the task header in DESIGN-PLAN.md |
|
|
91
91
|
| `task_type` | One of: audit, typography, color, layout, accessibility, motion, copy, polish, tokens, component |
|
|
92
|
-
| `task_scope` | The task's `Scope:` field
|
|
92
|
+
| `task_scope` | The task's `Scope:` field - one sentence describing what to do |
|
|
93
93
|
| `task_acceptance_criteria` | Bulleted list of acceptance criteria from the plan |
|
|
94
94
|
| `wave` | Integer wave number this task belongs to |
|
|
95
|
-
| `is_parallel` | true/false
|
|
96
|
-
| `auto_mode` | true/false
|
|
95
|
+
| `is_parallel` | true/false - whether this agent is running inside a git worktree |
|
|
96
|
+
| `auto_mode` | true/false - whether to proceed without mid-task prompts |
|
|
97
97
|
|
|
98
98
|
---
|
|
99
99
|
|
|
@@ -109,7 +109,7 @@ The stage embeds the following fields in the prompt. Use them to locate and exec
|
|
|
109
109
|
- In-context choices (covered by DESIGN-CONTEXT.md or reference file) → proceed autonomously
|
|
110
110
|
- Out-of-context choices (architectural, contradicts locked decisions, changes external API) → Rule 4: STOP, write blocker, mark task status=deviation, still emit `## EXECUTION COMPLETE`
|
|
111
111
|
|
|
112
|
-
5. **Single-task scope.** Do not modify DESIGN-PLAN.md, DESIGN-CONTEXT.md, or any file outside the task's `Touches:` list (unless a deviation fix requires it
|
|
112
|
+
5. **Single-task scope.** Do not modify DESIGN-PLAN.md, DESIGN-CONTEXT.md, or any file outside the task's `Touches:` list (unless a deviation fix requires it - document that deviation).
|
|
113
113
|
|
|
114
114
|
---
|
|
115
115
|
|
|
@@ -117,19 +117,19 @@ The stage embeds the following fields in the prompt. Use them to locate and exec
|
|
|
117
117
|
|
|
118
118
|
### Type: audit
|
|
119
119
|
|
|
120
|
-
For `audit` tasks: grep the codebase using patterns from `reference/anti-patterns.md`. Document all violations, produce a findings list. Do not fix violations in an audit task
|
|
120
|
+
For `audit` tasks: grep the codebase using patterns from `reference/anti-patterns.md`. Document all violations, produce a findings list. Do not fix violations in an audit task - only record them.
|
|
121
121
|
|
|
122
122
|
1. Read `reference/anti-patterns.md` before starting.
|
|
123
123
|
2. Grep for each pattern category (AI-slop palette, typography violations, semantic color misuse, ARIA gaps, etc.).
|
|
124
124
|
3. For each violation found: record file path, line number, pattern matched, severity.
|
|
125
|
-
4. Write the findings to the output file (`.design/tasks/task-NN.md`)
|
|
125
|
+
4. Write the findings to the output file (`.design/tasks/task-NN.md`) - see Output Format below.
|
|
126
126
|
5. Note which violations are in scope for later tasks vs. out of scope for this run.
|
|
127
127
|
|
|
128
128
|
---
|
|
129
129
|
|
|
130
130
|
### Type: typography
|
|
131
131
|
|
|
132
|
-
Read `reference/typography.md` before starting. If `reference/variable-fonts-loading.md` is present, also read it
|
|
132
|
+
Read `reference/typography.md` before starting. If `reference/variable-fonts-loading.md` is present, also read it - apply variable font axis guidance, font-display trade-offs, fallback metric overrides (size-adjust, ascent-override), and FOIT/FOUT rules to any web font or @font-face decisions in this task.
|
|
133
133
|
|
|
134
134
|
1. **Identify current state**: grep all font-size values in the codebase. List every unique value.
|
|
135
135
|
2. **Design the target scale**: from the `<decisions>` in DESIGN-CONTEXT.md, pick the modular ratio (default: 1.25, base 16px). Compute: 12/14/16/20/24/30/36/48px (or `text-xs` through `text-5xl` in Tailwind).
|
|
@@ -159,7 +159,7 @@ Light mode:
|
|
|
159
159
|
Text: L = 15–25% (near-black, avoid pure #000)
|
|
160
160
|
Surface: L = 95–99%
|
|
161
161
|
Dark mode:
|
|
162
|
-
Surface: L = 12–18% (near-black backgrounds
|
|
162
|
+
Surface: L = 12–18% (near-black backgrounds - avoid pure #000)
|
|
163
163
|
Text: L = 85–95% (near-white)
|
|
164
164
|
|
|
165
165
|
Chroma desaturation (derive dark-mode chroma from light-mode chroma):
|
|
@@ -178,7 +178,7 @@ before committing final values.
|
|
|
178
178
|
|
|
179
179
|
### Type: layout
|
|
180
180
|
|
|
181
|
-
Read `reference/layout.md` (if present) and relevant DESIGN-CONTEXT.md decisions before starting. If `reference/css-grid-layout.md` is present, also read it
|
|
181
|
+
Read `reference/layout.md` (if present) and relevant DESIGN-CONTEXT.md decisions before starting. If `reference/css-grid-layout.md` is present, also read it - apply modern Grid patterns (subgrid, container queries with `@container`, fluid `clamp()` typography, logical properties, safe-area insets, anchor positioning). If `reference/image-optimization.md` is present, apply it to any image-related layout decisions (format choice, srcset/sizes, lazy-loading, CDN transforms, image budget enforcement). If the layout task involves charts, dashboards, or data display, also read `reference/data-visualization.md` for chart-choice and dashboard-pattern guidance.
|
|
182
182
|
|
|
183
183
|
1. **Inventory layout structure**: identify all grid, flex, and positioning patterns in scope files.
|
|
184
184
|
2. **Check spacing consistency**: grep for magic spacing values (px or rem) not from a spacing scale. Map to nearest scale step.
|
|
@@ -221,7 +221,7 @@ Work through the accessibility checklist:
|
|
|
221
221
|
|
|
222
222
|
### Type: motion
|
|
223
223
|
|
|
224
|
-
Read `reference/motion.md` and `reference/framer-motion-patterns.md` before starting. If `reference/motion-advanced.md` is present, also read it
|
|
224
|
+
Read `reference/motion.md` and `reference/framer-motion-patterns.md` before starting. If `reference/motion-advanced.md` is present, also read it - apply advanced patterns (gesture/drag mechanics, clip-path animations, blur-to-mask crossfades, CSS transitions vs keyframes for interruptible UI, WAAPI, Framer Motion hardware-accel gotcha, motion cohesion rules, next-day review process). If `reference/motion-easings.md` is present, use canonical `--ease-*` tokens rather than raw cubic-bezier strings. If `reference/motion-spring.md` is present, use named presets (gentle/wobbly/stiff/slow) for spring configurations.
|
|
225
225
|
|
|
226
226
|
`reference/framer-motion-patterns.md` contains Framer Motion-specific implementation patterns that complement the framework-agnostic rules in `reference/motion.md`. When the codebase uses Framer Motion (detectable by `framer-motion` imports), apply the patterns from that file: spring/tween configuration, `AnimatePresence` with `initial={false}`, layout animations, variants with `staggerChildren`, gesture props (`whileHover`, `whileTap` at scale 0.96), `useReducedMotion` or `MotionConfig reducedMotion="user"` for a11y, and the hard constraint that `bounce: 0` for all micro-interactions.
|
|
227
227
|
|
|
@@ -241,7 +241,7 @@ Also: verify exit animations are 60–70% of enter duration.
|
|
|
241
241
|
### Type: copy
|
|
242
242
|
|
|
243
243
|
Read `reference/anti-patterns.md` copy section before starting.
|
|
244
|
-
Read `reference/brand-voice.md`
|
|
244
|
+
Read `reference/brand-voice.md` - voice axes, archetype library, and tone-by-context table provide the authoritative copy standards for this task type.
|
|
245
245
|
|
|
246
246
|
1. **Audit all user-visible text**: scan files in scope for button labels, error messages, empty states, tooltips, placeholder text.
|
|
247
247
|
2. **Apply UX copy standards**:
|
|
@@ -249,7 +249,7 @@ Read `reference/brand-voice.md` — voice axes, archetype library, and tone-by-c
|
|
|
249
249
|
- Errors: what happened + how to fix (not "An error occurred")
|
|
250
250
|
- Empty states: why empty + what to do next
|
|
251
251
|
- Placeholders: example input, not instructions
|
|
252
|
-
3. **Check for AI-generated phrasing**: "Harness the power of...", "
|
|
252
|
+
3. **Check for AI-generated phrasing**: "Harness the power of...", "Smoothly...", "Use..." → replace with plain language.
|
|
253
253
|
4. **Check microcopy consistency**: terminology is consistent across all in-scope files (same word for same concept).
|
|
254
254
|
5. **Apply changes** and document each changed string in the task output.
|
|
255
255
|
|
|
@@ -273,7 +273,7 @@ Read `reference/heuristics.md` (if present) before starting. Apply NNG heuristic
|
|
|
273
273
|
Read `reference/anti-patterns.md`, `reference/design-system-guidance.md`, and DESIGN-CONTEXT.md before starting. The design-system-guidance file provides the semantic-layer naming conventions, multi-brand token architecture, and component API conventions that govern how tokens should be named and structured.
|
|
274
274
|
|
|
275
275
|
1. **Audit magic values**: grep all literal CSS values (px, rem, #hex, rgb(), etc.) across scope files.
|
|
276
|
-
2. **Organize by role**: group values into categories
|
|
276
|
+
2. **Organize by role**: group values into categories - color, spacing, typography, radius, shadow, z-index.
|
|
277
277
|
3. **Create CSS custom properties**:
|
|
278
278
|
- Color: `--color-{role}` (e.g., `--color-primary`, `--color-danger`, `--color-text-muted`)
|
|
279
279
|
- Spacing: `--space-{N}` (e.g., `--space-4`, `--space-8`)
|
|
@@ -300,7 +300,7 @@ ls reference/components/<name>.md 2>/dev/null
|
|
|
300
300
|
|
|
301
301
|
If `reference/components/<name>.md` exists:
|
|
302
302
|
1. Read the spec's **Anatomy**, **States**, **Variants**, and **Keyboard & Accessibility** sections
|
|
303
|
-
2. Use these as the authoritative contract for the implementation
|
|
303
|
+
2. Use these as the authoritative contract for the implementation - do not re-discover naming conventions, ARIA roles, or keyboard patterns that the spec already defines
|
|
304
304
|
3. In the task output file (`task-NN.md`), add a line: `Spec pre-flight: reference/components/<name>.md — [N] states, [M] variants, WAI-ARIA contract applied`
|
|
305
305
|
4. Flag any deviation between the task instructions and the spec in the `## Deviations` section
|
|
306
306
|
|
|
@@ -355,20 +355,20 @@ When the task file type is "component":
|
|
|
355
355
|
When encountering a decision not specified in the task file:
|
|
356
356
|
|
|
357
357
|
### Tier 1: Proceed autonomously
|
|
358
|
-
Decision is self-contained
|
|
358
|
+
Decision is self-contained - proceed autonomously when the decision scope is
|
|
359
359
|
contained entirely within the current task's files and does not conflict with
|
|
360
360
|
any D-XX decision in DESIGN-CONTEXT.md.
|
|
361
361
|
Example: choosing between two equivalent CSS property orders.
|
|
362
362
|
|
|
363
363
|
### Tier 2: Flag and proceed
|
|
364
|
-
Decision has wider impact
|
|
364
|
+
Decision has wider impact - flag and proceed when the decision affects files or
|
|
365
365
|
tasks beyond the current task but is unambiguous in the DESIGN-CONTEXT.md
|
|
366
366
|
direction. Log the decision in DESIGN-STATE.md and include in the executor's
|
|
367
367
|
completion summary.
|
|
368
368
|
Example: introducing a new CSS custom property that will affect other components.
|
|
369
369
|
|
|
370
370
|
### Tier 3: Stop and ask
|
|
371
|
-
Decision is blocked
|
|
371
|
+
Decision is blocked - stop and ask when the decision contradicts DESIGN-CONTEXT.md
|
|
372
372
|
or requires a new D-XX decision. Halt, write a question block in DESIGN-STATE.md,
|
|
373
373
|
emit a marker noting the block, and wait for user input.
|
|
374
374
|
Example: user says "replace AI palette" but task file references removed colors.
|
|
@@ -379,13 +379,13 @@ Example: user says "replace AI palette" but task file references removed colors.
|
|
|
379
379
|
|
|
380
380
|
Apply these rules automatically during execution. Track all deviations in the task-NN.md `## Deviations` section.
|
|
381
381
|
|
|
382
|
-
**Rule 1
|
|
382
|
+
**Rule 1 - Bug:** Broken behavior, errors, type issues, security vulnerabilities encountered in files you are editing → fix inline, note in Deviations section of task-NN.md. Track as `[Rule 1 - Bug] description`.
|
|
383
383
|
|
|
384
|
-
**Rule 2
|
|
384
|
+
**Rule 2 - Missing Critical:** Missing error handling, no input validation, missing null checks, missing ARIA on interactive elements you are creating → add it, note in Deviations. Track as `[Rule 2 - Missing Critical] description`.
|
|
385
385
|
|
|
386
|
-
**Rule 3
|
|
386
|
+
**Rule 3 - Blocking:** Missing file the task references, broken import preventing task completion, missing dependency → fix it (install, create stub, resolve import), note in Deviations. Track as `[Rule 3 - Blocking] description`.
|
|
387
387
|
|
|
388
|
-
**Rule 4
|
|
388
|
+
**Rule 4 - Architectural:** Fix requires significant structural modification (new CSS file changing global architecture, switching design system library, schema-level changes, changes contradicting locked DESIGN-CONTEXT.md decisions) → STOP. Write a `<blocker>` entry to `.design/STATE.md`, mark task `status: deviation` in task-NN.md, still emit `## EXECUTION COMPLETE` with a failure note.
|
|
389
389
|
|
|
390
390
|
**Scope boundary:** Only auto-fix issues DIRECTLY caused by the current task's changes. Pre-existing issues in files you are not touching are out of scope. Do not fix them.
|
|
391
391
|
|
|
@@ -393,11 +393,11 @@ Apply these rules automatically during execution. Track all deviations in the ta
|
|
|
393
393
|
|
|
394
394
|
---
|
|
395
395
|
|
|
396
|
-
## Task Output
|
|
396
|
+
## Task Output - .design/tasks/task-NN.md
|
|
397
397
|
|
|
398
398
|
After completing the task's implementation work, write `.design/tasks/task-NN.md` (where NN = task_id from prompt context). Create `.design/tasks/` directory first if it does not exist.
|
|
399
399
|
|
|
400
|
-
Format (locked
|
|
400
|
+
Format (locked - do not alter structure):
|
|
401
401
|
|
|
402
402
|
```
|
|
403
403
|
---
|
|
@@ -424,8 +424,8 @@ status: complete | deviation
|
|
|
424
424
|
[Rule-tagged deviations, or "none"]
|
|
425
425
|
```
|
|
426
426
|
|
|
427
|
-
`status: complete`
|
|
428
|
-
`status: deviation`
|
|
427
|
+
`status: complete` - all acceptance criteria pass.
|
|
428
|
+
`status: deviation` - one or more criteria failed, or a Rule 4 architectural blocker was hit.
|
|
429
429
|
|
|
430
430
|
---
|
|
431
431
|
|
|
@@ -433,7 +433,7 @@ status: complete | deviation
|
|
|
433
433
|
|
|
434
434
|
After writing `.design/tasks/task-NN.md` and BEFORE emitting the completion marker, make an atomic git commit.
|
|
435
435
|
|
|
436
|
-
**Stage files individually**
|
|
436
|
+
**Stage files individually** - NEVER `git add .` or `git add -A`:
|
|
437
437
|
|
|
438
438
|
```bash
|
|
439
439
|
git add .design/tasks/task-NN.md
|
|
@@ -493,12 +493,12 @@ Terminate with exactly this line (on its own line, no trailing text):
|
|
|
493
493
|
|
|
494
494
|
This agent MUST NOT:
|
|
495
495
|
|
|
496
|
-
- Run `git clean` (any flags)
|
|
497
|
-
- Modify `.design/DESIGN-PLAN.md`
|
|
498
|
-
- Modify `.design/DESIGN-CONTEXT.md`
|
|
496
|
+
- Run `git clean` (any flags) - absolute prohibition, enforced unconditionally
|
|
497
|
+
- Modify `.design/DESIGN-PLAN.md` - the plan is read-only for executors
|
|
498
|
+
- Modify `.design/DESIGN-CONTEXT.md` - decisions are locked; flag contradictions via Rule 4
|
|
499
499
|
- Re-plan tasks or change task scope
|
|
500
500
|
- Spawn other agents via the `Task` tool
|
|
501
|
-
- Ask clarifying questions (single-shot
|
|
501
|
+
- Ask clarifying questions (single-shot - use best judgment, note choices in Design choices made)
|
|
502
502
|
- Commit files from other tasks in the same commit
|
|
503
503
|
- Use `git add .` or `git add -A`
|
|
504
504
|
|