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,100 @@
|
|
|
1
|
+
---
|
|
2
|
+
source: ../../../core/security-standards.md
|
|
3
|
+
source_version: 1.1.0
|
|
4
|
+
translation_version: 1.1.0
|
|
5
|
+
last_synced: 2026-03-24
|
|
6
|
+
status: current
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
> **语言**: [English](../../../core/security-standards.md) | 简体中文
|
|
10
|
+
|
|
11
|
+
# 安全标准
|
|
12
|
+
|
|
13
|
+
**版本**: 1.1.0
|
|
14
|
+
**最后更新**: 2026-01-29
|
|
15
|
+
**适用范围**: 所有软件项目
|
|
16
|
+
**范围**: universal
|
|
17
|
+
**行业标准**: OWASP Top 10 (2021), OWASP ASVS v4.0, NIST SP 800-53
|
|
18
|
+
**参考**: [owasp.org](https://owasp.org/Top10/)
|
|
19
|
+
|
|
20
|
+
> **详细说明和示例请参阅 [安全指南](../../../core/guides/security-guide.md)**
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## 目的
|
|
25
|
+
|
|
26
|
+
本标准定义软件开发的综合安全指南,涵盖安全编码实践、漏洞预防、认证/授权和安全测试。
|
|
27
|
+
|
|
28
|
+
**参考标准**:
|
|
29
|
+
- [OWASP Top 10 (2021)](https://owasp.org/Top10/)
|
|
30
|
+
- [OWASP ASVS v4.0](https://owasp.org/www-project-application-security-verification-standard/)
|
|
31
|
+
- [NIST SP 800-53](https://csrc.nist.gov/publications/detail/sp/800-53/rev-5/final)
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## 核心安全原则
|
|
36
|
+
|
|
37
|
+
| 原则 | 实施方式 |
|
|
38
|
+
|------|---------|
|
|
39
|
+
| **最小权限** | 基于角色的访问控制、限时令牌 |
|
|
40
|
+
| **安全失败** | 认证错误时拒绝访问,不暴露堆栈跟踪 |
|
|
41
|
+
| **职责分离** | 开发/部署/管理使用不同角色 |
|
|
42
|
+
| **纵深防御** | 不依赖单一控制措施 |
|
|
43
|
+
| **默认安全** | 安全默认值,选择性开启较不安全的选项 |
|
|
44
|
+
| **零信任** | 验证每个请求,假设已被入侵 |
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## OWASP Top 10 预防清单
|
|
49
|
+
|
|
50
|
+
| 漏洞 | 预防措施 |
|
|
51
|
+
|------|---------|
|
|
52
|
+
| **A01: 失效的访问控制** | 默认拒绝、服务端检查、验证所有权 |
|
|
53
|
+
| **A02: 加密失败** | 加密 PII、使用 TLS 1.3、使用密钥管理 |
|
|
54
|
+
| **A03: 注入** | 参数化查询、输入验证、使用 ORM |
|
|
55
|
+
| **A04: 不安全设计** | 威胁建模、在规格中包含安全需求 |
|
|
56
|
+
| **A05: 安全配置错误** | 移除默认值、禁用未使用功能、安全头 |
|
|
57
|
+
| **A06: 易受攻击的组件** | 维护 SBOM、使用 npm audit/Snyk 扫描、快速修补 |
|
|
58
|
+
| **A07: 认证失败** | 强密码、MFA、安全会话 |
|
|
59
|
+
| **A08: 完整性失败** | 代码签名、验证校验和、安全 CI/CD |
|
|
60
|
+
| **A09: 日志记录失败** | 记录安全事件、保护日志完整性 |
|
|
61
|
+
| **A10: SSRF** | URL 白名单、阻止内部 IP |
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
## 必需的安全头
|
|
66
|
+
|
|
67
|
+
```http
|
|
68
|
+
Content-Security-Policy: default-src 'self'; script-src 'self'
|
|
69
|
+
X-Content-Type-Options: nosniff
|
|
70
|
+
X-Frame-Options: DENY
|
|
71
|
+
Strict-Transport-Security: max-age=31536000; includeSubDomains
|
|
72
|
+
X-XSS-Protection: 0
|
|
73
|
+
Referrer-Policy: strict-origin-when-cross-origin
|
|
74
|
+
Permissions-Policy: camera=(), microphone=(), geolocation=()
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## 安全测试
|
|
80
|
+
|
|
81
|
+
| 测试类型 | 工具 | 频率 |
|
|
82
|
+
|---------|------|------|
|
|
83
|
+
| **SAST**(静态分析) | SonarQube, CodeQL, Semgrep | 每次提交 |
|
|
84
|
+
| **DAST**(动态分析) | OWASP ZAP, Burp Suite | 每次发布 |
|
|
85
|
+
| **SCA**(依赖扫描) | npm audit, Snyk, Dependabot | 每日 |
|
|
86
|
+
| **密钥扫描** | git-secrets, TruffleHog | 每次提交 |
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## 相关标准
|
|
91
|
+
|
|
92
|
+
- [部署标准](deployment-standards.md)
|
|
93
|
+
- [性能标准](performance-standards.md)
|
|
94
|
+
- [测试标准](testing-standards.md)
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
## 许可证
|
|
99
|
+
|
|
100
|
+
本标准采用 [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) 发布。
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
---
|
|
2
|
+
source: ../../../core/systematic-debugging.md
|
|
3
|
+
source_version: 1.0.0
|
|
4
|
+
translation_version: 1.0.0
|
|
5
|
+
last_synced: 2026-03-24
|
|
6
|
+
status: current
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
> **语言**: [English](../../../core/systematic-debugging.md) | 简体中文
|
|
10
|
+
|
|
11
|
+
# 系统化调试工作流
|
|
12
|
+
|
|
13
|
+
**版本**: 1.0.0
|
|
14
|
+
**最后更新**: 2026-03-20
|
|
15
|
+
**适用范围**: 所有使用 AI 辅助开发的软件项目
|
|
16
|
+
**范围**: universal
|
|
17
|
+
**灵感来源**: [Superpowers](https://github.com/obra/superpowers) — systematic-debugging (MIT)
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## 目的
|
|
22
|
+
|
|
23
|
+
定义结构化的四阶段调试工作流,防止常见的"猜测修复"反模式。强制要求在尝试修复前先进行根因分析,并包含 **3-Strike Rule** 以提早发现架构问题。
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## 术语表
|
|
28
|
+
|
|
29
|
+
| 术语 | 定义 |
|
|
30
|
+
|------|------|
|
|
31
|
+
| 根因 | 缺陷存在的根本原因,而非仅仅是症状 |
|
|
32
|
+
| 3-Strike Rule | 连续 3 次修复尝试失败后,怀疑架构问题 |
|
|
33
|
+
| 反向追踪 | 从错误症状追溯到产生源头 |
|
|
34
|
+
| 组件边界 | 两个模块或子系统之间的接口 |
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## 核心原则 — 铁律
|
|
39
|
+
|
|
40
|
+
> **禁止跳过根因分析直接修复。**
|
|
41
|
+
|
|
42
|
+
如果你发现自己在说"快速修复"、"试试看"或"现在应该可以了" — **停下来**,回到阶段 1。
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
## 四个阶段
|
|
47
|
+
|
|
48
|
+
### 阶段 1:根因调查
|
|
49
|
+
|
|
50
|
+
分析错误消息并追踪最近变更,形成初步假设。
|
|
51
|
+
|
|
52
|
+
1. **仔细阅读错误** — 识别失败的确切位置和类型
|
|
53
|
+
2. **追踪最近变更** — 使用 `git log`、`git diff`、`git blame` 查找变更内容
|
|
54
|
+
3. **在组件边界添加诊断** — 在模块接口处插入日志/断点
|
|
55
|
+
4. **记录观察** — 记录所见并形成初步假设
|
|
56
|
+
|
|
57
|
+
### 阶段 2:模式分析
|
|
58
|
+
|
|
59
|
+
将失败代码与类似的成功实现进行比较。
|
|
60
|
+
|
|
61
|
+
1. **搜索类似的成功实现** — 在代码库中查找
|
|
62
|
+
2. **识别差异** — 比较失败和成功代码之间的不同
|
|
63
|
+
3. **检查最近的变更** — 确认是否有回归引入
|
|
64
|
+
4. **验证假设** — 通过额外的日志/测试确认
|
|
65
|
+
|
|
66
|
+
### 阶段 3:修复实施
|
|
67
|
+
|
|
68
|
+
基于确认的根因实施修复。
|
|
69
|
+
|
|
70
|
+
1. **先写测试** — 创建复现问题的失败测试
|
|
71
|
+
2. **实施最小修复** — 只修改必需的内容
|
|
72
|
+
3. **验证修复** — 测试现在应通过
|
|
73
|
+
4. **检查副作用** — 运行完整测试套件
|
|
74
|
+
|
|
75
|
+
### 阶段 4:回顾
|
|
76
|
+
|
|
77
|
+
防止类似问题再次发生。
|
|
78
|
+
|
|
79
|
+
1. **记录根因** — 在提交消息中说明
|
|
80
|
+
2. **评估是否需要额外测试** — 防止回归
|
|
81
|
+
3. **检查是否有类似模式** — 其他地方是否有同样的问题
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
## 3-Strike Rule
|
|
86
|
+
|
|
87
|
+
| 尝试 | 动作 |
|
|
88
|
+
|------|------|
|
|
89
|
+
| 第 1 次失败 | 重新审视假设,添加更多诊断 |
|
|
90
|
+
| 第 2 次失败 | 扩大调查范围,考虑上游原因 |
|
|
91
|
+
| 第 3 次失败 | **停止** — 怀疑架构问题,寻求审查 |
|
|
92
|
+
|
|
93
|
+
连续 3 次修复失败后,问题很可能不在你认为的地方。需要退后一步,重新审视整体架构。
|
|
94
|
+
|
|
95
|
+
---
|
|
96
|
+
|
|
97
|
+
## 相关标准
|
|
98
|
+
|
|
99
|
+
- [验证证据](verification-evidence.md)
|
|
100
|
+
- [测试标准](testing-standards.md)
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
## 许可证
|
|
105
|
+
|
|
106
|
+
本标准采用 [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) 发布。
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
---
|
|
2
|
+
source: ../../../core/test-governance.md
|
|
3
|
+
source_version: 1.0.0
|
|
4
|
+
translation_version: 1.0.0
|
|
5
|
+
last_synced: 2026-03-24
|
|
6
|
+
status: current
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
> **语言**: [English](../../../core/test-governance.md) | 简体中文
|
|
10
|
+
|
|
11
|
+
# 测试治理标准
|
|
12
|
+
|
|
13
|
+
**适用范围**: 所有软件项目
|
|
14
|
+
**范围**: universal
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## 概述
|
|
19
|
+
|
|
20
|
+
测试治理标准定义测试活动的策略、完成条件和环境管理策略。本标准将 ISO/IEC/IEEE 29119 正式过程与敏捷/Scrum 实践相结合。
|
|
21
|
+
|
|
22
|
+
## 参考
|
|
23
|
+
|
|
24
|
+
| 标准/来源 | 内容 |
|
|
25
|
+
|-----------|------|
|
|
26
|
+
| ISO/IEC/IEEE 29119-2 | 测试过程 |
|
|
27
|
+
| ISO/IEC/IEEE 29119-3 | 测试文档(测试计划/测试用例) |
|
|
28
|
+
| ISO/IEC/IEEE 12207 | 验证过程 + 集成过程 |
|
|
29
|
+
| 敏捷/Scrum 指南 | 完成定义(DoD) |
|
|
30
|
+
| ISTQB 基础教学大纲 | 测试级别、测试类型 |
|
|
31
|
+
| Mike Cohn 测试金字塔 | 金字塔经验比例(推荐默认值) |
|
|
32
|
+
|
|
33
|
+
## 术语
|
|
34
|
+
|
|
35
|
+
| 术语 | 标准来源 | 描述 |
|
|
36
|
+
|------|---------|------|
|
|
37
|
+
| 完成定义(DoD) | 敏捷/Scrum | 任务/功能完成的检查清单 |
|
|
38
|
+
| 测试完成条件 | ISO 29119-2 | 测试活动的退出条件 |
|
|
39
|
+
| 系统集成测试 | ISO 12207 | 非正式 ISO 术语,但为行业标准 |
|
|
40
|
+
| 金字塔比例 70/20/7/3 | Mike Cohn(经验值) | 推荐默认值,非强制 |
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## 测试策略
|
|
45
|
+
|
|
46
|
+
### 品质目标
|
|
47
|
+
|
|
48
|
+
| ID | 名称 | 度量 |
|
|
49
|
+
|----|------|------|
|
|
50
|
+
| QO-1 | 功能正确性 | 测试通过率 >= 95% |
|
|
51
|
+
| QO-2 | 回归预防 | CI 中零回归失败 |
|
|
52
|
+
| QO-3 | 代码品质 | 零 lint/类型错误,静态分析通过 |
|
|
53
|
+
|
|
54
|
+
### 级别归属
|
|
55
|
+
|
|
56
|
+
| 级别 | 负责人 | 环境 | 金字塔比例 |
|
|
57
|
+
|------|--------|------|-----------|
|
|
58
|
+
| 单元测试(UT) | 开发者 | 本地 | 70% |
|
|
59
|
+
| 集成测试(IT) | 开发者 | 本地 / CI | 20% |
|
|
60
|
+
| 系统测试(ST) | QA / 开发者 | CI / SIT | 7% |
|
|
61
|
+
| E2E 测试 | QA | 预发布 | 3% |
|
|
62
|
+
|
|
63
|
+
### 静态分析
|
|
64
|
+
|
|
65
|
+
在测试执行前运行静态分析工具:
|
|
66
|
+
|
|
67
|
+
- `ruff check .`(Python)
|
|
68
|
+
- `eslint .`(TypeScript/JavaScript)
|
|
69
|
+
- `cargo clippy`(Rust)
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## 测试完成条件
|
|
74
|
+
|
|
75
|
+
### 按级别定义
|
|
76
|
+
|
|
77
|
+
| 级别 | 完成条件 |
|
|
78
|
+
|------|---------|
|
|
79
|
+
| **单元测试** | 所有测试通过、覆盖率 >= 目标、无 TODO 测试 |
|
|
80
|
+
| **集成测试** | API 契约验证通过、数据库迁移测试通过 |
|
|
81
|
+
| **系统测试** | 所有用户场景通过、性能目标达标 |
|
|
82
|
+
| **E2E 测试** | 关键用户流程通过、无阻塞级缺陷 |
|
|
83
|
+
|
|
84
|
+
### 完成定义(DoD)检查清单
|
|
85
|
+
|
|
86
|
+
- [ ] 所有测试通过
|
|
87
|
+
- [ ] 代码审查已完成
|
|
88
|
+
- [ ] 文档已更新
|
|
89
|
+
- [ ] 无已知阻塞级缺陷
|
|
90
|
+
- [ ] 性能目标达标
|
|
91
|
+
- [ ] 安全扫描通过
|
|
92
|
+
|
|
93
|
+
---
|
|
94
|
+
|
|
95
|
+
## 环境管理
|
|
96
|
+
|
|
97
|
+
| 环境 | 用途 | 数据 |
|
|
98
|
+
|------|------|------|
|
|
99
|
+
| **本地** | 开发和单元测试 | 模拟数据 |
|
|
100
|
+
| **CI** | 自动化测试 | 测试夹具 |
|
|
101
|
+
| **SIT** | 集成测试 | 模拟数据 |
|
|
102
|
+
| **预发布** | E2E 和验收测试 | 脱敏生产数据 |
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
## 相关标准
|
|
107
|
+
|
|
108
|
+
- [测试标准](testing-standards.md)
|
|
109
|
+
- [验证证据](verification-evidence.md)
|
|
110
|
+
- [部署标准](deployment-standards.md)
|
|
111
|
+
|
|
112
|
+
---
|
|
113
|
+
|
|
114
|
+
## 许可证
|
|
115
|
+
|
|
116
|
+
本标准采用 [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) 发布。
|