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,51 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: [UDS] Reverse engineer code into SDD specification document
|
|
3
|
+
allowed-tools: Read, Grep, Glob, Write
|
|
4
|
+
argument-hint: "[source file or directory | 源文件或目录]"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# /reverse-sdd — Reverse Engineer to SDD Spec | 逆向工程为 SDD 规格
|
|
8
|
+
|
|
9
|
+
Reverse engineer existing code into a structured SDD specification document.
|
|
10
|
+
|
|
11
|
+
将现有代码逆向工程为结构化的 SDD 规格文件。
|
|
12
|
+
|
|
13
|
+
## Workflow | 工作流程
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
Source Code ──► Analyze ──► Extract Requirements ──► Generate SPEC-XXX.md
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
1. **扫描**源代码结构和依赖关系
|
|
20
|
+
2. **提取**隐含需求、API 契约、业务规则
|
|
21
|
+
3. **分类**每项发现的确定性:`[Confirmed]`、`[Inferred]`、`[Assumption]`
|
|
22
|
+
4. **生成** SDD 合规的规格文件
|
|
23
|
+
5. **审查**生成的规格以确保准确性
|
|
24
|
+
|
|
25
|
+
## Output Format | 输出格式
|
|
26
|
+
|
|
27
|
+
```markdown
|
|
28
|
+
# [SPEC-XXX] Feature: [Reverse-Engineered Name]
|
|
29
|
+
|
|
30
|
+
## Overview
|
|
31
|
+
[Inferred] Based on analysis of src/auth/...
|
|
32
|
+
|
|
33
|
+
## Requirements
|
|
34
|
+
- REQ-001: [Confirmed] User authentication via OAuth2
|
|
35
|
+
- REQ-002: [Inferred] Session timeout after 30 minutes
|
|
36
|
+
|
|
37
|
+
## Acceptance Criteria
|
|
38
|
+
- AC-1: [Confirmed] Given valid credentials, when login, then session created
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Usage | 使用方式
|
|
42
|
+
|
|
43
|
+
| Command | Purpose | 用途 |
|
|
44
|
+
|---------|---------|------|
|
|
45
|
+
| `/reverse-sdd src/auth/` | Reverse engineer auth module | 逆向工程 auth 模块 |
|
|
46
|
+
| `/reverse-sdd` | Interactive — ask for target | 交互式 — 询问目标 |
|
|
47
|
+
|
|
48
|
+
## Reference | 参考
|
|
49
|
+
|
|
50
|
+
- Parent command: [/reverse](../reverse-engineer/SKILL.md)
|
|
51
|
+
- Core standard: [reverse-engineering-standards.md](../../core/reverse-engineering-standards.md)
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: [UDS] Analyze BDD-TDD coverage gaps
|
|
3
|
+
allowed-tools: Read, Grep, Glob, Write
|
|
4
|
+
argument-hint: "[feature file or test directory | Feature 文件或测试目录]"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# /reverse-tdd — Analyze BDD-TDD Coverage Gaps | 分析 BDD-TDD 覆盖差距
|
|
8
|
+
|
|
9
|
+
Analyze gaps between BDD scenarios and TDD test coverage.
|
|
10
|
+
|
|
11
|
+
分析 BDD 场景与 TDD 测试覆盖之间的差距。
|
|
12
|
+
|
|
13
|
+
## Workflow | 工作流程
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
.feature + tests/ ──► Map Scenarios ──► Find Gaps ──► Report
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
1. **解析**现有 `.feature` 文件中的场景
|
|
20
|
+
2. **扫描**测试文件中对应的单元测试
|
|
21
|
+
3. **映射** BDD 场景到 TDD 测试覆盖
|
|
22
|
+
4. **识别**覆盖差距(没有单元测试的场景)
|
|
23
|
+
5. **生成**差距报告及建议
|
|
24
|
+
|
|
25
|
+
## Output Format | 输出格式
|
|
26
|
+
|
|
27
|
+
```markdown
|
|
28
|
+
# BDD-TDD Coverage Gap Analysis
|
|
29
|
+
|
|
30
|
+
## Coverage Summary
|
|
31
|
+
- Total BDD Scenarios: 12
|
|
32
|
+
- Covered by TDD: 9 (75%)
|
|
33
|
+
- Gaps Found: 3
|
|
34
|
+
|
|
35
|
+
## Gaps
|
|
36
|
+
| Scenario | Feature File | Missing TDD |
|
|
37
|
+
|----------|-------------|-------------|
|
|
38
|
+
| Password reset | auth.feature:15 | No unit test for token validation |
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Usage | 使用方式
|
|
42
|
+
|
|
43
|
+
| Command | Purpose | 用途 |
|
|
44
|
+
|---------|---------|------|
|
|
45
|
+
| `/reverse-tdd features/` | Analyze all feature files | 分析所有 feature 文件 |
|
|
46
|
+
| `/reverse-tdd features/auth.feature` | Analyze specific feature | 分析特定 feature |
|
|
47
|
+
|
|
48
|
+
## Reference | 参考
|
|
49
|
+
|
|
50
|
+
- Parent command: [/reverse](../reverse-engineer/SKILL.md)
|
|
51
|
+
- Core standard: [reverse-engineering-standards.md](../../core/reverse-engineering-standards.md)
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: reverse
|
|
3
|
+
description: [UDS] Reverse engineer code to Specs, BDD, or TDD coverage.
|
|
4
|
+
argument-hint: "[spec|bdd|tdd] <input> [--output <file>]"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Reverse Engineering | 逆向工程
|
|
8
|
+
|
|
9
|
+
Reverse engineer existing code or tests into specifications and scenarios.
|
|
10
|
+
|
|
11
|
+
将现有代码或测试逆向工程为规格和场景。
|
|
12
|
+
|
|
13
|
+
## Usage | 用法
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
/reverse [subcommand] <input> [options]
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
### Subcommands | 子命令
|
|
20
|
+
|
|
21
|
+
| Subcommand | Input | Output | Description |
|
|
22
|
+
|------------|-------|--------|-------------|
|
|
23
|
+
| `spec` | Code files/dirs | `SPEC-XXX.md` | 从代码创建 SDD 规格 |
|
|
24
|
+
| `bdd` | `SPEC-XXX.md` | `.feature` | 将规格 AC 转换为 Gherkin |
|
|
25
|
+
| `tdd` | `.feature` | Coverage Report | 分析 feature 的 TDD 覆盖 |
|
|
26
|
+
|
|
27
|
+
### Options | 选项
|
|
28
|
+
|
|
29
|
+
| Option | Description |
|
|
30
|
+
|--------|-------------|
|
|
31
|
+
| `--output` | 输出文件路径 |
|
|
32
|
+
| `--include-tests` | 分析中包含测试文件(用于 `spec`) |
|
|
33
|
+
| `--review` | 生成后触发审查 |
|
|
34
|
+
|
|
35
|
+
## Workflows | 工作流程
|
|
36
|
+
|
|
37
|
+
### 1. Code to Spec (Legacy Recovery)
|
|
38
|
+
```bash
|
|
39
|
+
/reverse spec src/auth/ --output specs/SPEC-AUTH.md
|
|
40
|
+
```
|
|
41
|
+
分析代码逻辑以创建功能规格。
|
|
42
|
+
|
|
43
|
+
### 2. Spec to BDD (Scenario Generation)
|
|
44
|
+
```bash
|
|
45
|
+
/reverse bdd specs/SPEC-AUTH.md --output features/auth.feature
|
|
46
|
+
```
|
|
47
|
+
将规格中的验收标准转换为 Gherkin 场景。
|
|
48
|
+
|
|
49
|
+
### 3. BDD to TDD (Coverage Analysis)
|
|
50
|
+
```bash
|
|
51
|
+
/reverse tdd features/auth.feature
|
|
52
|
+
```
|
|
53
|
+
检查 feature 文件中的场景是否有对应的单元测试。
|
|
54
|
+
|
|
55
|
+
## Anti-Hallucination | 防幻觉
|
|
56
|
+
|
|
57
|
+
* **确定性标签**:在输出中使用 `[Confirmed]`、`[Inferred]`、`[Unknown]` 标签。
|
|
58
|
+
* **来源归因**:为所有逆向逻辑引用 `file:line`。
|
|
59
|
+
|
|
60
|
+
## References | 参考
|
|
61
|
+
|
|
62
|
+
* [Reverse Engineering Skill](../reverse-engineer/SKILL.md)
|
|
63
|
+
* [Core Standard](../../core/reverse-engineering-standards.md)
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: [UDS] Perform systematic code review with checklist
|
|
3
|
+
allowed-tools: Read, Grep, Glob, Bash(git diff:*), Bash(git log:*), Bash(git show:*)
|
|
4
|
+
argument-hint: "[file path or branch | 文件路径或分支名称]"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Code Review Assistant | 代码审查助手
|
|
8
|
+
|
|
9
|
+
Perform systematic code review using standardized checklists and comment prefixes.
|
|
10
|
+
|
|
11
|
+
执行系统性的代码审查,使用标准化的检查清单和评论前缀。
|
|
12
|
+
|
|
13
|
+
## Workflow | 工作流程
|
|
14
|
+
|
|
15
|
+
1. **识别变更** - 获取待审查文件的 diff
|
|
16
|
+
2. **应用检查清单** - 系统性地检查每个类别
|
|
17
|
+
3. **生成报告** - 使用标准前缀输出发现
|
|
18
|
+
4. **总结** - 提供整体评估
|
|
19
|
+
|
|
20
|
+
## Review Categories | 审查类别
|
|
21
|
+
|
|
22
|
+
1. **功能性** - 是否正确运行?
|
|
23
|
+
2. **设计** - 架构是否合适?
|
|
24
|
+
3. **质量** - 代码是否整洁、可维护?
|
|
25
|
+
4. **可读性** - 是否易于理解?
|
|
26
|
+
5. **测试** - 是否有足够的测试覆盖?
|
|
27
|
+
6. **安全性** - 是否有漏洞?
|
|
28
|
+
7. **性能** - 是否高效?
|
|
29
|
+
8. **错误处理** - 是否正确处理错误?
|
|
30
|
+
|
|
31
|
+
## Comment Prefixes | 评论前缀
|
|
32
|
+
|
|
33
|
+
| Prefix | Meaning | Action |
|
|
34
|
+
|--------|---------|--------|
|
|
35
|
+
| **BLOCKING** | 必须在合并前修复 | 必需 |
|
|
36
|
+
| **IMPORTANT** | 应该修复 | 建议 |
|
|
37
|
+
| **SUGGESTION** | 锦上添花 | 可选 |
|
|
38
|
+
| **QUESTION** | 需要澄清 | 讨论 |
|
|
39
|
+
| **NOTE** | 信息性说明 | 仅供参考 |
|
|
40
|
+
|
|
41
|
+
## Usage | 使用方式
|
|
42
|
+
|
|
43
|
+
- `/review` - 审查当前分支的所有变更
|
|
44
|
+
- `/review src/auth.js` - 审查特定文件
|
|
45
|
+
- `/review feature/login` - 审查特定分支
|
|
46
|
+
|
|
47
|
+
## Reference | 参考
|
|
48
|
+
|
|
49
|
+
- Full standard: [code-review-assistant](../code-review-assistant/SKILL.md)
|
|
50
|
+
- Core guide: [code-review-checklist](../../core/code-review-checklist.md)
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
---
|
|
2
|
+
source: ../../../../skills/commands/scan.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 automated security scanning, dependency auditing and secret detection"
|
|
11
|
+
allowed-tools: Read, Grep, Glob, Bash(npm:audit, npx:*)
|
|
12
|
+
argument-hint: "[scan type or target | 扫描类型或目标]"
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# Security Scan Assistant | 安全扫描助手
|
|
16
|
+
|
|
17
|
+
Guide automated security scanning, dependency auditing and secret detection.
|
|
18
|
+
|
|
19
|
+
引导自动化安全扫描、依赖包审计和机密检测。
|
|
20
|
+
|
|
21
|
+
## Workflow | 工作流程
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
SCAN ──► TRIAGE ──► PRIORITIZE ──► FIX ──► VERIFY
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Usage | 使用方式
|
|
28
|
+
|
|
29
|
+
- `/scan` - 执行所有安全扫描
|
|
30
|
+
- `/scan --deps` - 依赖漏洞扫描
|
|
31
|
+
- `/scan --secrets` - 机密检测扫描
|
|
32
|
+
- `/scan --license` - 许可证合规检查
|
|
33
|
+
|
|
34
|
+
## AI Agent Behavior | AI 代理行为
|
|
35
|
+
|
|
36
|
+
> 遵循 [AI Command Behavior Standards](../../core/ai-command-behavior.md)
|
|
37
|
+
|
|
38
|
+
### Entry Router | 进入路由
|
|
39
|
+
|
|
40
|
+
| 输入 | AI 动作 |
|
|
41
|
+
|------|---------|
|
|
42
|
+
| `/scan` | 执行所有扫描类型 |
|
|
43
|
+
| `/scan --deps` | 仅执行依赖包漏洞扫描 |
|
|
44
|
+
| `/scan --secrets` | 仅执行机密检测 |
|
|
45
|
+
| `/scan --license` | 仅执行许可证合规检查 |
|
|
46
|
+
|
|
47
|
+
### Interaction Script | 交互脚本
|
|
48
|
+
|
|
49
|
+
1. 执行指定类型的扫描
|
|
50
|
+
2. 收集结果,依严重程度分类
|
|
51
|
+
3. 展示分类报告
|
|
52
|
+
|
|
53
|
+
**Decision: 扫描结果**
|
|
54
|
+
- IF 发现 Critical/High → 列出 SLA 修复时限,建议立即处理
|
|
55
|
+
- IF 仅 Medium/Low → 列入报告,建议排期处理
|
|
56
|
+
- IF 发现机密泄漏 → 立即警告,建议轮换密钥
|
|
57
|
+
|
|
58
|
+
**STOP**: 报告展示后等待用户决定修复优先顺序
|
|
59
|
+
|
|
60
|
+
### Stop Points | 停止点
|
|
61
|
+
|
|
62
|
+
| 停止点 | 等待内容 |
|
|
63
|
+
|--------|---------|
|
|
64
|
+
| 扫描报告展示后 | 用户决定修复项目 |
|
|
65
|
+
| 修复建议展示后 | 确认应用修复 |
|
|
66
|
+
|
|
67
|
+
### Error Handling | 错误处理
|
|
68
|
+
|
|
69
|
+
| 错误条件 | AI 动作 |
|
|
70
|
+
|----------|---------|
|
|
71
|
+
| 扫描工具未安装 | 建议安装(npm audit 通常内置) |
|
|
72
|
+
| 无 package.json 或 lock 文件 | 告知无法执行依赖扫描 |
|
|
73
|
+
|
|
74
|
+
## Reference | 参考
|
|
75
|
+
|
|
76
|
+
- Full standard: [security-scan-assistant](../security-scan-assistant/SKILL.md)
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: [UDS] Create retroactive specs for untracked feat/fix commits
|
|
3
|
+
allowed-tools: Read, Write, Grep, Glob, Bash(git log:*), Bash(git show:*), Bash(git diff:*), Bash(mkdir:*)
|
|
4
|
+
argument-hint: "[--since=<date> | --last=<N> | 自动扫描]"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Retroactive Spec Generator | 追溯 Spec 生成器
|
|
8
|
+
|
|
9
|
+
Create lightweight specification documents for past changes that were committed without spec tracking.
|
|
10
|
+
|
|
11
|
+
为过去未追踪 spec 的已提交变更,创建轻量规格文件。
|
|
12
|
+
|
|
13
|
+
## Workflow | 工作流程
|
|
14
|
+
|
|
15
|
+
1. **扫描** — 在 `git log` 中搜索消息中没有 `Refs:` 的 `feat`/`fix` commits
|
|
16
|
+
2. **分组** — 按 scope 将相关 commits 聚类
|
|
17
|
+
3. **生成** — 使用标准 SDD 格式创建追溯 spec,状态为 `Status: Draft`
|
|
18
|
+
4. **确认** — 展示给用户审查后再写入 `docs/specs/`
|
|
19
|
+
|
|
20
|
+
## Options | 选项
|
|
21
|
+
|
|
22
|
+
| Option | Description | 说明 |
|
|
23
|
+
|--------|-------------|------|
|
|
24
|
+
| `--since=2026-01-01` | Only scan commits after date | 仅扫描指定日期后的 commits |
|
|
25
|
+
| `--last=20` | Only scan last N commits | 仅扫描最近 N 笔 commits |
|
|
26
|
+
| (no args) | Scan all feat/fix commits | 扫描所有 feat/fix commits |
|
|
27
|
+
|
|
28
|
+
## Usage | 使用方式
|
|
29
|
+
|
|
30
|
+
```
|
|
31
|
+
/sdd-retro # 扫描所有未追踪的 commits
|
|
32
|
+
/sdd-retro --since=2026-01-01
|
|
33
|
+
/sdd-retro --last=10
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Reference | 参考
|
|
37
|
+
|
|
38
|
+
- SDD workflow: [sdd command](sdd.md)
|
|
39
|
+
- Commit standards: [commit command](commit.md)
|
|
40
|
+
- Spec: [SPEC-011](../../docs/specs/cli/shared/SPEC-011-retroactive-spec-tracking.md)
|