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,273 @@
|
|
|
1
|
+
---
|
|
2
|
+
source: ../../../../skills/commands/init.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] Initialize development standards in current project
|
|
10
|
+
allowed-tools: Read, Bash(uds init:*), Bash(npx:*)
|
|
11
|
+
argument-hint: "[--level N | --yes]"
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# 初始化標準
|
|
15
|
+
|
|
16
|
+
> **Language**: [English](../../../../skills/commands/init.md) | 繁體中文
|
|
17
|
+
|
|
18
|
+
在當前專案初始化 Universal Development Standards。
|
|
19
|
+
|
|
20
|
+
## 互動模式(預設)
|
|
21
|
+
|
|
22
|
+
當不帶 `--yes` 執行時,使用 AskUserQuestion 詢問用戶偏好後再執行。
|
|
23
|
+
|
|
24
|
+
### 步驟 1:偵測專案
|
|
25
|
+
|
|
26
|
+
首先,CLI 會自動偵測專案特性:
|
|
27
|
+
- 程式語言(JavaScript、TypeScript、Python、Go 等)
|
|
28
|
+
- 框架(React、Vue、Express 等)
|
|
29
|
+
- AI 工具(Claude Code、Cursor、Copilot 等)
|
|
30
|
+
|
|
31
|
+
### 步驟 2:詢問 AI 工具選擇
|
|
32
|
+
|
|
33
|
+
使用 AskUserQuestion(多選)詢問要配置哪些 AI 工具:
|
|
34
|
+
|
|
35
|
+
| AI 工具 | 整合檔案 | Skills 支援 | Commands 支援 |
|
|
36
|
+
|---------|----------|-------------|---------------|
|
|
37
|
+
| **Claude Code** | `CLAUDE.md` | ✅ | ❌ |
|
|
38
|
+
| **Cursor** | `.cursorrules` | ✅ | ❌ |
|
|
39
|
+
| **Windsurf** | `.windsurfrules` | ✅ | ❌ |
|
|
40
|
+
| **Cline** | `.clinerules` | ✅ | ❌ |
|
|
41
|
+
| **GitHub Copilot** | `.github/copilot-instructions.md` | ✅ | ✅ |
|
|
42
|
+
| **OpenCode** | `AGENTS.md` | ✅ | ✅ |
|
|
43
|
+
| **Gemini CLI** | `GEMINI.md` | ✅ | ✅ |
|
|
44
|
+
| **Codex** | `AGENTS.md` | ✅ | ❌ |
|
|
45
|
+
| **Antigravity** | `INSTRUCTIONS.md` | ✅ | ❌ |
|
|
46
|
+
|
|
47
|
+
預選環境中偵測到的工具。注意:Codex 和 OpenCode 共用 `AGENTS.md`。
|
|
48
|
+
|
|
49
|
+
### 步驟 3:詢問 Skills 安裝
|
|
50
|
+
|
|
51
|
+
對於支援 Skills 的工具,根據工具數量使用**智能分組**策略。
|
|
52
|
+
|
|
53
|
+
**重要:AskUserQuestion 最多只能有 4 個選項。** 使用智能分組來處理。
|
|
54
|
+
|
|
55
|
+
#### 策略 A:1-2 個工具 → 合併詢問
|
|
56
|
+
|
|
57
|
+
**範例(僅 Claude Code):**
|
|
58
|
+
```
|
|
59
|
+
Question: "Skills 要安裝到哪裡?"
|
|
60
|
+
Options:
|
|
61
|
+
1. Plugin Marketplace (建議) - 自動更新,易於管理
|
|
62
|
+
2. User Level (~/.claude/skills/) - 所有專案共用
|
|
63
|
+
3. Project Level (.claude/skills/) - 僅此專案
|
|
64
|
+
4. 跳過 - 不安裝 Skills
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
**範例(Claude Code + OpenCode):**
|
|
68
|
+
```
|
|
69
|
+
Question: "Skills 要安裝到哪裡?"
|
|
70
|
+
Options:
|
|
71
|
+
1. Plugin Marketplace + OpenCode Project Level (建議)
|
|
72
|
+
2. 全部 User Level - 所有專案共用
|
|
73
|
+
3. 全部 Project Level - 僅此專案
|
|
74
|
+
4. 跳過 - 不安裝 Skills
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
#### 策略 B:3+ 個工具 → 兩階段詢問
|
|
78
|
+
|
|
79
|
+
**第一階段:詢問統一或個別**
|
|
80
|
+
```
|
|
81
|
+
Question: "您選擇了 3 個以上的 AI 工具,Skills 安裝層級要如何設定?"
|
|
82
|
+
Options:
|
|
83
|
+
1. 統一層級 (建議) - 所有工具使用相同層級
|
|
84
|
+
2. 個別設定 - 為每個工具分別選擇層級
|
|
85
|
+
3. 跳過 - 不安裝 Skills
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
**第二階段 a:如果統一 → 詢問一次層級**
|
|
89
|
+
```
|
|
90
|
+
Question: "所有 Skills 要安裝到哪個層級?"
|
|
91
|
+
Options:
|
|
92
|
+
1. User Level - 所有專案共用
|
|
93
|
+
2. Project Level (建議) - 僅此專案
|
|
94
|
+
```
|
|
95
|
+
注意:Claude Code 預設使用 Plugin Marketplace;只有其他工具使用所選層級。
|
|
96
|
+
|
|
97
|
+
**第二階段 b:如果個別 → 逐工具詢問**
|
|
98
|
+
為每個工具分別詢問(參見策略 A 範例)。
|
|
99
|
+
|
|
100
|
+
### 步驟 4:詢問 Commands 安裝
|
|
101
|
+
|
|
102
|
+
對於支援 Commands 的工具(OpenCode、Copilot、Gemini CLI),使用**智能分組**策略。
|
|
103
|
+
|
|
104
|
+
**重要:AskUserQuestion 最多只能有 4 個選項。** 使用智能分組來處理。
|
|
105
|
+
|
|
106
|
+
#### 策略 A:1-2 個工具 → 合併詢問
|
|
107
|
+
|
|
108
|
+
**範例(僅 OpenCode):**
|
|
109
|
+
```
|
|
110
|
+
Question: "Commands 要安裝到哪裡?"
|
|
111
|
+
Options:
|
|
112
|
+
1. User Level (~/.config/opencode/command/) - 所有專案共用
|
|
113
|
+
2. Project Level (.opencode/command/) - 僅此專案 (建議)
|
|
114
|
+
3. 跳過 - 使用 Skills 即可
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
**範例(OpenCode + Copilot):**
|
|
118
|
+
```
|
|
119
|
+
Question: "Commands 要安裝到哪裡?"
|
|
120
|
+
Options:
|
|
121
|
+
1. 全部 User Level - 所有專案共用
|
|
122
|
+
2. 全部 Project Level (建議) - 僅此專案
|
|
123
|
+
3. 跳過 - 使用 Skills 即可
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
#### 策略 B:3+ 個工具 → 兩階段詢問
|
|
127
|
+
|
|
128
|
+
**第一階段:詢問統一或個別**
|
|
129
|
+
```
|
|
130
|
+
Question: "您選擇了多個支援 Commands 的 AI 工具,安裝層級要如何設定?"
|
|
131
|
+
Options:
|
|
132
|
+
1. 統一層級 (建議) - 所有工具使用相同層級
|
|
133
|
+
2. 個別設定 - 為每個工具分別選擇層級
|
|
134
|
+
3. 跳過 - 不安裝 Commands
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
**第二階段 a:如果統一 → 詢問一次層級**
|
|
138
|
+
```
|
|
139
|
+
Question: "所有 Commands 要安裝到哪個層級?"
|
|
140
|
+
Options:
|
|
141
|
+
1. User Level - 所有專案共用
|
|
142
|
+
2. Project Level (建議) - 僅此專案
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
**第二階段 b:如果個別 → 逐工具詢問**
|
|
146
|
+
為每個工具分別詢問(參見策略 A 範例)。
|
|
147
|
+
|
|
148
|
+
### 步驟 5:詢問標準範圍
|
|
149
|
+
|
|
150
|
+
使用 AskUserQuestion(僅在安裝 Skills 時顯示):
|
|
151
|
+
|
|
152
|
+
| 選項 | 說明 |
|
|
153
|
+
|------|------|
|
|
154
|
+
| **Lean(建議)** | 僅參考文件,Skills 提供即時任務指導 |
|
|
155
|
+
| **Complete** | 安裝所有標準檔案,不依賴 Skills |
|
|
156
|
+
|
|
157
|
+
### 步驟 6:詢問採用層級
|
|
158
|
+
|
|
159
|
+
使用 AskUserQuestion:
|
|
160
|
+
|
|
161
|
+
| 選項 | 說明 |
|
|
162
|
+
|------|------|
|
|
163
|
+
| **Level 1:Starter** | 6 項核心標準:commit、anti-hallucination、checkin 等 |
|
|
164
|
+
| **Level 2:Professional(建議)** | 新增測試、Git 工作流程、錯誤處理 — 共 12 項 |
|
|
165
|
+
| **Level 3:Complete** | 包含版本控制、日誌、SDD — 全部 16 項標準 |
|
|
166
|
+
|
|
167
|
+
### 步驟 7:詢問標準格式
|
|
168
|
+
|
|
169
|
+
使用 AskUserQuestion:
|
|
170
|
+
|
|
171
|
+
| 選項 | 說明 |
|
|
172
|
+
|------|------|
|
|
173
|
+
| **AI(精簡)** | 針對 AI 消費最佳化(建議) |
|
|
174
|
+
| **Human(詳細)** | 人類可讀的格式 |
|
|
175
|
+
| **Both** | 產生兩種格式 |
|
|
176
|
+
|
|
177
|
+
### 步驟 8:詢問標準選項
|
|
178
|
+
|
|
179
|
+
根據採用層級,詢問:
|
|
180
|
+
- **Git 工作流程**:github-flow、gitflow、trunk-based
|
|
181
|
+
- **合併策略**:squash、merge、rebase
|
|
182
|
+
- **Commit 語言**:english、traditional-chinese、bilingual
|
|
183
|
+
- **測試層級**:unit-testing、integration-testing、e2e-testing
|
|
184
|
+
|
|
185
|
+
### 步驟 9:詢問語言擴展
|
|
186
|
+
|
|
187
|
+
如果偵測到程式語言,詢問是否納入語言特定標準:
|
|
188
|
+
- C# Style Guide
|
|
189
|
+
- PHP Style Guide
|
|
190
|
+
- 等
|
|
191
|
+
|
|
192
|
+
### 步驟 10:詢問框架擴展
|
|
193
|
+
|
|
194
|
+
如果偵測到框架,詢問是否納入框架特定模式:
|
|
195
|
+
- Fat-Free Patterns
|
|
196
|
+
- 等
|
|
197
|
+
|
|
198
|
+
### 步驟 11:詢問地區設定
|
|
199
|
+
|
|
200
|
+
使用 AskUserQuestion:
|
|
201
|
+
|
|
202
|
+
| 選項 | 說明 |
|
|
203
|
+
|------|------|
|
|
204
|
+
| **English(預設)** | 英文文件 |
|
|
205
|
+
| **Traditional Chinese** | 繁體中文文件 |
|
|
206
|
+
|
|
207
|
+
### 步驟 12:詢問內容模式
|
|
208
|
+
|
|
209
|
+
使用 AskUserQuestion 設定整合檔案內容:
|
|
210
|
+
|
|
211
|
+
| 選項 | 說明 |
|
|
212
|
+
|------|------|
|
|
213
|
+
| **Standard(建議)** | 摘要 + 任務對應,AI 知道何時讀取哪項標準 |
|
|
214
|
+
| **Full Embed** | 嵌入所有規則,AI 可立即使用但檔案較大 |
|
|
215
|
+
| **Minimal** | 僅檔案參考,適合搭配 Skills 使用 |
|
|
216
|
+
|
|
217
|
+
### 步驟 13:確認並執行
|
|
218
|
+
|
|
219
|
+
顯示設定摘要並在執行前確認。
|
|
220
|
+
|
|
221
|
+
確認後,CLI 會一次執行所有安裝:
|
|
222
|
+
- 將標準複製到 `.standards/`
|
|
223
|
+
- 產生整合檔案
|
|
224
|
+
- 安裝 Skills(如果已選擇)
|
|
225
|
+
- 安裝 Commands(如果已選擇)
|
|
226
|
+
- 建立 `manifest.json`
|
|
227
|
+
|
|
228
|
+
## 快速模式
|
|
229
|
+
|
|
230
|
+
使用 `--yes` 或特定選項時,跳過互動式問題:
|
|
231
|
+
|
|
232
|
+
```bash
|
|
233
|
+
/init --yes # 使用所有預設值
|
|
234
|
+
/init --level 2 --yes # 指定層級並使用預設值
|
|
235
|
+
/init --skills-location none # 不安裝 Skills
|
|
236
|
+
/init --content-mode standard # 指定內容模式
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
## 選項參考
|
|
240
|
+
|
|
241
|
+
| 選項 | 說明 |
|
|
242
|
+
|------|------|
|
|
243
|
+
| `--yes`, `-y` | 非互動模式 |
|
|
244
|
+
| `--level N` | 採用層級(1、2 或 3) |
|
|
245
|
+
| `--skills-location` | marketplace、user、project 或 none |
|
|
246
|
+
| `--content-mode` | standard、full 或 minimal |
|
|
247
|
+
| `--format` | ai、human 或 both |
|
|
248
|
+
| `-E`, `--experimental` | 啟用實驗性功能(methodology) |
|
|
249
|
+
|
|
250
|
+
詳見 `uds init --help` 取得所有選項。
|
|
251
|
+
|
|
252
|
+
## 採用層級
|
|
253
|
+
|
|
254
|
+
| 層級 | 名稱 | 標準數量 | 說明 |
|
|
255
|
+
|------|------|----------|------|
|
|
256
|
+
| 1 | Starter | 6 | 核心標準(小型專案) |
|
|
257
|
+
| 2 | Professional | 12 | 團隊專業品質標準 |
|
|
258
|
+
| 3 | Complete | 16 | 完整的 16 項標準 |
|
|
259
|
+
|
|
260
|
+
## 安裝內容
|
|
261
|
+
|
|
262
|
+
- `.standards/` 目錄包含核心標準
|
|
263
|
+
- 整合檔案(`CLAUDE.md`、`.cursorrules` 等)
|
|
264
|
+
- Skills(透過 Plugin Marketplace 或本地安裝)
|
|
265
|
+
- Commands(針對支援的 AI 工具)
|
|
266
|
+
- `manifest.json` 用於追蹤安裝狀態
|
|
267
|
+
|
|
268
|
+
## 參考
|
|
269
|
+
|
|
270
|
+
- CLI 文件:`uds init --help`
|
|
271
|
+
- 採用指南:[ADOPTION-GUIDE.md](../../adoption/ADOPTION-GUIDE.md)
|
|
272
|
+
- 檢查指令:[/check](./check.md)
|
|
273
|
+
- 更新指令:[/update](./update.md)
|
|
@@ -7,7 +7,7 @@ status: experimental
|
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
---
|
|
10
|
-
description:
|
|
10
|
+
description: [UDS] Manage development methodology workflow
|
|
11
11
|
allowed-tools: Read, Write, Glob, Grep, Bash(git:*)
|
|
12
12
|
argument-hint: "[action] [argument]"
|
|
13
13
|
status: experimental
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
---
|
|
2
|
+
source: ../../../../skills/commands/metrics.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] Track development metrics, code quality indicators and project health"
|
|
11
|
+
allowed-tools: Read, Grep, Glob, Bash(npm:*, git log:*)
|
|
12
|
+
argument-hint: "[metric type or module | 指標類型或模組]"
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# 指標儀表板助手
|
|
16
|
+
|
|
17
|
+
追蹤開發指標、程式碼品質指示器與專案健康狀態。
|
|
18
|
+
|
|
19
|
+
## 工作流程
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
COLLECT ──► ANALYZE ──► REPORT ──► TREND
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## 使用方式
|
|
26
|
+
|
|
27
|
+
- `/metrics` - 執行全面指標分析
|
|
28
|
+
- `/metrics --quality` - 僅分析程式碼品質指標
|
|
29
|
+
- `/metrics --debt` - 技術債分析
|
|
30
|
+
- `/metrics --test` - 僅分析測試指標
|
|
31
|
+
- `/metrics src/` - 分析指定模組
|
|
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
|
+
| `/metrics` | 執行全面指標分析 |
|
|
42
|
+
| `/metrics --quality` | 僅分析程式碼品質指標 |
|
|
43
|
+
| `/metrics --debt` | 僅分析技術債 |
|
|
44
|
+
| `/metrics --test` | 僅分析測試指標 |
|
|
45
|
+
| `/metrics <path>` | 分析指定模組 |
|
|
46
|
+
|
|
47
|
+
### Interaction Script | 互動腳本
|
|
48
|
+
|
|
49
|
+
1. 偵測專案結構和可用工具
|
|
50
|
+
2. 收集指標資料(git log、測試覆蓋率、程式碼複雜度)
|
|
51
|
+
3. 分析趨勢和異常
|
|
52
|
+
4. 生成報告
|
|
53
|
+
|
|
54
|
+
🛑 **STOP**: 報告展示後等待使用者決定是否採取行動
|
|
55
|
+
|
|
56
|
+
### Stop Points | 停止點
|
|
57
|
+
|
|
58
|
+
| 停止點 | 等待內容 |
|
|
59
|
+
|--------|---------|
|
|
60
|
+
| 報告展示後 | 使用者決定後續行動 |
|
|
61
|
+
|
|
62
|
+
### Error Handling | 錯誤處理
|
|
63
|
+
|
|
64
|
+
| 錯誤條件 | AI 動作 |
|
|
65
|
+
|----------|---------|
|
|
66
|
+
| 無法執行覆蓋率工具 | 跳過該指標,報告可用的其他指標 |
|
|
67
|
+
| git 歷史不足以分析趨勢 | 僅報告當前快照,標記趨勢為 N/A |
|
|
68
|
+
|
|
69
|
+
## 參考
|
|
70
|
+
|
|
71
|
+
- 完整標準:[metrics-dashboard-assistant](../metrics-dashboard-assistant/SKILL.md)
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
---
|
|
2
|
+
source: ../../../../skills/commands/migrate.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 code migration, framework upgrades and technology modernization"
|
|
11
|
+
allowed-tools: Read, Grep, Glob, Bash(npm:*, git:*)
|
|
12
|
+
argument-hint: "[migration target or framework | 遷移目標或框架]"
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# 遷移助手
|
|
16
|
+
|
|
17
|
+
引導程式碼遷移、框架升級與技術現代化。
|
|
18
|
+
|
|
19
|
+
## 工作流程
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
ASSESS ──► PLAN ──► PREPARE ──► MIGRATE ──► VERIFY ──► CLEANUP
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## 使用方式
|
|
26
|
+
|
|
27
|
+
- `/migrate` - 開始互動式遷移指南
|
|
28
|
+
- `/migrate --assess` - 評估遷移範圍和風險
|
|
29
|
+
- `/migrate "Vue 2 to 3"` - 遷移指定框架
|
|
30
|
+
- `/migrate --deps` - 相依套件升級分析
|
|
31
|
+
- `/migrate --rollback` - 回滾策略規劃
|
|
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
|
+
| `/migrate` | 詢問遷移目標,進入 ASSESS |
|
|
42
|
+
| `/migrate --assess` | 直接執行範圍和風險評估 |
|
|
43
|
+
| `/migrate "target"` | 以指定目標進入 ASSESS |
|
|
44
|
+
| `/migrate --deps` | 僅分析相依套件升級 |
|
|
45
|
+
| `/migrate --rollback` | 規劃回滾策略 |
|
|
46
|
+
|
|
47
|
+
### Interaction Script | 互動腳本
|
|
48
|
+
|
|
49
|
+
#### ASSESS 階段
|
|
50
|
+
1. 分析現有程式碼和相依性
|
|
51
|
+
2. 評估風險矩陣(breaking changes、資料遷移、API 變更)
|
|
52
|
+
3. 展示評估報告
|
|
53
|
+
|
|
54
|
+
🛑 **STOP**: 評估報告後等待使用者決定是否繼續
|
|
55
|
+
|
|
56
|
+
#### PLAN 階段
|
|
57
|
+
1. 制定遷移計畫(分階段步驟)
|
|
58
|
+
2. 定義回滾策略
|
|
59
|
+
|
|
60
|
+
🛑 **STOP**: 計畫確認後等待使用者確認
|
|
61
|
+
|
|
62
|
+
#### MIGRATE 階段
|
|
63
|
+
1. 逐步執行遷移
|
|
64
|
+
2. 每個步驟後驗證
|
|
65
|
+
|
|
66
|
+
🛑 **STOP**: 每個主要步驟完成後等待確認
|
|
67
|
+
|
|
68
|
+
#### VERIFY 階段
|
|
69
|
+
1. 執行測試確認遷移成功
|
|
70
|
+
2. 生成驗證報告
|
|
71
|
+
|
|
72
|
+
### Stop Points | 停止點
|
|
73
|
+
|
|
74
|
+
| 階段 | 停止點 | 等待內容 |
|
|
75
|
+
|------|--------|---------|
|
|
76
|
+
| ASSESS | 評估報告後 | 決定是否繼續 |
|
|
77
|
+
| PLAN | 計畫制定後 | 確認計畫 |
|
|
78
|
+
| MIGRATE | 每個主要步驟後 | 確認繼續 |
|
|
79
|
+
|
|
80
|
+
### Error Handling | 錯誤處理
|
|
81
|
+
|
|
82
|
+
| 錯誤條件 | AI 動作 |
|
|
83
|
+
|----------|---------|
|
|
84
|
+
| 遷移步驟失敗 | 建議回滾到上一個檢查點 |
|
|
85
|
+
| 相依性衝突 | 列出衝突,建議解決方案 |
|
|
86
|
+
| 測試失敗 | 報告失敗,建議修復後重試 |
|
|
87
|
+
|
|
88
|
+
## 參考
|
|
89
|
+
|
|
90
|
+
- 完整標準:[migration-assistant](../migration-assistant/SKILL.md)
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
---
|
|
2
|
+
source: ../../../../skills/commands/pr.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 Pull Request creation, review automation and merge strategies"
|
|
11
|
+
allowed-tools: Read, Grep, Glob, Bash(git:*, gh:*)
|
|
12
|
+
argument-hint: "[branch name or PR number | 分支名稱或 PR 編號]"
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# PR 自動化助手
|
|
16
|
+
|
|
17
|
+
引導 Pull Request 建立、審查自動化和合併策略。
|
|
18
|
+
|
|
19
|
+
## 工作流程
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
CREATE ──► REVIEW ──► APPROVE ──► MERGE ──► CLEANUP
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## 使用方式
|
|
26
|
+
|
|
27
|
+
- `/pr` - 開始互動式 PR 建立
|
|
28
|
+
- `/pr create` - 從目前分支建立 PR
|
|
29
|
+
- `/pr --template` - 使用 PR 模板
|
|
30
|
+
- `/pr review 123` - 審查指定 PR
|
|
31
|
+
|
|
32
|
+
## AI Agent Behavior | AI 代理行為
|
|
33
|
+
|
|
34
|
+
> 遵循 [AI Command Behavior Standards](../../core/ai-command-behavior.md)
|
|
35
|
+
|
|
36
|
+
### Entry Router | 進入路由
|
|
37
|
+
|
|
38
|
+
| 輸入 | AI 動作 |
|
|
39
|
+
|------|---------|
|
|
40
|
+
| `/pr` | 檢查當前分支狀態,詢問建立或審查 PR |
|
|
41
|
+
| `/pr create` | 分析當前分支差異,建立 PR |
|
|
42
|
+
| `/pr --template` | 使用 PR 模板建立 |
|
|
43
|
+
| `/pr review <number>` | 審查指定 PR |
|
|
44
|
+
|
|
45
|
+
### Interaction Script | 互動腳本
|
|
46
|
+
|
|
47
|
+
#### CREATE 階段
|
|
48
|
+
1. 確認當前分支和目標分支
|
|
49
|
+
2. 分析 commits,生成 PR title 和 description
|
|
50
|
+
3. 展示 PR 內容預覽
|
|
51
|
+
|
|
52
|
+
🛑 **STOP**: PR 內容確認後等待使用者確認建立
|
|
53
|
+
|
|
54
|
+
#### REVIEW 階段
|
|
55
|
+
1. 取得 PR 差異
|
|
56
|
+
2. 執行程式碼審查(套用 `/review` 標準)
|
|
57
|
+
3. 展示審查結果
|
|
58
|
+
|
|
59
|
+
🛑 **STOP**: 審查結果展示後等待使用者決定
|
|
60
|
+
|
|
61
|
+
### Stop Points | 停止點
|
|
62
|
+
|
|
63
|
+
| 階段 | 停止點 | 等待內容 |
|
|
64
|
+
|------|--------|---------|
|
|
65
|
+
| CREATE | PR 內容預覽後 | 確認建立 |
|
|
66
|
+
| REVIEW | 審查結果後 | 決定後續行動 |
|
|
67
|
+
|
|
68
|
+
### Error Handling | 錯誤處理
|
|
69
|
+
|
|
70
|
+
| 錯誤條件 | AI 動作 |
|
|
71
|
+
|----------|---------|
|
|
72
|
+
| 無遠端分支 | 建議先 push |
|
|
73
|
+
| PR 已存在 | 展示現有 PR,詢問是否更新 |
|
|
74
|
+
| CI 檢查失敗 | 列出失敗項目,建議修復 |
|
|
75
|
+
|
|
76
|
+
## 參考
|
|
77
|
+
|
|
78
|
+
- 完整標準:[pr-automation-assistant](../pr-automation-assistant/SKILL.md)
|
|
@@ -4,7 +4,7 @@ source_version: 1.0.0
|
|
|
4
4
|
translation_version: 1.0.0
|
|
5
5
|
last_synced: 2026-01-21
|
|
6
6
|
status: current
|
|
7
|
-
description:
|
|
7
|
+
description: [UDS] Guide refactoring decisions and strategy selection
|
|
8
8
|
allowed-tools: Read, Write, Grep, Glob, Bash(npm test:*), Bash(npx:*)
|
|
9
9
|
argument-hint: "[scope: tactical | strategic | legacy | decide | debt]"
|
|
10
10
|
status: stable
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
---
|
|
2
|
+
source: ../../../../skills/commands/release.md
|
|
3
|
+
source_version: 1.0.0
|
|
4
|
+
translation_version: 1.0.0
|
|
5
|
+
last_synced: 2026-03-19
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
name: release
|
|
10
|
+
description: [UDS] Manage release process and changelogs.
|
|
11
|
+
argument-hint: "[start|finish|changelog] <version>"
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# /release 命令
|
|
15
|
+
|
|
16
|
+
> **Language**: [English](../../../../skills/commands/release.md) | 繁體中文
|
|
17
|
+
|
|
18
|
+
根據語義化版本管理發布流程和變更日誌。
|
|
19
|
+
|
|
20
|
+
## 用法
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
/release [subcommand] [version]
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
### 子命令
|
|
27
|
+
|
|
28
|
+
| 子命令 | 說明 |
|
|
29
|
+
|--------|------|
|
|
30
|
+
| `start` | 開始一個發布分支/流程 |
|
|
31
|
+
| `finish` | 完成發布(標籤、合併) |
|
|
32
|
+
| `changelog` | 產生或更新 CHANGELOG.md |
|
|
33
|
+
| `check` | 執行預發布檢查 |
|
|
34
|
+
|
|
35
|
+
## 變更日誌管理
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
/release changelog [version]
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
更新 `CHANGELOG.md`,流程如下:
|
|
42
|
+
1. 將「Unreleased」中的變更移到新的 `[version]` 區段。
|
|
43
|
+
2. 建立新的「Unreleased」區段。
|
|
44
|
+
3. 更新底部的比較連結。
|
|
45
|
+
|
|
46
|
+
## 範例
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
# 開始發布 v1.2.0
|
|
50
|
+
/release start 1.2.0
|
|
51
|
+
|
|
52
|
+
# 更新 v1.2.0 的變更日誌
|
|
53
|
+
/release changelog 1.2.0
|
|
54
|
+
|
|
55
|
+
# 完成發布
|
|
56
|
+
/release finish 1.2.0
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
## 參考
|
|
60
|
+
|
|
61
|
+
* [發布標準技能](../release-standards/SKILL.md)
|
|
62
|
+
* [變更日誌指南](../changelog-guide/SKILL.md)
|
|
63
|
+
* [核心規範](../../core/versioning.md)
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
---
|
|
2
|
+
source: ../../../../skills/commands/requirement.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] Write user stories and requirements following INVEST criteria
|
|
10
|
+
allowed-tools: Read, Write, Grep, Glob
|
|
11
|
+
argument-hint: "[feature name or description | 功能名稱或描述]"
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# 需求助手
|
|
15
|
+
|
|
16
|
+
> **Language**: [English](../../../../skills/commands/requirement.md) | 繁體中文
|
|
17
|
+
|
|
18
|
+
撰寫結構良好的用戶故事和需求文件,遵循 INVEST 標準。
|
|
19
|
+
|
|
20
|
+
## 工作流程
|
|
21
|
+
|
|
22
|
+
1. **了解背景** - 收集功能相關資訊
|
|
23
|
+
2. **識別利害關係人** - 誰會從這個功能受益?
|
|
24
|
+
3. **撰寫用戶故事** - 遵循標準格式
|
|
25
|
+
4. **定義驗收標準** - 具體、可測試的條件
|
|
26
|
+
5. **INVEST 驗證** - 檢查品質標準
|
|
27
|
+
|
|
28
|
+
## 用戶故事格式
|
|
29
|
+
|
|
30
|
+
```markdown
|
|
31
|
+
As a [role],
|
|
32
|
+
I want [feature],
|
|
33
|
+
So that [benefit].
|
|
34
|
+
|
|
35
|
+
### Acceptance Criteria
|
|
36
|
+
|
|
37
|
+
- [ ] Given [context], when [action], then [result]
|
|
38
|
+
- [ ] Given [context], when [action], then [result]
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## INVEST 標準
|
|
42
|
+
|
|
43
|
+
| 標準 | 說明 |
|
|
44
|
+
|------|------|
|
|
45
|
+
| **I**ndependent | 可獨立開發 |
|
|
46
|
+
| **N**egotiable | 可協商細節 |
|
|
47
|
+
| **V**aluable | 提供用戶價值 |
|
|
48
|
+
| **E**stimable | 可估算工作量 |
|
|
49
|
+
| **S**mall | 適合單一迭代 |
|
|
50
|
+
| **T**estable | 有明確測試標準 |
|
|
51
|
+
|
|
52
|
+
## 使用方式
|
|
53
|
+
|
|
54
|
+
- `/requirement` - 互動式需求撰寫精靈
|
|
55
|
+
- `/requirement user login` - 為特定功能撰寫需求
|
|
56
|
+
- `/requirement "users can export data"` - 根據描述撰寫
|
|
57
|
+
|
|
58
|
+
## 參考
|
|
59
|
+
|
|
60
|
+
- 完整標準:[requirement-assistant](../requirement-assistant/SKILL.md)
|
|
61
|
+
- 核心指南:[requirements-standards](../../core/requirement-engineering.md)
|