universal-dev-standards 5.16.0 → 6.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 +13 -135
- package/bundled/ai/standards/acceptance-criteria-traceability.ai.yaml +13 -4
- package/bundled/ai/standards/accessibility-standards.ai.yaml +1 -1
- package/bundled/ai/standards/ai-response-navigation.ai.yaml +15 -2
- package/bundled/ai/standards/api-design-standards.ai.yaml +27 -4
- package/bundled/ai/standards/behavior-snapshot.ai.yaml +86 -9
- package/bundled/ai/standards/checkin-standards.ai.yaml +2 -2
- package/bundled/ai/standards/code-review.ai.yaml +2 -2
- package/bundled/ai/standards/context-aware-loading.ai.yaml +3 -3
- package/bundled/ai/standards/data-migration-testing.ai.yaml +79 -3
- package/bundled/ai/standards/deprecation-standards.ai.yaml +10 -2
- package/bundled/ai/standards/developer-memory.ai.yaml +4 -3
- package/bundled/ai/standards/flow-based-testing.ai.yaml +2 -2
- package/bundled/ai/standards/forward-derivation-standards.ai.yaml +26 -2
- package/bundled/ai/standards/full-coverage-testing.ai.yaml +34 -2
- package/bundled/ai/standards/git-worktree.ai.yaml +3 -3
- package/bundled/ai/standards/logging.ai.yaml +97 -3
- package/bundled/ai/standards/mock-boundary.ai.yaml +48 -2
- package/bundled/ai/standards/model-provenance.ai.yaml +297 -0
- package/bundled/ai/standards/model-selection.ai.yaml +11 -2
- package/bundled/ai/standards/observability-standards.ai.yaml +10 -0
- package/bundled/ai/standards/performance-standards.ai.yaml +46 -1
- package/bundled/ai/standards/pii-classification.ai.yaml +15 -1
- package/bundled/ai/standards/pipeline-security-gates.ai.yaml +10 -0
- package/bundled/ai/standards/privacy-standards.ai.yaml +2 -2
- package/bundled/ai/standards/project-context-memory.ai.yaml +2 -2
- package/bundled/ai/standards/refactoring-standards.ai.yaml +68 -3
- package/bundled/ai/standards/resource-cost-boundary.ai.yaml +279 -0
- package/bundled/ai/standards/reverse-engineering-standards.ai.yaml +55 -2
- package/bundled/ai/standards/security-testing.ai.yaml +13 -2
- package/bundled/ai/standards/skill-standard-alignment-check.ai.yaml +37 -2
- package/bundled/ai/standards/user-journey-testing.ai.yaml +107 -0
- package/bundled/ai/standards/verification-oracle.ai.yaml +278 -0
- package/bundled/ai/standards/versioning.ai.yaml +32 -38
- package/bundled/core/acceptance-criteria-traceability.md +15 -5
- package/bundled/core/accessibility-standards.md +8 -4
- package/bundled/core/ai-friendly-architecture.md +1 -1
- package/bundled/core/ai-response-navigation.md +31 -3
- package/bundled/core/anti-sycophancy-prompting.md +1 -1
- package/bundled/core/api-design-standards.md +92 -7
- package/bundled/core/audit-trail.md +119 -0
- package/bundled/core/behavior-snapshot.md +94 -7
- package/bundled/core/browser-compatibility-standards.md +15 -2
- package/bundled/core/checkin-standards.md +9 -2
- package/bundled/core/code-review-checklist.md +10 -2
- package/bundled/core/container-image-standards.md +97 -0
- package/bundled/core/context-aware-loading.md +2 -2
- package/bundled/core/cost-budget-test.md +1 -1
- package/bundled/core/cross-flow-regression.md +3 -2
- package/bundled/core/data-contract.md +104 -0
- package/bundled/core/data-migration-testing.md +90 -0
- package/bundled/core/data-pipeline.md +113 -0
- package/bundled/core/deprecation-standards.md +16 -2
- package/bundled/core/developer-memory.md +13 -8
- package/bundled/core/documentation-writing-standards.md +1 -1
- package/bundled/core/error-code-standards.md +4 -3
- package/bundled/core/flaky-test-management.md +1 -1
- package/bundled/core/flow-based-testing.md +3 -3
- package/bundled/core/forward-derivation-standards.md +33 -5
- package/bundled/core/full-coverage-testing.md +72 -0
- package/bundled/core/git-worktree.md +4 -4
- package/bundled/core/guides/performance-guide.md +1 -1
- package/bundled/core/guides/security-guide.md +1 -1
- package/bundled/core/health-check-standards.md +2 -2
- package/bundled/core/iac-design-principles.md +97 -0
- package/bundled/core/incident-response.md +119 -0
- package/bundled/core/license-compliance.md +2 -0
- package/bundled/core/logging-standards.md +78 -2
- package/bundled/core/mock-boundary.md +54 -2
- package/bundled/core/model-provenance.md +181 -0
- package/bundled/core/model-selection.md +27 -2
- package/bundled/core/packaging-standards.md +1 -0
- package/bundled/core/performance-standards.md +96 -2
- package/bundled/core/pii-classification.md +148 -0
- package/bundled/core/pipeline-security-gates.md +22 -2
- package/bundled/core/postmortem-standards.md +2 -0
- package/bundled/core/prd-standards.md +91 -0
- package/bundled/core/privacy-standards.md +14 -3
- package/bundled/core/product-metrics-standards.md +100 -0
- package/bundled/core/project-context-memory.md +8 -2
- package/bundled/core/prompt-regression.md +1 -1
- package/bundled/core/refactoring-standards.md +44 -3
- package/bundled/core/replay-test.md +1 -1
- package/bundled/core/resource-cost-boundary.md +180 -0
- package/bundled/core/reverse-engineering-standards.md +66 -2
- package/bundled/core/runbook.md +113 -0
- package/bundled/core/schema-evolution.md +105 -0
- package/bundled/core/secret-management-standards.md +110 -0
- package/bundled/core/security-testing.md +26 -2
- package/bundled/core/self-review-protocol.md +2 -2
- package/bundled/core/skill-standard-alignment-check.md +53 -0
- package/bundled/core/slo-sli.md +109 -0
- package/bundled/core/smoke-test.md +1 -1
- package/bundled/core/spec-driven-development.md +21 -3
- package/bundled/core/tech-debt-standards.md +1 -1
- package/bundled/core/test-data-standards.md +2 -2
- package/bundled/core/user-journey-testing.md +102 -0
- package/bundled/core/user-story-mapping.md +96 -0
- package/bundled/core/verification-oracle.md +167 -0
- package/bundled/core/versioning.md +133 -109
- package/bundled/locales/COVERAGE.md +84 -73
- package/bundled/locales/zh-CN/CHANGELOG.md +81 -6
- package/bundled/locales/zh-CN/CLAUDE.md +1 -1
- package/bundled/locales/zh-CN/README.md +22 -9
- package/bundled/locales/zh-CN/SECURITY.md +1 -1
- package/bundled/locales/zh-CN/adoption/DAILY-WORKFLOW-GUIDE.md +2 -2
- package/bundled/locales/zh-CN/core/acceptance-criteria-traceability.md +4 -6
- package/bundled/locales/zh-CN/core/accessibility-standards.md +1 -1
- package/bundled/locales/zh-CN/core/adversarial-test.md +226 -0
- package/bundled/locales/zh-CN/core/agent-behavior-discipline.md +187 -0
- package/bundled/locales/zh-CN/core/ai-response-navigation.md +32 -6
- package/bundled/locales/zh-CN/core/anti-sycophancy-prompting.md +1 -1
- package/bundled/locales/zh-CN/core/api-design-standards.md +1 -1
- package/bundled/locales/zh-CN/core/behavior-snapshot.md +335 -0
- package/bundled/locales/zh-CN/core/browser-compatibility-standards.md +229 -0
- package/bundled/locales/zh-CN/core/cd-deployment-strategies.md +135 -0
- package/bundled/locales/zh-CN/core/chaos-injection-tests.md +130 -0
- package/bundled/locales/zh-CN/core/checkin-standards.md +1 -1
- package/bundled/locales/zh-CN/core/code-review-checklist.md +1 -1
- package/bundled/locales/zh-CN/core/container-security.md +535 -0
- package/bundled/locales/zh-CN/core/context-aware-loading.md +1 -1
- package/bundled/locales/zh-CN/core/contract-testing-standards.md +191 -0
- package/bundled/locales/zh-CN/core/cost-budget-test.md +86 -0
- package/bundled/locales/zh-CN/core/cross-flow-regression.md +199 -0
- package/bundled/locales/zh-CN/core/data-migration-testing.md +217 -0
- package/bundled/locales/zh-CN/core/deployment-standards.md +328 -9
- package/bundled/locales/zh-CN/core/deprecation-standards.md +1 -1
- package/bundled/locales/zh-CN/core/developer-memory.md +2 -2
- package/bundled/locales/zh-CN/core/disaster-recovery-drill.md +87 -0
- package/bundled/locales/zh-CN/core/documentation-structure.md +1 -1
- package/bundled/locales/zh-CN/core/documentation-writing-standards.md +1 -1
- package/bundled/locales/zh-CN/core/error-code-standards.md +2 -2
- package/bundled/locales/zh-CN/core/feature-manifest-standard.md +222 -0
- package/bundled/locales/zh-CN/core/flaky-test-management.md +87 -0
- package/bundled/locales/zh-CN/core/flow-based-testing.md +284 -0
- package/bundled/locales/zh-CN/core/forward-derivation-standards.md +3 -4
- package/bundled/locales/zh-CN/core/full-coverage-testing.md +197 -0
- package/bundled/locales/zh-CN/core/git-worktree.md +1 -1
- package/bundled/locales/zh-CN/core/governance-layer.md +160 -0
- package/bundled/locales/zh-CN/core/guides/performance-guide.md +515 -0
- package/bundled/locales/zh-CN/core/guides/security-guide.md +494 -0
- package/bundled/locales/zh-CN/core/knowledge-graph-memory.md +128 -0
- package/bundled/locales/zh-CN/core/license-compliance.md +129 -0
- package/bundled/locales/zh-CN/core/llm-output-validation.md +192 -0
- package/bundled/locales/zh-CN/core/logging-standards.md +130 -8
- package/bundled/locales/zh-CN/core/mock-boundary.md +109 -0
- package/bundled/locales/zh-CN/core/model-selection.md +28 -5
- package/bundled/locales/zh-CN/core/mutation-testing.md +106 -0
- package/bundled/locales/zh-CN/core/no-cicd-deployment.md +219 -0
- package/bundled/locales/zh-CN/core/packaging-standards.md +76 -5
- package/bundled/locales/zh-CN/core/pipeline-security-gates.md +126 -0
- package/bundled/locales/zh-CN/core/policy-as-code-testing.md +203 -0
- package/bundled/locales/zh-CN/core/privacy-standards.md +1 -1
- package/bundled/locales/zh-CN/core/project-context-memory.md +1 -1
- package/bundled/locales/zh-CN/core/prompt-regression.md +88 -0
- package/bundled/locales/zh-CN/core/property-based-testing.md +87 -0
- package/bundled/locales/zh-CN/core/release-quality-manifest.md +207 -0
- package/bundled/locales/zh-CN/core/release-readiness-gate.md +193 -0
- package/bundled/locales/zh-CN/core/replay-test.md +102 -0
- package/bundled/locales/zh-CN/core/reverse-engineering-standards.md +46 -1
- package/bundled/locales/zh-CN/core/rollback-standards.md +120 -0
- package/bundled/locales/zh-CN/core/sast-advanced.md +309 -0
- package/bundled/locales/zh-CN/core/secure-op.md +328 -0
- package/bundled/locales/zh-CN/core/security-testing.md +96 -0
- package/bundled/locales/zh-CN/core/self-review-protocol.md +167 -0
- package/bundled/locales/zh-CN/core/server-ops-security.md +507 -0
- package/bundled/locales/zh-CN/core/smoke-test.md +79 -0
- package/bundled/locales/zh-CN/core/spec-driven-development.md +55 -5
- package/bundled/locales/zh-CN/core/supply-chain-attestation.md +131 -0
- package/bundled/locales/zh-CN/core/versioning.md +1 -1
- package/bundled/locales/zh-CN/docs/CHEATSHEET.md +31 -6
- package/bundled/locales/zh-CN/docs/FEATURE-REFERENCE.md +61 -34
- package/bundled/locales/zh-CN/docs/MIGRATION-v6.md +88 -0
- package/bundled/locales/zh-CN/docs/USAGE-MODES-COMPARISON.md +2 -2
- package/bundled/locales/zh-CN/docs/USER-MANUAL.md +14 -14
- package/bundled/locales/zh-CN/docs/specs/system/memory-adoption-strategy.md +105 -0
- package/bundled/locales/zh-CN/docs/user/FAQ.md +132 -0
- package/bundled/locales/zh-CN/docs/user/GETTING-STARTED.md +144 -0
- package/bundled/locales/zh-CN/docs/user/GLOSSARY.md +178 -0
- package/bundled/locales/zh-CN/docs/user/README.md +70 -0
- package/bundled/locales/zh-CN/docs/user/TROUBLESHOOTING.md +190 -0
- package/bundled/locales/zh-CN/integrations/github-copilot/COPILOT-CHAT-REFERENCE.md +1 -1
- package/bundled/locales/zh-CN/integrations/github-copilot/README.md +1 -1
- package/bundled/locales/zh-CN/integrations/github-copilot/skills-mapping.md +3 -3
- package/bundled/locales/zh-CN/integrations/opencode/skills-mapping.md +3 -3
- package/bundled/locales/zh-CN/methodologies/guides/sdd-guide.md +836 -0
- package/bundled/locales/zh-CN/options/changelog/auto-generated.md +166 -0
- package/bundled/locales/zh-CN/options/changelog/keep-a-changelog.md +140 -0
- package/bundled/locales/zh-CN/options/code-review/automated-review.md +214 -0
- package/bundled/locales/zh-CN/options/code-review/pair-programming.md +166 -0
- package/bundled/locales/zh-CN/options/code-review/pr-review.md +167 -0
- package/bundled/locales/zh-CN/options/documentation/api-docs.md +191 -0
- package/bundled/locales/zh-CN/options/documentation/markdown-docs.md +150 -0
- package/bundled/locales/zh-CN/options/documentation/wiki-style.md +131 -0
- package/bundled/locales/zh-CN/options/project-structure/kotlin.md +144 -0
- package/bundled/locales/zh-CN/options/project-structure/php.md +168 -0
- package/bundled/locales/zh-CN/options/project-structure/ruby.md +156 -0
- package/bundled/locales/zh-CN/options/project-structure/rust.md +136 -0
- package/bundled/locales/zh-CN/options/project-structure/swift.md +165 -0
- package/bundled/locales/zh-CN/options/testing/contract-testing.md +237 -0
- package/bundled/locales/zh-CN/options/testing/industry-pyramid.md +200 -0
- package/bundled/locales/zh-CN/options/testing/istqb-framework.md +144 -0
- package/bundled/locales/zh-CN/options/testing/performance-testing.md +251 -0
- package/bundled/locales/zh-CN/options/testing/security-testing.md +192 -0
- package/bundled/locales/zh-CN/skills/README.md +89 -126
- package/bundled/locales/zh-CN/skills/ac-coverage/SKILL.md +5 -7
- package/bundled/locales/zh-CN/skills/adr-assistant/SKILL.md +1 -1
- package/bundled/locales/zh-CN/skills/agents/code-architect.md +263 -0
- package/bundled/locales/zh-CN/skills/agents/doc-writer.md +410 -0
- package/bundled/locales/zh-CN/skills/agents/reviewer.md +357 -0
- package/bundled/locales/zh-CN/skills/agents/spec-analyst.md +410 -0
- package/bundled/locales/zh-CN/skills/agents/test-specialist.md +368 -0
- package/bundled/locales/zh-CN/skills/ai-collaboration-standards/SKILL.md +2 -2
- package/bundled/locales/zh-CN/skills/ai-friendly-architecture/SKILL.md +2 -2
- package/bundled/locales/zh-CN/skills/ai-instruction-standards/SKILL.md +1 -1
- package/bundled/locales/zh-CN/skills/atdd-assistant/acceptance-criteria-guide.md +1 -1
- package/bundled/locales/zh-CN/skills/atdd-assistant/atdd-workflow.md +3 -4
- package/bundled/locales/zh-CN/skills/audit-assistant/SKILL.md +2 -2
- package/bundled/locales/zh-CN/skills/bdd-assistant/guide.md +1 -2
- package/bundled/locales/zh-CN/skills/brainstorm-assistant/SKILL.md +109 -13
- package/bundled/locales/zh-CN/skills/brainstorm-assistant/guide.md +30 -8
- package/bundled/locales/zh-CN/skills/checkin-assistant/SKILL.md +1 -1
- package/bundled/locales/zh-CN/skills/ci-cd-assistant/SKILL.md +50 -0
- package/bundled/locales/zh-CN/skills/code-review-assistant/SKILL.md +5 -5
- package/bundled/locales/zh-CN/skills/commands/ac-coverage.md +1 -1
- package/bundled/locales/zh-CN/skills/commands/atdd.md +3 -3
- package/bundled/locales/zh-CN/skills/commands/bdd.md +2 -2
- package/bundled/locales/zh-CN/skills/commands/brainstorm.md +26 -17
- package/bundled/locales/zh-CN/skills/commands/{review.md → code-review.md} +4 -4
- package/bundled/locales/zh-CN/skills/commands/derive-all.md +1 -1
- package/bundled/locales/zh-CN/skills/commands/derive-atdd.md +1 -1
- package/bundled/locales/zh-CN/skills/commands/derive-bdd.md +2 -3
- package/bundled/locales/zh-CN/skills/commands/derive-tdd.md +1 -1
- package/bundled/locales/zh-CN/skills/commands/derive.md +1 -1
- package/bundled/locales/zh-CN/skills/commands/dev-workflow.md +2 -2
- package/bundled/locales/zh-CN/skills/commands/methodology.md +4 -4
- package/bundled/locales/zh-CN/skills/commands/pr.md +1 -1
- package/bundled/locales/zh-CN/skills/commands/tdd.md +1 -1
- package/bundled/locales/zh-CN/skills/commit-standards/SKILL.md +1 -1
- package/bundled/locales/zh-CN/skills/contract-test-assistant/SKILL.md +1 -1
- package/bundled/locales/zh-CN/skills/dev-methodology/SKILL.md +1 -1
- package/bundled/locales/zh-CN/skills/dev-methodology/create-methodology.md +456 -0
- package/bundled/locales/zh-CN/skills/dev-methodology/guide.md +6 -6
- package/bundled/locales/zh-CN/skills/dev-methodology/runtime.md +296 -0
- package/bundled/locales/zh-CN/skills/dev-workflow-guide/SKILL.md +5 -5
- package/bundled/locales/zh-CN/skills/docs-generator/SKILL.md +1 -1
- package/bundled/locales/zh-CN/skills/e2e-assistant/SKILL.md +1 -1
- package/bundled/locales/zh-CN/skills/incident-response-assistant/SKILL.md +2 -2
- package/bundled/locales/zh-CN/skills/journey-test-assistant/SKILL.md +1 -1
- package/bundled/locales/zh-CN/skills/logging-guide/SKILL.md +146 -142
- package/bundled/locales/zh-CN/skills/migration-assistant/SKILL.md +1 -1
- package/bundled/locales/zh-CN/skills/observability-assistant/guide.md +1 -1
- package/bundled/locales/zh-CN/skills/pr-automation-assistant/SKILL.md +1 -1
- package/bundled/locales/zh-CN/skills/project-discovery/guide.md +2 -2
- package/bundled/locales/zh-CN/skills/reverse-engineer/SKILL.md +1 -1
- package/bundled/locales/zh-CN/skills/runbook-assistant/guide.md +1 -1
- package/bundled/locales/zh-CN/skills/security-assistant/SKILL.md +1 -1
- package/bundled/locales/zh-CN/skills/skill-builder/SKILL.md +3 -3
- package/bundled/locales/zh-CN/skills/slo-assistant/guide.md +1 -1
- package/bundled/locales/zh-CN/skills/spec-derivation/SKILL.md +1 -1
- package/bundled/locales/zh-CN/skills/spec-derivation/guide.md +8 -9
- package/bundled/locales/zh-CN/skills/spec-driven-dev/SKILL.md +2 -2
- package/bundled/locales/zh-CN/skills/sweep/SKILL.md +1 -1
- package/bundled/locales/zh-CN/skills/tdd-assistant/SKILL.md +1 -1
- package/bundled/locales/zh-CN/skills/testing-guide/SKILL.md +2 -2
- package/bundled/locales/zh-CN/skills/testing-guide/testing-theory.md +2298 -0
- package/bundled/locales/zh-CN/skills/workflows/README.md +451 -0
- package/bundled/locales/zh-TW/CHANGELOG.md +81 -6
- package/bundled/locales/zh-TW/CLAUDE.md +1 -1
- package/bundled/locales/zh-TW/MAINTENANCE.md +25 -2
- package/bundled/locales/zh-TW/README.md +22 -9
- package/bundled/locales/zh-TW/SECURITY.md +1 -1
- package/bundled/locales/zh-TW/adoption/DAILY-WORKFLOW-GUIDE.md +2 -2
- package/bundled/locales/zh-TW/ai/standards/versioning.ai.yaml +8 -48
- package/bundled/locales/zh-TW/core/acceptance-criteria-traceability.md +4 -6
- package/bundled/locales/zh-TW/core/accessibility-standards.md +1 -1
- package/bundled/locales/zh-TW/core/adversarial-test.md +226 -0
- package/bundled/locales/zh-TW/core/agent-behavior-discipline.md +187 -0
- package/bundled/locales/zh-TW/core/ai-response-navigation.md +32 -6
- package/bundled/locales/zh-TW/core/anti-sycophancy-prompting.md +1 -1
- package/bundled/locales/zh-TW/core/api-design-standards.md +91 -9
- package/bundled/locales/zh-TW/core/audit-trail.md +110 -0
- package/bundled/locales/zh-TW/core/behavior-snapshot.md +335 -0
- package/bundled/locales/zh-TW/core/browser-compatibility-standards.md +1 -0
- package/bundled/locales/zh-TW/core/cd-deployment-strategies.md +135 -0
- package/bundled/locales/zh-TW/core/chaos-injection-tests.md +130 -0
- package/bundled/locales/zh-TW/core/checkin-standards.md +1 -1
- package/bundled/locales/zh-TW/core/code-review-checklist.md +1 -1
- package/bundled/locales/zh-TW/core/container-image-standards.md +93 -0
- package/bundled/locales/zh-TW/core/container-security.md +535 -0
- package/bundled/locales/zh-TW/core/cost-budget-test.md +86 -0
- package/bundled/locales/zh-TW/core/cross-flow-regression.md +1 -0
- package/bundled/locales/zh-TW/core/data-contract.md +101 -0
- package/bundled/locales/zh-TW/core/data-migration-testing.md +217 -0
- package/bundled/locales/zh-TW/core/data-pipeline.md +105 -0
- package/bundled/locales/zh-TW/core/deployment-standards.md +363 -25
- package/bundled/locales/zh-TW/core/deprecation-standards.md +17 -4
- package/bundled/locales/zh-TW/core/developer-memory.md +2 -2
- package/bundled/locales/zh-TW/core/disaster-recovery-drill.md +87 -0
- package/bundled/locales/zh-TW/core/documentation-writing-standards.md +1 -1
- package/bundled/locales/zh-TW/core/error-code-standards.md +2 -2
- package/bundled/locales/zh-TW/core/feature-manifest-standard.md +222 -0
- package/bundled/locales/zh-TW/core/flaky-test-management.md +87 -0
- package/bundled/locales/zh-TW/core/flow-based-testing.md +284 -0
- package/bundled/locales/zh-TW/core/forward-derivation-standards.md +3 -4
- package/bundled/locales/zh-TW/core/full-coverage-testing.md +250 -0
- package/bundled/locales/zh-TW/core/git-worktree.md +1 -1
- package/bundled/locales/zh-TW/core/guides/performance-guide.md +515 -0
- package/bundled/locales/zh-TW/core/guides/security-guide.md +494 -0
- package/bundled/locales/zh-TW/core/iac-design-principles.md +90 -0
- package/bundled/locales/zh-TW/core/incident-response.md +111 -0
- package/bundled/locales/zh-TW/core/license-compliance.md +129 -0
- package/bundled/locales/zh-TW/core/llm-output-validation.md +192 -0
- package/bundled/locales/zh-TW/core/logging-standards.md +208 -4
- package/bundled/locales/zh-TW/core/mock-boundary.md +161 -0
- package/bundled/locales/zh-TW/core/model-provenance.md +173 -0
- package/bundled/locales/zh-TW/core/model-selection.md +28 -5
- package/bundled/locales/zh-TW/core/mutation-testing.md +106 -0
- package/bundled/locales/zh-TW/core/no-cicd-deployment.md +219 -0
- package/bundled/locales/zh-TW/core/packaging-standards.md +76 -5
- package/bundled/locales/zh-TW/core/performance-standards.md +84 -5
- package/bundled/locales/zh-TW/core/pii-classification.md +102 -0
- package/bundled/locales/zh-TW/core/pipeline-security-gates.md +126 -0
- package/bundled/locales/zh-TW/core/policy-as-code-testing.md +203 -0
- package/bundled/locales/zh-TW/core/prd-standards.md +88 -0
- package/bundled/locales/zh-TW/core/privacy-standards.md +1 -1
- package/bundled/locales/zh-TW/core/product-metrics-standards.md +96 -0
- package/bundled/locales/zh-TW/core/project-context-memory.md +1 -1
- package/bundled/locales/zh-TW/core/prompt-regression.md +88 -0
- package/bundled/locales/zh-TW/core/property-based-testing.md +87 -0
- package/bundled/locales/zh-TW/core/refactoring-standards.md +43 -6
- package/bundled/locales/zh-TW/core/release-quality-manifest.md +207 -0
- package/bundled/locales/zh-TW/core/replay-test.md +102 -0
- package/bundled/locales/zh-TW/core/resource-cost-boundary.md +175 -0
- package/bundled/locales/zh-TW/core/reverse-engineering-standards.md +64 -5
- package/bundled/locales/zh-TW/core/rollback-standards.md +120 -0
- package/bundled/locales/zh-TW/core/runbook.md +110 -0
- package/bundled/locales/zh-TW/core/sast-advanced.md +309 -0
- package/bundled/locales/zh-TW/core/schema-evolution.md +98 -0
- package/bundled/locales/zh-TW/core/secret-management-standards.md +101 -0
- package/bundled/locales/zh-TW/core/secure-op.md +328 -0
- package/bundled/locales/zh-TW/core/security-testing.md +96 -0
- package/bundled/locales/zh-TW/core/self-review-protocol.md +2 -2
- package/bundled/locales/zh-TW/core/server-ops-security.md +507 -0
- package/bundled/locales/zh-TW/core/slo-sli.md +108 -0
- package/bundled/locales/zh-TW/core/smoke-test.md +79 -0
- package/bundled/locales/zh-TW/core/spec-driven-development.md +39 -13
- package/bundled/locales/zh-TW/core/supply-chain-attestation.md +131 -0
- package/bundled/locales/zh-TW/core/user-journey-testing.md +111 -0
- package/bundled/locales/zh-TW/core/user-story-mapping.md +94 -0
- package/bundled/locales/zh-TW/core/verification-oracle.md +159 -0
- package/bundled/locales/zh-TW/core/versioning.md +112 -112
- package/bundled/locales/zh-TW/docs/CHEATSHEET.md +31 -6
- package/bundled/locales/zh-TW/docs/DEV-WORKFLOW-MAPPING.md +6 -6
- package/bundled/locales/zh-TW/docs/FEATURE-REFERENCE.md +61 -34
- package/bundled/locales/zh-TW/docs/MIGRATION-v6.md +88 -0
- package/bundled/locales/zh-TW/docs/USAGE-MODES-COMPARISON.md +2 -2
- package/bundled/locales/zh-TW/docs/USER-MANUAL.md +14 -14
- package/bundled/locales/zh-TW/docs/specs/system/memory-adoption-strategy.md +105 -0
- package/bundled/locales/zh-TW/docs/user/FAQ.md +132 -0
- package/bundled/locales/zh-TW/docs/user/GETTING-STARTED.md +144 -0
- package/bundled/locales/zh-TW/docs/user/GLOSSARY.md +178 -0
- package/bundled/locales/zh-TW/docs/user/README.md +70 -0
- package/bundled/locales/zh-TW/docs/user/TROUBLESHOOTING.md +190 -0
- package/bundled/locales/zh-TW/integrations/github-copilot/COPILOT-CHAT-REFERENCE.md +1 -1
- package/bundled/locales/zh-TW/integrations/github-copilot/README.md +1 -1
- package/bundled/locales/zh-TW/integrations/github-copilot/skills-mapping.md +3 -3
- package/bundled/locales/zh-TW/integrations/opencode/skills-mapping.md +3 -3
- package/bundled/locales/zh-TW/methodologies/guides/sdd-guide.md +523 -26
- package/bundled/locales/zh-TW/options/changelog/auto-generated.md +166 -0
- package/bundled/locales/zh-TW/options/changelog/keep-a-changelog.md +140 -0
- package/bundled/locales/zh-TW/options/code-review/automated-review.md +214 -0
- package/bundled/locales/zh-TW/options/code-review/pair-programming.md +166 -0
- package/bundled/locales/zh-TW/options/code-review/pr-review.md +167 -0
- package/bundled/locales/zh-TW/options/documentation/api-docs.md +191 -0
- package/bundled/locales/zh-TW/options/documentation/markdown-docs.md +150 -0
- package/bundled/locales/zh-TW/options/documentation/wiki-style.md +131 -0
- package/bundled/locales/zh-TW/options/project-structure/kotlin.md +144 -0
- package/bundled/locales/zh-TW/options/project-structure/php.md +168 -0
- package/bundled/locales/zh-TW/options/project-structure/ruby.md +156 -0
- package/bundled/locales/zh-TW/options/project-structure/rust.md +136 -0
- package/bundled/locales/zh-TW/options/project-structure/swift.md +165 -0
- package/bundled/locales/zh-TW/options/testing/contract-testing.md +237 -0
- package/bundled/locales/zh-TW/options/testing/industry-pyramid.md +200 -0
- package/bundled/locales/zh-TW/options/testing/istqb-framework.md +144 -0
- package/bundled/locales/zh-TW/options/testing/performance-testing.md +251 -0
- package/bundled/locales/zh-TW/options/testing/security-testing.md +192 -0
- package/bundled/locales/zh-TW/skills/README.md +91 -128
- package/bundled/locales/zh-TW/skills/ac-coverage/SKILL.md +4 -6
- package/bundled/locales/zh-TW/skills/adr-assistant/SKILL.md +1 -1
- package/bundled/locales/zh-TW/skills/agents/code-architect.md +263 -0
- package/bundled/locales/zh-TW/skills/agents/doc-writer.md +410 -0
- package/bundled/locales/zh-TW/skills/agents/reviewer.md +357 -0
- package/bundled/locales/zh-TW/skills/agents/spec-analyst.md +410 -0
- package/bundled/locales/zh-TW/skills/agents/test-specialist.md +368 -0
- package/bundled/locales/zh-TW/skills/ai-collaboration-standards/SKILL.md +2 -2
- package/bundled/locales/zh-TW/skills/ai-friendly-architecture/SKILL.md +2 -2
- package/bundled/locales/zh-TW/skills/ai-instruction-standards/SKILL.md +1 -1
- package/bundled/locales/zh-TW/skills/atdd-assistant/SKILL.md +2 -0
- package/bundled/locales/zh-TW/skills/atdd-assistant/acceptance-criteria-guide.md +1 -1
- package/bundled/locales/zh-TW/skills/atdd-assistant/atdd-workflow.md +3 -4
- package/bundled/locales/zh-TW/skills/audit-assistant/SKILL.md +2 -2
- package/bundled/locales/zh-TW/skills/bdd-assistant/SKILL.md +2 -0
- package/bundled/locales/zh-TW/skills/bdd-assistant/guide.md +1 -2
- package/bundled/locales/zh-TW/skills/brainstorm-assistant/SKILL.md +110 -14
- package/bundled/locales/zh-TW/skills/brainstorm-assistant/guide.md +31 -7
- package/bundled/locales/zh-TW/skills/checkin-assistant/SKILL.md +3 -1
- package/bundled/locales/zh-TW/skills/ci-cd-assistant/SKILL.md +50 -0
- package/bundled/locales/zh-TW/skills/code-review-assistant/SKILL.md +7 -5
- package/bundled/locales/zh-TW/skills/commands/ac-coverage.md +1 -1
- package/bundled/locales/zh-TW/skills/commands/atdd.md +3 -3
- package/bundled/locales/zh-TW/skills/commands/bdd.md +2 -2
- package/bundled/locales/zh-TW/skills/commands/brainstorm.md +26 -17
- package/bundled/locales/zh-TW/skills/commands/{review.md → code-review.md} +5 -5
- package/bundled/locales/zh-TW/skills/commands/derive-all.md +1 -1
- package/bundled/locales/zh-TW/skills/commands/derive-atdd.md +1 -1
- package/bundled/locales/zh-TW/skills/commands/derive-bdd.md +2 -3
- package/bundled/locales/zh-TW/skills/commands/derive-tdd.md +1 -1
- package/bundled/locales/zh-TW/skills/commands/derive.md +1 -1
- package/bundled/locales/zh-TW/skills/commands/dev-workflow.md +2 -2
- package/bundled/locales/zh-TW/skills/commands/methodology.md +4 -4
- package/bundled/locales/zh-TW/skills/commands/pr.md +1 -1
- package/bundled/locales/zh-TW/skills/commands/tdd.md +1 -1
- package/bundled/locales/zh-TW/skills/commit-standards/SKILL.md +1 -1
- package/bundled/locales/zh-TW/skills/contract-test-assistant/SKILL.md +1 -1
- package/bundled/locales/zh-TW/skills/dev-methodology/create-methodology.md +456 -0
- package/bundled/locales/zh-TW/skills/dev-methodology/guide.md +5 -5
- package/bundled/locales/zh-TW/skills/dev-methodology/runtime.md +296 -0
- package/bundled/locales/zh-TW/skills/dev-workflow-guide/SKILL.md +5 -5
- package/bundled/locales/zh-TW/skills/docs-generator/SKILL.md +1 -1
- package/bundled/locales/zh-TW/skills/e2e-assistant/SKILL.md +1 -1
- package/bundled/locales/zh-TW/skills/incident-response-assistant/SKILL.md +2 -2
- package/bundled/locales/zh-TW/skills/logging-guide/SKILL.md +29 -27
- package/bundled/locales/zh-TW/skills/migration-assistant/SKILL.md +1 -1
- package/bundled/locales/zh-TW/skills/pr-automation-assistant/SKILL.md +3 -1
- package/bundled/locales/zh-TW/skills/project-discovery/guide.md +2 -2
- package/bundled/locales/zh-TW/skills/reverse-engineer/SKILL.md +1 -1
- package/bundled/locales/zh-TW/skills/security-assistant/SKILL.md +1 -1
- package/bundled/locales/zh-TW/skills/spec-derivation/guide.md +7 -8
- package/bundled/locales/zh-TW/skills/spec-driven-dev/SKILL.md +2 -2
- package/bundled/locales/zh-TW/skills/sweep/SKILL.md +1 -1
- package/bundled/locales/zh-TW/skills/tdd-assistant/SKILL.md +3 -1
- package/bundled/locales/zh-TW/skills/testing-guide/SKILL.md +2 -2
- package/bundled/locales/zh-TW/skills/testing-guide/testing-theory.md +2298 -0
- package/bundled/locales/zh-TW/skills/workflows/README.md +451 -0
- package/bundled/skills/README.md +1 -1
- package/bundled/skills/ac-coverage/SKILL.md +17 -7
- package/bundled/skills/adr-assistant/SKILL.md +1 -1
- package/bundled/skills/agents/code-architect.md +1 -1
- package/bundled/skills/agents/doc-writer.md +1 -1
- package/bundled/skills/agents/reviewer.md +2 -2
- package/bundled/skills/agents/spec-analyst.md +1 -1
- package/bundled/skills/agents/test-specialist.md +1 -1
- package/bundled/skills/ai-collaboration-standards/SKILL.md +2 -2
- package/bundled/skills/ai-friendly-architecture/SKILL.md +2 -2
- package/bundled/skills/ai-instruction-standards/SKILL.md +1 -1
- package/bundled/skills/atdd-assistant/SKILL.md +7 -0
- package/bundled/skills/atdd-assistant/acceptance-criteria-guide.md +1 -1
- package/bundled/skills/atdd-assistant/atdd-workflow.md +6 -8
- package/bundled/skills/audit-assistant/SKILL.md +2 -2
- package/bundled/skills/bdd-assistant/SKILL.md +7 -0
- package/bundled/skills/bdd-assistant/guide.md +1 -2
- package/bundled/skills/brainstorm-assistant/SKILL.md +133 -11
- package/bundled/skills/brainstorm-assistant/guide.md +33 -5
- package/bundled/skills/checkin-assistant/SKILL.md +8 -1
- package/bundled/skills/ci-cd-assistant/SKILL.md +57 -0
- package/bundled/skills/code-review-assistant/SKILL.md +15 -8
- package/bundled/skills/commands/COMMAND-FAMILY-OVERVIEW.md +2 -2
- package/bundled/skills/commands/COMMAND-INDEX.json +3 -3
- package/bundled/skills/commands/README.md +2 -2
- package/bundled/skills/commands/ac-coverage.md +1 -1
- package/bundled/skills/commands/atdd.md +2 -2
- package/bundled/skills/commands/bdd.md +2 -2
- package/bundled/skills/commands/brainstorm.md +25 -14
- package/bundled/skills/commands/{review.md → code-review.md} +6 -6
- package/bundled/skills/commands/derive-all.md +1 -1
- package/bundled/skills/commands/derive-atdd.md +1 -1
- package/bundled/skills/commands/derive-bdd.md +2 -3
- package/bundled/skills/commands/derive-tdd.md +1 -1
- package/bundled/skills/commands/derive.md +1 -1
- package/bundled/skills/commands/dev-workflow.md +1 -1
- package/bundled/skills/commands/journey-test.md +45 -0
- package/bundled/skills/commands/methodology.md +4 -4
- package/bundled/skills/commands/pr.md +1 -1
- package/bundled/skills/commands/skill-builder.md +42 -0
- package/bundled/skills/commands/tdd.md +1 -1
- package/bundled/skills/dev-methodology/create-methodology.md +1 -1
- package/bundled/skills/dev-methodology/guide.md +1 -1
- package/bundled/skills/dev-methodology/runtime.md +1 -1
- package/bundled/skills/dev-workflow-guide/SKILL.md +3 -3
- package/bundled/skills/dev-workflow-guide/workflow-phases.md +3 -3
- package/bundled/skills/docs-generator/SKILL.md +3 -3
- package/bundled/skills/incident-response-assistant/SKILL.md +2 -2
- package/bundled/skills/logging-guide/SKILL.md +38 -2
- package/bundled/skills/migration-assistant/SKILL.md +226 -0
- package/bundled/skills/observability-assistant/SKILL.md +74 -0
- package/bundled/skills/pr-automation-assistant/SKILL.md +5 -1
- package/bundled/skills/project-discovery/guide.md +2 -2
- package/bundled/skills/push/SKILL.md +1 -1
- package/bundled/skills/release-standards/SKILL.md +19 -5
- package/bundled/skills/security-assistant/SKILL.md +1 -1
- package/bundled/skills/skill-builder/SKILL.md +1 -1
- package/bundled/skills/spec-derivation/guide.md +3 -4
- package/bundled/skills/spec-driven-dev/SKILL.md +27 -0
- package/bundled/skills/sweep/SKILL.md +1 -1
- package/bundled/skills/tdd-assistant/SKILL.md +8 -1
- package/bundled/skills/testing-guide/SKILL.md +1 -1
- package/bundled/skills/testing-guide/testing-theory.md +1 -1
- package/bundled/skills/workflows/README.md +2 -2
- package/package.json +3 -3
- package/src/commands/audit.js +30 -9
- package/src/commands/config.js +33 -2
- package/src/commands/hitl.js +14 -1
- package/src/commands/init.js +110 -58
- package/src/commands/quickstart.js +1 -2
- package/src/commands/release.js +51 -6
- package/src/commands/run-intent.js +9 -0
- package/src/commands/spec-split.js +27 -2
- package/src/commands/update.js +22 -6
- package/src/config/ai-agent-paths.js +3 -1
- package/src/i18n/messages.js +3 -102
- package/src/missions/MissionManager.js +44 -12
- package/src/utils/build-manifest.js +35 -3
- package/src/utils/friction-detector.js +71 -22
- package/src/utils/health-checker.js +29 -2
- package/src/utils/transaction.js +111 -0
- package/src/utils/version-promote.js +16 -0
- package/standards-registry.json +58 -146
- package/bundled/ai/standards/agent-communication-protocol.ai.yaml +0 -42
- package/bundled/ai/standards/agent-dispatch.ai.yaml +0 -42
- package/bundled/ai/standards/branch-completion.ai.yaml +0 -44
- package/bundled/ai/standards/change-batching-standards.ai.yaml +0 -44
- package/bundled/ai/standards/execution-history.ai.yaml +0 -42
- package/bundled/ai/standards/pipeline-integration-standards.ai.yaml +0 -42
- package/bundled/ai/standards/workflow-enforcement.ai.yaml +0 -44
- package/bundled/ai/standards/workflow-state-protocol.ai.yaml +0 -43
- package/src/commands/flow.js +0 -260
- package/src/commands/start.js +0 -372
- package/src/commands/sweep.js +0 -151
- package/src/commands/workflow.js +0 -681
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
source: ../../../core/versioning.md
|
|
3
|
-
source_version: 1.
|
|
4
|
-
translation_version: 1.
|
|
5
|
-
last_synced:
|
|
3
|
+
source_version: 1.5.0
|
|
4
|
+
translation_version: 1.5.0
|
|
5
|
+
last_synced: 2026-07-01
|
|
6
6
|
status: current
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -10,8 +10,8 @@ status: current
|
|
|
10
10
|
|
|
11
11
|
# 語義化版本標準
|
|
12
12
|
|
|
13
|
-
**版本**: 1.
|
|
14
|
-
**最後更新**:
|
|
13
|
+
**版本**: 1.5.0
|
|
14
|
+
**最後更新**: 2026-07-01
|
|
15
15
|
**適用範圍**: 所有有版本發布的軟體專案
|
|
16
16
|
|
|
17
17
|
---
|
|
@@ -161,6 +161,72 @@ Format: `MAJOR.MINOR.PATCH+BUILD`
|
|
|
161
161
|
- Use for CI/CD tracking
|
|
162
162
|
- Include in artifacts but not in version comparison
|
|
163
163
|
|
|
164
|
+
> **關鍵:build metadata 不得作為部署的區分依據。**
|
|
165
|
+
> 由於工具鏈在優先序與比較中忽略 `+build`(如上),兩個僅 build metadata 不同的建置
|
|
166
|
+
> (`1.2.3+abc` vs `1.2.3+def`)對**版本比較工具**而言**無法區分**——回滾目標與 `semver` 比較
|
|
167
|
+
> 視為同一個發布。用 `+sha` 區分行為不同的已部署建置是一種治理逃逸:版本號不再是 changelog /
|
|
168
|
+
> SBOM / 稽核 / 回滾 / SLA / CVE 範圍的 join key。任何 ship 的變更 MUST 取得真正的版本 bump 或
|
|
169
|
+
> 唯一不可變的 artifact 身分(見下方 **部署版本身分**)——`+sha` **不能**替代。
|
|
170
|
+
|
|
171
|
+
---
|
|
172
|
+
|
|
173
|
+
## 部署版本身分
|
|
174
|
+
|
|
175
|
+
> 來源:一個反覆出現的失敗模式——多個行為不同的 hotfix 建置以**同一個 `X.Y.Z`** 部署,僅靠
|
|
176
|
+
> `+sha` 區分,於是「prod 跑的是哪個 / 修補 X 是否真的上了」退化成 commit 考古。
|
|
177
|
+
|
|
178
|
+
本節規範**可部署單元**的身分——無論該單元對專案而言是什麼(容器 image、tarball、已發布套件)。
|
|
179
|
+
它與下方的 [發布流程](#發布流程)(描述一套具體的單機發布流程)互補;此處的身分規則**不論部署機制
|
|
180
|
+
為何皆適用**。
|
|
181
|
+
|
|
182
|
+
### 核心不變量
|
|
183
|
+
|
|
184
|
+
**每個唯一的可部署建置 artifact MUST 帶有唯一、不可變的版本身分(版本號本體 + commit sha)。**
|
|
185
|
+
部署、*晉升(promote)*、或*回滾(rollback)*一個**既有** artifact MUST NOT 改變其身分。
|
|
186
|
+
|
|
187
|
+
- **錨定在 artifact,而非部署動作。** 新建置(原始碼或依賴不同)⇒ 新版本。*同一個*建置在環境間
|
|
188
|
+
移動(staging → prod,build-once-deploy-many)、重新部署(blue-green / canary)、或回滾,是
|
|
189
|
+
**同一個** artifact、保留其身分——MUST NOT 重新 bump。在 promote/rollback 上重新 bump 會讓版本
|
|
190
|
+
號謊報實際在跑的東西。(回滾還原一個先前的 artifact 時,是還原該 artifact 的原始身分,而非鑄造
|
|
191
|
+
一個新身分。)
|
|
192
|
+
- **絕不讓兩個不同的建置共用同一個 `X.Y.Z`。**
|
|
193
|
+
|
|
194
|
+
### 自動強制,而非靠紀律
|
|
195
|
+
|
|
196
|
+
此不變量 SHOULD 由自動機制強制,而非單靠人為紀律——上述失敗模式*正是*忘記手動 bump。下列任一皆滿足:
|
|
197
|
+
|
|
198
|
+
- **commit 驅動的發布自動化**(`semantic-release` / `standard-version`,見 [自動化工具](#自動化工具)):
|
|
199
|
+
在 CI 中由 commit 歷史推導並 bump 版本,使人無從忘記 bump。
|
|
200
|
+
- **git-height 衍生版本**(MinVer / Nerdbank.GitVersioning / GitVersion):版本由 git 提交拓撲
|
|
201
|
+
推導,故碰撞結構上不可能。對 polyglot / .NET / JVM 專案 RECOMMENDED(自動化工具一節原本以 Node
|
|
202
|
+
為主)——見 [自動化工具](#自動化工具) 下的 git-height 子節。注意 monorepo 與 squash-merge 工作流
|
|
203
|
+
的注意事項。
|
|
204
|
+
- **CI 唯一性閘**:若算出的版本已存在於 git tag 或 registry,則 release 失敗。
|
|
205
|
+
|
|
206
|
+
### 不可變 artifact(交叉引用)
|
|
207
|
+
|
|
208
|
+
唯一的*號碼*是必要但不充分——*artifact* 本身也必須不可變且內容定址(例如容器 image 以 digest 引用
|
|
209
|
+
而非可變 tag)。具體的 artifact 層級要求——把部署釘在內容位址、禁止 tag/版本重用——**歸
|
|
210
|
+
container-image-standards** 且將於該標準訂定;本標準只要求版本身分本身保持唯一且不可變。
|
|
211
|
+
|
|
212
|
+
### Build 身分可被觀測(需求)
|
|
213
|
+
|
|
214
|
+
**已部署的服務 MUST 透過可查詢的 endpoint(專用的 `/version`,或嵌入 `/health`)暴露其 build 身分
|
|
215
|
+
——`version + commit sha + build time`**,讓維運者不必檢視二進位或做 commit 考古就能知道確切在跑
|
|
216
|
+
什麼。理由:手動版本號可能碰撞(如上),所以 ops 需要 `sha` 才能區分共用同一個 `X.Y.Z` 的兩個 build。
|
|
217
|
+
|
|
218
|
+
需求:
|
|
219
|
+
|
|
220
|
+
- 暴露的 `sha` MUST 與已部署 artifact 的 sha 相符——是**可驗證、非自述**(由建置推導,不可手打)。
|
|
221
|
+
- 該 endpoint SHOULD 受存取控制;公開的 build 身分 endpoint 會洩漏內部 commit 身分。
|
|
222
|
+
- 部署後驗證 MUST 斷言回傳的 sha 等於已部署 artifact 的 sha
|
|
223
|
+
(見 [Phase 5: Post-release Verification](#phase-5-post-release-verification-驗證階段)),而非僅
|
|
224
|
+
斷言版本號正確。
|
|
225
|
+
|
|
226
|
+
這是部署 / 可觀測性的關切:具體的驗證*機制*(如何抓取 endpoint 並把斷言接進 gate)**歸
|
|
227
|
+
deployment-standards**(將於該標準訂定),而 **supply-chain-attestation** 已提供 provenance 作為
|
|
228
|
+
「此 artifact 確實來自此 sha」的密碼學背書。
|
|
229
|
+
|
|
164
230
|
---
|
|
165
231
|
|
|
166
232
|
## 初始開發
|
|
@@ -436,8 +502,10 @@ sudo ./upgrade.sh
|
|
|
436
502
|
# 1. 檢查服務狀態
|
|
437
503
|
systemctl status your-service
|
|
438
504
|
|
|
439
|
-
# 2.
|
|
440
|
-
|
|
505
|
+
# 2. 檢查應用程式 build 身分(version + commit sha + build time)
|
|
506
|
+
# 斷言回傳的 sha 與已部署 artifact 的 sha 相符——不只是版本號。
|
|
507
|
+
curl http://localhost:PORT/version # 或 /health(若 build 身分嵌入其中)
|
|
508
|
+
# 預期: {"version": "1.2.1", "sha": "<deployed-artifact-sha>", "buildTime": "..."}
|
|
441
509
|
|
|
442
510
|
# 3. 檢查日誌無錯誤
|
|
443
511
|
tail -100 /path/to/app.log | grep -i error
|
|
@@ -445,7 +513,9 @@ tail -100 /path/to/app.log | grep -i error
|
|
|
445
513
|
|
|
446
514
|
**成功標準**:
|
|
447
515
|
- 服務正常運行
|
|
448
|
-
-
|
|
516
|
+
- `/version`(或 `/health`)回應正確版本號**且**回傳與已部署 artifact 相符的 commit sha——
|
|
517
|
+
僅版本號相符並不足夠,因為兩個 build 可能共用同一個 `X.Y.Z`
|
|
518
|
+
(見 [Build 身分可被觀測](#build-身分可被觀測需求))
|
|
449
519
|
- 日誌無致命錯誤
|
|
450
520
|
- 功能驗證通過
|
|
451
521
|
|
|
@@ -600,6 +670,29 @@ npm install --save-dev semantic-release
|
|
|
600
670
|
}
|
|
601
671
|
```
|
|
602
672
|
|
|
673
|
+
### git-height 衍生版本(polyglot:.NET / JVM / 多語言)
|
|
674
|
+
|
|
675
|
+
上述工具以 Node/npm 為主。對 **.NET、JVM 或多語言專案**,優先採用 **git-height 衍生版本**:
|
|
676
|
+
版本由 git tag 圖加上「自上一個 tag 以來的 commit 數(commit height)」自動計算,而非存在
|
|
677
|
+
人工編輯的檔案中。由於版本是 git 歷史的確定性函數,**兩個不同的建置不可能碰撞到同一個版本號**,
|
|
678
|
+
且沒有任何手動 bump 步驟會被忘記——這正是它從結構上(而非靠紀律)滿足
|
|
679
|
+
[部署版本身分](#部署版本身分)的原因。
|
|
680
|
+
|
|
681
|
+
| Tool | Ecosystem | 說明 |
|
|
682
|
+
|------|-----------|------|
|
|
683
|
+
| **MinVer** | .NET / MSBuild | 由最近的 git tag 加 commit height 推導版本;無需設定檔、無需 build server 整合 |
|
|
684
|
+
| **Nerdbank.GitVersioning** (nbgv) | .NET(也支援 Node 等) | 讀取 `version.json`;將 version + git height + commit id 烙印進 assembly 與套件 |
|
|
685
|
+
| **GitVersion** | Polyglot(.NET,加上語言無關的 CLI) | 可設定的版本模式(如 Mainline、Continuous Delivery / Continuous Deployment),由分支與 tag 拓撲驅動 |
|
|
686
|
+
|
|
687
|
+
**如何選擇:**
|
|
688
|
+
|
|
689
|
+
- **Node / npm 專案** → commit 驅動的自動化(`semantic-release` / `standard-version`,見上):bump 由 Conventional Commits 推導。
|
|
690
|
+
- **Polyglot / .NET / JVM 專案** → git-height 衍生工具(MinVer / Nerdbank.GitVersioning / GitVersion):版本由 git tag + commit height 推導。
|
|
691
|
+
|
|
692
|
+
兩類都消除了會被忘記的手動 bump。**注意事項:** 在 monorepo 中,單一 repo 範圍的 commit height
|
|
693
|
+
未必能乾淨對應到各套件的版本,而 squash-merge 工作流會改變 commit height——請對照你的 tagging
|
|
694
|
+
慣例驗證推導出的版本。
|
|
695
|
+
|
|
603
696
|
---
|
|
604
697
|
|
|
605
698
|
## 依賴版本範圍
|
|
@@ -643,113 +736,14 @@ npm install --save-dev semantic-release
|
|
|
643
736
|
|
|
644
737
|
---
|
|
645
738
|
|
|
646
|
-
##
|
|
647
|
-
|
|
648
|
-
### 1. Deprecation Warnings (N-1 Version)
|
|
649
|
-
|
|
650
|
-
```javascript
|
|
651
|
-
// Version 1.5.0 - Add deprecation warning
|
|
652
|
-
/**
|
|
653
|
-
* @deprecated Use authenticateV2() instead. Will be removed in v2.0.0
|
|
654
|
-
*/
|
|
655
|
-
function authenticate(username, password) {
|
|
656
|
-
console.warn('[DEPRECATED] authenticate() will be removed in v2.0.0. Use authenticateV2()');
|
|
657
|
-
return authenticateV2(username, password);
|
|
658
|
-
}
|
|
659
|
-
```
|
|
660
|
-
|
|
661
|
-
### 2. API 版本化策略
|
|
662
|
-
|
|
663
|
-
根據需求選擇 API 版本化策略:
|
|
664
|
-
|
|
665
|
-
| 策略 | 格式 | 優點 | 缺點 |
|
|
666
|
-
|------|------|------|------|
|
|
667
|
-
| URL 路徑 | `/api/v1/users` | 清晰、易於路由 | URL 污染 |
|
|
668
|
-
| 查詢參數 | `/api/users?version=1` | 可選版本 | 快取問題 |
|
|
669
|
-
| 標頭 | `Accept: application/vnd.api.v1+json` | URL 乾淨 | 較不可見 |
|
|
670
|
-
| 內容協商 | `Accept: application/vnd.api+json;version=1` | RESTful | 複雜 |
|
|
739
|
+
## 破壞性變更與棄用
|
|
671
740
|
|
|
672
|
-
|
|
741
|
+
破壞性變更會驅動 **MAJOR** 版本號遞增(見[遞增規則](#遞增規則))——這正是 SemVer 向消費者傳達不相容變更的方式。API *契約層級*的演進與退役細節,由負責該領域的標準各自掌管,使每條規則都有單一真實來源:
|
|
673
742
|
|
|
674
|
-
|
|
743
|
+
- **API 版本化策略、向後相容性檢查清單(何謂破壞性變更)、程式碼中的棄用註記、以及遷移指南模板** → [API 設計標準](api-design-standards.md#api-版本控制策略)
|
|
744
|
+
- **棄用生命週期、依 API 分級的最短通知期間、`Sunset` / `Deprecation` 標頭、以及消費者通知** → [棄用與日落標準](deprecation-standards.md#api-棄用)
|
|
675
745
|
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
```
|
|
679
|
-
v1.0.0 - 功能引入
|
|
680
|
-
v1.5.0 - 新增棄用警告(最少 N-1 版本)
|
|
681
|
-
v2.0.0 - 移除功能(記錄在遷移指南中)
|
|
682
|
-
```
|
|
683
|
-
|
|
684
|
-
**棄用期間指南**:
|
|
685
|
-
|
|
686
|
-
| API 類型 | 最短棄用期間 |
|
|
687
|
-
|----------|-------------|
|
|
688
|
-
| 內部 API | 1 個次要版本 |
|
|
689
|
-
| 合作夥伴 API | 2 個次要版本 + 3 個月 |
|
|
690
|
-
| 公開 API | 2 個次要版本 + 6 個月 |
|
|
691
|
-
| 關鍵基礎設施 | 最少 1 年 |
|
|
692
|
-
|
|
693
|
-
### 4. 向後相容性檢查清單
|
|
694
|
-
|
|
695
|
-
發布前驗證這些向後相容性規則:
|
|
696
|
-
|
|
697
|
-
**不要破壞(不升級主版本號)**:
|
|
698
|
-
- [ ] 移除公開 API 端點
|
|
699
|
-
- [ ] 移除必填請求欄位
|
|
700
|
-
- [ ] 新增必填請求欄位
|
|
701
|
-
- [ ] 變更回應欄位類型
|
|
702
|
-
- [ ] 變更錯誤碼含義
|
|
703
|
-
- [ ] 移除消費者依賴的回應欄位
|
|
704
|
-
|
|
705
|
-
**安全變更(次要/修補版本)**:
|
|
706
|
-
- [ ] 新增可選請求欄位
|
|
707
|
-
- [ ] 新增回應欄位
|
|
708
|
-
- [ ] 新增端點
|
|
709
|
-
- [ ] 新增錯誤碼
|
|
710
|
-
- [ ] 改善錯誤訊息
|
|
711
|
-
- [ ] 效能改進
|
|
712
|
-
|
|
713
|
-
### 5. 遷移指南(N 版本)
|
|
714
|
-
|
|
715
|
-
```markdown
|
|
716
|
-
# 遷移指南:v1.x 到 v2.0
|
|
717
|
-
|
|
718
|
-
## 破壞性變更
|
|
719
|
-
|
|
720
|
-
### 1. authenticate() 已移除
|
|
721
|
-
|
|
722
|
-
**Before (v1.x)**:
|
|
723
|
-
```javascript
|
|
724
|
-
const token = await authenticate('user', 'pass');
|
|
725
|
-
```
|
|
726
|
-
|
|
727
|
-
**After (v2.0)**:
|
|
728
|
-
```javascript
|
|
729
|
-
const token = await authenticateV2({ username: 'user', password: 'pass' });
|
|
730
|
-
```
|
|
731
|
-
|
|
732
|
-
### 2. API response format changed
|
|
733
|
-
|
|
734
|
-
**Before (v1.x)**:
|
|
735
|
-
```json
|
|
736
|
-
{ "data": { "user": {...} } }
|
|
737
|
-
```
|
|
738
|
-
|
|
739
|
-
**After (v2.0)**:
|
|
740
|
-
```json
|
|
741
|
-
{ "user": {...} }
|
|
742
|
-
```
|
|
743
|
-
|
|
744
|
-
Update your code:
|
|
745
|
-
```javascript
|
|
746
|
-
// Before
|
|
747
|
-
const user = response.data.user;
|
|
748
|
-
|
|
749
|
-
// After
|
|
750
|
-
const user = response.user;
|
|
751
|
-
```
|
|
752
|
-
```
|
|
746
|
+
本標準僅保留版本號規則:不相容變更必須以 MAJOR 遞增發布,棄用則應在退役前的某個 MINOR 版本先行宣告(見 [MAJOR 版本](#major-version-x00)指南)。
|
|
753
747
|
|
|
754
748
|
---
|
|
755
749
|
|
|
@@ -839,6 +833,8 @@ semver.major('2.3.1'); // 2
|
|
|
839
833
|
- [Changelog Standards](changelog-standards.md) - 變更日誌標準
|
|
840
834
|
- [Git Workflow Standards](git-workflow.md) - Git 工作流程標準
|
|
841
835
|
- [Commit Message Guide](commit-message-guide.md) - Commit 訊息規範
|
|
836
|
+
- [API Design Standards](api-design-standards.md) - API 版本化策略、向後相容性規則、遷移指南
|
|
837
|
+
- [Deprecation & Sunset Standards](deprecation-standards.md) - 棄用生命週期與最短通知期間
|
|
842
838
|
|
|
843
839
|
---
|
|
844
840
|
|
|
@@ -846,6 +842,10 @@ semver.major('2.3.1'); // 2
|
|
|
846
842
|
|
|
847
843
|
| Version | Date | Changes |
|
|
848
844
|
|---------|------|---------|
|
|
845
|
+
| 1.5.0 | 2026-07-01 | Added: 自動化工具新增 git-height 衍生版本工具(MinVer / Nerdbank.GitVersioning / GitVersion),適用 polyglot / .NET / JVM 專案(UDS #138 R2);將「Build 身分可被觀測」提升為需求——已部署服務 MUST 透過可查詢 endpoint 暴露 `version + commit sha + build time`——並於 Phase 5 部署後驗證新增 commit-sha + build-time 斷言(UDS #138 R3) |
|
|
846
|
+
| 1.4.0 | 2026-06-24 | Moved out (to single sources): API Versioning Strategies (de-duplicated), Deprecation Timeline + per-tier periods, Backward Compatibility Checklist, Migration Guide template — now owned by api-design-standards / deprecation-standards (XSPEC-298 R8, UDS #126) |
|
|
847
|
+
| 1.3.0 | 2026-06-23 | Added: Deployment Version Identity section; build-metadata-as-deployment-discriminator caveat (from UDS #138) |
|
|
848
|
+
| 1.2.0 | 2025-12-30 | Added: API Versioning Strategies, Deprecation Timeline, Backward Compatibility Checklist |
|
|
849
849
|
| 1.1.3 | 2025-12-24 | Added: Related Standards section |
|
|
850
850
|
| 1.1.2 | 2025-12-11 | Improved: Upgrade package naming example to use generic placeholders instead of hardcoded project names |
|
|
851
851
|
| 1.1.1 | 2025-12-04 | Refactored: CHANGELOG exclusion rules to be more generic (removed project-specific directories) |
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# UDS 速查表
|
|
2
2
|
|
|
3
|
-
> Quick reference for all UDS features | Last updated: 2026-
|
|
3
|
+
> Quick reference for all UDS features | Last updated: 2026-06-20
|
|
4
4
|
|
|
5
|
-
**Language**: [English](../../../docs/CHEATSHEET.md) | 繁體中文 | [简体中文](../../zh-CN/docs/CHEATSHEET.md)
|
|
5
|
+
**Language**: [English](../../../docs/user/CHEATSHEET.md) | 繁體中文 | [简体中文](../../zh-CN/docs/CHEATSHEET.md)
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
| `/check` | [UDS] Verify standards adoption status |
|
|
35
35
|
| `/checkin` | "[UDS] Pre-commit quality gates verification" |
|
|
36
36
|
| `/ci-cd` | "[UDS] Guide CI/CD pipeline design, configuration and optimization" |
|
|
37
|
+
| `/code-review` | [UDS] Perform systematic code review with checklist |
|
|
37
38
|
| `/commit` | [UDS] Generate commit messages following Conventional Commits standard |
|
|
38
39
|
| `/config` | [UDS] Configure project development standards |
|
|
39
40
|
| `/coverage` | [UDS] Analyze test coverage and provide recommendations |
|
|
@@ -52,6 +53,7 @@
|
|
|
52
53
|
| `/guide` | [UDS] Access Universal Development Standards guides and references. |
|
|
53
54
|
| `/incident` | "[UDS] Guide incident response, root cause analysis and post-mortem documentation" |
|
|
54
55
|
| `/init` | [UDS] Initialize development standards in current project |
|
|
56
|
+
| `/journey-test` | [UDS] Generate coherent user journey test plans (TESTPLAN) and E2E skeletons from a project description. |
|
|
55
57
|
| `/methodology` | [UDS] Manage development methodology workflow |
|
|
56
58
|
| `/metrics` | "[UDS] Track development metrics, code quality indicators and project health" |
|
|
57
59
|
| `/migrate` | "[UDS] Guide code migration, framework upgrades and technology modernization" |
|
|
@@ -64,12 +66,12 @@
|
|
|
64
66
|
| `/reverse-sdd` | [UDS] Reverse engineer code into SDD specification document |
|
|
65
67
|
| `/reverse-tdd` | [UDS] Analyze BDD-TDD coverage gaps |
|
|
66
68
|
| `/reverse` | [UDS] Reverse engineer code to Specs, BDD, or TDD coverage. |
|
|
67
|
-
| `/review` | [UDS] Perform systematic code review with checklist |
|
|
68
69
|
| `/runbook` | "[UDS] Guide runbook creation, maintenance, drills, and coverage reporting" |
|
|
69
70
|
| `/scan` | "[UDS] Guide automated security scanning, dependency auditing and secret detection" |
|
|
70
71
|
| `/sdd-retro` | [UDS] Create retroactive specs for untracked feat/fix commits |
|
|
71
72
|
| `/sdd` | [UDS] Create or review specification documents for Spec-Driven Development |
|
|
72
73
|
| `/security` | "[UDS] Guide security review and vulnerability assessment following OWASP standards" |
|
|
74
|
+
| `/skill-builder` | [UDS] Identify repeated processes and build Skills with the right development depth. |
|
|
73
75
|
| `/slo` | "[UDS] Guide SLI selection, SLO setting, and Error Budget management" |
|
|
74
76
|
| `/tdd` | [UDS] Guide through Test-Driven Development workflow |
|
|
75
77
|
| `/update` | [UDS] Update development standards to latest version |
|
|
@@ -85,7 +87,7 @@
|
|
|
85
87
|
| `ai-instruction-standards` | Create and maintain AI instruction files (CLAUDE.md, AGENTS. |
|
|
86
88
|
| `api-design-assistant` | Guide API design following REST, GraphQL, and gRPC best prac |
|
|
87
89
|
| `atdd-assistant` | "[UDS] Guide through Acceptance Test-Driven Development work |
|
|
88
|
-
| `audit-assistant` | "[UDS] UDS Health & Feedback System
|
|
90
|
+
| `audit-assistant` | "[UDS] UDS Health & Feedback System" |
|
|
89
91
|
| `bdd-assistant` | "[UDS] Guide through Behavior-Driven Development workflow" |
|
|
90
92
|
| `brainstorm-assistant` | "[UDS] Structured AI-assisted brainstorming before spec crea |
|
|
91
93
|
| `changelog-guide` | "[UDS] Generate and maintain CHANGELOG.md entries" |
|
|
@@ -105,7 +107,8 @@
|
|
|
105
107
|
| `error-code-guide` | Design consistent error codes following the PREFIX_CATEGORY_ |
|
|
106
108
|
| `git-workflow-guide` | Guide Git branching strategies, branch naming, and merge ope |
|
|
107
109
|
| `incident-response-assistant` | Guide incident response, root cause analysis, and post-morte |
|
|
108
|
-
| `journey-test-assistant` | "[UDS]
|
|
110
|
+
| `journey-test-assistant` | "[UDS] Generate coherent user journey test plans (TESTPLAN) |
|
|
111
|
+
| `knowledge-graph` | "[UDS] Trace spec/decision/code impact chains via a knowledg |
|
|
109
112
|
| `logging-guide` | Implement structured logging with proper log levels and sens |
|
|
110
113
|
| `metrics-dashboard-assistant` | "[UDS] Track development metrics, code quality indicators, a |
|
|
111
114
|
| `migration-assistant` | "[UDS] Guide code migration, framework upgrades, and technol |
|
|
@@ -120,7 +123,7 @@
|
|
|
120
123
|
| `release-standards` | "[UDS] Guide release process and changelogs" |
|
|
121
124
|
| `requirement-assistant` | "[UDS] Write user stories and requirements following INVEST |
|
|
122
125
|
| `retrospective-assistant` | [UDS] Guide structured team retrospectives for Sprint and Re |
|
|
123
|
-
| `reverse-engineer` | "[UDS] System archeology
|
|
126
|
+
| `reverse-engineer` | "[UDS] System archeology - reverse engineer code across Logi |
|
|
124
127
|
| `runbook-assistant` | Guide runbook creation, maintenance, and drill exercises. |
|
|
125
128
|
| `security-assistant` | Guide security review and vulnerability assessment following |
|
|
126
129
|
| `security-scan-assistant` | Guide automated security scanning, dependency auditing, and |
|
|
@@ -174,6 +177,7 @@
|
|
|
174
177
|
| `anti-hallucination` | This standard defines strict guidelines for AI ass |
|
|
175
178
|
| `anti-sycophancy-prompting` | This standard defines techniques and rules for des |
|
|
176
179
|
| `api-design-standards` | This standard defines comprehensive guidelines for |
|
|
180
|
+
| `audit-trail` | Audit Trail Standards |
|
|
177
181
|
| `behavior-driven-development` | Behavior-Driven Development (BDD) Standards |
|
|
178
182
|
| `behavior-snapshot` | Behavior Snapshot Standard |
|
|
179
183
|
| `branch-completion` | Define a standardized workflow for completing deve |
|
|
@@ -188,13 +192,16 @@
|
|
|
188
192
|
| `circuit-breaker` | Circuit Breaker Standard |
|
|
189
193
|
| `code-review-checklist` | This standard provides a comprehensive checklist f |
|
|
190
194
|
| `commit-message-guide` | Standardized commit messages improve code review e |
|
|
195
|
+
| `container-image-standards` | Container Image Build and Security Standards |
|
|
191
196
|
| `container-security` | 容器安全標準 |
|
|
192
197
|
| `containerization-standards` | Containerization Standards |
|
|
193
198
|
| `context-aware-loading` | This standard defines a protocol for AI tools to s |
|
|
194
199
|
| `contract-testing-standards` | Contract testing verifies that a provider (API ser |
|
|
195
200
|
| `cost-budget-test` | Cost Budget Test Standards |
|
|
196
201
|
| `cross-flow-regression` | This standard defines cross-flow regression testin |
|
|
202
|
+
| `data-contract` | Data Contract Standards |
|
|
197
203
|
| `data-migration-testing` | Data Migration Testing |
|
|
204
|
+
| `data-pipeline` | Data Pipeline Standards |
|
|
198
205
|
| `database-standards` | This standard defines guidelines for database desi |
|
|
199
206
|
| `deployment-standards` | This standard defines guidelines for safely deploy |
|
|
200
207
|
| `deprecation-standards` | Deprecation & Sunset Standards |
|
|
@@ -221,22 +228,30 @@
|
|
|
221
228
|
| `git-worktree` | Define a lifecycle for using Git worktrees to isol |
|
|
222
229
|
| `governance-layer` | A governance layer provides a shared anchor for al |
|
|
223
230
|
| `health-check-standards` | Health Check Standards |
|
|
231
|
+
| `iac-design-principles` | Infrastructure as Code Design Principles |
|
|
224
232
|
| `immutability-first` | Immutability-First Architecture Standard |
|
|
233
|
+
| `incident-response` | Incident Response Standards |
|
|
234
|
+
| `knowledge-graph-memory` | This standard defines a **relationship schema** so |
|
|
225
235
|
| `knowledge-transfer-standards` | Knowledge Transfer Standards |
|
|
236
|
+
| `license-compliance` | License Compliance Standards |
|
|
226
237
|
| `llm-output-validation` | LLM 輸出驗證標準 |
|
|
227
238
|
| `logging-standards` | Logging Standards |
|
|
228
239
|
| `mock-boundary` | This document defines rules for what can and canno |
|
|
240
|
+
| `model-provenance` | Model Provenance Policy Standards |
|
|
229
241
|
| `model-selection` | Define a cost-effective strategy for selecting AI |
|
|
230
242
|
| `mutation-testing` | Mutation testing evaluates test suite effectivenes |
|
|
231
243
|
| `no-cicd-deployment` | No-CI/CD Deployment Strategy |
|
|
232
244
|
| `observability-standards` | Observability Standards |
|
|
233
245
|
| `packaging-standards` | This standard defines a Recipe-based packaging fra |
|
|
234
246
|
| `performance-standards` | This standard defines comprehensive guidelines for |
|
|
247
|
+
| `pii-classification` | PII Classification and Handling Standards |
|
|
235
248
|
| `pipeline-integration-standards` | Pipeline Integration Standards |
|
|
236
249
|
| `pipeline-security-gates` | Pipeline Security Gates(CI Pipeline 安全檢查點) |
|
|
237
250
|
| `policy-as-code-testing` | Policy as Code 測試標準 |
|
|
238
251
|
| `postmortem-standards` | Postmortem Standards (Blameless Post-Incident Review) |
|
|
252
|
+
| `prd-standards` | Product Requirements Document Standards |
|
|
239
253
|
| `privacy-standards` | Privacy Standards |
|
|
254
|
+
| `product-metrics-standards` | Product Metrics Framework Standards |
|
|
240
255
|
| `project-context-memory` | This standard defines a structured system for capt |
|
|
241
256
|
| `project-structure` | This standard defines conventions for project dire |
|
|
242
257
|
| `prompt-regression` | Prompt Regression Standards |
|
|
@@ -247,18 +262,24 @@
|
|
|
247
262
|
| `release-readiness-gate` | This standard defines a **single, aggregated Relea |
|
|
248
263
|
| `replay-test` | Replay Test Standards |
|
|
249
264
|
| `requirement-engineering` | Requirement Engineering Standards |
|
|
265
|
+
| `resource-cost-boundary` | Resource / Cost Boundary Declaration Standards |
|
|
250
266
|
| `retrospective-standards` | Retrospectives are structured team reflections tha |
|
|
251
267
|
| `retry-standards` | Retry Standards |
|
|
252
268
|
| `reverse-engineering-standards` | This standard defines the principles, workflows, a |
|
|
253
269
|
| `rollback-standards` | Rollback Standards(回滾標準) |
|
|
254
270
|
| `runbook-standards` | Runbook Standards |
|
|
271
|
+
| `runbook` | Runbook Writing Standards |
|
|
255
272
|
| `sast-advanced` | This standard defines Advanced Static Application |
|
|
273
|
+
| `schema-evolution` | Schema Evolution Standards |
|
|
274
|
+
| `secret-management-standards` | Secret Management and Credential Hygiene Standards |
|
|
256
275
|
| `secure-op` | Secure-Op:AI Agent 安全操作標準 |
|
|
257
276
|
| `security-decision` | Security Decision Standard |
|
|
258
277
|
| `security-standards` | This standard defines comprehensive security guide |
|
|
259
278
|
| `security-testing` | This document defines the security testing methodo |
|
|
279
|
+
| `self-review-protocol` | This standard mandates a **self-review pass** on l |
|
|
260
280
|
| `server-ops-security` | 伺服器操作安全標準 |
|
|
261
281
|
| `skill-standard-alignment-check` | Skill-Standard Alignment Check |
|
|
282
|
+
| `slo-sli` | SLO/SLI Definition Standards |
|
|
262
283
|
| `slo-standards` | SLO Standards (Service Level Objectives) |
|
|
263
284
|
| `smoke-test` | Smoke Test Standards |
|
|
264
285
|
| `spec-driven-development` | Spec-Driven Development (SDD) Standards |
|
|
@@ -277,7 +298,9 @@
|
|
|
277
298
|
| `timeout-standards` | Timeout Standards |
|
|
278
299
|
| `token-budget` | Token Budget Zone Standard |
|
|
279
300
|
| `translation-lifecycle-standards` | Translation lifecycle standards: MISSING vs OUTDAT |
|
|
301
|
+
| `user-story-mapping` | User Story Mapping Standards |
|
|
280
302
|
| `verification-evidence` | Establish an "Iron Law" that no task can be claime |
|
|
303
|
+
| `verification-oracle` | Verification Oracle Standards |
|
|
281
304
|
| `versioning` | This standard defines how to version software rele |
|
|
282
305
|
| `virtual-organization-standards` | This standard treats the AI ecosystem as a "Virtua |
|
|
283
306
|
| `workflow-enforcement` | Workflow Enforcement Standards |
|
|
@@ -332,6 +355,7 @@
|
|
|
332
355
|
| `fix-manifest-paths.ps1` | Fix Manifest Paths |
|
|
333
356
|
| `fix-manifest-paths.sh` | Manifest Path Fixer |
|
|
334
357
|
| `generate-docs.mjs` | Generate Docs |
|
|
358
|
+
| `generate-locale-coverage.mjs` | Locale Coverage Generator |
|
|
335
359
|
| `generate-version-manifest.mjs` | Generate Version Manifest (SPEC-SELFDIAG-001 REQ-9 |
|
|
336
360
|
| `install-hooks.mjs` | Install Hooks |
|
|
337
361
|
| `install-hooks.sh` | DEPRECATED: Use 'node scripts/install-hooks.mjs' i |
|
|
@@ -340,6 +364,7 @@
|
|
|
340
364
|
| `pre-release-check.sh` | Pre-release Check Script |
|
|
341
365
|
| `pre-release.ps1` | Pre-Release Preparation Script for Universal Devel |
|
|
342
366
|
| `pre-release.sh` | Pre-Release Preparation Script |
|
|
367
|
+
| `setup-hooks.sh` | setup-hooks.sh — Install git hooks for UDS repo |
|
|
343
368
|
| `setup-husky.mjs` | Cross-platform Husky Setup Script |
|
|
344
369
|
| `sync-manifest.mjs` | Sync Manifest |
|
|
345
370
|
|
|
@@ -34,7 +34,7 @@ Universal Development Standards (UDS) 提供 **20+ 斜線指令**,涵蓋整個
|
|
|
34
34
|
| I | **需求與設計** | `/brainstorm` `/requirement` `/sdd` `/reverse` | 從構想到規格 |
|
|
35
35
|
| II | **測試驅動開發** | `/bdd` `/atdd` `/tdd` `/coverage` `/derive` | 先設計測試再寫程式 |
|
|
36
36
|
| III | **程式碼開發** | `/refactor` `/reverse` | 撰寫與改善程式碼 |
|
|
37
|
-
| IV | **品質保證** | `/checkin` `/review` | 提交前與程式碼審查 |
|
|
37
|
+
| IV | **品質保證** | `/checkin` `/code-review` | 提交前與程式碼審查 |
|
|
38
38
|
| V | **版本與提交** | `/commit` `/changelog` `/release` | 版本管理、提交、發布 |
|
|
39
39
|
| VI | **文件與架構** | `/docs` `/docgen` `/struct` | 文件與專案結構 |
|
|
40
40
|
| VII | **工具與標準參考** | `/discover` `/guide` | 健康檢查與參考資料 |
|
|
@@ -83,7 +83,7 @@ Universal Development Standards (UDS) 提供 **20+ 斜線指令**,涵蓋整個
|
|
|
83
83
|
| 指令 | 功能說明 | 輸入 | 輸出 |
|
|
84
84
|
|------|----------|------|------|
|
|
85
85
|
| `/checkin` | 提交前品質驗證 | 暫存的變更 | 通過/失敗檢查清單(建置、測試、密碼、風格) |
|
|
86
|
-
| `/review` | 系統化程式碼審查(10 個面向) | 程式碼差異或 PR | 含嚴重性前綴的審查意見 |
|
|
86
|
+
| `/code-review` | 系統化程式碼審查(10 個面向) | 程式碼差異或 PR | 含嚴重性前綴的審查意見 |
|
|
87
87
|
|
|
88
88
|
### V. 版本與提交
|
|
89
89
|
|
|
@@ -144,7 +144,7 @@ Universal Development Standards (UDS) 提供 **20+ 斜線指令**,涵蓋整個
|
|
|
144
144
|
步驟 9: /refactor 提升程式碼品質
|
|
145
145
|
步驟 10: /checkin 驗證品質關卡
|
|
146
146
|
步驟 11: /commit 建立 Conventional Commit
|
|
147
|
-
步驟 12: /review 程式碼審查(若有 PR)
|
|
147
|
+
步驟 12: /code-review 程式碼審查(若有 PR)
|
|
148
148
|
步驟 13: /docs 更新文件
|
|
149
149
|
步驟 14: /changelog 更新 CHANGELOG
|
|
150
150
|
步驟 15: /release 發布版本
|
|
@@ -191,7 +191,7 @@ Universal Development Standards (UDS) 提供 **20+ 斜線指令**,涵蓋整個
|
|
|
191
191
|
|------|------|----------|
|
|
192
192
|
| **本文件**(DEV-WORKFLOW-MAPPING.md) | 階段與指令對照,快速參考 | 尋找合適指令的開發者 |
|
|
193
193
|
| [DAILY-WORKFLOW-GUIDE.md](../../../adoption/DAILY-WORKFLOW-GUIDE.md) | 詳細的日常工作流程與決策樹 | 學習 UDS 採用模式的開發者 |
|
|
194
|
-
| [CHEATSHEET.md](../../../docs/CHEATSHEET.md) | 所有 UDS 功能一頁總覽 | 快速查閱 |
|
|
194
|
+
| [CHEATSHEET.md](../../../docs/user/CHEATSHEET.md) | 所有 UDS 功能一頁總覽 | 快速查閱 |
|
|
195
195
|
| `/dev-workflow` skill | Claude Code 中的互動式指南 | AI 輔助開發 |
|
|
196
196
|
|
|
197
197
|
---
|
|
@@ -213,7 +213,7 @@ Universal Development Standards (UDS) 提供 **20+ 斜線指令**,涵蓋整個
|
|
|
213
213
|
| 改善程式碼結構 | `/refactor` |
|
|
214
214
|
| 提交前檢查 | `/checkin` |
|
|
215
215
|
| 建立提交訊息 | `/commit` |
|
|
216
|
-
| 審查程式碼品質 | `/review` |
|
|
216
|
+
| 審查程式碼品質 | `/code-review` |
|
|
217
217
|
| 更新文件 | `/docs` 或 `/docgen` |
|
|
218
218
|
| 準備發布版本 | `/changelog` 然後 `/release` |
|
|
219
219
|
| 查詢標準 | `/guide [topic]` |
|
|
@@ -221,4 +221,4 @@ Universal Development Standards (UDS) 提供 **20+ 斜線指令**,涵蓋整個
|
|
|
221
221
|
|
|
222
222
|
---
|
|
223
223
|
|
|
224
|
-
[完整功能參考](../../../docs/FEATURE-REFERENCE.md) | [GitHub](https://github.com/AsiaOstrich/universal-dev-standards)
|
|
224
|
+
[完整功能參考](../../../docs/reference/FEATURE-REFERENCE.md) | [GitHub](https://github.com/AsiaOstrich/universal-dev-standards)
|