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,249 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: commit-standards
|
|
3
|
+
description: |
|
|
4
|
+
Format commit messages following conventional commits standard.
|
|
5
|
+
Use when: writing commit messages, git commit, reviewing commit history.
|
|
6
|
+
Keywords: commit, git, message, conventional, feat, fix, refactor.
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Commit Message Standards
|
|
10
|
+
|
|
11
|
+
> **Language**: English | [繁體中文](../../../locales/zh-TW/skills/claude-code/commit-standards/SKILL.md)
|
|
12
|
+
|
|
13
|
+
**Version**: 1.0.0
|
|
14
|
+
**Last Updated**: 2025-12-24
|
|
15
|
+
**Applicability**: Claude Code Skills
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## Purpose
|
|
20
|
+
|
|
21
|
+
This skill ensures consistent, meaningful commit messages following conventional commits.
|
|
22
|
+
|
|
23
|
+
## Quick Reference
|
|
24
|
+
|
|
25
|
+
### Basic Format
|
|
26
|
+
|
|
27
|
+
```
|
|
28
|
+
<type>(<scope>): <subject>
|
|
29
|
+
|
|
30
|
+
<body>
|
|
31
|
+
|
|
32
|
+
<footer>
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### Commit Types
|
|
36
|
+
|
|
37
|
+
| English | When to Use |
|
|
38
|
+
|---------|-------------|
|
|
39
|
+
| `feat` | New feature |
|
|
40
|
+
| `fix` | Bug fix |
|
|
41
|
+
| `refactor` | Code refactoring (no functional change) |
|
|
42
|
+
| `docs` | Documentation only |
|
|
43
|
+
| `style` | Formatting (no code logic change) |
|
|
44
|
+
| `test` | Adding or updating tests |
|
|
45
|
+
| `perf` | Performance improvement |
|
|
46
|
+
| `build` | Build system or dependencies |
|
|
47
|
+
| `ci` | CI/CD pipeline changes |
|
|
48
|
+
| `chore` | Maintenance tasks |
|
|
49
|
+
| `revert` | Revert previous commit |
|
|
50
|
+
| `security` | Security vulnerability fix |
|
|
51
|
+
|
|
52
|
+
### Subject Line Rules
|
|
53
|
+
|
|
54
|
+
1. **Length**: ≤72 characters (50 ideal)
|
|
55
|
+
2. **Tense**: Imperative mood ("Add feature" not "Added feature")
|
|
56
|
+
3. **Capitalization**: First letter capitalized
|
|
57
|
+
4. **No period**: Don't end with a period
|
|
58
|
+
|
|
59
|
+
## Detailed Guidelines
|
|
60
|
+
|
|
61
|
+
For complete standards, see:
|
|
62
|
+
- [Conventional Commits Guide](./conventional-commits.md)
|
|
63
|
+
- [Language Options](./language-options.md)
|
|
64
|
+
|
|
65
|
+
### AI-Optimized Format (Token-Efficient)
|
|
66
|
+
|
|
67
|
+
For AI assistants, use the YAML format files for reduced token usage:
|
|
68
|
+
- Base standard: `ai/standards/commit-message.ai.yaml`
|
|
69
|
+
- Language options:
|
|
70
|
+
- English: `ai/options/commit-message/english.ai.yaml`
|
|
71
|
+
- Traditional Chinese: `ai/options/commit-message/traditional-chinese.ai.yaml`
|
|
72
|
+
- Bilingual: `ai/options/commit-message/bilingual.ai.yaml`
|
|
73
|
+
|
|
74
|
+
## Examples
|
|
75
|
+
|
|
76
|
+
### ✅ Good Examples
|
|
77
|
+
|
|
78
|
+
```
|
|
79
|
+
feat(auth): Add OAuth2 Google login support
|
|
80
|
+
fix(api): Resolve memory leak in user session cache
|
|
81
|
+
refactor(database): Extract query builder to separate class
|
|
82
|
+
docs(readme): Update installation instructions for Node 20
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
### ❌ Bad Examples
|
|
86
|
+
|
|
87
|
+
```
|
|
88
|
+
fixed bug # Too vague, no scope
|
|
89
|
+
feat(auth): added google login # Past tense
|
|
90
|
+
Update stuff. # Period, vague
|
|
91
|
+
WIP # Not descriptive
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
## Body Guidelines
|
|
95
|
+
|
|
96
|
+
Use the body to explain **WHY** the change was made:
|
|
97
|
+
|
|
98
|
+
```
|
|
99
|
+
fix(api): Resolve race condition in concurrent user updates
|
|
100
|
+
|
|
101
|
+
Why this occurred:
|
|
102
|
+
- Two simultaneous PUT requests could overwrite each other
|
|
103
|
+
- No optimistic locking implemented
|
|
104
|
+
|
|
105
|
+
What this fix does:
|
|
106
|
+
- Add version field to User model
|
|
107
|
+
- Return 409 Conflict if version mismatch
|
|
108
|
+
|
|
109
|
+
Fixes #789
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
## Breaking Changes
|
|
113
|
+
|
|
114
|
+
Always document breaking changes in footer:
|
|
115
|
+
|
|
116
|
+
```
|
|
117
|
+
feat(api): Change user endpoint response format
|
|
118
|
+
|
|
119
|
+
BREAKING CHANGE: User API response format changed
|
|
120
|
+
|
|
121
|
+
Migration guide:
|
|
122
|
+
1. Update API clients to remove .data wrapper
|
|
123
|
+
2. Use created_at instead of createdAt
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
## Issue References
|
|
127
|
+
|
|
128
|
+
```
|
|
129
|
+
Closes #123 # Automatically closes issue
|
|
130
|
+
Fixes #456 # Automatically closes issue
|
|
131
|
+
Refs #789 # Links without closing
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
---
|
|
135
|
+
|
|
136
|
+
## Language Selection Decision (YAML Compressed)
|
|
137
|
+
|
|
138
|
+
```yaml
|
|
139
|
+
# === LANGUAGE DECISION MATRIX ===
|
|
140
|
+
decision_tree:
|
|
141
|
+
- q: "Open source project?"
|
|
142
|
+
y: "→ English (international contributors)"
|
|
143
|
+
n: next
|
|
144
|
+
- q: "International/distributed team?"
|
|
145
|
+
y: "→ English (common language)"
|
|
146
|
+
n: next
|
|
147
|
+
- q: "Single-language team?"
|
|
148
|
+
y: "→ Team's primary language OR English"
|
|
149
|
+
n: "→ Bilingual (subject:EN, body:local)"
|
|
150
|
+
|
|
151
|
+
recommendation_matrix:
|
|
152
|
+
open_source: {lang: English, reason: "international contributors"}
|
|
153
|
+
international_team: {lang: English, reason: "common language"}
|
|
154
|
+
local_team_EN: {lang: English, reason: "tool compatibility, career mobility"}
|
|
155
|
+
local_team_ZH: {lang: "繁體中文", reason: "clarity, team preference"}
|
|
156
|
+
mixed: {lang: Bilingual, reason: "best of both worlds"}
|
|
157
|
+
|
|
158
|
+
# === TOOL COMPATIBILITY ===
|
|
159
|
+
tool_support:
|
|
160
|
+
full_unicode:
|
|
161
|
+
- GitHub/GitLab/Bitbucket
|
|
162
|
+
- VS Code/JetBrains
|
|
163
|
+
- SourceTree/GitKraken
|
|
164
|
+
potential_issues:
|
|
165
|
+
- "Some CI/CD log viewers"
|
|
166
|
+
- "Legacy terminal encodings"
|
|
167
|
+
- "Email notifications (rare)"
|
|
168
|
+
|
|
169
|
+
# === FORMAT BY LANGUAGE ===
|
|
170
|
+
english:
|
|
171
|
+
types: [feat, fix, refactor, docs, style, test, perf, build, ci, chore, revert, security]
|
|
172
|
+
example: "feat(auth): add OAuth2 Google login support"
|
|
173
|
+
|
|
174
|
+
traditional_chinese:
|
|
175
|
+
types: [功能, 修復, 重構, 文件, 樣式, 測試, 效能, 建置, CI, 雜項, 回退, 安全]
|
|
176
|
+
example: "功能(認證): 新增 OAuth2 Google 登入支援"
|
|
177
|
+
|
|
178
|
+
bilingual:
|
|
179
|
+
format: "type(scope): English subject\n\n中文詳細說明"
|
|
180
|
+
example: |
|
|
181
|
+
feat(auth): add OAuth2 Google login
|
|
182
|
+
|
|
183
|
+
新增 Google OAuth2 登入功能
|
|
184
|
+
- 實作授權流程
|
|
185
|
+
- 處理 token 交換
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
---
|
|
189
|
+
|
|
190
|
+
## Configuration Detection
|
|
191
|
+
|
|
192
|
+
This skill supports project-specific language configuration.
|
|
193
|
+
|
|
194
|
+
### Detection Order
|
|
195
|
+
|
|
196
|
+
1. Check `CONTRIBUTING.md` for "Commit Message Language" section
|
|
197
|
+
2. If found, use the specified option (English / Traditional Chinese / Bilingual)
|
|
198
|
+
3. If not found, **default to English** for maximum tool compatibility
|
|
199
|
+
|
|
200
|
+
### First-Time Setup
|
|
201
|
+
|
|
202
|
+
If no configuration found and context is unclear:
|
|
203
|
+
|
|
204
|
+
1. Ask the user: "This project hasn't configured commit message language preference. Which option would you like to use? (English / 中文 / Bilingual)"
|
|
205
|
+
2. After user selection, suggest documenting in `CONTRIBUTING.md`:
|
|
206
|
+
|
|
207
|
+
```markdown
|
|
208
|
+
## Commit Message Language
|
|
209
|
+
|
|
210
|
+
This project uses **[chosen option]** commit types.
|
|
211
|
+
<!-- Options: English | Traditional Chinese | Bilingual -->
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
### Configuration Example
|
|
215
|
+
|
|
216
|
+
In project's `CONTRIBUTING.md`:
|
|
217
|
+
|
|
218
|
+
```markdown
|
|
219
|
+
## Commit Message Language
|
|
220
|
+
|
|
221
|
+
This project uses **English** commit types.
|
|
222
|
+
|
|
223
|
+
### Allowed Types
|
|
224
|
+
feat, fix, refactor, docs, style, test, perf, build, ci, chore, revert, security
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
---
|
|
228
|
+
|
|
229
|
+
## Related Standards
|
|
230
|
+
|
|
231
|
+
- [Commit Message Guide](../../../core/commit-message-guide.md)
|
|
232
|
+
- [Git Workflow](../../../core/git-workflow.md)
|
|
233
|
+
- [Changelog Standards](../../../core/changelog-standards.md)
|
|
234
|
+
|
|
235
|
+
---
|
|
236
|
+
|
|
237
|
+
## Version History
|
|
238
|
+
|
|
239
|
+
| Version | Date | Changes |
|
|
240
|
+
|---------|------|---------|
|
|
241
|
+
| 1.0.0 | 2025-12-24 | Added: Standard sections (Purpose, Related Standards, Version History, License) |
|
|
242
|
+
|
|
243
|
+
---
|
|
244
|
+
|
|
245
|
+
## License
|
|
246
|
+
|
|
247
|
+
This skill is released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
|
|
248
|
+
|
|
249
|
+
**Source**: [universal-dev-standards](https://github.com/AsiaOstrich/universal-dev-standards)
|
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
# Conventional Commits Guide
|
|
2
|
+
|
|
3
|
+
> **Language**: English | [繁體中文](../../../locales/zh-TW/skills/claude-code/commit-standards/conventional-commits.md)
|
|
4
|
+
|
|
5
|
+
**Version**: 1.0.0
|
|
6
|
+
**Last Updated**: 2025-12-24
|
|
7
|
+
**Applicability**: Claude Code Skills
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Purpose
|
|
12
|
+
|
|
13
|
+
This document provides detailed guidelines for writing conventional commit messages.
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Format Structure
|
|
18
|
+
|
|
19
|
+
```
|
|
20
|
+
<type>(<scope>): <subject>
|
|
21
|
+
|
|
22
|
+
<body>
|
|
23
|
+
|
|
24
|
+
<footer>
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
### Components
|
|
28
|
+
|
|
29
|
+
| Component | Required | Description |
|
|
30
|
+
|-----------|----------|-------------|
|
|
31
|
+
| `type` | ✅ Yes | Type of change |
|
|
32
|
+
| `scope` | Optional | Module/component affected |
|
|
33
|
+
| `subject` | ✅ Yes | Brief description (≤72 chars) |
|
|
34
|
+
| `body` | Recommended | Detailed explanation |
|
|
35
|
+
| `footer` | Optional | Issue references, breaking changes |
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## Commit Types
|
|
40
|
+
|
|
41
|
+
### Primary Types
|
|
42
|
+
|
|
43
|
+
| Type | When to Use | Example |
|
|
44
|
+
|------|-------------|----------|
|
|
45
|
+
| `feat` | New feature for the user | `feat(cart): Add quantity selector` |
|
|
46
|
+
| `fix` | Bug fix for the user | `fix(login): Resolve password reset loop` |
|
|
47
|
+
| `docs` | Documentation only | `docs(api): Add authentication examples` |
|
|
48
|
+
| `refactor` | Code change without feature/fix | `refactor(utils): Simplify date formatting` |
|
|
49
|
+
|
|
50
|
+
### Secondary Types
|
|
51
|
+
|
|
52
|
+
| Type | When to Use | Example |
|
|
53
|
+
|------|-------------|----------|
|
|
54
|
+
| `style` | Formatting, whitespace | `style: Apply prettier formatting` |
|
|
55
|
+
| `test` | Adding/updating tests | `test(auth): Add login integration tests` |
|
|
56
|
+
| `perf` | Performance improvement | `perf(query): Add database index` |
|
|
57
|
+
| `build` | Build system, dependencies | `build(deps): Upgrade React to v18` |
|
|
58
|
+
| `ci` | CI/CD pipeline | `ci: Add deploy workflow` |
|
|
59
|
+
| `chore` | Maintenance tasks | `chore: Update .gitignore` |
|
|
60
|
+
| `revert` | Revert commit | `revert: Revert "feat(auth): Add SSO"` |
|
|
61
|
+
| `security` | Security fix | `security(auth): Fix XSS vulnerability` |
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
## Scope Guidelines
|
|
66
|
+
|
|
67
|
+
### Naming Rules
|
|
68
|
+
|
|
69
|
+
1. **Use lowercase**: `auth`, not `Auth`
|
|
70
|
+
2. **Use hyphen for multi-word**: `user-profile`, not `userProfile`
|
|
71
|
+
3. **Keep it short**: 1-2 words maximum
|
|
72
|
+
|
|
73
|
+
### Common Scopes
|
|
74
|
+
|
|
75
|
+
**By Layer**:
|
|
76
|
+
- `api`, `ui`, `database`, `config`, `middleware`
|
|
77
|
+
|
|
78
|
+
**By Feature**:
|
|
79
|
+
- `auth`, `login`, `payment`, `notification`, `search`
|
|
80
|
+
|
|
81
|
+
**By File Type**:
|
|
82
|
+
- `tests`, `docs`, `build`, `deps`
|
|
83
|
+
|
|
84
|
+
**Special**:
|
|
85
|
+
- `*`: Multiple scopes affected
|
|
86
|
+
- (no scope): Global changes
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## Subject Line Rules
|
|
91
|
+
|
|
92
|
+
1. **Length**: ≤72 characters (50 ideal)
|
|
93
|
+
2. **Tense**: Imperative mood
|
|
94
|
+
- ✅ "Add feature"
|
|
95
|
+
- ❌ "Added feature"
|
|
96
|
+
3. **Capitalization**: First letter capitalized
|
|
97
|
+
4. **No period**: Don't end with period
|
|
98
|
+
5. **Be specific**: Describe what changed
|
|
99
|
+
|
|
100
|
+
### Examples
|
|
101
|
+
|
|
102
|
+
```
|
|
103
|
+
✅ feat(auth): Add OAuth2 Google login support
|
|
104
|
+
✅ fix(api): Resolve memory leak in session cache
|
|
105
|
+
✅ refactor(database): Extract query builder class
|
|
106
|
+
|
|
107
|
+
❌ fixed bug # Vague, past tense
|
|
108
|
+
❌ feat(auth): added login. # Past tense, period
|
|
109
|
+
❌ Update stuff # Too vague
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
---
|
|
113
|
+
|
|
114
|
+
## Body Guidelines
|
|
115
|
+
|
|
116
|
+
Explain **WHY**, not **WHAT** (code shows what).
|
|
117
|
+
|
|
118
|
+
### Templates
|
|
119
|
+
|
|
120
|
+
**For Features**:
|
|
121
|
+
```
|
|
122
|
+
Why this feature is needed:
|
|
123
|
+
- Reason 1
|
|
124
|
+
- Reason 2
|
|
125
|
+
|
|
126
|
+
What this implements:
|
|
127
|
+
- Implementation detail 1
|
|
128
|
+
- Implementation detail 2
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
**For Bug Fixes**:
|
|
132
|
+
```
|
|
133
|
+
Why this occurred:
|
|
134
|
+
- Root cause explanation
|
|
135
|
+
|
|
136
|
+
What this fix does:
|
|
137
|
+
- Solution description
|
|
138
|
+
|
|
139
|
+
Testing:
|
|
140
|
+
- How it was tested
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
**For Refactoring**:
|
|
144
|
+
```
|
|
145
|
+
Why this refactoring:
|
|
146
|
+
- Motivation
|
|
147
|
+
|
|
148
|
+
What this changes:
|
|
149
|
+
- Changes description
|
|
150
|
+
|
|
151
|
+
Migration:
|
|
152
|
+
- Migration steps if needed
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
---
|
|
156
|
+
|
|
157
|
+
## Footer Guidelines
|
|
158
|
+
|
|
159
|
+
### Issue References
|
|
160
|
+
|
|
161
|
+
```
|
|
162
|
+
Closes #123 # Automatically closes issue
|
|
163
|
+
Fixes #456 # Automatically closes issue
|
|
164
|
+
Resolves #789 # Automatically closes issue
|
|
165
|
+
Refs #101 # Links without closing
|
|
166
|
+
See also #999 # Related reference
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
### Breaking Changes
|
|
170
|
+
|
|
171
|
+
```
|
|
172
|
+
BREAKING CHANGE: <description>
|
|
173
|
+
|
|
174
|
+
Migration guide:
|
|
175
|
+
- Step 1
|
|
176
|
+
- Step 2
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
---
|
|
180
|
+
|
|
181
|
+
## Complete Example
|
|
182
|
+
|
|
183
|
+
```
|
|
184
|
+
feat(export): Add CSV export functionality for user data
|
|
185
|
+
|
|
186
|
+
Why this feature is needed:
|
|
187
|
+
- Admins need to export user lists for compliance audits
|
|
188
|
+
- Manual copy-paste from UI is error-prone
|
|
189
|
+
- Requested by legal and compliance teams
|
|
190
|
+
|
|
191
|
+
What this implements:
|
|
192
|
+
- New /api/users/export endpoint
|
|
193
|
+
- CSV generation using csv-writer library
|
|
194
|
+
- Streaming response for large datasets
|
|
195
|
+
- Date range filtering options
|
|
196
|
+
|
|
197
|
+
Technical notes:
|
|
198
|
+
- Streaming prevents memory issues with 100k+ users
|
|
199
|
+
- Export limited to admin role only
|
|
200
|
+
- Rate limited to prevent abuse
|
|
201
|
+
|
|
202
|
+
Closes #567
|
|
203
|
+
Refs #234 (related compliance requirement)
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
---
|
|
207
|
+
|
|
208
|
+
## Anti-Patterns
|
|
209
|
+
|
|
210
|
+
### ❌ Vague Messages
|
|
211
|
+
|
|
212
|
+
```
|
|
213
|
+
fix: bug fix
|
|
214
|
+
refactor: code improvements
|
|
215
|
+
update: changes
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
### ❌ Mixing Multiple Concerns
|
|
219
|
+
|
|
220
|
+
```
|
|
221
|
+
feat: add login, fix bugs, refactor database
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
**Fix**: Split into separate commits.
|
|
225
|
+
|
|
226
|
+
### ❌ Implementation Details in Subject
|
|
227
|
+
|
|
228
|
+
```
|
|
229
|
+
fix: change line 45 from getUserById to getUserByEmail
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
**Fix**: Focus on purpose, not implementation.
|
|
233
|
+
|
|
234
|
+
---
|
|
235
|
+
|
|
236
|
+
## Related Standards
|
|
237
|
+
|
|
238
|
+
- [Commit Message Guide](../../../core/commit-message-guide.md)
|
|
239
|
+
- [Language Options](./language-options.md)
|
|
240
|
+
- [Git Workflow](../../../core/git-workflow.md)
|
|
241
|
+
|
|
242
|
+
---
|
|
243
|
+
|
|
244
|
+
## Version History
|
|
245
|
+
|
|
246
|
+
| Version | Date | Changes |
|
|
247
|
+
|---------|------|---------|
|
|
248
|
+
| 1.0.0 | 2025-12-24 | Added: Standard sections (Purpose, Related Standards, Version History, License) |
|
|
249
|
+
|
|
250
|
+
---
|
|
251
|
+
|
|
252
|
+
## License
|
|
253
|
+
|
|
254
|
+
This document is released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
|
|
255
|
+
|
|
256
|
+
**Source**: [universal-dev-standards](https://github.com/AsiaOstrich/universal-dev-standards)
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
# Commit Message Language Options
|
|
2
|
+
|
|
3
|
+
> **Language**: English | [繁體中文](../../../locales/zh-TW/skills/claude-code/commit-standards/language-options.md)
|
|
4
|
+
|
|
5
|
+
**Version**: 1.0.0
|
|
6
|
+
**Last Updated**: 2025-12-24
|
|
7
|
+
**Applicability**: Claude Code Skills
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Purpose
|
|
12
|
+
|
|
13
|
+
This document provides language options for commit message types (English, Traditional Chinese, or Bilingual).
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Option A: English (International)
|
|
18
|
+
|
|
19
|
+
Use for international teams and maximum tool compatibility.
|
|
20
|
+
|
|
21
|
+
| Type | When to Use |
|
|
22
|
+
|------|-------------|
|
|
23
|
+
| `feat` | New feature |
|
|
24
|
+
| `fix` | Bug fix |
|
|
25
|
+
| `refactor` | Code refactoring |
|
|
26
|
+
| `docs` | Documentation |
|
|
27
|
+
| `style` | Formatting |
|
|
28
|
+
| `test` | Tests |
|
|
29
|
+
| `perf` | Performance |
|
|
30
|
+
| `build` | Build system |
|
|
31
|
+
| `ci` | CI/CD changes |
|
|
32
|
+
| `chore` | Maintenance |
|
|
33
|
+
| `revert` | Revert commit |
|
|
34
|
+
| `security` | Security fix |
|
|
35
|
+
|
|
36
|
+
**Example**:
|
|
37
|
+
```
|
|
38
|
+
feat(auth): Add OAuth2 Google login support
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## Option B: Traditional Chinese (台灣團隊)
|
|
44
|
+
|
|
45
|
+
Use for local teams preferring native language.
|
|
46
|
+
|
|
47
|
+
| 類型 | 使用時機 | English |
|
|
48
|
+
|------|----------|----------|
|
|
49
|
+
| `新增` | 新功能 | feat |
|
|
50
|
+
| `修正` | Bug 修復 | fix |
|
|
51
|
+
| `重構` | 重構 | refactor |
|
|
52
|
+
| `文件` | 文件更新 | docs |
|
|
53
|
+
| `樣式` | 格式化 | style |
|
|
54
|
+
| `測試` | 測試 | test |
|
|
55
|
+
| `效能` | 效能改進 | perf |
|
|
56
|
+
| `建置` | 建置系統 | build |
|
|
57
|
+
| `整合` | CI/CD | ci |
|
|
58
|
+
| `維護` | 維護任務 | chore |
|
|
59
|
+
| `回退` | 回退提交 | revert |
|
|
60
|
+
| `安全` | 安全修復 | security |
|
|
61
|
+
|
|
62
|
+
**Example**:
|
|
63
|
+
```
|
|
64
|
+
新增(認證): 實作 OAuth2 Google 登入支援
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
## Option C: Bilingual Mode (雙語對照)
|
|
70
|
+
|
|
71
|
+
Use English `type`/`scope` for tool compatibility, with bilingual subject/body.
|
|
72
|
+
|
|
73
|
+
**Format**:
|
|
74
|
+
```
|
|
75
|
+
<type>(<scope>): <English subject>. <中文主旨>。
|
|
76
|
+
|
|
77
|
+
<English body>
|
|
78
|
+
|
|
79
|
+
<中文主體>
|
|
80
|
+
|
|
81
|
+
<footer>
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
**Example**:
|
|
85
|
+
```
|
|
86
|
+
feat(auth): Add OAuth2 Google login support. 新增 OAuth2 Google 登入支援。
|
|
87
|
+
|
|
88
|
+
Implement Google OAuth2 authentication flow for user login.
|
|
89
|
+
|
|
90
|
+
- Add Google OAuth2 SDK integration
|
|
91
|
+
- Create callback endpoint for OAuth flow
|
|
92
|
+
- Store refresh tokens securely
|
|
93
|
+
|
|
94
|
+
實作 Google OAuth2 認證流程供使用者登入。
|
|
95
|
+
|
|
96
|
+
- 整合 Google OAuth2 SDK
|
|
97
|
+
- 建立 OAuth 流程回呼端點
|
|
98
|
+
- 安全儲存更新權杖
|
|
99
|
+
|
|
100
|
+
Closes #123
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
---
|
|
104
|
+
|
|
105
|
+
## Language Selection Guide
|
|
106
|
+
|
|
107
|
+
| Factor | English | 中文 | Bilingual |
|
|
108
|
+
|--------|---------|------|----------|
|
|
109
|
+
| **Team** | International | Local | Mixed |
|
|
110
|
+
| **Tool compatibility** | ✅ Best | ⚠️ Limited | ✅ Good |
|
|
111
|
+
| **Changelog automation** | ✅ Full | ⚠️ Custom | ✅ Supported |
|
|
112
|
+
| **Open source** | ✅ Recommended | ❌ Not recommended | ✅ Good |
|
|
113
|
+
|
|
114
|
+
### Quick Selection
|
|
115
|
+
|
|
116
|
+
- **Open source project** → English (Option A)
|
|
117
|
+
- **Local team, internal project** → 中文 (Option B)
|
|
118
|
+
- **Local team with international collaboration** → Bilingual (Option C)
|
|
119
|
+
|
|
120
|
+
**Important**: Once chosen, use consistently. Do not mix languages.
|
|
121
|
+
|
|
122
|
+
---
|
|
123
|
+
|
|
124
|
+
## Project Configuration
|
|
125
|
+
|
|
126
|
+
Document your choice in `CONTRIBUTING.md`:
|
|
127
|
+
|
|
128
|
+
```markdown
|
|
129
|
+
## Commit Message Language
|
|
130
|
+
|
|
131
|
+
This project uses **[English / Traditional Chinese / Bilingual]** commit types.
|
|
132
|
+
|
|
133
|
+
### Allowed Types
|
|
134
|
+
[List types based on your choice]
|
|
135
|
+
|
|
136
|
+
### Allowed Scopes
|
|
137
|
+
- auth: Authentication module
|
|
138
|
+
- api: API layer
|
|
139
|
+
- ui: User interface
|
|
140
|
+
[Add project-specific scopes]
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
---
|
|
144
|
+
|
|
145
|
+
## Related Standards
|
|
146
|
+
|
|
147
|
+
- [Commit Message Guide](../../../core/commit-message-guide.md)
|
|
148
|
+
- [Conventional Commits Guide](./conventional-commits.md)
|
|
149
|
+
|
|
150
|
+
---
|
|
151
|
+
|
|
152
|
+
## Version History
|
|
153
|
+
|
|
154
|
+
| Version | Date | Changes |
|
|
155
|
+
|---------|------|---------|
|
|
156
|
+
| 1.0.0 | 2025-12-24 | Added: Standard sections (Purpose, Related Standards, Version History, License) |
|
|
157
|
+
|
|
158
|
+
---
|
|
159
|
+
|
|
160
|
+
## License
|
|
161
|
+
|
|
162
|
+
This document is released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
|
|
163
|
+
|
|
164
|
+
**Source**: [universal-dev-standards](https://github.com/AsiaOstrich/universal-dev-standards)
|