universal-dev-standards 3.5.1-beta.1 → 3.5.1-beta.11
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 +2 -0
- package/bundled/core/ai-instruction-standards.md +205 -0
- package/bundled/core/anti-hallucination.md +684 -0
- package/bundled/core/changelog-standards.md +556 -0
- package/bundled/core/checkin-standards.md +935 -0
- package/bundled/core/code-review-checklist.md +684 -0
- package/bundled/core/commit-message-guide.md +915 -0
- package/bundled/core/documentation-structure.md +1117 -0
- package/bundled/core/documentation-writing-standards.md +487 -0
- package/bundled/core/error-code-standards.md +382 -0
- package/bundled/core/git-workflow.md +859 -0
- package/bundled/core/logging-standards.md +323 -0
- package/bundled/core/project-structure.md +354 -0
- package/bundled/core/refactoring-standards.md +636 -0
- package/bundled/core/spec-driven-development.md +207 -0
- package/bundled/core/test-completeness-dimensions.md +536 -0
- package/bundled/core/test-driven-development.md +995 -0
- package/bundled/core/testing-standards.md +3061 -0
- package/bundled/core/versioning.md +902 -0
- package/bundled/locales/README.md +88 -0
- package/bundled/locales/zh-CN/CHANGELOG.md +705 -0
- package/bundled/locales/zh-CN/CLAUDE.md +213 -0
- package/bundled/locales/zh-CN/MAINTENANCE.md +689 -0
- package/bundled/locales/zh-CN/README.md +707 -0
- package/bundled/locales/zh-CN/STANDARDS-MAPPING.md +177 -0
- package/bundled/locales/zh-CN/adoption/ADOPTION-GUIDE.md +392 -0
- package/bundled/locales/zh-CN/adoption/STATIC-DYNAMIC-GUIDE.md +302 -0
- package/bundled/locales/zh-CN/adoption/checklists/enterprise.md +332 -0
- package/bundled/locales/zh-CN/adoption/checklists/minimal.md +141 -0
- package/bundled/locales/zh-CN/adoption/checklists/recommended.md +272 -0
- package/bundled/locales/zh-CN/ai/MAINTENANCE.md +739 -0
- package/bundled/locales/zh-CN/ai/options/changelog/auto-generated.ai.yaml +76 -0
- package/bundled/locales/zh-CN/ai/options/changelog/keep-a-changelog.ai.yaml +99 -0
- package/bundled/locales/zh-CN/ai/options/code-review/automated-review.ai.yaml +120 -0
- package/bundled/locales/zh-CN/ai/options/code-review/pair-programming.ai.yaml +109 -0
- package/bundled/locales/zh-CN/ai/options/code-review/pr-review.ai.yaml +104 -0
- package/bundled/locales/zh-CN/ai/options/commit-message/bilingual.ai.yaml +105 -0
- package/bundled/locales/zh-CN/ai/options/commit-message/english.ai.yaml +79 -0
- package/bundled/locales/zh-CN/ai/options/commit-message/traditional-chinese.ai.yaml +100 -0
- package/bundled/locales/zh-CN/ai/options/documentation/api-docs.ai.yaml +140 -0
- package/bundled/locales/zh-CN/ai/options/documentation/markdown-docs.ai.yaml +89 -0
- package/bundled/locales/zh-CN/ai/options/documentation/wiki-style.ai.yaml +119 -0
- package/bundled/locales/zh-CN/ai/options/git-workflow/gitflow.ai.yaml +133 -0
- package/bundled/locales/zh-CN/ai/options/git-workflow/github-flow.ai.yaml +73 -0
- package/bundled/locales/zh-CN/ai/options/git-workflow/merge-commit.ai.yaml +88 -0
- package/bundled/locales/zh-CN/ai/options/git-workflow/rebase-ff.ai.yaml +113 -0
- package/bundled/locales/zh-CN/ai/options/git-workflow/squash-merge.ai.yaml +85 -0
- package/bundled/locales/zh-CN/ai/options/git-workflow/trunk-based.ai.yaml +117 -0
- package/bundled/locales/zh-CN/ai/options/project-structure/dotnet.ai.yaml +108 -0
- package/bundled/locales/zh-CN/ai/options/project-structure/go.ai.yaml +115 -0
- package/bundled/locales/zh-CN/ai/options/project-structure/java.ai.yaml +113 -0
- package/bundled/locales/zh-CN/ai/options/project-structure/kotlin.ai.yaml +123 -0
- package/bundled/locales/zh-CN/ai/options/project-structure/nodejs.ai.yaml +101 -0
- package/bundled/locales/zh-CN/ai/options/project-structure/php.ai.yaml +147 -0
- package/bundled/locales/zh-CN/ai/options/project-structure/python.ai.yaml +116 -0
- package/bundled/locales/zh-CN/ai/options/project-structure/ruby.ai.yaml +140 -0
- package/bundled/locales/zh-CN/ai/options/project-structure/rust.ai.yaml +117 -0
- package/bundled/locales/zh-CN/ai/options/project-structure/swift.ai.yaml +143 -0
- package/bundled/locales/zh-CN/ai/options/testing/contract-testing.ai.yaml +254 -0
- package/bundled/locales/zh-CN/ai/options/testing/e2e-testing.ai.yaml +116 -0
- package/bundled/locales/zh-CN/ai/options/testing/industry-pyramid.ai.yaml +144 -0
- package/bundled/locales/zh-CN/ai/options/testing/integration-testing.ai.yaml +90 -0
- package/bundled/locales/zh-CN/ai/options/testing/istqb-framework.ai.yaml +108 -0
- package/bundled/locales/zh-CN/ai/options/testing/performance-testing.ai.yaml +272 -0
- package/bundled/locales/zh-CN/ai/options/testing/security-testing.ai.yaml +160 -0
- package/bundled/locales/zh-CN/ai/options/testing/system-testing.ai.yaml +101 -0
- package/bundled/locales/zh-CN/ai/options/testing/unit-testing.ai.yaml +82 -0
- package/bundled/locales/zh-CN/ai/standards/anti-hallucination.ai.yaml +145 -0
- package/bundled/locales/zh-CN/ai/standards/changelog.ai.yaml +146 -0
- package/bundled/locales/zh-CN/ai/standards/checkin-standards.ai.yaml +170 -0
- package/bundled/locales/zh-CN/ai/standards/code-review.ai.yaml +148 -0
- package/bundled/locales/zh-CN/ai/standards/commit-message.ai.yaml +175 -0
- package/bundled/locales/zh-CN/ai/standards/documentation-structure.ai.yaml +124 -0
- package/bundled/locales/zh-CN/ai/standards/documentation-writing-standards.ai.yaml +190 -0
- package/bundled/locales/zh-CN/ai/standards/error-codes.ai.yaml +139 -0
- package/bundled/locales/zh-CN/ai/standards/git-workflow.ai.yaml +95 -0
- package/bundled/locales/zh-CN/ai/standards/logging.ai.yaml +128 -0
- package/bundled/locales/zh-CN/ai/standards/project-structure.ai.yaml +134 -0
- package/bundled/locales/zh-CN/ai/standards/spec-driven-development.ai.yaml +169 -0
- package/bundled/locales/zh-CN/ai/standards/test-completeness-dimensions.ai.yaml +220 -0
- package/bundled/locales/zh-CN/ai/standards/testing.ai.yaml +137 -0
- package/bundled/locales/zh-CN/ai/standards/versioning.ai.yaml +211 -0
- package/bundled/locales/zh-CN/core/ai-instruction-standards.md +213 -0
- package/bundled/locales/zh-CN/core/anti-hallucination.md +691 -0
- package/bundled/locales/zh-CN/core/changelog-standards.md +147 -0
- package/bundled/locales/zh-CN/core/checkin-standards.md +943 -0
- package/bundled/locales/zh-CN/core/code-review-guide.md +693 -0
- package/bundled/locales/zh-CN/core/commit-message-guide.md +129 -0
- package/bundled/locales/zh-CN/core/documentation-structure.md +173 -0
- package/bundled/locales/zh-CN/core/documentation-writing-standards.md +495 -0
- package/bundled/locales/zh-CN/core/error-code-standards.md +180 -0
- package/bundled/locales/zh-CN/core/git-workflow.md +193 -0
- package/bundled/locales/zh-CN/core/logging-standards.md +174 -0
- package/bundled/locales/zh-CN/core/project-structure.md +184 -0
- package/bundled/locales/zh-CN/core/refactoring-standards.md +642 -0
- package/bundled/locales/zh-CN/core/spec-driven-development.md +215 -0
- package/bundled/locales/zh-CN/core/test-completeness-dimensions.md +544 -0
- package/bundled/locales/zh-CN/core/test-driven-development.md +1002 -0
- package/bundled/locales/zh-CN/core/testing-standards.md +170 -0
- package/bundled/locales/zh-CN/core/versioning.md +177 -0
- package/bundled/locales/zh-CN/docs/AI-AGENT-ROADMAP.md +303 -0
- package/bundled/locales/zh-CN/docs/CLI-INIT-OPTIONS.md +990 -0
- package/bundled/locales/zh-CN/docs/OPERATION-WORKFLOW.md +1064 -0
- package/bundled/locales/zh-CN/docs/USAGE-MODES-COMPARISON.md +333 -0
- package/bundled/locales/zh-CN/docs/WINDOWS-GUIDE.md +215 -0
- package/bundled/locales/zh-CN/integrations/codex/AGENTS.md +115 -0
- package/bundled/locales/zh-CN/integrations/codex/README.md +67 -0
- package/bundled/locales/zh-CN/integrations/gemini-cli/GEMINI.md +102 -0
- package/bundled/locales/zh-CN/integrations/gemini-cli/README.md +140 -0
- package/bundled/locales/zh-CN/integrations/github-copilot/COPILOT-CHAT-REFERENCE.md +269 -0
- package/bundled/locales/zh-CN/integrations/github-copilot/README.md +167 -0
- package/bundled/locales/zh-CN/integrations/github-copilot/copilot-instructions.md +263 -0
- package/bundled/locales/zh-CN/integrations/github-copilot/skills-mapping.md +192 -0
- package/bundled/locales/zh-CN/integrations/google-antigravity/INSTRUCTIONS.md +61 -0
- package/bundled/locales/zh-CN/integrations/google-antigravity/README.md +84 -0
- package/bundled/locales/zh-CN/integrations/opencode/AGENTS.md +111 -0
- package/bundled/locales/zh-CN/integrations/opencode/README.md +176 -0
- package/bundled/locales/zh-CN/integrations/opencode/skills-mapping.md +396 -0
- package/bundled/locales/zh-CN/integrations/openspec/AGENTS.md +301 -0
- package/bundled/locales/zh-CN/integrations/openspec/README.md +43 -0
- package/bundled/locales/zh-CN/integrations/spec-kit/AGENTS.md +184 -0
- package/bundled/locales/zh-CN/integrations/spec-kit/README.md +43 -0
- package/bundled/locales/zh-CN/options/commit-message/bilingual.md +161 -0
- package/bundled/locales/zh-CN/options/commit-message/english.md +137 -0
- package/bundled/locales/zh-CN/options/commit-message/traditional-chinese.md +162 -0
- package/bundled/locales/zh-CN/options/git-workflow/gitflow.md +147 -0
- package/bundled/locales/zh-CN/options/git-workflow/github-flow.md +124 -0
- package/bundled/locales/zh-CN/options/git-workflow/merge-commit.md +124 -0
- package/bundled/locales/zh-CN/options/git-workflow/rebase-ff.md +160 -0
- package/bundled/locales/zh-CN/options/git-workflow/squash-merge.md +117 -0
- package/bundled/locales/zh-CN/options/git-workflow/trunk-based.md +125 -0
- package/bundled/locales/zh-CN/options/project-structure/dotnet.md +183 -0
- package/bundled/locales/zh-CN/options/project-structure/go.md +226 -0
- package/bundled/locales/zh-CN/options/project-structure/java.md +213 -0
- package/bundled/locales/zh-CN/options/project-structure/nodejs.md +185 -0
- package/bundled/locales/zh-CN/options/project-structure/python.md +229 -0
- package/bundled/locales/zh-CN/options/testing/e2e-testing.md +207 -0
- package/bundled/locales/zh-CN/options/testing/integration-testing.md +230 -0
- package/bundled/locales/zh-CN/options/testing/system-testing.md +183 -0
- package/bundled/locales/zh-CN/options/testing/unit-testing.md +165 -0
- package/bundled/locales/zh-CN/skills/INTEGRATION-GUIDE.md +218 -0
- package/bundled/locales/zh-CN/skills/README.md +134 -0
- package/bundled/locales/zh-CN/skills/_shared/README.md +68 -0
- package/bundled/locales/zh-CN/skills/claude-code/CONTRIBUTING.template.md +151 -0
- package/bundled/locales/zh-CN/skills/claude-code/README.md +174 -0
- package/bundled/locales/zh-CN/skills/claude-code/ai-collaboration-standards/SKILL.md +175 -0
- package/bundled/locales/zh-CN/skills/claude-code/ai-collaboration-standards/anti-hallucination.md +223 -0
- package/bundled/locales/zh-CN/skills/claude-code/ai-collaboration-standards/certainty-labels.md +132 -0
- package/bundled/locales/zh-CN/skills/claude-code/changelog-guide/SKILL.md +237 -0
- package/bundled/locales/zh-CN/skills/claude-code/checkin-assistant/SKILL.md +407 -0
- package/bundled/locales/zh-CN/skills/claude-code/code-review-assistant/SKILL.md +154 -0
- package/bundled/locales/zh-CN/skills/claude-code/code-review-assistant/checkin-checklist.md +257 -0
- package/bundled/locales/zh-CN/skills/claude-code/code-review-assistant/review-checklist.md +246 -0
- package/bundled/locales/zh-CN/skills/claude-code/commands/bdd.md +142 -0
- package/bundled/locales/zh-CN/skills/claude-code/commands/methodology.md +274 -0
- package/bundled/locales/zh-CN/skills/claude-code/commit-standards/SKILL.md +191 -0
- package/bundled/locales/zh-CN/skills/claude-code/commit-standards/conventional-commits.md +264 -0
- package/bundled/locales/zh-CN/skills/claude-code/commit-standards/language-options.md +172 -0
- package/bundled/locales/zh-CN/skills/claude-code/documentation-guide/SKILL.md +421 -0
- package/bundled/locales/zh-CN/skills/claude-code/documentation-guide/documentation-structure.md +357 -0
- package/bundled/locales/zh-CN/skills/claude-code/documentation-guide/readme-template.md +412 -0
- package/bundled/locales/zh-CN/skills/claude-code/error-code-guide/SKILL.md +269 -0
- package/bundled/locales/zh-CN/skills/claude-code/git-workflow-guide/SKILL.md +218 -0
- package/bundled/locales/zh-CN/skills/claude-code/git-workflow-guide/branch-naming.md +220 -0
- package/bundled/locales/zh-CN/skills/claude-code/git-workflow-guide/git-workflow.md +321 -0
- package/bundled/locales/zh-CN/skills/claude-code/logging-guide/SKILL.md +285 -0
- package/bundled/locales/zh-CN/skills/claude-code/methodology-system/SKILL.md +131 -0
- package/bundled/locales/zh-CN/skills/claude-code/methodology-system/create-methodology.md +350 -0
- package/bundled/locales/zh-CN/skills/claude-code/methodology-system/runtime.md +279 -0
- package/bundled/locales/zh-CN/skills/claude-code/project-structure-guide/SKILL.md +143 -0
- package/bundled/locales/zh-CN/skills/claude-code/project-structure-guide/language-patterns.md +271 -0
- package/bundled/locales/zh-CN/skills/claude-code/refactoring-assistant/SKILL.md +162 -0
- package/bundled/locales/zh-CN/skills/claude-code/release-standards/SKILL.md +191 -0
- package/bundled/locales/zh-CN/skills/claude-code/release-standards/changelog-format.md +247 -0
- package/bundled/locales/zh-CN/skills/claude-code/release-standards/release-workflow.md +345 -0
- package/bundled/locales/zh-CN/skills/claude-code/release-standards/semantic-versioning.md +250 -0
- package/bundled/locales/zh-CN/skills/claude-code/requirement-assistant/SKILL.md +227 -0
- package/bundled/locales/zh-CN/skills/claude-code/requirement-assistant/requirement-checklist.md +325 -0
- package/bundled/locales/zh-CN/skills/claude-code/requirement-assistant/requirement-writing.md +399 -0
- package/bundled/locales/zh-CN/skills/claude-code/spec-driven-dev/SKILL.md +243 -0
- package/bundled/locales/zh-CN/skills/claude-code/tdd-assistant/SKILL.md +332 -0
- package/bundled/locales/zh-CN/skills/claude-code/tdd-assistant/language-examples.md +639 -0
- package/bundled/locales/zh-CN/skills/claude-code/tdd-assistant/tdd-workflow.md +486 -0
- package/bundled/locales/zh-CN/skills/claude-code/test-coverage-assistant/SKILL.md +282 -0
- package/bundled/locales/zh-CN/skills/claude-code/testing-guide/SKILL.md +234 -0
- package/bundled/locales/zh-CN/skills/claude-code/testing-guide/testing-pyramid.md +448 -0
- package/bundled/locales/zh-CN/skills/cline/README.md +58 -0
- package/bundled/locales/zh-CN/skills/copilot/README.md +61 -0
- package/bundled/locales/zh-CN/skills/copilot/copilot-instructions.md +79 -0
- package/bundled/locales/zh-CN/skills/cursor/README.md +58 -0
- package/bundled/locales/zh-CN/skills/windsurf/README.md +59 -0
- package/bundled/locales/zh-TW/CHANGELOG.md +707 -0
- package/bundled/locales/zh-TW/CLAUDE.md +213 -0
- package/bundled/locales/zh-TW/MAINTENANCE.md +683 -0
- package/bundled/locales/zh-TW/README.md +687 -0
- package/bundled/locales/zh-TW/STANDARDS-MAPPING.md +177 -0
- package/bundled/locales/zh-TW/adoption/ADOPTION-GUIDE.md +392 -0
- package/bundled/locales/zh-TW/adoption/STATIC-DYNAMIC-GUIDE.md +299 -0
- package/bundled/locales/zh-TW/adoption/checklists/enterprise.md +332 -0
- package/bundled/locales/zh-TW/adoption/checklists/minimal.md +141 -0
- package/bundled/locales/zh-TW/adoption/checklists/recommended.md +272 -0
- package/bundled/locales/zh-TW/ai/MAINTENANCE.md +754 -0
- package/bundled/locales/zh-TW/ai/options/changelog/auto-generated.ai.yaml +76 -0
- package/bundled/locales/zh-TW/ai/options/changelog/keep-a-changelog.ai.yaml +99 -0
- package/bundled/locales/zh-TW/ai/options/code-review/automated-review.ai.yaml +120 -0
- package/bundled/locales/zh-TW/ai/options/code-review/pair-programming.ai.yaml +109 -0
- package/bundled/locales/zh-TW/ai/options/code-review/pr-review.ai.yaml +104 -0
- package/bundled/locales/zh-TW/ai/options/commit-message/bilingual.ai.yaml +105 -0
- package/bundled/locales/zh-TW/ai/options/commit-message/english.ai.yaml +79 -0
- package/bundled/locales/zh-TW/ai/options/commit-message/traditional-chinese.ai.yaml +100 -0
- package/bundled/locales/zh-TW/ai/options/documentation/api-docs.ai.yaml +140 -0
- package/bundled/locales/zh-TW/ai/options/documentation/markdown-docs.ai.yaml +89 -0
- package/bundled/locales/zh-TW/ai/options/documentation/wiki-style.ai.yaml +119 -0
- package/bundled/locales/zh-TW/ai/options/git-workflow/gitflow.ai.yaml +133 -0
- package/bundled/locales/zh-TW/ai/options/git-workflow/github-flow.ai.yaml +73 -0
- package/bundled/locales/zh-TW/ai/options/git-workflow/merge-commit.ai.yaml +88 -0
- package/bundled/locales/zh-TW/ai/options/git-workflow/rebase-ff.ai.yaml +113 -0
- package/bundled/locales/zh-TW/ai/options/git-workflow/squash-merge.ai.yaml +85 -0
- package/bundled/locales/zh-TW/ai/options/git-workflow/trunk-based.ai.yaml +117 -0
- package/bundled/locales/zh-TW/ai/options/project-structure/dotnet.ai.yaml +108 -0
- package/bundled/locales/zh-TW/ai/options/project-structure/go.ai.yaml +115 -0
- package/bundled/locales/zh-TW/ai/options/project-structure/java.ai.yaml +113 -0
- package/bundled/locales/zh-TW/ai/options/project-structure/kotlin.ai.yaml +123 -0
- package/bundled/locales/zh-TW/ai/options/project-structure/nodejs.ai.yaml +101 -0
- package/bundled/locales/zh-TW/ai/options/project-structure/php.ai.yaml +147 -0
- package/bundled/locales/zh-TW/ai/options/project-structure/python.ai.yaml +116 -0
- package/bundled/locales/zh-TW/ai/options/project-structure/ruby.ai.yaml +140 -0
- package/bundled/locales/zh-TW/ai/options/project-structure/rust.ai.yaml +117 -0
- package/bundled/locales/zh-TW/ai/options/project-structure/swift.ai.yaml +143 -0
- package/bundled/locales/zh-TW/ai/options/testing/contract-testing.ai.yaml +254 -0
- package/bundled/locales/zh-TW/ai/options/testing/e2e-testing.ai.yaml +116 -0
- package/bundled/locales/zh-TW/ai/options/testing/industry-pyramid.ai.yaml +144 -0
- package/bundled/locales/zh-TW/ai/options/testing/integration-testing.ai.yaml +90 -0
- package/bundled/locales/zh-TW/ai/options/testing/istqb-framework.ai.yaml +108 -0
- package/bundled/locales/zh-TW/ai/options/testing/performance-testing.ai.yaml +272 -0
- package/bundled/locales/zh-TW/ai/options/testing/security-testing.ai.yaml +160 -0
- package/bundled/locales/zh-TW/ai/options/testing/system-testing.ai.yaml +101 -0
- package/bundled/locales/zh-TW/ai/options/testing/unit-testing.ai.yaml +82 -0
- package/bundled/locales/zh-TW/ai/standards/anti-hallucination.ai.yaml +145 -0
- package/bundled/locales/zh-TW/ai/standards/changelog.ai.yaml +146 -0
- package/bundled/locales/zh-TW/ai/standards/checkin-standards.ai.yaml +170 -0
- package/bundled/locales/zh-TW/ai/standards/code-review.ai.yaml +148 -0
- package/bundled/locales/zh-TW/ai/standards/commit-message.ai.yaml +175 -0
- package/bundled/locales/zh-TW/ai/standards/documentation-structure.ai.yaml +124 -0
- package/bundled/locales/zh-TW/ai/standards/documentation-writing-standards.ai.yaml +190 -0
- package/bundled/locales/zh-TW/ai/standards/error-codes.ai.yaml +139 -0
- package/bundled/locales/zh-TW/ai/standards/git-workflow.ai.yaml +95 -0
- package/bundled/locales/zh-TW/ai/standards/logging.ai.yaml +128 -0
- package/bundled/locales/zh-TW/ai/standards/project-structure.ai.yaml +134 -0
- package/bundled/locales/zh-TW/ai/standards/spec-driven-development.ai.yaml +169 -0
- package/bundled/locales/zh-TW/ai/standards/test-completeness-dimensions.ai.yaml +220 -0
- package/bundled/locales/zh-TW/ai/standards/testing.ai.yaml +137 -0
- package/bundled/locales/zh-TW/ai/standards/versioning.ai.yaml +211 -0
- package/bundled/locales/zh-TW/core/ai-instruction-standards.md +213 -0
- package/bundled/locales/zh-TW/core/anti-hallucination.md +691 -0
- package/bundled/locales/zh-TW/core/changelog-standards.md +564 -0
- package/bundled/locales/zh-TW/core/checkin-standards.md +943 -0
- package/bundled/locales/zh-TW/core/code-review-checklist.md +693 -0
- package/bundled/locales/zh-TW/core/commit-message-guide.md +809 -0
- package/bundled/locales/zh-TW/core/documentation-structure.md +1125 -0
- package/bundled/locales/zh-TW/core/documentation-writing-standards.md +495 -0
- package/bundled/locales/zh-TW/core/error-code-standards.md +384 -0
- package/bundled/locales/zh-TW/core/git-workflow.md +860 -0
- package/bundled/locales/zh-TW/core/logging-standards.md +325 -0
- package/bundled/locales/zh-TW/core/project-structure.md +362 -0
- package/bundled/locales/zh-TW/core/refactoring-standards.md +642 -0
- package/bundled/locales/zh-TW/core/spec-driven-development.md +215 -0
- package/bundled/locales/zh-TW/core/test-completeness-dimensions.md +544 -0
- package/bundled/locales/zh-TW/core/test-driven-development.md +1004 -0
- package/bundled/locales/zh-TW/core/testing-standards.md +2158 -0
- package/bundled/locales/zh-TW/core/versioning.md +909 -0
- package/bundled/locales/zh-TW/docs/AI-AGENT-ROADMAP.md +303 -0
- package/bundled/locales/zh-TW/docs/CLI-INIT-OPTIONS.md +990 -0
- package/bundled/locales/zh-TW/docs/OPERATION-WORKFLOW.md +1064 -0
- package/bundled/locales/zh-TW/docs/USAGE-MODES-COMPARISON.md +333 -0
- package/bundled/locales/zh-TW/docs/WINDOWS-GUIDE.md +215 -0
- package/bundled/locales/zh-TW/integrations/codex/AGENTS.md +115 -0
- package/bundled/locales/zh-TW/integrations/codex/README.md +113 -0
- package/bundled/locales/zh-TW/integrations/gemini-cli/GEMINI.md +102 -0
- package/bundled/locales/zh-TW/integrations/gemini-cli/README.md +140 -0
- package/bundled/locales/zh-TW/integrations/github-copilot/COPILOT-CHAT-REFERENCE.md +269 -0
- package/bundled/locales/zh-TW/integrations/github-copilot/README.md +167 -0
- package/bundled/locales/zh-TW/integrations/github-copilot/copilot-instructions.md +263 -0
- package/bundled/locales/zh-TW/integrations/github-copilot/skills-mapping.md +192 -0
- package/bundled/locales/zh-TW/integrations/google-antigravity/INSTRUCTIONS.md +61 -0
- package/bundled/locales/zh-TW/integrations/google-antigravity/README.md +84 -0
- package/bundled/locales/zh-TW/integrations/opencode/AGENTS.md +111 -0
- package/bundled/locales/zh-TW/integrations/opencode/README.md +176 -0
- package/bundled/locales/zh-TW/integrations/opencode/skills-mapping.md +396 -0
- package/bundled/locales/zh-TW/integrations/openspec/AGENTS.md +301 -0
- package/bundled/locales/zh-TW/integrations/openspec/README.md +43 -0
- package/bundled/locales/zh-TW/integrations/spec-kit/AGENTS.md +184 -0
- package/bundled/locales/zh-TW/integrations/spec-kit/README.md +43 -0
- package/bundled/locales/zh-TW/options/commit-message/bilingual.md +161 -0
- package/bundled/locales/zh-TW/options/commit-message/english.md +137 -0
- package/bundled/locales/zh-TW/options/commit-message/traditional-chinese.md +162 -0
- package/bundled/locales/zh-TW/options/git-workflow/gitflow.md +147 -0
- package/bundled/locales/zh-TW/options/git-workflow/github-flow.md +124 -0
- package/bundled/locales/zh-TW/options/git-workflow/merge-commit.md +124 -0
- package/bundled/locales/zh-TW/options/git-workflow/rebase-ff.md +160 -0
- package/bundled/locales/zh-TW/options/git-workflow/squash-merge.md +117 -0
- package/bundled/locales/zh-TW/options/git-workflow/trunk-based.md +125 -0
- package/bundled/locales/zh-TW/options/project-structure/dotnet.md +183 -0
- package/bundled/locales/zh-TW/options/project-structure/go.md +226 -0
- package/bundled/locales/zh-TW/options/project-structure/java.md +213 -0
- package/bundled/locales/zh-TW/options/project-structure/nodejs.md +185 -0
- package/bundled/locales/zh-TW/options/project-structure/python.md +229 -0
- package/bundled/locales/zh-TW/options/testing/e2e-testing.md +207 -0
- package/bundled/locales/zh-TW/options/testing/integration-testing.md +230 -0
- package/bundled/locales/zh-TW/options/testing/system-testing.md +183 -0
- package/bundled/locales/zh-TW/options/testing/unit-testing.md +165 -0
- package/bundled/locales/zh-TW/skills/INTEGRATION-GUIDE.md +218 -0
- package/bundled/locales/zh-TW/skills/README.md +132 -0
- package/bundled/locales/zh-TW/skills/_shared/README.md +68 -0
- package/bundled/locales/zh-TW/skills/claude-code/CONTRIBUTING.template.md +151 -0
- package/bundled/locales/zh-TW/skills/claude-code/README.md +174 -0
- package/bundled/locales/zh-TW/skills/claude-code/ai-collaboration-standards/SKILL.md +175 -0
- package/bundled/locales/zh-TW/skills/claude-code/ai-collaboration-standards/anti-hallucination.md +223 -0
- package/bundled/locales/zh-TW/skills/claude-code/ai-collaboration-standards/certainty-labels.md +132 -0
- package/bundled/locales/zh-TW/skills/claude-code/changelog-guide/SKILL.md +237 -0
- package/bundled/locales/zh-TW/skills/claude-code/checkin-assistant/SKILL.md +407 -0
- package/bundled/locales/zh-TW/skills/claude-code/code-review-assistant/SKILL.md +154 -0
- package/bundled/locales/zh-TW/skills/claude-code/code-review-assistant/checkin-checklist.md +257 -0
- package/bundled/locales/zh-TW/skills/claude-code/code-review-assistant/review-checklist.md +246 -0
- package/bundled/locales/zh-TW/skills/claude-code/commands/bdd.md +142 -0
- package/bundled/locales/zh-TW/skills/claude-code/commands/methodology.md +274 -0
- package/bundled/locales/zh-TW/skills/claude-code/commit-standards/SKILL.md +191 -0
- package/bundled/locales/zh-TW/skills/claude-code/commit-standards/conventional-commits.md +264 -0
- package/bundled/locales/zh-TW/skills/claude-code/commit-standards/language-options.md +172 -0
- package/bundled/locales/zh-TW/skills/claude-code/documentation-guide/SKILL.md +421 -0
- package/bundled/locales/zh-TW/skills/claude-code/documentation-guide/documentation-structure.md +357 -0
- package/bundled/locales/zh-TW/skills/claude-code/documentation-guide/readme-template.md +412 -0
- package/bundled/locales/zh-TW/skills/claude-code/error-code-guide/SKILL.md +269 -0
- package/bundled/locales/zh-TW/skills/claude-code/git-workflow-guide/SKILL.md +218 -0
- package/bundled/locales/zh-TW/skills/claude-code/git-workflow-guide/branch-naming.md +220 -0
- package/bundled/locales/zh-TW/skills/claude-code/git-workflow-guide/git-workflow.md +321 -0
- package/bundled/locales/zh-TW/skills/claude-code/logging-guide/SKILL.md +285 -0
- package/bundled/locales/zh-TW/skills/claude-code/methodology-system/SKILL.md +131 -0
- package/bundled/locales/zh-TW/skills/claude-code/methodology-system/create-methodology.md +350 -0
- package/bundled/locales/zh-TW/skills/claude-code/methodology-system/runtime.md +279 -0
- package/bundled/locales/zh-TW/skills/claude-code/project-structure-guide/SKILL.md +143 -0
- package/bundled/locales/zh-TW/skills/claude-code/project-structure-guide/language-patterns.md +271 -0
- package/bundled/locales/zh-TW/skills/claude-code/refactoring-assistant/SKILL.md +162 -0
- package/bundled/locales/zh-TW/skills/claude-code/release-standards/SKILL.md +191 -0
- package/bundled/locales/zh-TW/skills/claude-code/release-standards/changelog-format.md +247 -0
- package/bundled/locales/zh-TW/skills/claude-code/release-standards/release-workflow.md +345 -0
- package/bundled/locales/zh-TW/skills/claude-code/release-standards/semantic-versioning.md +250 -0
- package/bundled/locales/zh-TW/skills/claude-code/requirement-assistant/SKILL.md +227 -0
- package/bundled/locales/zh-TW/skills/claude-code/requirement-assistant/requirement-checklist.md +325 -0
- package/bundled/locales/zh-TW/skills/claude-code/requirement-assistant/requirement-writing.md +399 -0
- package/bundled/locales/zh-TW/skills/claude-code/spec-driven-dev/SKILL.md +243 -0
- package/bundled/locales/zh-TW/skills/claude-code/tdd-assistant/SKILL.md +332 -0
- package/bundled/locales/zh-TW/skills/claude-code/tdd-assistant/language-examples.md +639 -0
- package/bundled/locales/zh-TW/skills/claude-code/tdd-assistant/tdd-workflow.md +486 -0
- package/bundled/locales/zh-TW/skills/claude-code/test-coverage-assistant/SKILL.md +282 -0
- package/bundled/locales/zh-TW/skills/claude-code/testing-guide/SKILL.md +234 -0
- package/bundled/locales/zh-TW/skills/claude-code/testing-guide/testing-pyramid.md +448 -0
- package/bundled/locales/zh-TW/skills/cline/README.md +58 -0
- package/bundled/locales/zh-TW/skills/copilot/README.md +61 -0
- package/bundled/locales/zh-TW/skills/copilot/copilot-instructions.md +79 -0
- package/bundled/locales/zh-TW/skills/cursor/README.md +58 -0
- package/bundled/locales/zh-TW/skills/windsurf/README.md +59 -0
- package/bundled/skills/claude-code/CONTRIBUTING.template.md +141 -0
- package/bundled/skills/claude-code/README.md +196 -0
- package/bundled/skills/claude-code/ai/standards/checkin.ai.yaml +21 -0
- package/bundled/skills/claude-code/ai/standards/commit.ai.yaml +20 -0
- package/bundled/skills/claude-code/ai/standards/refactoring.ai.yaml +34 -0
- package/bundled/skills/claude-code/ai/standards/testing.ai.yaml +41 -0
- package/bundled/skills/claude-code/ai-collaboration-standards/SKILL.md +175 -0
- package/bundled/skills/claude-code/ai-collaboration-standards/anti-hallucination.md +215 -0
- package/bundled/skills/claude-code/ai-collaboration-standards/certainty-labels.md +124 -0
- package/bundled/skills/claude-code/changelog-guide/SKILL.md +232 -0
- package/bundled/skills/claude-code/checkin-assistant/SKILL.md +402 -0
- package/bundled/skills/claude-code/code-review-assistant/SKILL.md +220 -0
- package/bundled/skills/claude-code/code-review-assistant/checkin-checklist.md +249 -0
- package/bundled/skills/claude-code/code-review-assistant/review-checklist.md +238 -0
- package/bundled/skills/claude-code/commands/README.md +78 -0
- package/bundled/skills/claude-code/commands/bdd.md +142 -0
- package/bundled/skills/claude-code/commands/changelog.md +57 -0
- package/bundled/skills/claude-code/commands/check.md +91 -0
- package/bundled/skills/claude-code/commands/commit.md +48 -0
- package/bundled/skills/claude-code/commands/config.md +97 -0
- package/bundled/skills/claude-code/commands/coverage.md +58 -0
- package/bundled/skills/claude-code/commands/docs.md +75 -0
- package/bundled/skills/claude-code/commands/init.md +88 -0
- package/bundled/skills/claude-code/commands/methodology.md +268 -0
- package/bundled/skills/claude-code/commands/release.md +50 -0
- package/bundled/skills/claude-code/commands/requirement.md +54 -0
- package/bundled/skills/claude-code/commands/review.md +50 -0
- package/bundled/skills/claude-code/commands/spec.md +69 -0
- package/bundled/skills/claude-code/commands/tdd.md +86 -0
- package/bundled/skills/claude-code/commands/update.md +122 -0
- package/bundled/skills/claude-code/commit-standards/SKILL.md +249 -0
- package/bundled/skills/claude-code/commit-standards/conventional-commits.md +256 -0
- package/bundled/skills/claude-code/commit-standards/language-options.md +164 -0
- package/bundled/skills/claude-code/documentation-guide/SKILL.md +416 -0
- package/bundled/skills/claude-code/documentation-guide/documentation-structure.md +349 -0
- package/bundled/skills/claude-code/documentation-guide/readme-template.md +404 -0
- package/bundled/skills/claude-code/error-code-guide/SKILL.md +264 -0
- package/bundled/skills/claude-code/git-workflow-guide/SKILL.md +226 -0
- package/bundled/skills/claude-code/git-workflow-guide/branch-naming.md +212 -0
- package/bundled/skills/claude-code/git-workflow-guide/git-workflow.md +313 -0
- package/bundled/skills/claude-code/logging-guide/SKILL.md +280 -0
- package/bundled/skills/claude-code/methodology-system/SKILL.md +215 -0
- package/bundled/skills/claude-code/methodology-system/create-methodology.md +450 -0
- package/bundled/skills/claude-code/methodology-system/runtime.md +271 -0
- package/bundled/skills/claude-code/project-structure-guide/SKILL.md +143 -0
- package/bundled/skills/claude-code/project-structure-guide/language-patterns.md +263 -0
- package/bundled/skills/claude-code/refactoring-assistant/SKILL.md +205 -0
- package/bundled/skills/claude-code/release-standards/SKILL.md +191 -0
- package/bundled/skills/claude-code/release-standards/changelog-format.md +239 -0
- package/bundled/skills/claude-code/release-standards/release-workflow.md +337 -0
- package/bundled/skills/claude-code/release-standards/semantic-versioning.md +242 -0
- package/bundled/skills/claude-code/requirement-assistant/SKILL.md +222 -0
- package/bundled/skills/claude-code/requirement-assistant/requirement-checklist.md +317 -0
- package/bundled/skills/claude-code/requirement-assistant/requirement-writing.md +391 -0
- package/bundled/skills/claude-code/spec-driven-dev/SKILL.md +238 -0
- package/bundled/skills/claude-code/tdd-assistant/SKILL.md +384 -0
- package/bundled/skills/claude-code/tdd-assistant/language-examples.md +1276 -0
- package/bundled/skills/claude-code/tdd-assistant/tdd-workflow.md +659 -0
- package/bundled/skills/claude-code/test-coverage-assistant/SKILL.md +277 -0
- package/bundled/skills/claude-code/testing-guide/SKILL.md +317 -0
- package/bundled/skills/claude-code/testing-guide/testing-pyramid.md +440 -0
- package/package.json +4 -2
- package/src/commands/check.js +38 -6
- package/src/commands/init.js +20 -6
- package/src/commands/list.js +7 -2
- package/src/commands/skills.js +0 -2
- package/src/commands/update.js +271 -0
- package/src/i18n/messages.js +161 -11
- package/src/utils/copier.js +63 -10
- package/src/utils/skills-installer.js +47 -11
- package/standards-registry.json +6 -3
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
source: ../../../../integrations/openspec/README.md
|
|
3
|
+
source_version: 1.0.0
|
|
4
|
+
translation_version: 1.0.0
|
|
5
|
+
last_synced: 2026-01-13
|
|
6
|
+
status: current
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# OpenSpec 集成
|
|
10
|
+
|
|
11
|
+
本目录包含 [OpenSpec](https://github.com/openspec) 的集成文件,这是一个用于规格驱动开发的规格管理工具。
|
|
12
|
+
|
|
13
|
+
## 文件
|
|
14
|
+
|
|
15
|
+
| 文件 | 说明 |
|
|
16
|
+
|------|------|
|
|
17
|
+
| `AGENTS.md` | 使用 OpenSpec 的 AI 助手完整指令 |
|
|
18
|
+
|
|
19
|
+
## 使用方式
|
|
20
|
+
|
|
21
|
+
### 手动安装
|
|
22
|
+
|
|
23
|
+
将 `AGENTS.md` 复制到项目的 `openspec/` 目录,或将其内容包含在 AI 助手的系统指令中。
|
|
24
|
+
|
|
25
|
+
### 搭配 Claude Code
|
|
26
|
+
|
|
27
|
+
如果使用 Claude Code,您可以在 `CLAUDE.md` 中引用此文件:
|
|
28
|
+
|
|
29
|
+
```markdown
|
|
30
|
+
## 规格驱动开发
|
|
31
|
+
|
|
32
|
+
本项目使用 OpenSpec 进行规格管理。请遵循以下指南:
|
|
33
|
+
- [OpenSpec 指令](openspec/AGENTS.md)
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## 相关资源
|
|
37
|
+
|
|
38
|
+
- [Spec Kit 集成](../spec-kit/) - 替代的轻量级 SDD 工具
|
|
39
|
+
- [规格驱动开发规范](../../core/spec-driven-development.md) - SDD 方法论
|
|
40
|
+
|
|
41
|
+
## 注意事项
|
|
42
|
+
|
|
43
|
+
OpenSpec 和 Spec Kit 是**规格驱动开发工具**,不是 AI 编码助手。它们不包含在 `uds init` 的 AI 工具选择中,但可以根据需要手动集成。
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
---
|
|
2
|
+
source: ../../../../integrations/spec-kit/AGENTS.md
|
|
3
|
+
source_version: 1.0.0
|
|
4
|
+
translation_version: 1.0.0
|
|
5
|
+
last_synced: 2026-01-13
|
|
6
|
+
status: current
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Spec Kit 指令
|
|
10
|
+
|
|
11
|
+
使用 Spec Kit 进行规格驱动开发的 AI 编码助手指令。
|
|
12
|
+
|
|
13
|
+
## 使用方式
|
|
14
|
+
|
|
15
|
+
将此文件复制到您的项目,或包含在 AI 助手的系统指令中。
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## 使用 Spec Kit 进行规格驱动开发
|
|
20
|
+
|
|
21
|
+
当此项目启用 Spec Kit 时,您必须遵循**规格驱动开发(SDD)**方法论。
|
|
22
|
+
|
|
23
|
+
### 核心原则:规格优先,代码其次
|
|
24
|
+
|
|
25
|
+
**规则**:没有对应的已核准规格,不得进行任何功能性代码变更。
|
|
26
|
+
|
|
27
|
+
**例外情况**:
|
|
28
|
+
- 紧急修复(立即恢复服务,事后记录)
|
|
29
|
+
- 琐碎变更(错字、注释、格式)
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## Spec Kit 指令
|
|
34
|
+
|
|
35
|
+
当 Spec Kit 可用时,优先使用这些指令:
|
|
36
|
+
|
|
37
|
+
| 指令 | 说明 |
|
|
38
|
+
|------|------|
|
|
39
|
+
| `/spec create <title>` | 创建新规格 |
|
|
40
|
+
| `/spec list` | 列出所有活跃规格 |
|
|
41
|
+
| `/spec show <id>` | 显示规格详情 |
|
|
42
|
+
| `/spec approve <id>` | 标记规格为已核准 |
|
|
43
|
+
| `/spec close <id>` | 关闭已完成规格 |
|
|
44
|
+
| `/spec archive <id>` | 归档规格 |
|
|
45
|
+
|
|
46
|
+
### 指令优先顺序
|
|
47
|
+
|
|
48
|
+
**规则**:始终优先使用 Spec Kit 指令,而非手动编辑文件。
|
|
49
|
+
|
|
50
|
+
**理由**:
|
|
51
|
+
- **一致性**:确保规格结构遵循 schema
|
|
52
|
+
- **可追溯性**:自动生成 ID 和链接
|
|
53
|
+
- **验证**:内建检查防止无效状态
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## SDD 工作流程
|
|
58
|
+
|
|
59
|
+
```
|
|
60
|
+
┌──────────────┐ ┌──────────────┐ ┌──────────────┐
|
|
61
|
+
│ 提案 │───▶│ 审查 │───▶│ 实现 │
|
|
62
|
+
└──────────────┘ └──────────────┘ └──────────────┘
|
|
63
|
+
│
|
|
64
|
+
▼
|
|
65
|
+
┌──────────────┐ ┌──────────────┐
|
|
66
|
+
│ 归档 │◀───│ 验证 │
|
|
67
|
+
└──────────────┘ └──────────────┘
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
### 工作流程阶段
|
|
71
|
+
|
|
72
|
+
| 阶段 | 说明 | 操作 |
|
|
73
|
+
|------|------|------|
|
|
74
|
+
| **提案** | 定义变更内容和原因 | `/spec create` |
|
|
75
|
+
| **审查** | 利益相关者核准 | `/spec approve` |
|
|
76
|
+
| **实现** | 执行已核准规格 | 代码变更 |
|
|
77
|
+
| **验证** | 确认实现符合规格 | 测试 |
|
|
78
|
+
| **归档** | 关闭并归档规格 | `/spec close` |
|
|
79
|
+
|
|
80
|
+
---
|
|
81
|
+
|
|
82
|
+
## 任何任务之前
|
|
83
|
+
|
|
84
|
+
**上下文检查清单**:
|
|
85
|
+
- [ ] 检查活跃规格:`/spec list`
|
|
86
|
+
- [ ] 变更前审查相关规格
|
|
87
|
+
- [ ] 确认无冲突规格
|
|
88
|
+
- [ ] 非琐碎变更需创建规格
|
|
89
|
+
|
|
90
|
+
**可跳过规格的情况**:
|
|
91
|
+
- 错误修复(恢复预期行为)
|
|
92
|
+
- 错字、格式、注释
|
|
93
|
+
- 依赖更新(非破坏性)
|
|
94
|
+
- 配置变更
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
## 规格文档模板
|
|
99
|
+
|
|
100
|
+
手动创建规格时,使用此结构:
|
|
101
|
+
|
|
102
|
+
```markdown
|
|
103
|
+
# [SPEC-ID] 功能标题
|
|
104
|
+
|
|
105
|
+
## 摘要
|
|
106
|
+
简述提议变更。
|
|
107
|
+
|
|
108
|
+
## 动机
|
|
109
|
+
为何需要此变更?解决什么问题?
|
|
110
|
+
|
|
111
|
+
## 详细设计
|
|
112
|
+
技术方案、受影响组件、数据流程。
|
|
113
|
+
|
|
114
|
+
## 验收标准
|
|
115
|
+
- [ ] 标准 1
|
|
116
|
+
- [ ] 标准 2
|
|
117
|
+
|
|
118
|
+
## 依赖项
|
|
119
|
+
列出对其他规格或外部系统的依赖。
|
|
120
|
+
|
|
121
|
+
## 风险
|
|
122
|
+
潜在风险和缓解策略。
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
127
|
+
## 与通用文档规范的集成
|
|
128
|
+
|
|
129
|
+
### Commit 消息
|
|
130
|
+
|
|
131
|
+
在 commit 消息中引用规格 ID:
|
|
132
|
+
|
|
133
|
+
```
|
|
134
|
+
feat(auth): 实现登录功能
|
|
135
|
+
|
|
136
|
+
实现 SPEC-001 登录功能,支持 OAuth2。
|
|
137
|
+
|
|
138
|
+
Refs: SPEC-001
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
### 代码审查
|
|
142
|
+
|
|
143
|
+
审查者应确认:
|
|
144
|
+
- [ ] 变更符合已核准规格
|
|
145
|
+
- [ ] 无超出规格的范围蔓延
|
|
146
|
+
- [ ] 规格验收标准已达成
|
|
147
|
+
|
|
148
|
+
---
|
|
149
|
+
|
|
150
|
+
## 最佳实践
|
|
151
|
+
|
|
152
|
+
### 应该做的
|
|
153
|
+
- 保持规格聚焦且原子化(每个规格一项变更)
|
|
154
|
+
- 包含清晰的验收标准
|
|
155
|
+
- 将规格链接到实现 PR
|
|
156
|
+
- 完成后归档规格
|
|
157
|
+
|
|
158
|
+
### 不应该做的
|
|
159
|
+
- 规格核准前开始编码
|
|
160
|
+
- 实现期间修改范围而不更新规格
|
|
161
|
+
- 让规格处于悬而未决状态(始终关闭或归档)
|
|
162
|
+
- 跳过验证步骤
|
|
163
|
+
|
|
164
|
+
---
|
|
165
|
+
|
|
166
|
+
## 相关规范
|
|
167
|
+
|
|
168
|
+
- [规格驱动开发](../../core/spec-driven-development.md) - SDD 方法论
|
|
169
|
+
- [Commit 消息指南](../../core/commit-message-guide.md) - Commit 惯例
|
|
170
|
+
- [代码签入规范](../../core/checkin-standards.md) - 签入要求
|
|
171
|
+
|
|
172
|
+
---
|
|
173
|
+
|
|
174
|
+
## 版本历史
|
|
175
|
+
|
|
176
|
+
| 版本 | 日期 | 变更 |
|
|
177
|
+
|------|------|------|
|
|
178
|
+
| 1.0.0 | 2025-12-30 | 初始 Spec Kit 集成 |
|
|
179
|
+
|
|
180
|
+
---
|
|
181
|
+
|
|
182
|
+
## 许可证
|
|
183
|
+
|
|
184
|
+
本文档以 [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) 许可发布。
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
source: ../../../../integrations/spec-kit/README.md
|
|
3
|
+
source_version: 1.0.0
|
|
4
|
+
translation_version: 1.0.0
|
|
5
|
+
last_synced: 2026-01-13
|
|
6
|
+
status: current
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Spec Kit 集成
|
|
10
|
+
|
|
11
|
+
本目录包含 [Spec Kit](https://github.com/spec-kit/spec-kit) 的集成文件,这是一个用于规格驱动开发的轻量级规格追踪工具。
|
|
12
|
+
|
|
13
|
+
## 文件
|
|
14
|
+
|
|
15
|
+
| 文件 | 说明 |
|
|
16
|
+
|------|------|
|
|
17
|
+
| `AGENTS.md` | 使用 Spec Kit 的 AI 助手指令 |
|
|
18
|
+
|
|
19
|
+
## 使用方式
|
|
20
|
+
|
|
21
|
+
### 手动安装
|
|
22
|
+
|
|
23
|
+
将 `AGENTS.md` 复制到您的项目,或将其内容包含在 AI 助手的系统指令中。
|
|
24
|
+
|
|
25
|
+
### 搭配 Claude Code
|
|
26
|
+
|
|
27
|
+
如果使用 Claude Code,您可以在 `CLAUDE.md` 中引用此文件:
|
|
28
|
+
|
|
29
|
+
```markdown
|
|
30
|
+
## 规格驱动开发
|
|
31
|
+
|
|
32
|
+
本项目使用 Spec Kit 进行规格管理。请遵循以下指南:
|
|
33
|
+
- [Spec Kit 指令](integrations/spec-kit/AGENTS.md)
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## 相关资源
|
|
37
|
+
|
|
38
|
+
- [OpenSpec 集成](../openspec/) - 替代的 SDD 工具集成
|
|
39
|
+
- [规格驱动开发规范](../../core/spec-driven-development.md) - SDD 方法论
|
|
40
|
+
|
|
41
|
+
## 注意事项
|
|
42
|
+
|
|
43
|
+
Spec Kit 和 OpenSpec 是**规格驱动开发工具**,不是 AI 编码助手。它们不包含在 `uds init` 的 AI 工具选择中,但可以根据需要手动集成。
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
---
|
|
2
|
+
source: ../../../../options/commit-message/bilingual.md
|
|
3
|
+
source_version: 1.0.0
|
|
4
|
+
translation_version: 1.0.0
|
|
5
|
+
last_synced: 2025-12-30
|
|
6
|
+
status: current
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# 双语 Commit 讯息
|
|
10
|
+
|
|
11
|
+
> **语言**: [English](../../../../options/commit-message/bilingual.md) | 繁体中文
|
|
12
|
+
|
|
13
|
+
**上层标准**: [Commit 讯息指南](../../core/commit-message-guide.md)
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## 概述
|
|
18
|
+
|
|
19
|
+
双语 commit 讯息以结构化格式结合英文和繁体中文。此方法在维持国际可及性的同时,为中文团队成员提供清晰的沟通。
|
|
20
|
+
|
|
21
|
+
## 适用情境
|
|
22
|
+
|
|
23
|
+
- 语言背景混合的团队
|
|
24
|
+
- 转型为国际标准的公司
|
|
25
|
+
- 同时有本地和国际贡献者的专案
|
|
26
|
+
- 需要双语文件的组织
|
|
27
|
+
|
|
28
|
+
## 格式
|
|
29
|
+
|
|
30
|
+
### 基本结构
|
|
31
|
+
|
|
32
|
+
```
|
|
33
|
+
<type>(<scope>): <英文主题>
|
|
34
|
+
|
|
35
|
+
<英文说明>
|
|
36
|
+
|
|
37
|
+
<中文说明>
|
|
38
|
+
|
|
39
|
+
<footer>
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### 替代格式
|
|
43
|
+
|
|
44
|
+
```
|
|
45
|
+
<type>(<scope>): <English> / <中文>
|
|
46
|
+
|
|
47
|
+
<详细英文说明>
|
|
48
|
+
|
|
49
|
+
<详细中文说明>
|
|
50
|
+
|
|
51
|
+
<footer>
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## 范例
|
|
55
|
+
|
|
56
|
+
### 功能
|
|
57
|
+
|
|
58
|
+
```
|
|
59
|
+
feat(auth): add two-factor authentication
|
|
60
|
+
|
|
61
|
+
Add support for TOTP-based two-factor authentication.
|
|
62
|
+
Users can enable 2FA from their security settings.
|
|
63
|
+
|
|
64
|
+
新增基于 TOTP 的双因素验证支援。
|
|
65
|
+
使用者可以从安全设定中启用 2FA。
|
|
66
|
+
|
|
67
|
+
Closes #234
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
### 错误修复
|
|
71
|
+
|
|
72
|
+
```
|
|
73
|
+
fix(api): handle timeout in payment processing
|
|
74
|
+
|
|
75
|
+
The payment gateway timeout was causing silent failures.
|
|
76
|
+
Added proper error handling and user notification.
|
|
77
|
+
|
|
78
|
+
付款闸道逾时导致静默失败。
|
|
79
|
+
新增适当的错误处理和使用者通知。
|
|
80
|
+
|
|
81
|
+
Fixes #567
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
### 重大变更
|
|
85
|
+
|
|
86
|
+
```
|
|
87
|
+
feat(api): migrate to GraphQL API
|
|
88
|
+
|
|
89
|
+
BREAKING CHANGE: REST API endpoints are deprecated.
|
|
90
|
+
All clients must migrate to GraphQL by v3.0.
|
|
91
|
+
|
|
92
|
+
重大变更:REST API 端点已弃用。
|
|
93
|
+
所有客户端必须在 v3.0 前迁移至 GraphQL。
|
|
94
|
+
|
|
95
|
+
Migration guide / 迁移指南:
|
|
96
|
+
- Replace REST calls with GraphQL queries
|
|
97
|
+
- 将 REST 呼叫替换为 GraphQL 查询
|
|
98
|
+
|
|
99
|
+
Closes #789
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
### 精简格式
|
|
103
|
+
|
|
104
|
+
对于较小的变更,使用行内双语格式:
|
|
105
|
+
|
|
106
|
+
```
|
|
107
|
+
fix(ui): correct button alignment / 修正按钮对齐
|
|
108
|
+
|
|
109
|
+
style(css): update color scheme / 更新配色方案
|
|
110
|
+
|
|
111
|
+
docs: fix typo in README / 修正 README 错字
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
## 撰写指南
|
|
115
|
+
|
|
116
|
+
| 指南 | 说明 |
|
|
117
|
+
|------|------|
|
|
118
|
+
| 英文优先 | 英文放在中文之前 |
|
|
119
|
+
| 各语言 50 字元 | 每种语言保持简洁 |
|
|
120
|
+
| 英文祈使语气 | 使用动词原形 |
|
|
121
|
+
| 中文动词开头 | 新增、修正、更新等 |
|
|
122
|
+
|
|
123
|
+
## 最佳实践
|
|
124
|
+
|
|
125
|
+
### 建议
|
|
126
|
+
|
|
127
|
+
- 保持两种语言同步
|
|
128
|
+
- 使用一致的格式
|
|
129
|
+
- 审阅两种语言版本
|
|
130
|
+
- 使用各语言适当的惯用语
|
|
131
|
+
|
|
132
|
+
### 避免
|
|
133
|
+
|
|
134
|
+
- 在句子中混合语言
|
|
135
|
+
- 使用未经审阅的机器翻译
|
|
136
|
+
- 「小变更」时跳过一种语言
|
|
137
|
+
- 不必要地翻译技术术语
|
|
138
|
+
|
|
139
|
+
## 技术术语
|
|
140
|
+
|
|
141
|
+
保持技术术语使用英文:
|
|
142
|
+
|
|
143
|
+
| 术语 | 使用方式 |
|
|
144
|
+
|------|----------|
|
|
145
|
+
| API、REST、GraphQL | 不翻译 |
|
|
146
|
+
| CRUD 操作 | 不翻译 |
|
|
147
|
+
| Git 指令 | 不翻译 |
|
|
148
|
+
| 框架名称 | 不翻译 |
|
|
149
|
+
|
|
150
|
+
## 相关选项
|
|
151
|
+
|
|
152
|
+
- [英文](./english.md) - 纯英文格式
|
|
153
|
+
- [繁体中文](./traditional-chinese.md) - 纯中文格式
|
|
154
|
+
|
|
155
|
+
---
|
|
156
|
+
|
|
157
|
+
## 授权条款
|
|
158
|
+
|
|
159
|
+
本文件采用 [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) 授权条款。
|
|
160
|
+
|
|
161
|
+
**来源**:[universal-dev-standards](https://github.com/AsiaOstrich/universal-dev-standards)
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
---
|
|
2
|
+
source: ../../../../options/commit-message/english.md
|
|
3
|
+
source_version: 1.0.0
|
|
4
|
+
translation_version: 1.0.0
|
|
5
|
+
last_synced: 2025-12-30
|
|
6
|
+
status: current
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# 英文 Commit 讯息
|
|
10
|
+
|
|
11
|
+
> **语言**: [English](../../../../options/commit-message/english.md) | 繁体中文
|
|
12
|
+
|
|
13
|
+
**上层标准**: [Commit 讯息指南](../../core/commit-message-guide.md)
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## 概述
|
|
18
|
+
|
|
19
|
+
此选项定义完全使用英文撰写 commit 讯息的标准。英文是软体开发中使用最广泛的语言,使 commit 对全球开发者社群都可理解。
|
|
20
|
+
|
|
21
|
+
## 适用情境
|
|
22
|
+
|
|
23
|
+
- 国际团队
|
|
24
|
+
- 开源专案
|
|
25
|
+
- 有外部贡献者的专案
|
|
26
|
+
- 以英文为公司语言的组织
|
|
27
|
+
- 追求最大可及性的专案
|
|
28
|
+
|
|
29
|
+
## 格式
|
|
30
|
+
|
|
31
|
+
### 基本结构
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
<type>(<scope>): <subject>
|
|
35
|
+
|
|
36
|
+
<body>
|
|
37
|
+
|
|
38
|
+
<footer>
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### 组成元素
|
|
42
|
+
|
|
43
|
+
| 元素 | 必填 | 说明 |
|
|
44
|
+
|------|------|------|
|
|
45
|
+
| type | 是 | 变更类别(feat、fix、docs 等)|
|
|
46
|
+
| scope | 否 | 影响的模组或元件 |
|
|
47
|
+
| subject | 是 | 简短描述(祈使语气)|
|
|
48
|
+
| body | 否 | 详细说明 |
|
|
49
|
+
| footer | 否 | 参考连结、重大变更 |
|
|
50
|
+
|
|
51
|
+
## Commit 类型
|
|
52
|
+
|
|
53
|
+
| 类型 | 说明 | 范例 |
|
|
54
|
+
|------|------|------|
|
|
55
|
+
| `feat` | 新功能 | `feat: add user authentication` |
|
|
56
|
+
| `fix` | 错误修复 | `fix: resolve login timeout issue` |
|
|
57
|
+
| `docs` | 文件更新 | `docs: update API reference` |
|
|
58
|
+
| `style` | 格式调整 | `style: fix indentation in utils` |
|
|
59
|
+
| `refactor` | 程式码重构 | `refactor: simplify validation logic` |
|
|
60
|
+
| `perf` | 效能优化 | `perf: optimize database queries` |
|
|
61
|
+
| `test` | 测试相关 | `test: add unit tests for auth module` |
|
|
62
|
+
| `chore` | 维护作业 | `chore: update dependencies` |
|
|
63
|
+
|
|
64
|
+
## 撰写指南
|
|
65
|
+
|
|
66
|
+
### 主题行
|
|
67
|
+
|
|
68
|
+
1. **使用祈使语气**:「Add feature」而非「Added feature」
|
|
69
|
+
2. **冒号后不大写**:「add feature」而非「Add feature」
|
|
70
|
+
3. **结尾不加句号**:「add feature」而非「add feature.」
|
|
71
|
+
4. **保持 50 字元以内**:简洁扼要
|
|
72
|
+
5. **具体明确**:「fix null pointer in user service」而非「fix bug」
|
|
73
|
+
|
|
74
|
+
### 内文
|
|
75
|
+
|
|
76
|
+
1. **每行 72 字元**:在终端机中保持可读性
|
|
77
|
+
2. **说明「什么」和「为什么」**:而非「如何」(程式码会显示如何)
|
|
78
|
+
3. **使用项目符号**:多项变更时
|
|
79
|
+
4. **与主题分隔**:使用空行
|
|
80
|
+
|
|
81
|
+
## 范例
|
|
82
|
+
|
|
83
|
+
### 简单功能
|
|
84
|
+
|
|
85
|
+
```
|
|
86
|
+
feat(auth): add password strength indicator
|
|
87
|
+
|
|
88
|
+
- Display strength bar during password input
|
|
89
|
+
- Show requirements as user types
|
|
90
|
+
- Prevent submission of weak passwords
|
|
91
|
+
|
|
92
|
+
Closes #234
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### 错误修复
|
|
96
|
+
|
|
97
|
+
```
|
|
98
|
+
fix(api): handle null response from payment gateway
|
|
99
|
+
|
|
100
|
+
The payment gateway occasionally returns null instead of an error
|
|
101
|
+
object when the service is degraded. This caused unhandled exceptions
|
|
102
|
+
in the checkout flow.
|
|
103
|
+
|
|
104
|
+
Added null check and appropriate error handling to gracefully
|
|
105
|
+
handle this edge case.
|
|
106
|
+
|
|
107
|
+
Fixes #567
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
### 重大变更
|
|
111
|
+
|
|
112
|
+
```
|
|
113
|
+
feat(api): change authentication to JWT tokens
|
|
114
|
+
|
|
115
|
+
BREAKING CHANGE: Session-based authentication is removed.
|
|
116
|
+
All API clients must now use JWT tokens for authentication.
|
|
117
|
+
|
|
118
|
+
Migration guide:
|
|
119
|
+
1. Obtain JWT token from /auth/token endpoint
|
|
120
|
+
2. Include token in Authorization header
|
|
121
|
+
3. Remove session cookie handling
|
|
122
|
+
|
|
123
|
+
Closes #789
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
## 相关选项
|
|
127
|
+
|
|
128
|
+
- [繁体中文](./traditional-chinese.md) - 繁体中文 Commit 讯息
|
|
129
|
+
- [双语](./bilingual.md) - 中英双语格式
|
|
130
|
+
|
|
131
|
+
---
|
|
132
|
+
|
|
133
|
+
## 授权条款
|
|
134
|
+
|
|
135
|
+
本文件采用 [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) 授权条款。
|
|
136
|
+
|
|
137
|
+
**来源**:[universal-dev-standards](https://github.com/AsiaOstrich/universal-dev-standards)
|