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)
|