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,556 @@
|
|
|
1
|
+
# Changelog Standards
|
|
2
|
+
|
|
3
|
+
> **Language**: English | [繁體中文](../locales/zh-TW/core/changelog-standards.md)
|
|
4
|
+
|
|
5
|
+
**Version**: 1.0.2
|
|
6
|
+
**Last Updated**: 2025-12-24
|
|
7
|
+
**Applicability**: All software projects with versioned releases
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Purpose
|
|
12
|
+
|
|
13
|
+
This standard defines how to write and maintain a CHANGELOG.md file to communicate changes clearly to users, maintainers, and projects that reference this repository.
|
|
14
|
+
|
|
15
|
+
**Key Benefits**:
|
|
16
|
+
- Users can quickly understand what changed between versions
|
|
17
|
+
- Dependent projects can assess upgrade impact
|
|
18
|
+
- Teams can track release history systematically
|
|
19
|
+
|
|
20
|
+
**Relationship to Other Standards**:
|
|
21
|
+
- Complements [versioning.md](versioning.md) which defines version numbering
|
|
22
|
+
- Integrates with [git-workflow.md](git-workflow.md) release process
|
|
23
|
+
- Maps from [commit-message-guide.md](commit-message-guide.md) commit types
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## Core Principles
|
|
28
|
+
|
|
29
|
+
| Principle | Description |
|
|
30
|
+
|-----------|-------------|
|
|
31
|
+
| **User-Centric** | Write for users, not developers |
|
|
32
|
+
| **Consistent** | Use standard categories and format |
|
|
33
|
+
| **Complete** | Document all notable changes |
|
|
34
|
+
| **Timely** | Update before each release |
|
|
35
|
+
| **Traceable** | Link to issues, PRs, or commits |
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## Format Standards
|
|
40
|
+
|
|
41
|
+
This standard follows [Keep a Changelog](https://keepachangelog.com/) format.
|
|
42
|
+
|
|
43
|
+
### File Structure
|
|
44
|
+
|
|
45
|
+
```markdown
|
|
46
|
+
# Changelog
|
|
47
|
+
|
|
48
|
+
All notable changes to this project will be documented in this file.
|
|
49
|
+
|
|
50
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/),
|
|
51
|
+
and this project adheres to [Semantic Versioning](https://semver.org/).
|
|
52
|
+
|
|
53
|
+
## [Unreleased]
|
|
54
|
+
|
|
55
|
+
### Added
|
|
56
|
+
- New features not yet released
|
|
57
|
+
|
|
58
|
+
## [1.2.0] - 2025-12-15
|
|
59
|
+
|
|
60
|
+
### Added
|
|
61
|
+
- Feature description
|
|
62
|
+
|
|
63
|
+
### Changed
|
|
64
|
+
- Change description
|
|
65
|
+
|
|
66
|
+
### Fixed
|
|
67
|
+
- Bug fix description
|
|
68
|
+
|
|
69
|
+
## [1.1.0] - 2025-11-01
|
|
70
|
+
|
|
71
|
+
...
|
|
72
|
+
|
|
73
|
+
[Unreleased]: https://github.com/user/repo/compare/v1.2.0...HEAD
|
|
74
|
+
[1.2.0]: https://github.com/user/repo/compare/v1.1.0...v1.2.0
|
|
75
|
+
[1.1.0]: https://github.com/user/repo/releases/tag/v1.1.0
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
### Change Categories
|
|
79
|
+
|
|
80
|
+
| Category | Usage | When to Use |
|
|
81
|
+
|----------|-------|-------------|
|
|
82
|
+
| **Added** | New features | New functionality for users |
|
|
83
|
+
| **Changed** | Modifications | Changes in existing functionality |
|
|
84
|
+
| **Deprecated** | Soon to be removed | Features that will be removed |
|
|
85
|
+
| **Removed** | Removed features | Features removed in this version |
|
|
86
|
+
| **Fixed** | Bug fixes | Any bug fixes |
|
|
87
|
+
| **Security** | Security patches | Vulnerability fixes |
|
|
88
|
+
|
|
89
|
+
### Version Header Format
|
|
90
|
+
|
|
91
|
+
```markdown
|
|
92
|
+
## [VERSION] - YYYY-MM-DD
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
**Examples**:
|
|
96
|
+
```markdown
|
|
97
|
+
## [2.0.0] - 2025-12-15
|
|
98
|
+
## [1.5.0-beta.1] - 2025-12-01
|
|
99
|
+
## [Unreleased]
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
## Writing Guidelines
|
|
105
|
+
|
|
106
|
+
### Write for Users, Not Developers
|
|
107
|
+
|
|
108
|
+
Focus on **what changed** and **how it affects users**, not implementation details.
|
|
109
|
+
|
|
110
|
+
| ✅ Good | ❌ Bad | Why |
|
|
111
|
+
|---------|--------|-----|
|
|
112
|
+
| Add dark mode theme option | Implement ThemeProvider with context | User-facing benefit |
|
|
113
|
+
| Fix login timeout on slow networks | Fix race condition in AuthService | Impact description |
|
|
114
|
+
| Support CSV export for reports | Add CSVExporter class | Feature description |
|
|
115
|
+
| Improve page load speed by 40% | Optimize SQL queries with indexes | Measurable outcome |
|
|
116
|
+
|
|
117
|
+
### Entry Format
|
|
118
|
+
|
|
119
|
+
Each entry should follow this pattern:
|
|
120
|
+
|
|
121
|
+
```markdown
|
|
122
|
+
- [Action verb] [what changed] ([reference])
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
**Examples**:
|
|
126
|
+
```markdown
|
|
127
|
+
### Added
|
|
128
|
+
- Add user dashboard with customizable widgets (#123)
|
|
129
|
+
- Add support for PostgreSQL 15 (PR #456)
|
|
130
|
+
|
|
131
|
+
### Changed
|
|
132
|
+
- **BREAKING**: Change API response format from XML to JSON (#789)
|
|
133
|
+
- Update minimum Node.js version to 18.0 (#101)
|
|
134
|
+
|
|
135
|
+
### Fixed
|
|
136
|
+
- Fix memory leak when processing large files (#112)
|
|
137
|
+
- Fix incorrect date formatting in reports (#134)
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
### Breaking Changes
|
|
141
|
+
|
|
142
|
+
Mark breaking changes clearly with **BREAKING** prefix:
|
|
143
|
+
|
|
144
|
+
```markdown
|
|
145
|
+
### Changed
|
|
146
|
+
- **BREAKING**: Remove deprecated `getUserById()` method, use `getUser()` instead
|
|
147
|
+
- **BREAKING**: Change configuration file format from YAML to TOML
|
|
148
|
+
|
|
149
|
+
### Removed
|
|
150
|
+
- **BREAKING**: Remove support for Node.js 14
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
### Security Advisories
|
|
154
|
+
|
|
155
|
+
For security fixes, include severity and CVE if available:
|
|
156
|
+
|
|
157
|
+
```markdown
|
|
158
|
+
### Security
|
|
159
|
+
- Fix SQL injection vulnerability in search endpoint (HIGH, CVE-2025-12345)
|
|
160
|
+
- Fix XSS vulnerability in comment rendering (MEDIUM)
|
|
161
|
+
- Update dependency `lodash` to patch prototype pollution (LOW)
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
---
|
|
165
|
+
|
|
166
|
+
## Commit to Changelog Mapping
|
|
167
|
+
|
|
168
|
+
Map Conventional Commits types to CHANGELOG categories:
|
|
169
|
+
|
|
170
|
+
| Commit Type | CHANGELOG Category | Notes |
|
|
171
|
+
|-------------|-------------------|-------|
|
|
172
|
+
| `feat` | **Added** | New features |
|
|
173
|
+
| `fix` | **Fixed** | Bug fixes |
|
|
174
|
+
| `perf` | **Changed** | Performance improvements |
|
|
175
|
+
| `refactor` | *(usually omit)* | Internal changes, no user impact |
|
|
176
|
+
| `docs` | *(usually omit)* | Documentation only |
|
|
177
|
+
| `style` | *(usually omit)* | Code style only |
|
|
178
|
+
| `test` | *(usually omit)* | Test only |
|
|
179
|
+
| `chore` | *(usually omit)* | Maintenance |
|
|
180
|
+
| `BREAKING CHANGE` | **Changed** or **Removed** | With **BREAKING** prefix |
|
|
181
|
+
| `security` | **Security** | Security patches |
|
|
182
|
+
| `deprecate` | **Deprecated** | Deprecation notices |
|
|
183
|
+
|
|
184
|
+
**Note**: Not all commits need CHANGELOG entries. Focus on user-facing changes.
|
|
185
|
+
|
|
186
|
+
---
|
|
187
|
+
|
|
188
|
+
## Git Workflow Integration
|
|
189
|
+
|
|
190
|
+
### When to Update CHANGELOG
|
|
191
|
+
|
|
192
|
+
| Workflow | When to Update | Branch |
|
|
193
|
+
|----------|----------------|--------|
|
|
194
|
+
| **GitFlow** | During release preparation | `release/*` |
|
|
195
|
+
| **GitHub Flow** | Before merging to main | Feature branch |
|
|
196
|
+
| **Trunk-Based** | Before tagging release | `main` |
|
|
197
|
+
|
|
198
|
+
### GitFlow Release Process
|
|
199
|
+
|
|
200
|
+
```bash
|
|
201
|
+
# 1. Create release branch
|
|
202
|
+
git checkout -b release/v1.2.0 develop
|
|
203
|
+
|
|
204
|
+
# 2. Update CHANGELOG.md
|
|
205
|
+
# - Move [Unreleased] items to new version section
|
|
206
|
+
# - Add release date
|
|
207
|
+
# - Update comparison links
|
|
208
|
+
|
|
209
|
+
# 3. Commit changes
|
|
210
|
+
git add CHANGELOG.md
|
|
211
|
+
git commit -m "docs(changelog): update for v1.2.0"
|
|
212
|
+
|
|
213
|
+
# 4. Continue with release process
|
|
214
|
+
# See git-workflow.md for full details
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
### Unreleased Section Management
|
|
218
|
+
|
|
219
|
+
During development, add entries to `[Unreleased]`:
|
|
220
|
+
|
|
221
|
+
```markdown
|
|
222
|
+
## [Unreleased]
|
|
223
|
+
|
|
224
|
+
### Added
|
|
225
|
+
- Add feature X (#123)
|
|
226
|
+
|
|
227
|
+
### Fixed
|
|
228
|
+
- Fix bug Y (#456)
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
At release time, move to versioned section:
|
|
232
|
+
|
|
233
|
+
```markdown
|
|
234
|
+
## [1.2.0] - 2025-12-15
|
|
235
|
+
|
|
236
|
+
### Added
|
|
237
|
+
- Add feature X (#123)
|
|
238
|
+
|
|
239
|
+
### Fixed
|
|
240
|
+
- Fix bug Y (#456)
|
|
241
|
+
|
|
242
|
+
## [1.1.0] - 2025-11-01
|
|
243
|
+
...
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
---
|
|
247
|
+
|
|
248
|
+
## CHANGELOG vs Release Notes
|
|
249
|
+
|
|
250
|
+
| Aspect | CHANGELOG | Release Notes |
|
|
251
|
+
|--------|-----------|---------------|
|
|
252
|
+
| **Audience** | Developers, technical users | All users, stakeholders |
|
|
253
|
+
| **Detail Level** | Comprehensive, technical | Highlights, summaries |
|
|
254
|
+
| **Format** | Structured markdown file | GitHub Release, blog post |
|
|
255
|
+
| **Update Frequency** | Every commit/PR | Each release |
|
|
256
|
+
| **Location** | `CHANGELOG.md` in repo | GitHub Releases, website |
|
|
257
|
+
|
|
258
|
+
### When to Use Both
|
|
259
|
+
|
|
260
|
+
- **Libraries/Packages**: CHANGELOG is often sufficient
|
|
261
|
+
- **Applications**: Consider both for different audiences
|
|
262
|
+
- **Enterprise Products**: Release Notes for customers, CHANGELOG for developers
|
|
263
|
+
|
|
264
|
+
---
|
|
265
|
+
|
|
266
|
+
## Automation
|
|
267
|
+
|
|
268
|
+
### conventional-changelog
|
|
269
|
+
|
|
270
|
+
Generate CHANGELOG from Conventional Commits:
|
|
271
|
+
|
|
272
|
+
```bash
|
|
273
|
+
# Install
|
|
274
|
+
npm install -g conventional-changelog-cli
|
|
275
|
+
|
|
276
|
+
# Generate (append to existing)
|
|
277
|
+
conventional-changelog -p angular -i CHANGELOG.md -s
|
|
278
|
+
|
|
279
|
+
# Generate (overwrite)
|
|
280
|
+
conventional-changelog -p angular -i CHANGELOG.md -s -r 0
|
|
281
|
+
```
|
|
282
|
+
|
|
283
|
+
### semantic-release
|
|
284
|
+
|
|
285
|
+
Fully automated versioning and CHANGELOG:
|
|
286
|
+
|
|
287
|
+
```json
|
|
288
|
+
// .releaserc.json
|
|
289
|
+
{
|
|
290
|
+
"branches": ["main"],
|
|
291
|
+
"plugins": [
|
|
292
|
+
"@semantic-release/commit-analyzer",
|
|
293
|
+
"@semantic-release/release-notes-generator",
|
|
294
|
+
"@semantic-release/changelog",
|
|
295
|
+
"@semantic-release/git"
|
|
296
|
+
]
|
|
297
|
+
}
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
### GitHub Actions Example
|
|
301
|
+
|
|
302
|
+
```yaml
|
|
303
|
+
# .github/workflows/release.yml
|
|
304
|
+
name: Release
|
|
305
|
+
on:
|
|
306
|
+
push:
|
|
307
|
+
branches: [main]
|
|
308
|
+
jobs:
|
|
309
|
+
release:
|
|
310
|
+
runs-on: ubuntu-latest
|
|
311
|
+
steps:
|
|
312
|
+
- uses: actions/checkout@v4
|
|
313
|
+
- uses: actions/setup-node@v4
|
|
314
|
+
- run: npm ci
|
|
315
|
+
- run: npx semantic-release
|
|
316
|
+
env:
|
|
317
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
318
|
+
```
|
|
319
|
+
|
|
320
|
+
---
|
|
321
|
+
|
|
322
|
+
## Multi-Language Support
|
|
323
|
+
|
|
324
|
+
For projects requiring bilingual changelogs:
|
|
325
|
+
|
|
326
|
+
### Option A: Single File with Bilingual Entries
|
|
327
|
+
|
|
328
|
+
```markdown
|
|
329
|
+
## [1.2.0] - 2025-12-15
|
|
330
|
+
|
|
331
|
+
### Added | 新增
|
|
332
|
+
- Add dark mode support
|
|
333
|
+
新增深色模式支援
|
|
334
|
+
- Add CSV export feature
|
|
335
|
+
新增 CSV 匯出功能
|
|
336
|
+
|
|
337
|
+
### Fixed | 修復
|
|
338
|
+
- Fix login timeout issue
|
|
339
|
+
修復登入逾時問題
|
|
340
|
+
```
|
|
341
|
+
|
|
342
|
+
### Option B: Separate Files
|
|
343
|
+
|
|
344
|
+
```
|
|
345
|
+
CHANGELOG.md # English (primary)
|
|
346
|
+
CHANGELOG.zh-TW.md # Traditional Chinese
|
|
347
|
+
```
|
|
348
|
+
|
|
349
|
+
**Recommendation**: Use Option A for smaller projects, Option B for larger international projects.
|
|
350
|
+
|
|
351
|
+
---
|
|
352
|
+
|
|
353
|
+
## AI-Friendly Format
|
|
354
|
+
|
|
355
|
+
To help AI assistants parse and generate CHANGELOG entries:
|
|
356
|
+
|
|
357
|
+
1. **Use consistent structure** - Same format for every entry
|
|
358
|
+
2. **Include references** - Issue/PR numbers for context
|
|
359
|
+
3. **Use standard categories** - Keep a Changelog categories
|
|
360
|
+
4. **Clear breaking change markers** - **BREAKING** prefix
|
|
361
|
+
5. **Date format** - ISO 8601 (YYYY-MM-DD)
|
|
362
|
+
|
|
363
|
+
---
|
|
364
|
+
|
|
365
|
+
## Templates
|
|
366
|
+
|
|
367
|
+
### Basic CHANGELOG.md Template
|
|
368
|
+
|
|
369
|
+
```markdown
|
|
370
|
+
# Changelog
|
|
371
|
+
|
|
372
|
+
All notable changes to this project will be documented in this file.
|
|
373
|
+
|
|
374
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/),
|
|
375
|
+
and this project adheres to [Semantic Versioning](https://semver.org/).
|
|
376
|
+
|
|
377
|
+
## [Unreleased]
|
|
378
|
+
|
|
379
|
+
## [1.0.0] - YYYY-MM-DD
|
|
380
|
+
|
|
381
|
+
### Added
|
|
382
|
+
- Initial release
|
|
383
|
+
|
|
384
|
+
[Unreleased]: https://github.com/USER/REPO/compare/v1.0.0...HEAD
|
|
385
|
+
[1.0.0]: https://github.com/USER/REPO/releases/tag/v1.0.0
|
|
386
|
+
```
|
|
387
|
+
|
|
388
|
+
### Bilingual Template
|
|
389
|
+
|
|
390
|
+
```markdown
|
|
391
|
+
# Changelog | 變更日誌
|
|
392
|
+
|
|
393
|
+
All notable changes to this project will be documented in this file.
|
|
394
|
+
本專案的所有重要變更都將記錄在此檔案中。
|
|
395
|
+
|
|
396
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/),
|
|
397
|
+
and this project adheres to [Semantic Versioning](https://semver.org/).
|
|
398
|
+
格式基於 [Keep a Changelog](https://keepachangelog.com/),
|
|
399
|
+
並遵循[語義化版本](https://semver.org/)。
|
|
400
|
+
|
|
401
|
+
## [Unreleased] | 未發布
|
|
402
|
+
|
|
403
|
+
## [1.0.0] - YYYY-MM-DD
|
|
404
|
+
|
|
405
|
+
### Added | 新增
|
|
406
|
+
- Initial release
|
|
407
|
+
初始發布
|
|
408
|
+
|
|
409
|
+
[Unreleased]: https://github.com/USER/REPO/compare/v1.0.0...HEAD
|
|
410
|
+
[1.0.0]: https://github.com/USER/REPO/releases/tag/v1.0.0
|
|
411
|
+
```
|
|
412
|
+
|
|
413
|
+
---
|
|
414
|
+
|
|
415
|
+
## Exclusion Rules
|
|
416
|
+
|
|
417
|
+
> **See Also**: For comprehensive exclusion rules, see [versioning.md](versioning.md#exclusion-rules).
|
|
418
|
+
|
|
419
|
+
### Core Principle
|
|
420
|
+
|
|
421
|
+
**Any file or directory listed in the project's `.gitignore` should NOT be recorded in CHANGELOG.**
|
|
422
|
+
|
|
423
|
+
### Categories
|
|
424
|
+
|
|
425
|
+
The following changes should **NOT** be recorded in CHANGELOG:
|
|
426
|
+
|
|
427
|
+
| Category | Examples | Reason |
|
|
428
|
+
|----------|----------|--------|
|
|
429
|
+
| **Build outputs** | `dist/`, `build/`, `bin/`, `obj/` | Generated files |
|
|
430
|
+
| **Dependencies** | `node_modules/`, `packages/`, lock files | Auto-managed |
|
|
431
|
+
| **Local config** | `.env`, `*.local.json`, `appsettings.*.local.json` | Environment-specific |
|
|
432
|
+
| **IDE settings** | `.vscode/`, `.idea/`, `.cursor/` | Developer preference |
|
|
433
|
+
| **AI workspace** | `.claude/`, `.ai/` | Local development aids |
|
|
434
|
+
| **Secrets** | `*.pem`, `*.key`, `credentials.*` | Security-sensitive |
|
|
435
|
+
| **Internal refactoring** | Code style, variable names | No user impact |
|
|
436
|
+
|
|
437
|
+
### Verification
|
|
438
|
+
|
|
439
|
+
```bash
|
|
440
|
+
# Check .gitignore exclusions before generating CHANGELOG
|
|
441
|
+
cat .gitignore | grep -E "^[^#*]" | head -20
|
|
442
|
+
|
|
443
|
+
# Verify recorded paths exist in version control
|
|
444
|
+
git ls-files | grep -E "path/to/file"
|
|
445
|
+
```
|
|
446
|
+
|
|
447
|
+
**Note**: Each project should determine exclusions based on its own `.gitignore`. The table above provides common examples only.
|
|
448
|
+
|
|
449
|
+
---
|
|
450
|
+
|
|
451
|
+
## Examples
|
|
452
|
+
|
|
453
|
+
### Library Project
|
|
454
|
+
|
|
455
|
+
```markdown
|
|
456
|
+
## [2.3.0] - 2025-12-15
|
|
457
|
+
|
|
458
|
+
### Added
|
|
459
|
+
- Add `parseAsync()` method for non-blocking parsing (#234)
|
|
460
|
+
- Add TypeScript type definitions (#245)
|
|
461
|
+
|
|
462
|
+
### Changed
|
|
463
|
+
- **BREAKING**: Rename `parse()` to `parseSync()` (#234)
|
|
464
|
+
- Improve error messages with line numbers (#256)
|
|
465
|
+
|
|
466
|
+
### Deprecated
|
|
467
|
+
- Deprecate `legacyParse()`, use `parseSync()` instead (#234)
|
|
468
|
+
|
|
469
|
+
### Fixed
|
|
470
|
+
- Fix memory leak in large file processing (#267)
|
|
471
|
+
```
|
|
472
|
+
|
|
473
|
+
### Application Project
|
|
474
|
+
|
|
475
|
+
```markdown
|
|
476
|
+
## [1.5.0] - 2025-12-15
|
|
477
|
+
|
|
478
|
+
### Added
|
|
479
|
+
- Add user dashboard with activity summary
|
|
480
|
+
- Add email notification preferences
|
|
481
|
+
- Add dark mode theme option
|
|
482
|
+
|
|
483
|
+
### Changed
|
|
484
|
+
- Redesign settings page for better navigation
|
|
485
|
+
- Improve search performance by 50%
|
|
486
|
+
|
|
487
|
+
### Fixed
|
|
488
|
+
- Fix incorrect date display in reports
|
|
489
|
+
- Fix logout not clearing session properly
|
|
490
|
+
|
|
491
|
+
### Security
|
|
492
|
+
- Fix XSS vulnerability in comment section (CVE-2025-1234)
|
|
493
|
+
```
|
|
494
|
+
|
|
495
|
+
---
|
|
496
|
+
|
|
497
|
+
## Common Mistakes
|
|
498
|
+
|
|
499
|
+
| ❌ Mistake | ✅ Correct | Issue |
|
|
500
|
+
|-----------|-----------|-------|
|
|
501
|
+
| No dates | Include dates | Can't track timeline |
|
|
502
|
+
| Missing links | Add version links | Can't view diffs |
|
|
503
|
+
| Internal jargon | User-friendly language | Users don't understand |
|
|
504
|
+
| Too technical | Focus on impact | Missing the "so what" |
|
|
505
|
+
| Incomplete | List all notable changes | Users miss important info |
|
|
506
|
+
| No categories | Use standard categories | Hard to scan |
|
|
507
|
+
|
|
508
|
+
---
|
|
509
|
+
|
|
510
|
+
## Project Configuration
|
|
511
|
+
|
|
512
|
+
Document your CHANGELOG practices in `CONTRIBUTING.md`:
|
|
513
|
+
|
|
514
|
+
```markdown
|
|
515
|
+
## Changelog Guidelines
|
|
516
|
+
|
|
517
|
+
- Update CHANGELOG.md for all user-facing changes
|
|
518
|
+
- Add entries to [Unreleased] section during development
|
|
519
|
+
- Use standard categories: Added, Changed, Deprecated, Removed, Fixed, Security
|
|
520
|
+
- Reference issue/PR numbers: `Fix bug (#123)`
|
|
521
|
+
- Mark breaking changes with **BREAKING** prefix
|
|
522
|
+
```
|
|
523
|
+
|
|
524
|
+
---
|
|
525
|
+
|
|
526
|
+
## Related Standards
|
|
527
|
+
|
|
528
|
+
- [Versioning Standard](versioning.md) - Semantic versioning standard
|
|
529
|
+
- [Commit Message Guide](commit-message-guide.md) - Commit message conventions
|
|
530
|
+
- [Git Workflow Standards](git-workflow.md) - Git workflow standards
|
|
531
|
+
|
|
532
|
+
---
|
|
533
|
+
|
|
534
|
+
## Version History
|
|
535
|
+
|
|
536
|
+
| Version | Date | Changes |
|
|
537
|
+
|---------|------|---------|
|
|
538
|
+
| 1.0.2 | 2025-12-24 | Added: Related Standards section |
|
|
539
|
+
| 1.0.1 | 2025-12-16 | Align exclusion rules with versioning.md, add cross-reference |
|
|
540
|
+
| 1.0.0 | 2025-12-15 | Initial changelog standard |
|
|
541
|
+
|
|
542
|
+
---
|
|
543
|
+
|
|
544
|
+
## References
|
|
545
|
+
|
|
546
|
+
- [Keep a Changelog](https://keepachangelog.com/)
|
|
547
|
+
- [Semantic Versioning](https://semver.org/)
|
|
548
|
+
- [Conventional Commits](https://www.conventionalcommits.org/)
|
|
549
|
+
- [conventional-changelog](https://github.com/conventional-changelog/conventional-changelog)
|
|
550
|
+
- [semantic-release](https://github.com/semantic-release/semantic-release)
|
|
551
|
+
|
|
552
|
+
---
|
|
553
|
+
|
|
554
|
+
## License
|
|
555
|
+
|
|
556
|
+
This standard is released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
|