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
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
---
|
|
2
|
+
source: ../../../../skills/brainstorm-assistant/SKILL.md
|
|
3
|
+
source_version: 1.0.0
|
|
4
|
+
translation_version: 1.0.0
|
|
5
|
+
last_synced: 2026-03-23
|
|
6
|
+
status: current
|
|
7
|
+
description: |
|
|
8
|
+
在撰写规格前进行结构化 AI 辅助脑力激荡。
|
|
9
|
+
使用时机:功能规划、创意发想、问题定义。
|
|
10
|
+
关键字:brainstorm, ideas, HMW, SCAMPER, 脑力激荡, 发想。
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# 脑力激荡助手
|
|
14
|
+
|
|
15
|
+
> **语言**: [English](../../../../skills/brainstorm-assistant/SKILL.md) | 简体中文
|
|
16
|
+
|
|
17
|
+
在撰写规格前进行结构化发想。通过引导式脑力激荡,将模糊构想转化为可执行的功能提案。
|
|
18
|
+
|
|
19
|
+
## 工作流程
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
FRAME ──► DIVERGE ──► CONVERGE ──► OUTPUT
|
|
23
|
+
定义问题 发散思考 收敛评估 输出提案
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
### 阶段 1:FRAME | 定义问题
|
|
27
|
+
|
|
28
|
+
在产生想法之前,先清楚定义问题空间。
|
|
29
|
+
|
|
30
|
+
| 步骤 | 动作 |
|
|
31
|
+
|------|------|
|
|
32
|
+
| 1 | 用 5 Whys 厘清问题根因 |
|
|
33
|
+
| 2 | 重构为「How Might We」(HMW) 问题 |
|
|
34
|
+
| 3 | 识别利害关系人与限制条件 |
|
|
35
|
+
| 4 | 从代码库搜集脉络(如适用) |
|
|
36
|
+
|
|
37
|
+
### 阶段 2:DIVERGE | 发散思考
|
|
38
|
+
|
|
39
|
+
不加评判地尽可能产生多个想法。
|
|
40
|
+
|
|
41
|
+
| 技法 | 使用时机 |
|
|
42
|
+
|------|----------|
|
|
43
|
+
| **HMW 问题** | 默认起点 |
|
|
44
|
+
| **SCAMPER** | 改善现有功能 |
|
|
45
|
+
| **六顶思考帽** | 需要多角度思考 |
|
|
46
|
+
|
|
47
|
+
### 阶段 3:CONVERGE | 收敛评估
|
|
48
|
+
|
|
49
|
+
使用结构化标准评估与排序想法。
|
|
50
|
+
|
|
51
|
+
| 评估标准 | 权重 |
|
|
52
|
+
|----------|------|
|
|
53
|
+
| 技术可行性 | 30% |
|
|
54
|
+
| 用户影响力 | 30% |
|
|
55
|
+
| 实现成本 | 20% |
|
|
56
|
+
| 目标一致性 | 20% |
|
|
57
|
+
|
|
58
|
+
### 阶段 4:OUTPUT | 输出提案
|
|
59
|
+
|
|
60
|
+
产生可直接对接 `/requirement` 或 `/sdd` 的脑力激荡报告。
|
|
61
|
+
|
|
62
|
+
## 技法速览
|
|
63
|
+
|
|
64
|
+
| 技法 | 用途 | 步骤 |
|
|
65
|
+
|------|------|------|
|
|
66
|
+
| **5 Whys** | 根因分析 | 连问 5 次「为什么?」 |
|
|
67
|
+
| **HMW** | 问题重构 | 「我们如何能 [动词] [成果]?」 |
|
|
68
|
+
| **SCAMPER** | 创意改造 | 7 步骤:替代、结合、调适、修改、另作他用、删除、反转 |
|
|
69
|
+
| **六顶思考帽** | 多角度思考 | 6 种模式:事实、情感、风险、好处、创意、流程 |
|
|
70
|
+
| **点数投票** | 快速排序 | 每人 3 票,投给最看好的想法 |
|
|
71
|
+
|
|
72
|
+
## 输出格式
|
|
73
|
+
|
|
74
|
+
```markdown
|
|
75
|
+
# 脑力激荡报告:[主题]
|
|
76
|
+
|
|
77
|
+
## 问题陈述
|
|
78
|
+
[FRAME 阶段精炼的问题]
|
|
79
|
+
|
|
80
|
+
## HMW 问题
|
|
81
|
+
1. 我们如何能...?
|
|
82
|
+
2. 我们如何能...?
|
|
83
|
+
3. 我们如何能...?
|
|
84
|
+
|
|
85
|
+
## 产生的想法
|
|
86
|
+
| # | 想法 | 来源技法 | 可行性 | 影响力 | 分数 |
|
|
87
|
+
|---|------|----------|--------|--------|------|
|
|
88
|
+
| 1 | ... | SCAMPER | 4/5 | 5/5 | 4.3 |
|
|
89
|
+
| 2 | ... | HMW | 3/5 | 4/5 | 3.5 |
|
|
90
|
+
|
|
91
|
+
## 前 3 名推荐
|
|
92
|
+
1. **[想法名称]** — [推荐原因]
|
|
93
|
+
2. **[想法名称]** — [推荐原因]
|
|
94
|
+
3. **[想法名称]** — [推荐原因]
|
|
95
|
+
|
|
96
|
+
## 后续步骤
|
|
97
|
+
- [ ] 以首选想法进入 `/requirement`
|
|
98
|
+
- [ ] 若需求已明确,直接进入 `/sdd`
|
|
99
|
+
- [ ] 需进一步探索想法 #N
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
## 使用方式
|
|
103
|
+
|
|
104
|
+
- `/brainstorm` — 启动互动式脑力激荡
|
|
105
|
+
- `/brainstorm "用户留存"` — 针对特定主题进行脑力激荡
|
|
106
|
+
- `/brainstorm --technique scamper` — 使用特定技法
|
|
107
|
+
|
|
108
|
+
## 下一步引导
|
|
109
|
+
|
|
110
|
+
`/brainstorm` 完成后,AI 助手应建议:
|
|
111
|
+
|
|
112
|
+
> **脑力激荡完成。建议下一步:**
|
|
113
|
+
> - 执行 `/requirement` 将最佳构想转为用户故事
|
|
114
|
+
> - 执行 `/sdd` 直接建立规格(若需求已明确)
|
|
115
|
+
> - 针对特定构想进行更深入探索
|
|
116
|
+
|
|
117
|
+
## 参考
|
|
118
|
+
|
|
119
|
+
- 详细指南:[guide.md](./guide.md)
|
|
@@ -0,0 +1,82 @@
|
|
|
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: |
|
|
8
|
+
引导 CI/CD 管线设计、配置和优化。
|
|
9
|
+
使用时机:设置管线、优化构建时间、配置部署阶段。
|
|
10
|
+
关键字:CI/CD, pipeline, GitHub Actions, deployment, build, 持续集成, 持续部署。
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# CI/CD 管线助手
|
|
14
|
+
|
|
15
|
+
> **语言**: [English](../../../../skills/ci-cd-assistant/SKILL.md) | 简体中文
|
|
16
|
+
|
|
17
|
+
引导 CI/CD 管线设计,遵循业界最佳实践与 DORA 指标。
|
|
18
|
+
|
|
19
|
+
## 管线阶段参考
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
BUILD ──► TEST ──► ANALYZE ──► DEPLOY ──► VERIFY
|
|
23
|
+
构建 测试 分析 部署 验证
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
| 阶段 | 用途 | 关键活动 |
|
|
27
|
+
|------|------|----------|
|
|
28
|
+
| **Build** | 编译与打包 | 安装依赖、编译、产出制品 |
|
|
29
|
+
| **Test** | 质量验证 | 单元、集成、端到端测试 |
|
|
30
|
+
| **Analyze** | 代码质量 | 代码检查、安全扫描、覆盖率 |
|
|
31
|
+
| **Deploy** | 发布到环境 | 预备环境 → 生产环境部署 |
|
|
32
|
+
| **Verify** | 部署后验证 | 冒烟测试、健康检查、监控 |
|
|
33
|
+
|
|
34
|
+
## DORA 指标快速参考
|
|
35
|
+
|
|
36
|
+
| 指标 | 精英 | 高 | 中 | 低 |
|
|
37
|
+
|------|------|-----|-----|-----|
|
|
38
|
+
| **部署频率** | 按需(每日多次) | 每周至每月 | 每月至半年 | > 6 个月 |
|
|
39
|
+
| **变更前置时间** | < 1 小时 | 1 天至 1 周 | 1 至 6 个月 | > 6 个月 |
|
|
40
|
+
| **MTTR** | < 1 小时 | < 1 天 | 1 天至 1 周 | > 6 个月 |
|
|
41
|
+
| **变更失败率** | 0–15% | 16–30% | 16–30% | > 30% |
|
|
42
|
+
|
|
43
|
+
## 最佳实践检查清单
|
|
44
|
+
|
|
45
|
+
- [ ] **快速失败** — 先执行最快的检查(lint → 单元 → 集成 → E2E)
|
|
46
|
+
- [ ] **缓存依赖** — 在运行之间缓存 `node_modules`、`.m2`、pip cache
|
|
47
|
+
- [ ] **并行作业** — 将测试套件分散到并行执行器
|
|
48
|
+
- [ ] **不可变制品** — 构建一次,将相同制品部署到所有环境
|
|
49
|
+
- [ ] **环境一致** — 保持预备环境与生产环境一致
|
|
50
|
+
- [ ] **密钥管理** — 绝不硬编码密钥;使用 vault/环境变量
|
|
51
|
+
- [ ] **分支保护** — 要求 CI 通过才能合并
|
|
52
|
+
- [ ] **回滚策略** — 部署失败时自动回滚
|
|
53
|
+
|
|
54
|
+
## 平台专属提示
|
|
55
|
+
|
|
56
|
+
| 平台 | 缓存 | 并行化 | 密钥 | 备注 |
|
|
57
|
+
|------|------|--------|------|------|
|
|
58
|
+
| **GitHub Actions** | `actions/cache` | `matrix` 策略 | `secrets.*` | 使用 reusable workflows |
|
|
59
|
+
| **GitLab CI** | `cache:` 关键字 | `parallel:` 关键字 | CI/CD Variables | 使用 `include:` 模块化 |
|
|
60
|
+
| **Jenkins** | Stash/unstash | `parallel {}` 块 | Credentials plugin | 使用 shared libraries |
|
|
61
|
+
|
|
62
|
+
## 使用方式
|
|
63
|
+
|
|
64
|
+
- `/ci-cd` - 显示完整管线指引
|
|
65
|
+
- `/ci-cd github-actions` - GitHub Actions 专属提示
|
|
66
|
+
- `/ci-cd --optimize` - 管线优化建议
|
|
67
|
+
- `/ci-cd build` - 构建阶段最佳实践
|
|
68
|
+
|
|
69
|
+
## 下一步引导
|
|
70
|
+
|
|
71
|
+
`/ci-cd` 完成后,AI 助手应建议:
|
|
72
|
+
|
|
73
|
+
> **管线指引已提供。建议下一步:**
|
|
74
|
+
> - 执行 `/deploy` 设定部署策略
|
|
75
|
+
> - 执行 `/security` 检查管线安全
|
|
76
|
+
> - 执行 `/testing` 设计测试策略
|
|
77
|
+
> - 执行 `/commit` 创建规范化提交
|
|
78
|
+
|
|
79
|
+
## 参考
|
|
80
|
+
|
|
81
|
+
- 核心规范:[pipeline-integration-standards.md](../../../../core/pipeline-integration-standards.md)
|
|
82
|
+
- 核心规范:[deployment-standards.md](../../../../core/deployment-standards.md)
|
|
@@ -0,0 +1,97 @@
|
|
|
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-19
|
|
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 # Analyze specific SPEC
|
|
22
|
+
/ac-coverage specs/SPEC-001.md --threshold 90 # Custom threshold
|
|
23
|
+
/ac-coverage specs/SPEC-001.md --test-dir tests/ # Specify test directory
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## 工作流程
|
|
27
|
+
|
|
28
|
+
1. **解析 SPEC** — 读取规格文件并提取所有 AC 定义(AC-1, AC-2, ...)
|
|
29
|
+
2. **扫描测试** — 搜索测试文件中的 `@AC` 和 `@SPEC` 注解
|
|
30
|
+
3. **构建矩阵** — 将每个 AC 映射到对应的测试引用
|
|
31
|
+
4. **分类状态** — ✅ 已覆盖 | ⚠️ 部分覆盖 | ❌ 未覆盖
|
|
32
|
+
5. **计算覆盖率** — `Coverage % = (covered + partial × 0.5) / total × 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 Coverage Report
|
|
57
|
+
|
|
58
|
+
**Specification**: SPEC-001 — Feature Name
|
|
59
|
+
**Generated**: 2026-03-18
|
|
60
|
+
**Coverage**: 75% (6/8 AC)
|
|
61
|
+
|
|
62
|
+
## Summary
|
|
63
|
+
|
|
64
|
+
| Status | Count | Percentage |
|
|
65
|
+
|--------|-------|------------|
|
|
66
|
+
| ✅ Covered | 5 | 62.5% |
|
|
67
|
+
| ⚠️ Partial | 2 | 25.0% |
|
|
68
|
+
| ❌ Uncovered | 1 | 12.5% |
|
|
69
|
+
|
|
70
|
+
## Traceability Matrix
|
|
71
|
+
|
|
72
|
+
| AC-ID | Description | Status | Test Reference |
|
|
73
|
+
|-------|-------------|--------|----------------|
|
|
74
|
+
| AC-1 | ... | ✅ | test-file.ts:15 |
|
|
75
|
+
|
|
76
|
+
## Gaps
|
|
77
|
+
- **AC-8**: Blocked by external dependency
|
|
78
|
+
|
|
79
|
+
## Action Items
|
|
80
|
+
1. [ ] AC-8: Resolve blocker
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
## 下一步引导
|
|
84
|
+
|
|
85
|
+
`/ac-coverage` 完成后,AI 助手应建议:
|
|
86
|
+
|
|
87
|
+
> **AC 覆盖率分析完成。建议下一步:**
|
|
88
|
+
> - 覆盖率达标 → 执行 `/checkin` 品质关卡
|
|
89
|
+
> - 有未覆盖 AC → 执行 `/derive-tdd` 补齐测试
|
|
90
|
+
> - 有部分覆盖 AC → 检查缺少的边界情况
|
|
91
|
+
|
|
92
|
+
## 参考
|
|
93
|
+
|
|
94
|
+
- [AC Coverage Assistant Skill](../ac-coverage-assistant/SKILL.md)
|
|
95
|
+
- [Core Standard: Acceptance Criteria Traceability](../../core/acceptance-criteria-traceability.md)
|
|
96
|
+
- 相关: [/coverage](./coverage.md) (代码层级覆盖率)
|
|
97
|
+
- 相关: [/checkin](./checkin.md) (品质关卡)
|
|
@@ -0,0 +1,94 @@
|
|
|
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 Design Assistant | API 设计助手
|
|
16
|
+
|
|
17
|
+
Guide API design following REST, GraphQL and gRPC best practices.
|
|
18
|
+
|
|
19
|
+
引导 API 设计,遵循 REST、GraphQL 和 gRPC 最佳实践。
|
|
20
|
+
|
|
21
|
+
## Workflow | 工作流程
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
DEFINE ──► DESIGN ──► VALIDATE ──► DOCUMENT
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
1. **Define** — 收集需求,识别资源和操作
|
|
28
|
+
2. **Design** — 设计端点、请求/响应 schema、错误码
|
|
29
|
+
3. **Validate** — 检查一致性、命名规范、版本控制
|
|
30
|
+
4. **Document** — 生成 API 文档
|
|
31
|
+
|
|
32
|
+
## Usage | 使用方式
|
|
33
|
+
|
|
34
|
+
- `/api-design` - 启动交互式 API 设计会话
|
|
35
|
+
- `/api-design /users` - 为特定资源设计 API
|
|
36
|
+
- `/api-design --graphql` - 使用 GraphQL 方法设计
|
|
37
|
+
|
|
38
|
+
## AI Agent Behavior | AI 代理行为
|
|
39
|
+
|
|
40
|
+
> 遵循 [AI Command Behavior Standards](../../core/ai-command-behavior.md)
|
|
41
|
+
|
|
42
|
+
### Entry Router | 进入路由
|
|
43
|
+
|
|
44
|
+
| 输入 | AI 动作 |
|
|
45
|
+
|------|---------|
|
|
46
|
+
| `/api-design` | 询问 API 需求和目标资源,进入 DEFINE 阶段 |
|
|
47
|
+
| `/api-design <resource>` | 以指定资源为目标,进入 DEFINE |
|
|
48
|
+
| `/api-design --graphql` | 使用 GraphQL 方法设计 |
|
|
49
|
+
|
|
50
|
+
### Interaction Script | 交互脚本
|
|
51
|
+
|
|
52
|
+
#### DEFINE Phase
|
|
53
|
+
1. 收集 API 需求(目标用户、资源、操作)
|
|
54
|
+
2. 确认 API 风格(REST / GraphQL / gRPC)
|
|
55
|
+
|
|
56
|
+
**STOP**: 需求确认后等待用户确认进入 DESIGN
|
|
57
|
+
|
|
58
|
+
#### DESIGN Phase
|
|
59
|
+
1. 设计端点/schema
|
|
60
|
+
2. 定义 request/response 格式
|
|
61
|
+
3. 设计错误码和状态码
|
|
62
|
+
4. 展示设计结果
|
|
63
|
+
|
|
64
|
+
**STOP**: 设计展示后等待用户确认
|
|
65
|
+
|
|
66
|
+
#### VALIDATE Phase
|
|
67
|
+
1. 检查命名一致性、RESTful 惯例
|
|
68
|
+
2. 验证版本策略
|
|
69
|
+
3. 展示验证报告
|
|
70
|
+
|
|
71
|
+
#### DOCUMENT Phase
|
|
72
|
+
1. 生成 API 文档(OpenAPI / GraphQL Schema)
|
|
73
|
+
|
|
74
|
+
**STOP**: 文档生成后等待用户确认写入
|
|
75
|
+
|
|
76
|
+
### Stop Points | 停止点
|
|
77
|
+
|
|
78
|
+
| 阶段 | 停止点 | 等待内容 |
|
|
79
|
+
|------|--------|---------|
|
|
80
|
+
| DEFINE | 需求确认后 | 确认进入 DESIGN |
|
|
81
|
+
| DESIGN | 设计展示后 | 确认设计方案 |
|
|
82
|
+
| DOCUMENT | 文档生成后 | 确认写入 |
|
|
83
|
+
|
|
84
|
+
### Error Handling | 错误处理
|
|
85
|
+
|
|
86
|
+
| 错误条件 | AI 动作 |
|
|
87
|
+
|----------|---------|
|
|
88
|
+
| 无法判断 API 风格 | 列出选项(REST/GraphQL/gRPC),请用户选择 |
|
|
89
|
+
| 资源命名不符惯例 | 建议修正,展示命名规则 |
|
|
90
|
+
|
|
91
|
+
## Reference | 参考
|
|
92
|
+
|
|
93
|
+
- Full standard: [api-design-assistant](../api-design-assistant/SKILL.md)
|
|
94
|
+
- Core guide: [api-design-standards](../../core/api-design-standards.md)
|
|
@@ -0,0 +1,163 @@
|
|
|
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
|
+
> [!WARNING]
|
|
19
|
+
> **实验性功能 / Experimental Feature**
|
|
20
|
+
>
|
|
21
|
+
> 此功能正在积极开发中,可能在 v4.0 中有重大变更。
|
|
22
|
+
> This feature is under active development and may change significantly in v4.0.
|
|
23
|
+
|
|
24
|
+
引导验收测试驱动开发(ATDD)流程,用于定义和实现用户故事。
|
|
25
|
+
|
|
26
|
+
## 方法论集成
|
|
27
|
+
|
|
28
|
+
当调用 `/atdd` 时:
|
|
29
|
+
1. **自动启用 ATDD 方法论**(如果尚未启用)
|
|
30
|
+
2. **将当前阶段设为规格工作坊**(定义验收条件)
|
|
31
|
+
3. **追踪阶段转换**随着工作进展
|
|
32
|
+
4. **在响应中显示阶段指示器**(🤝 工作坊、🧪 提炼、💻 开发、🎬 展示、✅ 完成)
|
|
33
|
+
|
|
34
|
+
详见 [methodology-system](../methodology-system/SKILL.md) 了解完整方法论追踪。
|
|
35
|
+
|
|
36
|
+
## ATDD 循环
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
┌─────────────────────────────────────────────────────────────────┐
|
|
40
|
+
│ │
|
|
41
|
+
│ ┌──────────┐ ┌───────────┐ ┌───────────┐ ┌──────┐ ┌──────┐│
|
|
42
|
+
│ │ WORKSHOP │► │ DISTILL │► │ DEVELOP │► │ DEMO │► │ DONE ││
|
|
43
|
+
│ └──────────┘ └───────────┘ └───────────┘ └──────┘ └──────┘│
|
|
44
|
+
│ ▲ │ │ │
|
|
45
|
+
│ │ │ │ │
|
|
46
|
+
│ └──────────────────────────────┴──────────────┘ │
|
|
47
|
+
│ (Refinement needed) │
|
|
48
|
+
│ │
|
|
49
|
+
└─────────────────────────────────────────────────────────────────┘
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## 工作流程
|
|
53
|
+
|
|
54
|
+
### 1. 规格工作坊 - 定义验收条件
|
|
55
|
+
- PO 提出用户故事
|
|
56
|
+
- 团队提出澄清问题
|
|
57
|
+
- 共同定义验收条件
|
|
58
|
+
- 记录超出范围的项目
|
|
59
|
+
|
|
60
|
+
### 2. 提炼 - 转换为测试
|
|
61
|
+
- 将 AC 转换为可执行的测试格式
|
|
62
|
+
- 消除歧义
|
|
63
|
+
- 获得 PO 签核
|
|
64
|
+
|
|
65
|
+
### 3. 开发 - 实现
|
|
66
|
+
- 运行验收测试(应该先失败)
|
|
67
|
+
- 使用 BDD/TDD 进行实现
|
|
68
|
+
- 迭代直到所有测试通过
|
|
69
|
+
|
|
70
|
+
### 4. 展示 - 向利害关系人展示
|
|
71
|
+
- 展示通过的验收测试
|
|
72
|
+
- 演示工作中的功能
|
|
73
|
+
- 获得 PO 正式验收
|
|
74
|
+
|
|
75
|
+
### 5. 完成
|
|
76
|
+
- PO 已验收
|
|
77
|
+
- 代码已合并
|
|
78
|
+
- 故事已关闭
|
|
79
|
+
|
|
80
|
+
## 用户故事模板
|
|
81
|
+
|
|
82
|
+
```markdown
|
|
83
|
+
## User Story: [Title]
|
|
84
|
+
|
|
85
|
+
**As a** [role]
|
|
86
|
+
**I want** [feature]
|
|
87
|
+
**So that** [benefit]
|
|
88
|
+
|
|
89
|
+
## Acceptance Criteria
|
|
90
|
+
|
|
91
|
+
### AC-1: [Happy path]
|
|
92
|
+
**Given** [precondition]
|
|
93
|
+
**When** [action]
|
|
94
|
+
**Then** [expected result]
|
|
95
|
+
|
|
96
|
+
### AC-2: [Error scenario]
|
|
97
|
+
**Given** [precondition]
|
|
98
|
+
**When** [invalid action]
|
|
99
|
+
**Then** [error handling]
|
|
100
|
+
|
|
101
|
+
## Out of Scope
|
|
102
|
+
- [Things explicitly not included]
|
|
103
|
+
|
|
104
|
+
## Technical Notes
|
|
105
|
+
- [Implementation hints]
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
## INVEST 准则
|
|
109
|
+
|
|
110
|
+
| 准则 | 描述 |
|
|
111
|
+
|------|------|
|
|
112
|
+
| **I**ndependent | 可独立开发 |
|
|
113
|
+
| **N**egotiable | 细节可协商 |
|
|
114
|
+
| **V**aluable | 提供商业价值 |
|
|
115
|
+
| **E**stimable | 可估算 |
|
|
116
|
+
| **S**mall | 一个 Sprint 可完成 |
|
|
117
|
+
| **T**estable | 有明确验收条件 |
|
|
118
|
+
|
|
119
|
+
## 与 BDD/TDD 集成
|
|
120
|
+
|
|
121
|
+
```
|
|
122
|
+
ATDD Level (Business Acceptance)
|
|
123
|
+
│
|
|
124
|
+
└─▶ BDD Level (Behavior Specification)
|
|
125
|
+
│
|
|
126
|
+
└─▶ TDD Level (Unit Implementation)
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
## 使用方式
|
|
130
|
+
|
|
131
|
+
- `/atdd` - 启动互动式 ATDD 会话
|
|
132
|
+
- `/atdd "user can reset password"` - 针对特定功能的 ATDD
|
|
133
|
+
- `/atdd US-123` - 针对现有用户故事的 ATDD
|
|
134
|
+
|
|
135
|
+
## 阶段检查清单
|
|
136
|
+
|
|
137
|
+
### 工作坊阶段
|
|
138
|
+
- [ ] PO 在场
|
|
139
|
+
- [ ] 用户故事已说明
|
|
140
|
+
- [ ] AC 使用 Given-When-Then 格式
|
|
141
|
+
- [ ] 超出范围已记录
|
|
142
|
+
|
|
143
|
+
### 提炼阶段
|
|
144
|
+
- [ ] AC 已转换为可执行测试
|
|
145
|
+
- [ ] 测试无歧义
|
|
146
|
+
- [ ] PO 已签核
|
|
147
|
+
|
|
148
|
+
### 开发阶段
|
|
149
|
+
- [ ] 验收测试最初失败
|
|
150
|
+
- [ ] 使用 BDD/TDD 进行实现
|
|
151
|
+
- [ ] 所有验收测试通过
|
|
152
|
+
|
|
153
|
+
### 展示阶段
|
|
154
|
+
- [ ] 展示环境就绪
|
|
155
|
+
- [ ] 测试显示通过
|
|
156
|
+
- [ ] PO 正式验收
|
|
157
|
+
|
|
158
|
+
## 参考
|
|
159
|
+
|
|
160
|
+
- 核心规范: [acceptance-test-driven-development.md](../../core/acceptance-test-driven-development.md)
|
|
161
|
+
- 技能: [atdd-assistant](../atdd-assistant/SKILL.md)
|
|
162
|
+
- 方法论: [atdd.methodology.yaml](../../methodologies/atdd.methodology.yaml)
|
|
163
|
+
- 方法论系统: [methodology-system](../methodology-system/SKILL.md)
|
|
@@ -0,0 +1,77 @@
|
|
|
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
|
+
# Audit Assistant | 审计助手
|
|
16
|
+
|
|
17
|
+
UDS health check and feedback system — diagnose installation integrity and detect development patterns.
|
|
18
|
+
|
|
19
|
+
UDS 健康检查与反馈系统——诊断安装完整性与检测开发模式。
|
|
20
|
+
|
|
21
|
+
## Workflow | 工作流程
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
DIAGNOSE ──► ANALYZE ──► REPORT
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Usage | 使用方式
|
|
28
|
+
|
|
29
|
+
- `/audit` - 执行完整审计
|
|
30
|
+
- `/audit --health` - 安装健康检查
|
|
31
|
+
- `/audit --patterns` - 检测开发模式
|
|
32
|
+
- `/audit --friction` - 识别摩擦点
|
|
33
|
+
- `/audit --report` - 生成综合报告
|
|
34
|
+
|
|
35
|
+
## AI Agent Behavior | AI 代理行为
|
|
36
|
+
|
|
37
|
+
> 遵循 [AI Command Behavior Standards](../../core/ai-command-behavior.md)
|
|
38
|
+
|
|
39
|
+
### Entry Router | 进入路由
|
|
40
|
+
|
|
41
|
+
| 输入 | AI 动作 |
|
|
42
|
+
|------|---------|
|
|
43
|
+
| `/audit` | 执行完整审计(health + patterns + friction) |
|
|
44
|
+
| `/audit --health` | 仅检查 UDS 安装完整性 |
|
|
45
|
+
| `/audit --patterns` | 仅检测开发模式 |
|
|
46
|
+
| `/audit --friction` | 仅识别摩擦点 |
|
|
47
|
+
| `/audit --report` | 生成完整报告(含建议) |
|
|
48
|
+
|
|
49
|
+
### Interaction Script | 交互脚本
|
|
50
|
+
|
|
51
|
+
1. 依模式执行对应的诊断
|
|
52
|
+
2. 收集分析结果
|
|
53
|
+
3. 生成报告
|
|
54
|
+
|
|
55
|
+
**Decision: 健康状态**
|
|
56
|
+
- IF ERROR 级问题 → 建议执行 `uds init` 或 `uds check --restore`
|
|
57
|
+
- IF WARNING 级问题 → 列出建议,用户自行决定
|
|
58
|
+
- IF 全部 OK → 展示健康摘要
|
|
59
|
+
|
|
60
|
+
**STOP**: 报告展示后等待用户决定
|
|
61
|
+
|
|
62
|
+
### Stop Points | 停止点
|
|
63
|
+
|
|
64
|
+
| 停止点 | 等待内容 |
|
|
65
|
+
|--------|---------|
|
|
66
|
+
| 报告展示后 | 用户决定采取行动 |
|
|
67
|
+
|
|
68
|
+
### Error Handling | 错误处理
|
|
69
|
+
|
|
70
|
+
| 错误条件 | AI 动作 |
|
|
71
|
+
|----------|---------|
|
|
72
|
+
| UDS 未安装 | 建议执行 `uds init` |
|
|
73
|
+
| `.standards/` 目录不存在 | 告知 UDS 标准未安装 |
|
|
74
|
+
|
|
75
|
+
## Reference | 参考
|
|
76
|
+
|
|
77
|
+
- Full standard: [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
|