universal-dev-standards 5.0.0-rc.8 → 5.0.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/bin/uds.js +5 -3
- package/bundled/ai/standards/acceptance-criteria-traceability.ai.yaml +178 -0
- package/bundled/ai/standards/agent-dispatch.ai.yaml +69 -0
- package/bundled/ai/standards/ai-command-behavior.ai.yaml +45 -0
- package/bundled/ai/standards/api-design-standards.ai.yaml +192 -0
- package/bundled/ai/standards/branch-completion.ai.yaml +82 -0
- package/bundled/ai/standards/change-batching-standards.ai.yaml +195 -0
- package/bundled/ai/standards/database-standards.ai.yaml +220 -0
- package/bundled/ai/standards/error-codes.ai.yaml +37 -2
- package/bundled/ai/standards/git-worktree.ai.yaml +77 -0
- package/bundled/ai/standards/logging.ai.yaml +21 -2
- package/bundled/ai/standards/model-selection.ai.yaml +81 -0
- package/bundled/ai/standards/pipeline-integration-standards.ai.yaml +184 -0
- package/bundled/ai/standards/systematic-debugging.ai.yaml +73 -0
- package/bundled/ai/standards/verification-evidence.ai.yaml +84 -0
- package/bundled/ai/standards/workflow-enforcement.ai.yaml +253 -0
- package/bundled/core/acceptance-criteria-traceability.md +293 -0
- package/bundled/core/agent-dispatch.md +149 -0
- package/bundled/core/ai-command-behavior.md +239 -0
- package/bundled/core/api-design-standards.md +938 -0
- package/bundled/core/branch-completion.md +158 -0
- package/bundled/core/change-batching-standards.md +257 -0
- package/bundled/core/checkin-standards.md +43 -6
- package/bundled/core/database-standards.md +828 -0
- package/bundled/core/error-code-standards.md +228 -2
- package/bundled/core/forward-derivation-standards.md +54 -2
- package/bundled/core/git-worktree.md +131 -0
- package/bundled/core/model-selection.md +153 -0
- package/bundled/core/pipeline-integration-standards.md +230 -0
- package/bundled/core/systematic-debugging.md +156 -0
- package/bundled/core/testing-standards.md +49 -39
- package/bundled/core/verification-evidence.md +172 -0
- package/bundled/core/workflow-enforcement.md +132 -0
- package/bundled/locales/zh-CN/CLAUDE.md +2 -2
- package/bundled/locales/zh-CN/README.md +4 -4
- package/bundled/locales/zh-CN/SECURITY.md +92 -0
- package/bundled/locales/zh-CN/core/acceptance-criteria-traceability.md +301 -0
- package/bundled/locales/zh-CN/core/acceptance-test-driven-development.md +47 -0
- package/bundled/locales/zh-CN/core/accessibility-standards.md +124 -0
- package/bundled/locales/zh-CN/core/agent-dispatch.md +113 -0
- package/bundled/locales/zh-CN/core/ai-agreement-standards.md +103 -0
- package/bundled/locales/zh-CN/core/ai-command-behavior.md +247 -0
- package/bundled/locales/zh-CN/core/api-design-standards.md +946 -0
- package/bundled/locales/zh-CN/core/behavior-driven-development.md +48 -0
- package/bundled/locales/zh-CN/core/branch-completion.md +112 -0
- package/bundled/locales/zh-CN/core/change-batching-standards.md +265 -0
- package/bundled/locales/zh-CN/core/checkin-standards.md +43 -5
- package/bundled/locales/zh-CN/core/context-aware-loading.md +106 -0
- package/bundled/locales/zh-CN/core/database-standards.md +836 -0
- package/bundled/locales/zh-CN/core/deployment-standards.md +80 -0
- package/bundled/locales/zh-CN/core/error-code-standards.md +2 -2
- package/bundled/locales/zh-CN/core/forward-derivation-standards.md +493 -0
- package/bundled/locales/zh-CN/core/git-worktree.md +101 -0
- package/bundled/locales/zh-CN/core/model-selection.md +112 -0
- package/bundled/locales/zh-CN/core/performance-standards.md +104 -0
- package/bundled/locales/zh-CN/core/pipeline-integration-standards.md +238 -0
- package/bundled/locales/zh-CN/core/project-context-memory.md +124 -0
- package/bundled/locales/zh-CN/core/requirement-engineering.md +49 -0
- package/bundled/locales/zh-CN/core/security-standards.md +100 -0
- package/bundled/locales/zh-CN/core/systematic-debugging.md +106 -0
- package/bundled/locales/zh-CN/core/test-governance.md +116 -0
- package/bundled/locales/zh-CN/core/testing-standards.md +392 -156
- package/bundled/locales/zh-CN/core/verification-evidence.md +118 -0
- package/bundled/locales/zh-CN/core/virtual-organization-standards.md +104 -0
- package/bundled/locales/zh-CN/core/workflow-enforcement.md +132 -0
- package/bundled/locales/zh-CN/docs/CHEATSHEET.md +27 -1
- package/bundled/locales/zh-CN/docs/CLI-INIT-OPTIONS.md +9 -1
- package/bundled/locales/zh-CN/docs/FEATURE-REFERENCE.md +37 -9
- package/bundled/locales/zh-CN/docs/USER-MANUAL.md +652 -0
- package/bundled/locales/zh-CN/integrations/github-copilot/copilot-instructions.md +1 -1
- package/bundled/locales/zh-CN/integrations/openspec/AGENTS.md +29 -4
- package/bundled/locales/zh-CN/integrations/spec-kit/AGENTS.md +143 -72
- package/bundled/locales/zh-CN/skills/ac-coverage-assistant/SKILL.md +126 -0
- package/bundled/locales/zh-CN/skills/api-design-assistant/SKILL.md +100 -0
- package/bundled/locales/zh-CN/skills/brainstorm-assistant/SKILL.md +119 -0
- package/bundled/locales/zh-CN/skills/ci-cd-assistant/SKILL.md +82 -0
- package/bundled/locales/zh-CN/skills/commands/ac-coverage.md +97 -0
- package/bundled/locales/zh-CN/skills/commands/api-design.md +94 -0
- package/bundled/locales/zh-CN/skills/commands/atdd.md +163 -0
- package/bundled/locales/zh-CN/skills/commands/audit.md +77 -0
- package/bundled/locales/zh-CN/skills/commands/bdd.md +1 -1
- package/bundled/locales/zh-CN/skills/commands/brainstorm.md +87 -0
- package/bundled/locales/zh-CN/skills/commands/changelog.md +63 -0
- package/bundled/locales/zh-CN/skills/commands/check.md +219 -0
- package/bundled/locales/zh-CN/skills/commands/checkin.md +61 -0
- package/bundled/locales/zh-CN/skills/commands/ci-cd.md +77 -0
- package/bundled/locales/zh-CN/skills/commands/commit.md +81 -0
- package/bundled/locales/zh-CN/skills/commands/config.md +207 -0
- package/bundled/locales/zh-CN/skills/commands/coverage.md +74 -0
- package/bundled/locales/zh-CN/skills/commands/database.md +78 -0
- package/bundled/locales/zh-CN/skills/commands/derive-all.md +58 -0
- package/bundled/locales/zh-CN/skills/commands/derive-atdd.md +54 -0
- package/bundled/locales/zh-CN/skills/commands/derive-bdd.md +53 -0
- package/bundled/locales/zh-CN/skills/commands/derive-tdd.md +54 -0
- package/bundled/locales/zh-CN/skills/commands/derive.md +78 -0
- package/bundled/locales/zh-CN/skills/commands/dev-workflow.md +119 -0
- package/bundled/locales/zh-CN/skills/commands/discover.md +86 -0
- package/bundled/locales/zh-CN/skills/commands/docgen.md +67 -0
- package/bundled/locales/zh-CN/skills/commands/docs.md +65 -0
- package/bundled/locales/zh-CN/skills/commands/durable.md +87 -0
- package/bundled/locales/zh-CN/skills/commands/guide.md +52 -0
- package/bundled/locales/zh-CN/skills/commands/incident.md +92 -0
- package/bundled/locales/zh-CN/skills/commands/init.md +272 -0
- package/bundled/locales/zh-CN/skills/commands/methodology.md +1 -1
- package/bundled/locales/zh-CN/skills/commands/metrics.md +73 -0
- package/bundled/locales/zh-CN/skills/commands/migrate.md +92 -0
- package/bundled/locales/zh-CN/skills/commands/pr.md +80 -0
- package/bundled/locales/zh-CN/skills/commands/refactor.md +1 -1
- package/bundled/locales/zh-CN/skills/commands/release.md +62 -0
- package/bundled/locales/zh-CN/skills/commands/requirement.md +54 -0
- package/bundled/locales/zh-CN/skills/commands/reverse-bdd.md +47 -0
- package/bundled/locales/zh-CN/skills/commands/reverse-sdd.md +51 -0
- package/bundled/locales/zh-CN/skills/commands/reverse-tdd.md +51 -0
- package/bundled/locales/zh-CN/skills/commands/reverse.md +63 -0
- package/bundled/locales/zh-CN/skills/commands/review.md +50 -0
- package/bundled/locales/zh-CN/skills/commands/scan.md +76 -0
- package/bundled/locales/zh-CN/skills/commands/sdd-retro.md +40 -0
- package/bundled/locales/zh-CN/skills/commands/sdd.md +379 -0
- package/bundled/locales/zh-CN/skills/commands/security.md +75 -0
- package/bundled/locales/zh-CN/skills/commands/tdd.md +111 -0
- package/bundled/locales/zh-CN/skills/commands/update.md +337 -0
- package/bundled/locales/zh-CN/skills/commit-standards/SKILL.md +1 -2
- package/bundled/locales/zh-CN/skills/database-assistant/SKILL.md +97 -0
- package/bundled/locales/zh-CN/skills/dev-workflow-guide/SKILL.md +145 -0
- package/bundled/locales/zh-CN/skills/durable-execution-assistant/SKILL.md +84 -0
- package/bundled/locales/zh-CN/skills/incident-response-assistant/SKILL.md +107 -0
- package/bundled/locales/zh-CN/skills/metrics-dashboard-assistant/SKILL.md +67 -0
- package/bundled/locales/zh-CN/skills/migration-assistant/SKILL.md +77 -0
- package/bundled/locales/zh-CN/skills/pr-automation-assistant/SKILL.md +90 -0
- package/bundled/locales/zh-CN/skills/security-assistant/SKILL.md +79 -0
- package/bundled/locales/zh-CN/skills/security-scan-assistant/SKILL.md +72 -0
- package/bundled/locales/zh-CN/skills/spec-driven-dev/SKILL.md +73 -10
- package/bundled/locales/zh-CN/skills/spec-driven-dev/guide.md +267 -122
- package/bundled/locales/zh-TW/CLAUDE.md +2 -2
- package/bundled/locales/zh-TW/README.md +4 -4
- package/bundled/locales/zh-TW/SECURITY.md +92 -0
- package/bundled/locales/zh-TW/core/acceptance-criteria-traceability.md +301 -0
- package/bundled/locales/zh-TW/core/acceptance-test-driven-development.md +47 -0
- package/bundled/locales/zh-TW/core/accessibility-standards.md +84 -0
- package/bundled/locales/zh-TW/core/agent-dispatch.md +89 -0
- package/bundled/locales/zh-TW/core/ai-agreement-standards.md +87 -0
- package/bundled/locales/zh-TW/core/ai-command-behavior.md +247 -0
- package/bundled/locales/zh-TW/core/api-design-standards.md +946 -0
- package/bundled/locales/zh-TW/core/behavior-driven-development.md +63 -0
- package/bundled/locales/zh-TW/core/branch-completion.md +76 -0
- package/bundled/locales/zh-TW/core/change-batching-standards.md +265 -0
- package/bundled/locales/zh-TW/core/checkin-standards.md +39 -5
- package/bundled/locales/zh-TW/core/context-aware-loading.md +86 -0
- package/bundled/locales/zh-TW/core/database-standards.md +836 -0
- package/bundled/locales/zh-TW/core/deployment-standards.md +66 -0
- package/bundled/locales/zh-TW/core/error-code-standards.md +230 -4
- package/bundled/locales/zh-TW/core/forward-derivation-standards.md +62 -2
- package/bundled/locales/zh-TW/core/git-worktree.md +104 -0
- package/bundled/locales/zh-TW/core/model-selection.md +83 -0
- package/bundled/locales/zh-TW/core/performance-standards.md +84 -0
- package/bundled/locales/zh-TW/core/pipeline-integration-standards.md +238 -0
- package/bundled/locales/zh-TW/core/project-context-memory.md +79 -0
- package/bundled/locales/zh-TW/core/requirement-engineering.md +79 -0
- package/bundled/locales/zh-TW/core/security-standards.md +74 -0
- package/bundled/locales/zh-TW/core/systematic-debugging.md +95 -0
- package/bundled/locales/zh-TW/core/test-governance.md +88 -0
- package/bundled/locales/zh-TW/core/testing-standards.md +309 -86
- package/bundled/locales/zh-TW/core/verification-evidence.md +94 -0
- package/bundled/locales/zh-TW/core/virtual-organization-standards.md +88 -0
- package/bundled/locales/zh-TW/core/workflow-enforcement.md +132 -0
- package/bundled/locales/zh-TW/docs/CHEATSHEET.md +27 -1
- package/bundled/locales/zh-TW/docs/CLI-INIT-OPTIONS.md +9 -1
- package/bundled/locales/zh-TW/docs/FEATURE-REFERENCE.md +37 -9
- package/bundled/locales/zh-TW/docs/USER-MANUAL.md +652 -0
- package/bundled/locales/zh-TW/integrations/github-copilot/copilot-instructions.md +1 -1
- package/bundled/locales/zh-TW/integrations/openspec/AGENTS.md +29 -4
- package/bundled/locales/zh-TW/integrations/spec-kit/AGENTS.md +142 -71
- package/bundled/locales/zh-TW/skills/ac-coverage-assistant/SKILL.md +127 -0
- package/bundled/locales/zh-TW/skills/ai-friendly-architecture/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/ai-instruction-standards/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/api-design-assistant/SKILL.md +97 -0
- package/bundled/locales/zh-TW/skills/atdd-assistant/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/audit-assistant/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/bdd-assistant/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/brainstorm-assistant/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/changelog-guide/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/checkin-assistant/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/ci-cd-assistant/SKILL.md +79 -0
- package/bundled/locales/zh-TW/skills/code-review-assistant/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/commands/ac-coverage.md +95 -0
- package/bundled/locales/zh-TW/skills/commands/api-design.md +92 -0
- package/bundled/locales/zh-TW/skills/commands/atdd.md +167 -0
- package/bundled/locales/zh-TW/skills/commands/audit.md +75 -0
- package/bundled/locales/zh-TW/skills/commands/bdd.md +1 -1
- package/bundled/locales/zh-TW/skills/commands/brainstorm.md +91 -0
- package/bundled/locales/zh-TW/skills/commands/changelog.md +67 -0
- package/bundled/locales/zh-TW/skills/commands/check.md +223 -0
- package/bundled/locales/zh-TW/skills/commands/checkin.md +65 -0
- package/bundled/locales/zh-TW/skills/commands/ci-cd.md +75 -0
- package/bundled/locales/zh-TW/skills/commands/commit.md +85 -0
- package/bundled/locales/zh-TW/skills/commands/config.md +211 -0
- package/bundled/locales/zh-TW/skills/commands/coverage.md +78 -0
- package/bundled/locales/zh-TW/skills/commands/database.md +76 -0
- package/bundled/locales/zh-TW/skills/commands/derive-all.md +62 -0
- package/bundled/locales/zh-TW/skills/commands/derive-atdd.md +58 -0
- package/bundled/locales/zh-TW/skills/commands/derive-bdd.md +54 -0
- package/bundled/locales/zh-TW/skills/commands/derive-tdd.md +55 -0
- package/bundled/locales/zh-TW/skills/commands/derive.md +79 -0
- package/bundled/locales/zh-TW/skills/commands/dev-workflow.md +120 -0
- package/bundled/locales/zh-TW/skills/commands/discover.md +87 -0
- package/bundled/locales/zh-TW/skills/commands/docgen.md +68 -0
- package/bundled/locales/zh-TW/skills/commands/docs.md +66 -0
- package/bundled/locales/zh-TW/skills/commands/durable.md +85 -0
- package/bundled/locales/zh-TW/skills/commands/guide.md +51 -0
- package/bundled/locales/zh-TW/skills/commands/incident.md +90 -0
- package/bundled/locales/zh-TW/skills/commands/init.md +273 -0
- package/bundled/locales/zh-TW/skills/commands/methodology.md +1 -1
- package/bundled/locales/zh-TW/skills/commands/metrics.md +71 -0
- package/bundled/locales/zh-TW/skills/commands/migrate.md +90 -0
- package/bundled/locales/zh-TW/skills/commands/pr.md +78 -0
- package/bundled/locales/zh-TW/skills/commands/refactor.md +1 -1
- package/bundled/locales/zh-TW/skills/commands/release.md +63 -0
- package/bundled/locales/zh-TW/skills/commands/requirement.md +61 -0
- package/bundled/locales/zh-TW/skills/commands/reverse-bdd.md +54 -0
- package/bundled/locales/zh-TW/skills/commands/reverse-sdd.md +58 -0
- package/bundled/locales/zh-TW/skills/commands/reverse-tdd.md +58 -0
- package/bundled/locales/zh-TW/skills/commands/reverse.md +70 -0
- package/bundled/locales/zh-TW/skills/commands/review.md +57 -0
- package/bundled/locales/zh-TW/skills/commands/scan.md +74 -0
- package/bundled/locales/zh-TW/skills/commands/sdd-retro.md +47 -0
- package/bundled/locales/zh-TW/skills/commands/sdd.md +362 -0
- package/bundled/locales/zh-TW/skills/commands/security.md +73 -0
- package/bundled/locales/zh-TW/skills/commands/tdd.md +115 -0
- package/bundled/locales/zh-TW/skills/commands/update.md +326 -0
- package/bundled/locales/zh-TW/skills/commit-standards/SKILL.md +2 -6
- package/bundled/locales/zh-TW/skills/database-assistant/SKILL.md +94 -0
- package/bundled/locales/zh-TW/skills/dev-workflow-guide/SKILL.md +140 -0
- package/bundled/locales/zh-TW/skills/docs-generator/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/documentation-guide/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/durable-execution-assistant/SKILL.md +81 -0
- package/bundled/locales/zh-TW/skills/error-code-guide/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/forward-derivation/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/git-workflow-guide/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/incident-response-assistant/SKILL.md +104 -0
- package/bundled/locales/zh-TW/skills/logging-guide/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/methodology-system/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/metrics-dashboard-assistant/SKILL.md +64 -0
- package/bundled/locales/zh-TW/skills/migration-assistant/SKILL.md +74 -0
- package/bundled/locales/zh-TW/skills/pr-automation-assistant/SKILL.md +87 -0
- package/bundled/locales/zh-TW/skills/project-discovery/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/refactoring-assistant/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/release-standards/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/requirement-assistant/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/reverse-engineer/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/security-assistant/SKILL.md +76 -0
- package/bundled/locales/zh-TW/skills/security-scan-assistant/SKILL.md +69 -0
- package/bundled/locales/zh-TW/skills/spec-driven-dev/SKILL.md +74 -14
- package/bundled/locales/zh-TW/skills/spec-driven-dev/guide.md +243 -98
- package/bundled/locales/zh-TW/skills/tdd-assistant/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/test-coverage-assistant/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/testing-guide/SKILL.md +1 -5
- package/bundled/skills/README.md +11 -0
- package/bundled/skills/ac-coverage-assistant/SKILL.md +127 -0
- package/bundled/skills/ai-collaboration-standards/SKILL.md +10 -0
- package/bundled/skills/ai-friendly-architecture/SKILL.md +10 -0
- package/bundled/skills/ai-instruction-standards/SKILL.md +10 -0
- package/bundled/skills/api-design-assistant/SKILL.md +119 -0
- package/bundled/skills/atdd-assistant/SKILL.md +7 -0
- package/bundled/skills/bdd-assistant/SKILL.md +7 -0
- package/bundled/skills/brainstorm-assistant/SKILL.md +7 -0
- package/bundled/skills/checkin-assistant/SKILL.md +7 -0
- package/bundled/skills/ci-cd-assistant/SKILL.md +97 -0
- package/bundled/skills/code-review-assistant/SKILL.md +7 -0
- package/bundled/skills/commands/README.md +70 -0
- package/bundled/skills/commands/ac-coverage.md +135 -0
- package/bundled/skills/commands/api-design.md +86 -0
- package/bundled/skills/commands/atdd.md +69 -0
- package/bundled/skills/commands/audit.md +69 -0
- package/bundled/skills/commands/bdd.md +101 -0
- package/bundled/skills/commands/brainstorm.md +45 -0
- package/bundled/skills/commands/changelog.md +34 -0
- package/bundled/skills/commands/check.md +52 -1
- package/bundled/skills/commands/checkin.md +46 -0
- package/bundled/skills/commands/ci-cd.md +69 -0
- package/bundled/skills/commands/commit.md +79 -0
- package/bundled/skills/commands/config.md +48 -0
- package/bundled/skills/commands/coverage.md +53 -0
- package/bundled/skills/commands/database.md +70 -0
- package/bundled/skills/commands/derive-all.md +40 -0
- package/bundled/skills/commands/derive-atdd.md +33 -0
- package/bundled/skills/commands/derive-bdd.md +39 -0
- package/bundled/skills/commands/derive-tdd.md +40 -0
- package/bundled/skills/commands/derive.md +47 -0
- package/bundled/skills/commands/dev-workflow.md +104 -7
- package/bundled/skills/commands/discover.md +39 -0
- package/bundled/skills/commands/docgen.md +35 -0
- package/bundled/skills/commands/docs.md +40 -0
- package/bundled/skills/commands/durable.md +79 -0
- package/bundled/skills/commands/incident.md +84 -0
- package/bundled/skills/commands/init.md +55 -0
- package/bundled/skills/commands/methodology.md +72 -0
- package/bundled/skills/commands/metrics.md +65 -0
- package/bundled/skills/commands/migrate.md +84 -0
- package/bundled/skills/commands/pr.md +72 -0
- package/bundled/skills/commands/refactor.md +51 -0
- package/bundled/skills/commands/release.md +60 -0
- package/bundled/skills/commands/requirement.md +38 -0
- package/bundled/skills/commands/reverse-bdd.md +34 -0
- package/bundled/skills/commands/reverse-sdd.md +42 -0
- package/bundled/skills/commands/reverse-tdd.md +40 -0
- package/bundled/skills/commands/reverse.md +41 -0
- package/bundled/skills/commands/review.md +39 -0
- package/bundled/skills/commands/scan.md +68 -0
- package/bundled/skills/commands/sdd-retro.md +48 -0
- package/bundled/skills/commands/sdd.md +220 -0
- package/bundled/skills/commands/security.md +67 -0
- package/bundled/skills/commands/tdd.md +101 -0
- package/bundled/skills/commands/update.md +61 -0
- package/bundled/skills/commit-standards/SKILL.md +8 -2
- package/bundled/skills/database-assistant/SKILL.md +118 -0
- package/bundled/skills/dev-workflow-guide/SKILL.md +53 -7
- package/bundled/skills/dev-workflow-guide/workflow-phases.md +24 -0
- package/bundled/skills/durable-execution-assistant/SKILL.md +116 -0
- package/bundled/skills/forward-derivation/SKILL.md +7 -0
- package/bundled/skills/incident-response-assistant/SKILL.md +132 -0
- package/bundled/skills/methodology-system/SKILL.md +24 -2
- package/bundled/skills/metrics-dashboard-assistant/SKILL.md +109 -0
- package/bundled/skills/migration-assistant/SKILL.md +119 -0
- package/bundled/skills/pr-automation-assistant/SKILL.md +114 -0
- package/bundled/skills/project-discovery/SKILL.md +7 -0
- package/bundled/skills/refactoring-assistant/SKILL.md +7 -0
- package/bundled/skills/release-standards/SKILL.md +7 -0
- package/bundled/skills/requirement-assistant/SKILL.md +7 -0
- package/bundled/skills/reverse-engineer/SKILL.md +7 -0
- package/bundled/skills/security-assistant/SKILL.md +105 -0
- package/bundled/skills/security-scan-assistant/SKILL.md +96 -0
- package/bundled/skills/spec-driven-dev/SKILL.md +84 -4
- package/bundled/skills/spec-driven-dev/guide.md +156 -22
- package/bundled/skills/tdd-assistant/SKILL.md +7 -0
- package/bundled/skills/test-coverage-assistant/SKILL.md +11 -0
- package/bundled/skills/testing-guide/SKILL.md +23 -0
- package/package.json +1 -1
- package/src/commands/check.js +154 -8
- package/src/commands/config.js +231 -104
- package/src/commands/init.js +23 -3
- package/src/commands/update.js +250 -25
- package/src/config/ai-agent-paths.js +16 -0
- package/src/config/workflow-definitions.js +184 -0
- package/src/core/constants.js +6 -0
- package/src/flows/init-flow.js +23 -6
- package/src/i18n/messages.js +51 -3
- package/src/installers/integration-installer.js +67 -2
- package/src/installers/manifest-installer.js +1 -0
- package/src/installers/standards-installer.js +3 -2
- package/src/prompts/init.js +50 -3
- package/src/reconciler/manifest-migrator.js +2 -2
- package/src/reconciler/plan-executor.js +11 -0
- package/src/utils/integration-generator.js +327 -14
- package/src/utils/workflow-gate.js +292 -0
- package/standards-registry.json +160 -5
|
@@ -4,10 +4,7 @@ source_version: 1.0.0
|
|
|
4
4
|
translation_version: 1.0.0
|
|
5
5
|
last_synced: 2026-02-12
|
|
6
6
|
status: current
|
|
7
|
-
description:
|
|
8
|
-
在撰寫規格前進行結構化 AI 輔助腦力激盪。
|
|
9
|
-
使用時機:模糊構想、功能探索、問題重構、創意發想。
|
|
10
|
-
關鍵字:brainstorm, ideation, HMW, SCAMPER, 腦力激盪, 發想, 創意, 構想。
|
|
7
|
+
description: "[UDS] 在撰寫規格前進行結構化 AI 輔助腦力激盪"
|
|
11
8
|
---
|
|
12
9
|
|
|
13
10
|
# 腦力激盪助手
|
|
@@ -4,10 +4,7 @@ source_version: 1.0.0
|
|
|
4
4
|
translation_version: 1.0.0
|
|
5
5
|
last_synced: 2026-02-10
|
|
6
6
|
status: current
|
|
7
|
-
description:
|
|
8
|
-
根據 Keep a Changelog 格式產生和維護 CHANGELOG.md 條目。
|
|
9
|
-
使用時機:更新變更日誌、版本發布、記錄變更。
|
|
10
|
-
關鍵字:changelog, CHANGELOG.md, keep a changelog, 變更日誌, 版本紀錄。
|
|
7
|
+
description: "[UDS] 根據 Keep a Changelog 格式產生和維護 CHANGELOG.md 條目"
|
|
11
8
|
---
|
|
12
9
|
|
|
13
10
|
# 變更日誌助手
|
|
@@ -4,10 +4,7 @@ source_version: 1.0.0
|
|
|
4
4
|
translation_version: 1.0.0
|
|
5
5
|
last_synced: 2026-02-10
|
|
6
6
|
status: current
|
|
7
|
-
description:
|
|
8
|
-
在提交程式碼前驗證品質關卡,確保程式碼庫穩定性。
|
|
9
|
-
使用時機:提交前檢查、品質驗證、pre-commit 檢查。
|
|
10
|
-
關鍵字:checkin, pre-commit, quality gate, 簽入, 品質關卡, 驗證。
|
|
7
|
+
description: "[UDS] 在提交程式碼前驗證品質關卡,確保程式碼庫穩定性"
|
|
11
8
|
---
|
|
12
9
|
|
|
13
10
|
# 簽入助手
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
---
|
|
2
|
+
source: ../../../../skills/ci-cd-assistant/SKILL.md
|
|
3
|
+
source_version: 1.0.0
|
|
4
|
+
translation_version: 1.0.0
|
|
5
|
+
last_synced: 2026-03-24
|
|
6
|
+
status: current
|
|
7
|
+
description: "[UDS] 引導 CI/CD 管線設計、配置和優化"
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# CI/CD 管線助手
|
|
11
|
+
|
|
12
|
+
> **語言**: [English](../../../../skills/ci-cd-assistant/SKILL.md) | 繁體中文
|
|
13
|
+
|
|
14
|
+
引導 CI/CD 管線設計,遵循業界最佳實踐與 DORA 指標。
|
|
15
|
+
|
|
16
|
+
## 管線階段參考
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
BUILD ──► TEST ──► ANALYZE ──► DEPLOY ──► VERIFY
|
|
20
|
+
建置 測試 分析 部署 驗證
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
| 階段 | 用途 | 關鍵活動 |
|
|
24
|
+
|------|------|----------|
|
|
25
|
+
| **Build** | 編譯與打包 | 安裝相依、編譯、產出成品 |
|
|
26
|
+
| **Test** | 品質驗證 | 單元、整合、端對端測試 |
|
|
27
|
+
| **Analyze** | 程式碼品質 | 程式碼檢查、安全掃描、覆蓋率 |
|
|
28
|
+
| **Deploy** | 發布到環境 | 預備環境 → 正式環境部署 |
|
|
29
|
+
| **Verify** | 部署後驗證 | 冒煙測試、健康檢查、監控 |
|
|
30
|
+
|
|
31
|
+
## DORA 指標快速參考
|
|
32
|
+
|
|
33
|
+
| 指標 | 菁英 | 高 | 中 | 低 |
|
|
34
|
+
|------|------|-----|-----|-----|
|
|
35
|
+
| **部署頻率** | 隨需(每日多次) | 每週至每月 | 每月至半年 | > 6 個月 |
|
|
36
|
+
| **變更前置時間** | < 1 小時 | 1 天至 1 週 | 1 至 6 個月 | > 6 個月 |
|
|
37
|
+
| **MTTR** | < 1 小時 | < 1 天 | 1 天至 1 週 | > 6 個月 |
|
|
38
|
+
| **變更失敗率** | 0–15% | 16–30% | 16–30% | > 30% |
|
|
39
|
+
|
|
40
|
+
## 最佳實踐檢查清單
|
|
41
|
+
|
|
42
|
+
- [ ] **快速失敗** — 先執行最快的檢查(lint → 單元 → 整合 → E2E)
|
|
43
|
+
- [ ] **快取相依** — 在執行之間快取 `node_modules`、`.m2`、pip cache
|
|
44
|
+
- [ ] **平行作業** — 將測試套件分散到平行執行器
|
|
45
|
+
- [ ] **不可變成品** — 建置一次,將相同成品部署到所有環境
|
|
46
|
+
- [ ] **環境一致** — 保持預備環境與正式環境一致
|
|
47
|
+
- [ ] **密鑰管理** — 絕不寫死密鑰;使用 vault/環境變數
|
|
48
|
+
- [ ] **分支保護** — 要求 CI 通過才能合併
|
|
49
|
+
- [ ] **回滾策略** — 部署失敗時自動回滾
|
|
50
|
+
|
|
51
|
+
## 平台專屬提示
|
|
52
|
+
|
|
53
|
+
| 平台 | 快取 | 平行化 | 密鑰 | 備註 |
|
|
54
|
+
|------|------|--------|------|------|
|
|
55
|
+
| **GitHub Actions** | `actions/cache` | `matrix` 策略 | `secrets.*` | 使用 reusable workflows |
|
|
56
|
+
| **GitLab CI** | `cache:` 關鍵字 | `parallel:` 關鍵字 | CI/CD Variables | 使用 `include:` 模組化 |
|
|
57
|
+
| **Jenkins** | Stash/unstash | `parallel {}` 區塊 | Credentials plugin | 使用 shared libraries |
|
|
58
|
+
|
|
59
|
+
## 使用方式
|
|
60
|
+
|
|
61
|
+
- `/ci-cd` - 顯示完整管線指引
|
|
62
|
+
- `/ci-cd github-actions` - GitHub Actions 專屬提示
|
|
63
|
+
- `/ci-cd --optimize` - 管線優化建議
|
|
64
|
+
- `/ci-cd build` - 建置階段最佳實踐
|
|
65
|
+
|
|
66
|
+
## 下一步引導
|
|
67
|
+
|
|
68
|
+
`/ci-cd` 完成後,AI 助手應建議:
|
|
69
|
+
|
|
70
|
+
> **管線指引已提供。建議下一步:**
|
|
71
|
+
> - 執行 `/deploy` 設定部署策略
|
|
72
|
+
> - 執行 `/security` 檢查管線安全
|
|
73
|
+
> - 執行 `/testing` 設計測試策略
|
|
74
|
+
> - 執行 `/commit` 建立規範化提交
|
|
75
|
+
|
|
76
|
+
## 參考
|
|
77
|
+
|
|
78
|
+
- 核心規範:[pipeline-integration-standards.md](../../../../core/pipeline-integration-standards.md)
|
|
79
|
+
- 核心規範:[deployment-standards.md](../../../../core/deployment-standards.md)
|
|
@@ -4,10 +4,7 @@ source_version: 1.0.0
|
|
|
4
4
|
translation_version: 1.0.0
|
|
5
5
|
last_synced: 2026-02-10
|
|
6
6
|
status: current
|
|
7
|
-
description:
|
|
8
|
-
使用標準化檢查清單執行系統性程式碼審查。
|
|
9
|
-
使用時機:審查程式碼、PR 審查、程式碼品質檢查。
|
|
10
|
-
關鍵字:review, code review, PR, checklist, 審查, 程式碼, 品質。
|
|
7
|
+
description: "[UDS] 使用標準化檢查清單執行系統性程式碼審查"
|
|
11
8
|
---
|
|
12
9
|
|
|
13
10
|
# 程式碼審查助手
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
---
|
|
2
|
+
source: ../../../../skills/commands/ac-coverage.md
|
|
3
|
+
source_version: 1.0.0
|
|
4
|
+
translation_version: 1.0.0
|
|
5
|
+
last_synced: 2026-03-18
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
description: "[UDS] Generate AC-to-test traceability matrix and coverage report"
|
|
10
|
+
allowed-tools: Read, Grep, Glob
|
|
11
|
+
argument-hint: "[規格檔案路徑 | spec file path]"
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# AC 覆蓋率
|
|
15
|
+
|
|
16
|
+
從規格檔案產生驗收條件(AC)與測試的追蹤矩陣及覆蓋率報告。
|
|
17
|
+
|
|
18
|
+
## 用法
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
/ac-coverage specs/SPEC-001.md # 分析特定 SPEC
|
|
22
|
+
/ac-coverage specs/SPEC-001.md --threshold 90 # 自訂門檻
|
|
23
|
+
/ac-coverage specs/SPEC-001.md --test-dir tests/ # 指定測試目錄
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## 工作流程
|
|
27
|
+
|
|
28
|
+
1. **解析 SPEC** — 讀取規格檔案,擷取所有 AC 定義(AC-1、AC-2、...)
|
|
29
|
+
2. **掃描測試** — 搜尋測試檔案中的 `@AC` 和 `@SPEC` 標註
|
|
30
|
+
3. **建立矩陣** — 將每個 AC 對應到其測試參考
|
|
31
|
+
4. **分類狀態** — ✅ 已覆蓋 | ⚠️ 部分覆蓋 | ❌ 未覆蓋
|
|
32
|
+
5. **計算覆蓋率** — `覆蓋率 % = (已覆蓋 + 部分 × 0.5) / 總數 × 100`
|
|
33
|
+
6. **產生報告** — 輸出標準化 Markdown 報告
|
|
34
|
+
|
|
35
|
+
## 與 `/coverage` 的區別
|
|
36
|
+
|
|
37
|
+
| | `/coverage` | `/ac-coverage` |
|
|
38
|
+
|-|-------------|----------------|
|
|
39
|
+
| **層級** | 程式碼(行/分支/函數) | 需求(AC 對測試) |
|
|
40
|
+
| **問題** | 「多少程式碼被測試?」 | 「哪些 AC 有測試?」 |
|
|
41
|
+
| **輸入** | 原始碼 + 測試執行器 | SPEC 檔案 + 測試標註 |
|
|
42
|
+
|
|
43
|
+
兩者互補 — 使用 `/coverage` 確保程式碼品質,使用 `/ac-coverage` 確保需求驗證。
|
|
44
|
+
|
|
45
|
+
## 品質門檻
|
|
46
|
+
|
|
47
|
+
| 情境 | 預設門檻 | 可配置 |
|
|
48
|
+
|------|----------|--------|
|
|
49
|
+
| **簽入** | 80% | `--threshold N` |
|
|
50
|
+
| **發布** | 100% | `--threshold N` |
|
|
51
|
+
| **警告** | 60% | `--threshold N` |
|
|
52
|
+
|
|
53
|
+
## 輸出格式
|
|
54
|
+
|
|
55
|
+
```markdown
|
|
56
|
+
# AC 覆蓋率報告
|
|
57
|
+
|
|
58
|
+
**規格**: SPEC-001 — 功能名稱
|
|
59
|
+
**產生時間**: 2026-03-18
|
|
60
|
+
**覆蓋率**: 75% (6/8 AC)
|
|
61
|
+
|
|
62
|
+
## 摘要
|
|
63
|
+
|
|
64
|
+
| 狀態 | 數量 | 百分比 |
|
|
65
|
+
|------|------|--------|
|
|
66
|
+
| ✅ 已覆蓋 | 5 | 62.5% |
|
|
67
|
+
| ⚠️ 部分覆蓋 | 2 | 25.0% |
|
|
68
|
+
| ❌ 未覆蓋 | 1 | 12.5% |
|
|
69
|
+
|
|
70
|
+
## 追蹤矩陣
|
|
71
|
+
|
|
72
|
+
| AC-ID | 描述 | 狀態 | 測試參考 |
|
|
73
|
+
|-------|------|------|----------|
|
|
74
|
+
| AC-1 | ... | ✅ | test-file.ts:15 |
|
|
75
|
+
|
|
76
|
+
## 缺口
|
|
77
|
+
- **AC-8**: 被外部依賴阻擋
|
|
78
|
+
|
|
79
|
+
## 行動項目
|
|
80
|
+
1. [ ] AC-8: 解決阻擋問題
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
## 下一步引導
|
|
84
|
+
|
|
85
|
+
> **AC 覆蓋率分析完成。建議下一步:**
|
|
86
|
+
> - 覆蓋率達標 → 執行 `/checkin` 品質關卡
|
|
87
|
+
> - 有未覆蓋 AC → 執行 `/derive-tdd` 補齊測試
|
|
88
|
+
> - 有部分覆蓋 AC → 檢查缺少的邊界情況
|
|
89
|
+
|
|
90
|
+
## 參考
|
|
91
|
+
|
|
92
|
+
- [AC 覆蓋率助手技能](../ac-coverage-assistant/SKILL.md)
|
|
93
|
+
- [核心規範:驗收條件追蹤](../../core/acceptance-criteria-traceability.md)
|
|
94
|
+
- 相關:[/coverage](./coverage.md)(程式碼層級覆蓋率)
|
|
95
|
+
- 相關:[/checkin](./checkin.md)(品質關卡)
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
---
|
|
2
|
+
source: ../../../../skills/commands/api-design.md
|
|
3
|
+
source_version: 1.0.0
|
|
4
|
+
translation_version: 1.0.0
|
|
5
|
+
last_synced: 2026-03-25
|
|
6
|
+
status: current
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
description: "[UDS] Guide API design following REST, GraphQL and gRPC best practices"
|
|
11
|
+
allowed-tools: Read, Grep, Glob
|
|
12
|
+
argument-hint: "[API endpoint or module | API 端點或模組]"
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# API 設計助手
|
|
16
|
+
|
|
17
|
+
引導 API 設計,遵循 REST、GraphQL 和 gRPC 最佳實踐。
|
|
18
|
+
|
|
19
|
+
## 工作流程
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
DEFINE ──► DESIGN ──► VALIDATE ──► DOCUMENT
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
1. **Define | 定義** — 收集需求、識別資源和操作
|
|
26
|
+
2. **Design | 設計** — 設計端點、請求/回應 schema、錯誤碼
|
|
27
|
+
3. **Validate | 驗證** — 檢查一致性、命名慣例、版本策略
|
|
28
|
+
4. **Document | 文件** — 生成 API 文件
|
|
29
|
+
|
|
30
|
+
## 使用方式
|
|
31
|
+
|
|
32
|
+
- `/api-design` - 開始互動式 API 設計流程
|
|
33
|
+
- `/api-design /users` - 為指定資源設計 API
|
|
34
|
+
- `/api-design --graphql` - 使用 GraphQL 方法設計
|
|
35
|
+
|
|
36
|
+
## AI Agent Behavior | AI 代理行為
|
|
37
|
+
|
|
38
|
+
> 遵循 [AI Command Behavior Standards](../../core/ai-command-behavior.md)
|
|
39
|
+
|
|
40
|
+
### Entry Router | 進入路由
|
|
41
|
+
|
|
42
|
+
| 輸入 | AI 動作 |
|
|
43
|
+
|------|---------|
|
|
44
|
+
| `/api-design` | 詢問 API 需求和目標資源,進入 DEFINE 階段 |
|
|
45
|
+
| `/api-design <resource>` | 以指定資源為目標,進入 DEFINE |
|
|
46
|
+
| `/api-design --graphql` | 使用 GraphQL 方法設計 |
|
|
47
|
+
|
|
48
|
+
### Interaction Script | 互動腳本
|
|
49
|
+
|
|
50
|
+
#### DEFINE 階段
|
|
51
|
+
1. 收集 API 需求(目標使用者、資源、操作)
|
|
52
|
+
2. 確認 API 風格(REST / GraphQL / gRPC)
|
|
53
|
+
|
|
54
|
+
🛑 **STOP**: 需求確認後等待使用者確認進入 DESIGN
|
|
55
|
+
|
|
56
|
+
#### DESIGN 階段
|
|
57
|
+
1. 設計端點/schema
|
|
58
|
+
2. 定義 request/response 格式
|
|
59
|
+
3. 設計錯誤碼和狀態碼
|
|
60
|
+
4. 展示設計結果
|
|
61
|
+
|
|
62
|
+
🛑 **STOP**: 設計展示後等待使用者確認
|
|
63
|
+
|
|
64
|
+
#### VALIDATE 階段
|
|
65
|
+
1. 檢查命名一致性、RESTful 慣例
|
|
66
|
+
2. 驗證版本策略
|
|
67
|
+
3. 展示驗證報告
|
|
68
|
+
|
|
69
|
+
#### DOCUMENT 階段
|
|
70
|
+
1. 生成 API 文件(OpenAPI / GraphQL Schema)
|
|
71
|
+
|
|
72
|
+
🛑 **STOP**: 文件生成後等待使用者確認寫入
|
|
73
|
+
|
|
74
|
+
### Stop Points | 停止點
|
|
75
|
+
|
|
76
|
+
| 階段 | 停止點 | 等待內容 |
|
|
77
|
+
|------|--------|---------|
|
|
78
|
+
| DEFINE | 需求確認後 | 確認進入 DESIGN |
|
|
79
|
+
| DESIGN | 設計展示後 | 確認設計方案 |
|
|
80
|
+
| DOCUMENT | 文件生成後 | 確認寫入 |
|
|
81
|
+
|
|
82
|
+
### Error Handling | 錯誤處理
|
|
83
|
+
|
|
84
|
+
| 錯誤條件 | AI 動作 |
|
|
85
|
+
|----------|---------|
|
|
86
|
+
| 無法判斷 API 風格 | 列出選項(REST/GraphQL/gRPC),請使用者選擇 |
|
|
87
|
+
| 資源命名不符慣例 | 建議修正,展示命名規則 |
|
|
88
|
+
|
|
89
|
+
## 參考
|
|
90
|
+
|
|
91
|
+
- 完整標準:[api-design-assistant](../api-design-assistant/SKILL.md)
|
|
92
|
+
- 核心指南:[api-design-standards](../../core/api-design-standards.md)
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
---
|
|
2
|
+
source: ../../../../skills/commands/atdd.md
|
|
3
|
+
source_version: 1.0.0
|
|
4
|
+
translation_version: 1.0.0
|
|
5
|
+
last_synced: 2026-03-19
|
|
6
|
+
status: experimental
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
description: [UDS] Guide through Acceptance Test-Driven Development workflow
|
|
11
|
+
allowed-tools: Read, Write, Grep, Glob, Bash(npm test:*), Bash(npx:*)
|
|
12
|
+
argument-hint: "[user story or feature to define | 要定義的使用者故事或功能]"
|
|
13
|
+
status: experimental
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
# ATDD 助手
|
|
17
|
+
|
|
18
|
+
> **Language**: [English](../../../../skills/commands/atdd.md) | 繁體中文
|
|
19
|
+
|
|
20
|
+
> [!WARNING]
|
|
21
|
+
> **實驗性功能 / Experimental Feature**
|
|
22
|
+
>
|
|
23
|
+
> 此功能正在積極開發中,可能在 v4.0 中有重大變更。
|
|
24
|
+
> This feature is under active development and may change significantly in v4.0.
|
|
25
|
+
|
|
26
|
+
引導驗收測試驅動開發(ATDD)流程,用於定義和實作使用者故事。
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## 方法論整合
|
|
31
|
+
|
|
32
|
+
當調用 `/atdd` 時:
|
|
33
|
+
1. **自動啟用 ATDD 方法論**(如果尚未啟用)
|
|
34
|
+
2. **將當前階段設為規格工作坊**(定義驗收條件)
|
|
35
|
+
3. **追蹤階段轉換**隨著工作進展
|
|
36
|
+
4. **在回應中顯示階段指示器**(🤝 工作坊、🧪 提煉、💻 開發、🎬 展示、✅ 完成)
|
|
37
|
+
|
|
38
|
+
詳見 [methodology-system](../methodology-system/SKILL.md) 了解完整方法論追蹤。
|
|
39
|
+
|
|
40
|
+
## ATDD 循環
|
|
41
|
+
|
|
42
|
+
```
|
|
43
|
+
┌─────────────────────────────────────────────────────────────────┐
|
|
44
|
+
│ │
|
|
45
|
+
│ ┌──────────┐ ┌───────────┐ ┌───────────┐ ┌──────┐ ┌──────┐│
|
|
46
|
+
│ │ WORKSHOP │► │ DISTILL │► │ DEVELOP │► │ DEMO │► │ DONE ││
|
|
47
|
+
│ └──────────┘ └───────────┘ └───────────┘ └──────┘ └──────┘│
|
|
48
|
+
│ ▲ │ │ │
|
|
49
|
+
│ │ │ │ │
|
|
50
|
+
│ └──────────────────────────────┴──────────────┘ │
|
|
51
|
+
│ (Refinement needed) │
|
|
52
|
+
│ │
|
|
53
|
+
└─────────────────────────────────────────────────────────────────┘
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## 工作流程
|
|
57
|
+
|
|
58
|
+
### 1. 規格工作坊 — 定義驗收條件
|
|
59
|
+
- PO 提出使用者故事
|
|
60
|
+
- 團隊提出澄清問題
|
|
61
|
+
- 共同定義驗收條件
|
|
62
|
+
- 記錄超出範圍的項目
|
|
63
|
+
|
|
64
|
+
### 2. 提煉 — 轉換為測試
|
|
65
|
+
- 將 AC 轉換為可執行的測試格式
|
|
66
|
+
- 消除模糊性
|
|
67
|
+
- 取得 PO 簽署
|
|
68
|
+
|
|
69
|
+
### 3. 開發 — 實作
|
|
70
|
+
- 執行驗收測試(初始應失敗)
|
|
71
|
+
- 使用 BDD/TDD 進行實作
|
|
72
|
+
- 迭代直到所有測試通過
|
|
73
|
+
|
|
74
|
+
### 4. 展示 — 向利害關係人展示
|
|
75
|
+
- 展示通過的驗收測試
|
|
76
|
+
- 展示運作中的功能
|
|
77
|
+
- 取得 PO 正式接受
|
|
78
|
+
|
|
79
|
+
### 5. 完成
|
|
80
|
+
- PO 已接受
|
|
81
|
+
- 程式碼已合併
|
|
82
|
+
- 故事已關閉
|
|
83
|
+
|
|
84
|
+
## 使用者故事模板
|
|
85
|
+
|
|
86
|
+
```markdown
|
|
87
|
+
## User Story: [Title]
|
|
88
|
+
|
|
89
|
+
**As a** [role]
|
|
90
|
+
**I want** [feature]
|
|
91
|
+
**So that** [benefit]
|
|
92
|
+
|
|
93
|
+
## Acceptance Criteria
|
|
94
|
+
|
|
95
|
+
### AC-1: [Happy path]
|
|
96
|
+
**Given** [precondition]
|
|
97
|
+
**When** [action]
|
|
98
|
+
**Then** [expected result]
|
|
99
|
+
|
|
100
|
+
### AC-2: [Error scenario]
|
|
101
|
+
**Given** [precondition]
|
|
102
|
+
**When** [invalid action]
|
|
103
|
+
**Then** [error handling]
|
|
104
|
+
|
|
105
|
+
## Out of Scope
|
|
106
|
+
- [Things explicitly not included]
|
|
107
|
+
|
|
108
|
+
## Technical Notes
|
|
109
|
+
- [Implementation hints]
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
## INVEST 準則
|
|
113
|
+
|
|
114
|
+
| 準則 | 說明 |
|
|
115
|
+
|------|------|
|
|
116
|
+
| **I**ndependent | 可獨立開發 |
|
|
117
|
+
| **N**egotiable | 細節可協商 |
|
|
118
|
+
| **V**aluable | 提供商業價值 |
|
|
119
|
+
| **E**stimable | 可估算 |
|
|
120
|
+
| **S**mall | 一個 Sprint 可完成 |
|
|
121
|
+
| **T**estable | 有明確驗收條件 |
|
|
122
|
+
|
|
123
|
+
## 與 BDD/TDD 整合
|
|
124
|
+
|
|
125
|
+
```
|
|
126
|
+
ATDD Level (Business Acceptance)
|
|
127
|
+
│
|
|
128
|
+
└─▶ BDD Level (Behavior Specification)
|
|
129
|
+
│
|
|
130
|
+
└─▶ TDD Level (Unit Implementation)
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
## 使用方式
|
|
134
|
+
|
|
135
|
+
- `/atdd` - 啟動互動式 ATDD 會話
|
|
136
|
+
- `/atdd "user can reset password"` - 針對特定功能進行 ATDD
|
|
137
|
+
- `/atdd US-123` - 針對既有使用者故事進行 ATDD
|
|
138
|
+
|
|
139
|
+
## 階段檢查清單
|
|
140
|
+
|
|
141
|
+
### 工作坊階段
|
|
142
|
+
- [ ] PO 出席
|
|
143
|
+
- [ ] 使用者故事已說明
|
|
144
|
+
- [ ] AC 以 Given-When-Then 格式撰寫
|
|
145
|
+
- [ ] 已記錄超出範圍項目
|
|
146
|
+
|
|
147
|
+
### 提煉階段
|
|
148
|
+
- [ ] AC 已轉換為可執行測試
|
|
149
|
+
- [ ] 測試沒有模糊性
|
|
150
|
+
- [ ] PO 已簽署
|
|
151
|
+
|
|
152
|
+
### 開發階段
|
|
153
|
+
- [ ] 驗收測試初始失敗
|
|
154
|
+
- [ ] 使用 BDD/TDD 進行實作
|
|
155
|
+
- [ ] 所有驗收測試通過
|
|
156
|
+
|
|
157
|
+
### 展示階段
|
|
158
|
+
- [ ] 展示環境已就緒
|
|
159
|
+
- [ ] 展示測試通過
|
|
160
|
+
- [ ] PO 正式接受
|
|
161
|
+
|
|
162
|
+
## 參考
|
|
163
|
+
|
|
164
|
+
- 核心標準:[acceptance-test-driven-development.md](../../core/acceptance-test-driven-development.md)
|
|
165
|
+
- Skill:[atdd-assistant](../atdd-assistant/SKILL.md)
|
|
166
|
+
- 方法論:[atdd.methodology.yaml](../../methodologies/atdd.methodology.yaml)
|
|
167
|
+
- 方法論系統:[methodology-system](../methodology-system/SKILL.md)
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
---
|
|
2
|
+
source: ../../../../skills/commands/audit.md
|
|
3
|
+
source_version: 1.0.0
|
|
4
|
+
translation_version: 1.0.0
|
|
5
|
+
last_synced: 2026-03-25
|
|
6
|
+
status: current
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
description: "[UDS] UDS health check and feedback system, diagnose installation integrity and detect development patterns"
|
|
11
|
+
allowed-tools: Read, Grep, Glob, Bash(git log:*, uds audit:*)
|
|
12
|
+
argument-hint: "[--health | --patterns | --friction | --report]"
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# 審計助手
|
|
16
|
+
|
|
17
|
+
UDS 健康檢查與回饋系統——診斷安裝完整性與偵測開發模式。
|
|
18
|
+
|
|
19
|
+
## 工作流程
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
DIAGNOSE ──► ANALYZE ──► REPORT
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## 使用方式
|
|
26
|
+
|
|
27
|
+
- `/audit` - 執行完整審計
|
|
28
|
+
- `/audit --health` - 安裝健康檢查
|
|
29
|
+
- `/audit --patterns` - 偵測開發模式
|
|
30
|
+
- `/audit --friction` - 識別摩擦點
|
|
31
|
+
- `/audit --report` - 生成完整報告
|
|
32
|
+
|
|
33
|
+
## AI Agent Behavior | AI 代理行為
|
|
34
|
+
|
|
35
|
+
> 遵循 [AI Command Behavior Standards](../../core/ai-command-behavior.md)
|
|
36
|
+
|
|
37
|
+
### Entry Router | 進入路由
|
|
38
|
+
|
|
39
|
+
| 輸入 | AI 動作 |
|
|
40
|
+
|------|---------|
|
|
41
|
+
| `/audit` | 執行完整審計(health + patterns + friction) |
|
|
42
|
+
| `/audit --health` | 僅檢查 UDS 安裝完整性 |
|
|
43
|
+
| `/audit --patterns` | 僅偵測開發模式 |
|
|
44
|
+
| `/audit --friction` | 僅識別摩擦點 |
|
|
45
|
+
| `/audit --report` | 生成完整報告(含建議) |
|
|
46
|
+
|
|
47
|
+
### Interaction Script | 互動腳本
|
|
48
|
+
|
|
49
|
+
1. 依模式執行對應的診斷
|
|
50
|
+
2. 收集分析結果
|
|
51
|
+
3. 生成報告
|
|
52
|
+
|
|
53
|
+
**決策:健康狀態**
|
|
54
|
+
- IF ERROR 級問題 → 建議執行 `uds init` 或 `uds check --restore`
|
|
55
|
+
- IF WARNING 級問題 → 列出建議,使用者自行決定
|
|
56
|
+
- IF 全部 OK → 展示健康摘要
|
|
57
|
+
|
|
58
|
+
🛑 **STOP**: 報告展示後等待使用者決定
|
|
59
|
+
|
|
60
|
+
### Stop Points | 停止點
|
|
61
|
+
|
|
62
|
+
| 停止點 | 等待內容 |
|
|
63
|
+
|--------|---------|
|
|
64
|
+
| 報告展示後 | 使用者決定採取行動 |
|
|
65
|
+
|
|
66
|
+
### Error Handling | 錯誤處理
|
|
67
|
+
|
|
68
|
+
| 錯誤條件 | AI 動作 |
|
|
69
|
+
|----------|---------|
|
|
70
|
+
| UDS 未安裝 | 建議執行 `uds init` |
|
|
71
|
+
| `.standards/` 目錄不存在 | 告知 UDS 標準未安裝 |
|
|
72
|
+
|
|
73
|
+
## 參考
|
|
74
|
+
|
|
75
|
+
- 完整標準:[audit-assistant](../audit-assistant/SKILL.md)
|
|
@@ -7,7 +7,7 @@ status: experimental
|
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
---
|
|
10
|
-
description:
|
|
10
|
+
description: [UDS] Guide through Behavior-Driven Development workflow
|
|
11
11
|
allowed-tools: Read, Write, Grep, Glob, Bash(npm test:*), Bash(npx:*)
|
|
12
12
|
argument-hint: "[要實作的行為或場景 | behavior or scenario to implement]"
|
|
13
13
|
status: experimental
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
---
|
|
2
|
+
source: ../../../../skills/commands/brainstorm.md
|
|
3
|
+
source_version: 1.0.0
|
|
4
|
+
translation_version: 1.0.0
|
|
5
|
+
last_synced: 2026-03-19
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
name: brainstorm
|
|
10
|
+
description: "[UDS] Structured AI-assisted brainstorming before spec creation"
|
|
11
|
+
argument-hint: "[problem or feature idea | 問題或功能構想]"
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# 腦力激盪助手
|
|
15
|
+
|
|
16
|
+
> **Language**: [English](../../../../skills/commands/brainstorm.md) | 繁體中文
|
|
17
|
+
|
|
18
|
+
在撰寫規格前進行結構化發想。透過引導式腦力激盪,將模糊構想轉化為可執行的功能提案。
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## 用法
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
/brainstorm [problem or feature idea]
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## 工作流程
|
|
29
|
+
|
|
30
|
+
```
|
|
31
|
+
FRAME ──► DIVERGE ──► CONVERGE ──► OUTPUT
|
|
32
|
+
定義問題 發散思考 收斂評估 輸出提案
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
| 階段 | 目標 | 關鍵技法 |
|
|
36
|
+
|------|------|----------|
|
|
37
|
+
| **FRAME** | 清楚定義問題 | 5 Whys, HMW, Stakeholder Map |
|
|
38
|
+
| **DIVERGE** | 產生大量想法 | HMW, SCAMPER, Six Thinking Hats |
|
|
39
|
+
| **CONVERGE** | 評估與排序 | Evaluation Matrix, Dot Voting |
|
|
40
|
+
| **OUTPUT** | 可執行的報告 | Brainstorm Report template |
|
|
41
|
+
|
|
42
|
+
## 技法
|
|
43
|
+
|
|
44
|
+
| 技法 | 適用場景 |
|
|
45
|
+
|------|----------|
|
|
46
|
+
| **5 Whys** | 找到根本原因 |
|
|
47
|
+
| **HMW** | 將問題重構為機會 |
|
|
48
|
+
| **SCAMPER** | 改善現有功能 |
|
|
49
|
+
| **Six Thinking Hats** | 多角度分析 |
|
|
50
|
+
| **Dot Voting** | 快速排序 |
|
|
51
|
+
|
|
52
|
+
## 範例
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
/brainstorm # 啟動互動式會話
|
|
56
|
+
/brainstorm "user retention" # 針對特定主題腦力激盪
|
|
57
|
+
/brainstorm --technique scamper # 使用特定技法
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## 輸出格式
|
|
61
|
+
|
|
62
|
+
```markdown
|
|
63
|
+
# Brainstorm Report: [Topic]
|
|
64
|
+
|
|
65
|
+
## Problem Statement
|
|
66
|
+
[Refined problem from FRAME phase]
|
|
67
|
+
|
|
68
|
+
## Top 3 Recommendations
|
|
69
|
+
1. **[Idea]** — Score: X.X — [Why recommended]
|
|
70
|
+
2. **[Idea]** — Score: X.X — [Why recommended]
|
|
71
|
+
3. **[Idea]** — Score: X.X — [Why recommended]
|
|
72
|
+
|
|
73
|
+
## Next Steps
|
|
74
|
+
- [ ] Proceed to `/requirement` with top idea
|
|
75
|
+
- [ ] Proceed to `/sdd` if requirements are clear
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
## 後續步驟
|
|
79
|
+
|
|
80
|
+
腦力激盪後,典型的工作流程為:
|
|
81
|
+
|
|
82
|
+
1. `/brainstorm` - 結構化發想(本命令)
|
|
83
|
+
2. `/requirement` - 撰寫使用者故事和需求
|
|
84
|
+
3. `/sdd` - 建立規格文件
|
|
85
|
+
4. `/derive-all` 或 `/tdd` - 以測試保護進行實作
|
|
86
|
+
|
|
87
|
+
## 參考
|
|
88
|
+
|
|
89
|
+
* [Brainstorm Assistant Skill](../brainstorm-assistant/SKILL.md)
|
|
90
|
+
* [Requirement Assistant](../requirement-assistant/SKILL.md)
|
|
91
|
+
* [Spec-Driven Development](../spec-driven-dev/SKILL.md)
|