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,76 @@
|
|
|
1
|
+
# 自動產生變更日誌 - AI 優化選項
|
|
2
|
+
# 父項: changelog
|
|
3
|
+
|
|
4
|
+
id: auto-generated
|
|
5
|
+
meta:
|
|
6
|
+
parent: changelog
|
|
7
|
+
version: "1.0.0"
|
|
8
|
+
description: 從提交歷史產生變更日誌
|
|
9
|
+
language: zh-TW
|
|
10
|
+
|
|
11
|
+
best_for:
|
|
12
|
+
- 使用約定式提交的專案
|
|
13
|
+
- CI/CD 自動化發布
|
|
14
|
+
- 頻繁發布週期
|
|
15
|
+
- 偏好自動化而非手動編輯的團隊
|
|
16
|
+
|
|
17
|
+
tools:
|
|
18
|
+
- name: conventional-changelog
|
|
19
|
+
platform: Node.js
|
|
20
|
+
command: npx conventional-changelog -p angular -i CHANGELOG.md -s
|
|
21
|
+
config: .changelogrc
|
|
22
|
+
|
|
23
|
+
- name: semantic-release
|
|
24
|
+
platform: Node.js
|
|
25
|
+
command: npx semantic-release
|
|
26
|
+
config: .releaserc
|
|
27
|
+
|
|
28
|
+
- name: git-cliff
|
|
29
|
+
platform: Rust
|
|
30
|
+
command: git cliff -o CHANGELOG.md
|
|
31
|
+
config: cliff.toml
|
|
32
|
+
|
|
33
|
+
- name: release-please
|
|
34
|
+
platform: GitHub Action
|
|
35
|
+
description: Google 的發布自動化工具
|
|
36
|
+
|
|
37
|
+
prerequisites:
|
|
38
|
+
- 約定式提交格式
|
|
39
|
+
- 一致的提交訊息結構
|
|
40
|
+
- CI/CD 管線整合
|
|
41
|
+
|
|
42
|
+
commit_to_changelog_mapping:
|
|
43
|
+
columns: [提交類型, 變更日誌區段]
|
|
44
|
+
rows:
|
|
45
|
+
- [feat, 新增]
|
|
46
|
+
- [fix, 修復]
|
|
47
|
+
- [perf, 變更]
|
|
48
|
+
- [refactor, 變更]
|
|
49
|
+
- [docs, 文件]
|
|
50
|
+
- [chore, 維護]
|
|
51
|
+
- ["BREAKING CHANGE", 重大變更]
|
|
52
|
+
|
|
53
|
+
rules:
|
|
54
|
+
- id: conventional-commits
|
|
55
|
+
trigger: 撰寫提交訊息時
|
|
56
|
+
instruction: 使用約定式提交格式以正確產生變更日誌
|
|
57
|
+
priority: required
|
|
58
|
+
|
|
59
|
+
- id: scope-for-grouping
|
|
60
|
+
trigger: 撰寫提交訊息時
|
|
61
|
+
instruction: 使用範圍來分組相關變更
|
|
62
|
+
priority: recommended
|
|
63
|
+
|
|
64
|
+
- id: breaking-change-footer
|
|
65
|
+
trigger: 引入重大變更時
|
|
66
|
+
instruction: 在提交主體中新增 "BREAKING CHANGE:" 頁腳
|
|
67
|
+
priority: required
|
|
68
|
+
|
|
69
|
+
comparison_with_manual:
|
|
70
|
+
columns: [面向, 自動產生, 手動 (Keep a Changelog)]
|
|
71
|
+
rows:
|
|
72
|
+
- [工作量, 低(自動化), 高(手動撰寫)]
|
|
73
|
+
- [一致性, 高(範本式), 視情況(人工撰寫)]
|
|
74
|
+
- [詳細程度, 提交級別, 功能級別(策劃過的)]
|
|
75
|
+
- [前提條件, 約定式提交, 無]
|
|
76
|
+
- [適用場景, 頻繁發布, 里程碑發布]
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
# Keep a Changelog 格式 - AI 優化選項
|
|
2
|
+
# 父項: changelog
|
|
3
|
+
# 參考: https://keepachangelog.com/
|
|
4
|
+
|
|
5
|
+
id: keep-a-changelog
|
|
6
|
+
meta:
|
|
7
|
+
parent: changelog
|
|
8
|
+
version: "1.0.0"
|
|
9
|
+
description: 標準 Keep a Changelog 格式
|
|
10
|
+
source: "https://keepachangelog.com/zh-TW/1.0.0/"
|
|
11
|
+
language: zh-TW
|
|
12
|
+
|
|
13
|
+
best_for:
|
|
14
|
+
- 開源專案
|
|
15
|
+
- 需要人類可讀的變更日誌的專案
|
|
16
|
+
- 遵循語意化版本的專案
|
|
17
|
+
- 手動發布管理
|
|
18
|
+
|
|
19
|
+
format:
|
|
20
|
+
filename: CHANGELOG.md
|
|
21
|
+
structure: |
|
|
22
|
+
# 變更日誌
|
|
23
|
+
|
|
24
|
+
此專案的所有重要變更都將記錄在此檔案中。
|
|
25
|
+
|
|
26
|
+
格式基於 [Keep a Changelog](https://keepachangelog.com/zh-TW/1.0.0/),
|
|
27
|
+
且此專案遵循 [語意化版本](https://semver.org/lang/zh-TW/)。
|
|
28
|
+
|
|
29
|
+
## [未發布]
|
|
30
|
+
|
|
31
|
+
## [X.Y.Z] - YYYY-MM-DD
|
|
32
|
+
|
|
33
|
+
change_types:
|
|
34
|
+
- name: 新增
|
|
35
|
+
english: Added
|
|
36
|
+
order: 1
|
|
37
|
+
description: 新功能
|
|
38
|
+
- name: 變更
|
|
39
|
+
english: Changed
|
|
40
|
+
order: 2
|
|
41
|
+
description: 現有功能的變更
|
|
42
|
+
- name: 棄用
|
|
43
|
+
english: Deprecated
|
|
44
|
+
order: 3
|
|
45
|
+
description: 即將移除的功能
|
|
46
|
+
- name: 移除
|
|
47
|
+
english: Removed
|
|
48
|
+
order: 4
|
|
49
|
+
description: 已移除的功能
|
|
50
|
+
- name: 修復
|
|
51
|
+
english: Fixed
|
|
52
|
+
order: 5
|
|
53
|
+
description: 錯誤修復
|
|
54
|
+
- name: 安全性
|
|
55
|
+
english: Security
|
|
56
|
+
order: 6
|
|
57
|
+
description: 安全漏洞修復
|
|
58
|
+
|
|
59
|
+
rules:
|
|
60
|
+
- id: use-unreleased
|
|
61
|
+
trigger: 開發期間進行變更時
|
|
62
|
+
instruction: 將條目新增到 [未發布] 區段
|
|
63
|
+
priority: required
|
|
64
|
+
|
|
65
|
+
- id: move-on-release
|
|
66
|
+
trigger: 發布新版本時
|
|
67
|
+
instruction: 將 [未發布] 條目移至帶有日期的版本區段
|
|
68
|
+
priority: required
|
|
69
|
+
|
|
70
|
+
- id: reverse-chronological
|
|
71
|
+
trigger: 排序條目時
|
|
72
|
+
instruction: 最新版本在最上方
|
|
73
|
+
priority: required
|
|
74
|
+
|
|
75
|
+
- id: link-versions
|
|
76
|
+
trigger: 新增版本時
|
|
77
|
+
instruction: 在檔案底部新增差異比較連結
|
|
78
|
+
priority: recommended
|
|
79
|
+
|
|
80
|
+
- id: iso-date
|
|
81
|
+
trigger: 標註發布日期時
|
|
82
|
+
instruction: 使用 YYYY-MM-DD 格式
|
|
83
|
+
priority: required
|
|
84
|
+
|
|
85
|
+
example: |
|
|
86
|
+
## [1.2.0] - 2025-01-15
|
|
87
|
+
|
|
88
|
+
### 新增
|
|
89
|
+
- 支援 OAuth2 的使用者驗證 (#123)
|
|
90
|
+
- 深色模式主題選項 (#145)
|
|
91
|
+
|
|
92
|
+
### 變更
|
|
93
|
+
- 更新 API 回應格式以保持一致性
|
|
94
|
+
|
|
95
|
+
### 修復
|
|
96
|
+
- 修復網路緩慢時的登入逾時問題 (#156)
|
|
97
|
+
|
|
98
|
+
[未發布]: https://github.com/user/repo/compare/v1.2.0...HEAD
|
|
99
|
+
[1.2.0]: https://github.com/user/repo/compare/v1.1.0...v1.2.0
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
# 自動化程式碼審查 - AI 優化選項
|
|
2
|
+
# 父項: code-review
|
|
3
|
+
|
|
4
|
+
id: automated-review
|
|
5
|
+
meta:
|
|
6
|
+
parent: code-review
|
|
7
|
+
version: "1.0.0"
|
|
8
|
+
description: 自動化程式碼分析和審查工具
|
|
9
|
+
language: zh-TW
|
|
10
|
+
|
|
11
|
+
best_for:
|
|
12
|
+
- 及早發現常見問題
|
|
13
|
+
- 強制執行程式碼標準
|
|
14
|
+
- 減輕審查者負擔
|
|
15
|
+
- CI/CD 整合
|
|
16
|
+
- 大型程式碼庫
|
|
17
|
+
|
|
18
|
+
tool_categories:
|
|
19
|
+
static_analysis:
|
|
20
|
+
name: 靜態分析
|
|
21
|
+
description: 不執行程式碼進行分析
|
|
22
|
+
tools:
|
|
23
|
+
- name: ESLint
|
|
24
|
+
languages: [JavaScript, TypeScript]
|
|
25
|
+
focus: 程式碼品質、風格
|
|
26
|
+
- name: Pylint
|
|
27
|
+
languages: [Python]
|
|
28
|
+
focus: 程式碼品質、錯誤
|
|
29
|
+
- name: SonarQube
|
|
30
|
+
languages: [多語言]
|
|
31
|
+
focus: 程式碼品質、安全性
|
|
32
|
+
|
|
33
|
+
security_scanning:
|
|
34
|
+
name: 安全掃描
|
|
35
|
+
description: 尋找安全漏洞
|
|
36
|
+
tools:
|
|
37
|
+
- name: Snyk
|
|
38
|
+
focus: 相依性漏洞
|
|
39
|
+
- name: CodeQL
|
|
40
|
+
focus: 語意程式碼分析
|
|
41
|
+
- name: Semgrep
|
|
42
|
+
focus: 自訂安全規則
|
|
43
|
+
|
|
44
|
+
formatting:
|
|
45
|
+
name: 格式化
|
|
46
|
+
description: 程式碼風格強制
|
|
47
|
+
tools:
|
|
48
|
+
- name: Prettier
|
|
49
|
+
languages: [JavaScript, TypeScript, CSS, HTML]
|
|
50
|
+
- name: Black
|
|
51
|
+
languages: [Python]
|
|
52
|
+
- name: gofmt
|
|
53
|
+
languages: [Go]
|
|
54
|
+
|
|
55
|
+
type_checking:
|
|
56
|
+
name: 型別檢查
|
|
57
|
+
description: 型別安全驗證
|
|
58
|
+
tools:
|
|
59
|
+
- name: TypeScript
|
|
60
|
+
languages: [TypeScript, JavaScript]
|
|
61
|
+
- name: mypy
|
|
62
|
+
languages: [Python]
|
|
63
|
+
|
|
64
|
+
ai_review:
|
|
65
|
+
name: AI 審查
|
|
66
|
+
description: AI 驅動的程式碼審查
|
|
67
|
+
tools:
|
|
68
|
+
- name: GitHub Copilot
|
|
69
|
+
description: AI 建議和審查
|
|
70
|
+
- name: CodeRabbit
|
|
71
|
+
description: AI PR 審查評論
|
|
72
|
+
|
|
73
|
+
rules:
|
|
74
|
+
- id: fail-on-errors
|
|
75
|
+
trigger: 自動檢查失敗時
|
|
76
|
+
instruction: 在修復關鍵問題前阻止合併
|
|
77
|
+
priority: required
|
|
78
|
+
|
|
79
|
+
- id: warnings-as-suggestions
|
|
80
|
+
trigger: 自動檢查警告時
|
|
81
|
+
instruction: 將警告視為非阻擋性建議
|
|
82
|
+
priority: recommended
|
|
83
|
+
|
|
84
|
+
- id: config-in-repo
|
|
85
|
+
trigger: 設定自動化時
|
|
86
|
+
instruction: 將工具設定存放在儲存庫中
|
|
87
|
+
priority: required
|
|
88
|
+
|
|
89
|
+
- id: pre-commit-hooks
|
|
90
|
+
trigger: 提交程式碼時
|
|
91
|
+
instruction: 在提交前執行格式化和 linter
|
|
92
|
+
priority: recommended
|
|
93
|
+
|
|
94
|
+
recommended_setup:
|
|
95
|
+
minimum:
|
|
96
|
+
- 主要語言的 Linter
|
|
97
|
+
- 格式化工具(啟用自動修復)
|
|
98
|
+
- 相依性漏洞掃描器
|
|
99
|
+
|
|
100
|
+
recommended:
|
|
101
|
+
- 所有最小工具
|
|
102
|
+
- 型別檢查器(如適用)
|
|
103
|
+
- 安全掃描器
|
|
104
|
+
- 程式碼覆蓋率檢查
|
|
105
|
+
|
|
106
|
+
comprehensive:
|
|
107
|
+
- 所有推薦工具
|
|
108
|
+
- AI 程式碼審查
|
|
109
|
+
- 專案自訂規則
|
|
110
|
+
- 指標追蹤
|
|
111
|
+
|
|
112
|
+
comparison_with_manual:
|
|
113
|
+
columns: [面向, 自動化, 人工審查]
|
|
114
|
+
rows:
|
|
115
|
+
- [速度, 即時, 數小時/數天]
|
|
116
|
+
- [一致性, 100%, 視情況]
|
|
117
|
+
- [情境理解, 有限, 高]
|
|
118
|
+
- [商業邏輯, 無法檢查, 可驗證]
|
|
119
|
+
- [風格強制, 優秀, 不一致]
|
|
120
|
+
- [基本安全, 良好, 可能遺漏]
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
# 結對程式設計審查 - AI 優化選項
|
|
2
|
+
# 父項: code-review
|
|
3
|
+
|
|
4
|
+
id: pair-programming
|
|
5
|
+
meta:
|
|
6
|
+
parent: code-review
|
|
7
|
+
version: "1.0.0"
|
|
8
|
+
description: 即時協作程式碼審查
|
|
9
|
+
language: zh-TW
|
|
10
|
+
|
|
11
|
+
best_for:
|
|
12
|
+
- 複雜功能
|
|
13
|
+
- 知識傳承
|
|
14
|
+
- 新成員入職
|
|
15
|
+
- 關鍵程式碼路徑
|
|
16
|
+
- 同地辦公團隊
|
|
17
|
+
|
|
18
|
+
roles:
|
|
19
|
+
driver:
|
|
20
|
+
name: 駕駛者
|
|
21
|
+
description: 撰寫程式碼
|
|
22
|
+
responsibilities:
|
|
23
|
+
- 實作解決方案
|
|
24
|
+
- 解釋思考過程
|
|
25
|
+
- 接受導航者的建議
|
|
26
|
+
|
|
27
|
+
navigator:
|
|
28
|
+
name: 導航者
|
|
29
|
+
description: 審查和引導
|
|
30
|
+
responsibilities:
|
|
31
|
+
- 即時審查程式碼
|
|
32
|
+
- 思考整體架構
|
|
33
|
+
- 建議改進
|
|
34
|
+
- 及早發現錯誤
|
|
35
|
+
|
|
36
|
+
patterns:
|
|
37
|
+
- name: 乒乓模式
|
|
38
|
+
description: 每個測試後交換角色
|
|
39
|
+
best_for: TDD 工作流程
|
|
40
|
+
workflow:
|
|
41
|
+
- 駕駛者撰寫失敗的測試
|
|
42
|
+
- 交換角色
|
|
43
|
+
- 新駕駛者讓測試通過
|
|
44
|
+
- 交換並重複
|
|
45
|
+
|
|
46
|
+
- name: 強風格模式
|
|
47
|
+
description: 導航者必須口頭表達所有想法
|
|
48
|
+
rule: "想法要從你的腦中到電腦,必須經過別人的手"
|
|
49
|
+
best_for: 知識傳承
|
|
50
|
+
|
|
51
|
+
- name: 駕駛-導航模式
|
|
52
|
+
description: 傳統結對
|
|
53
|
+
workflow:
|
|
54
|
+
- 駕駛者專注於戰術性編碼
|
|
55
|
+
- 導航者進行策略性思考
|
|
56
|
+
- 每 25-30 分鐘交換
|
|
57
|
+
|
|
58
|
+
session_guidelines:
|
|
59
|
+
preparation:
|
|
60
|
+
- 定義會議目標
|
|
61
|
+
- 設定共享環境
|
|
62
|
+
- 同意結對模式
|
|
63
|
+
|
|
64
|
+
during_session:
|
|
65
|
+
- 每 45-60 分鐘休息
|
|
66
|
+
- 定期交換角色
|
|
67
|
+
- 持續溝通
|
|
68
|
+
|
|
69
|
+
after_session:
|
|
70
|
+
- 簡短回顧
|
|
71
|
+
- 記錄做出的決定
|
|
72
|
+
- 提交程式碼
|
|
73
|
+
|
|
74
|
+
tools:
|
|
75
|
+
remote_pairing:
|
|
76
|
+
- VS Code Live Share
|
|
77
|
+
- JetBrains Code With Me
|
|
78
|
+
- Tuple
|
|
79
|
+
- 螢幕分享(備用)
|
|
80
|
+
|
|
81
|
+
local_pairing:
|
|
82
|
+
- 單台電腦,兩個鍵盤
|
|
83
|
+
- 投影機/大螢幕
|
|
84
|
+
|
|
85
|
+
rules:
|
|
86
|
+
- id: regular-switching
|
|
87
|
+
trigger: 結對會議時
|
|
88
|
+
instruction: 每 25-30 分鐘交換角色
|
|
89
|
+
priority: required
|
|
90
|
+
|
|
91
|
+
- id: verbal-communication
|
|
92
|
+
trigger: 導航時
|
|
93
|
+
instruction: 在建議變更前解釋理由
|
|
94
|
+
priority: required
|
|
95
|
+
|
|
96
|
+
- id: respect-driver
|
|
97
|
+
trigger: 導航時
|
|
98
|
+
instruction: 不要搶鍵盤;用口頭引導
|
|
99
|
+
priority: required
|
|
100
|
+
|
|
101
|
+
comparison_with_pr:
|
|
102
|
+
columns: [面向, 結對程式設計, PR 審查]
|
|
103
|
+
rows:
|
|
104
|
+
- [時機, 即時, 非同步]
|
|
105
|
+
- [回饋, 立即, 延遲]
|
|
106
|
+
- [知識分享, 高, 中]
|
|
107
|
+
- [文件記錄, 較低, 較高(PR 評論)]
|
|
108
|
+
- [擴展性, 有限, 高]
|
|
109
|
+
- [遠端友善, 挑戰性, 容易]
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
# Pull Request 審查 - AI 優化選項
|
|
2
|
+
# 父項: code-review
|
|
3
|
+
|
|
4
|
+
id: pr-review
|
|
5
|
+
meta:
|
|
6
|
+
parent: code-review
|
|
7
|
+
version: "1.0.0"
|
|
8
|
+
description: 傳統的 Pull Request 程式碼審查流程
|
|
9
|
+
language: zh-TW
|
|
10
|
+
|
|
11
|
+
best_for:
|
|
12
|
+
- 分散式團隊
|
|
13
|
+
- 非同步工作流程
|
|
14
|
+
- 需要審計紀錄
|
|
15
|
+
- 開源專案
|
|
16
|
+
|
|
17
|
+
workflow:
|
|
18
|
+
steps:
|
|
19
|
+
- name: 建立 PR
|
|
20
|
+
actor: 作者
|
|
21
|
+
actions:
|
|
22
|
+
- 撰寫清楚的描述
|
|
23
|
+
- 連結相關 issue
|
|
24
|
+
- 請求審查者
|
|
25
|
+
|
|
26
|
+
- name: 審查
|
|
27
|
+
actor: 審查者
|
|
28
|
+
actions:
|
|
29
|
+
- 檢查功能性
|
|
30
|
+
- 審查程式碼品質
|
|
31
|
+
- 驗證安全性
|
|
32
|
+
- 如有需要在本地執行測試
|
|
33
|
+
|
|
34
|
+
- name: 回應
|
|
35
|
+
actor: 作者
|
|
36
|
+
actions:
|
|
37
|
+
- 處理回饋
|
|
38
|
+
- 推送修復
|
|
39
|
+
- 請求重新審查
|
|
40
|
+
|
|
41
|
+
- name: 核准與合併
|
|
42
|
+
actor: 審查者
|
|
43
|
+
actions:
|
|
44
|
+
- 最終核准
|
|
45
|
+
- 合併或等待 CI
|
|
46
|
+
|
|
47
|
+
review_checklist:
|
|
48
|
+
functionality:
|
|
49
|
+
- 程式碼是否正確運作?
|
|
50
|
+
- 是否處理邊界情況?
|
|
51
|
+
- 錯誤處理是否適當?
|
|
52
|
+
|
|
53
|
+
code_quality:
|
|
54
|
+
- 程式碼是否可讀?
|
|
55
|
+
- 函式是否專注(單一職責)?
|
|
56
|
+
- 是否有重複的程式碼?
|
|
57
|
+
|
|
58
|
+
security:
|
|
59
|
+
- 是否有注入漏洞?
|
|
60
|
+
- 是否驗證輸入?
|
|
61
|
+
- 是否暴露憑證?
|
|
62
|
+
|
|
63
|
+
testing:
|
|
64
|
+
- 是否有足夠的測試?
|
|
65
|
+
- 測試是否涵蓋邊界情況?
|
|
66
|
+
|
|
67
|
+
comment_conventions:
|
|
68
|
+
prefixes:
|
|
69
|
+
- prefix: "[必要]"
|
|
70
|
+
meaning: 合併前必須修復
|
|
71
|
+
blocking: true
|
|
72
|
+
- prefix: "[建議]"
|
|
73
|
+
meaning: 考慮修改
|
|
74
|
+
blocking: false
|
|
75
|
+
- prefix: "[問題]"
|
|
76
|
+
meaning: 需要釐清
|
|
77
|
+
blocking: false
|
|
78
|
+
- prefix: "[小問題]"
|
|
79
|
+
meaning: 次要風格問題
|
|
80
|
+
blocking: false
|
|
81
|
+
- prefix: "[讚]"
|
|
82
|
+
meaning: 做得好
|
|
83
|
+
blocking: false
|
|
84
|
+
|
|
85
|
+
rules:
|
|
86
|
+
- id: timely-review
|
|
87
|
+
trigger: PR 被指派時
|
|
88
|
+
instruction: 在 24 小時內完成審查
|
|
89
|
+
priority: recommended
|
|
90
|
+
|
|
91
|
+
- id: constructive-feedback
|
|
92
|
+
trigger: 撰寫評論時
|
|
93
|
+
instruction: 解釋為什麼,而不只是什麼
|
|
94
|
+
priority: required
|
|
95
|
+
|
|
96
|
+
- id: test-before-approve
|
|
97
|
+
trigger: 核准 PR 時
|
|
98
|
+
instruction: 確保所有測試通過
|
|
99
|
+
priority: required
|
|
100
|
+
|
|
101
|
+
- id: minimum-reviewers
|
|
102
|
+
trigger: 合併 PR 時
|
|
103
|
+
instruction: 至少需要一個核准
|
|
104
|
+
priority: required
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
# 雙語提交格式 - AI 優化選項
|
|
2
|
+
# 父項: commit-message
|
|
3
|
+
|
|
4
|
+
id: bilingual
|
|
5
|
+
meta:
|
|
6
|
+
parent: commit-message
|
|
7
|
+
version: "1.0.0"
|
|
8
|
+
description: 混合團隊的雙語格式
|
|
9
|
+
language: zh-TW
|
|
10
|
+
|
|
11
|
+
best_for:
|
|
12
|
+
- 有本地重點的混合團隊
|
|
13
|
+
- 國際協作專案
|
|
14
|
+
- 維持工具相容性同時支援中文讀者
|
|
15
|
+
|
|
16
|
+
format:
|
|
17
|
+
template: |
|
|
18
|
+
<type>(<scope>): <English subject>. <Chinese subject>.
|
|
19
|
+
|
|
20
|
+
<English body>
|
|
21
|
+
|
|
22
|
+
<Chinese body>
|
|
23
|
+
|
|
24
|
+
<footer>
|
|
25
|
+
note: 類型和範圍使用英文以確保工具相容性
|
|
26
|
+
|
|
27
|
+
types:
|
|
28
|
+
- type: feat
|
|
29
|
+
description_en: New feature
|
|
30
|
+
description_zh: 新功能
|
|
31
|
+
|
|
32
|
+
- type: fix
|
|
33
|
+
description_en: Bug fix
|
|
34
|
+
description_zh: 錯誤修正
|
|
35
|
+
|
|
36
|
+
- type: refactor
|
|
37
|
+
description_en: Code refactoring
|
|
38
|
+
description_zh: 程式碼重構
|
|
39
|
+
|
|
40
|
+
- type: docs
|
|
41
|
+
description_en: Documentation
|
|
42
|
+
description_zh: 文件更新
|
|
43
|
+
|
|
44
|
+
- type: style
|
|
45
|
+
description_en: Formatting
|
|
46
|
+
description_zh: 格式調整
|
|
47
|
+
|
|
48
|
+
- type: test
|
|
49
|
+
description_en: Tests
|
|
50
|
+
description_zh: 測試
|
|
51
|
+
|
|
52
|
+
- type: perf
|
|
53
|
+
description_en: Performance
|
|
54
|
+
description_zh: 效能改善
|
|
55
|
+
|
|
56
|
+
- type: build
|
|
57
|
+
description_en: Build system
|
|
58
|
+
description_zh: 建置系統
|
|
59
|
+
|
|
60
|
+
- type: ci
|
|
61
|
+
description_en: CI/CD
|
|
62
|
+
description_zh: 持續整合
|
|
63
|
+
|
|
64
|
+
- type: chore
|
|
65
|
+
description_en: Maintenance
|
|
66
|
+
description_zh: 維護任務
|
|
67
|
+
|
|
68
|
+
- type: security
|
|
69
|
+
description_en: Security fix
|
|
70
|
+
description_zh: 安全修正
|
|
71
|
+
|
|
72
|
+
rules:
|
|
73
|
+
- id: english-type-scope
|
|
74
|
+
trigger: 撰寫提交標頭時
|
|
75
|
+
instruction: 類型和範圍使用英文(工具相容性)
|
|
76
|
+
priority: required
|
|
77
|
+
|
|
78
|
+
- id: bilingual-subject
|
|
79
|
+
trigger: 撰寫主旨時
|
|
80
|
+
instruction: 包含英文和中文主旨,以句號分隔
|
|
81
|
+
priority: required
|
|
82
|
+
|
|
83
|
+
- id: bilingual-body
|
|
84
|
+
trigger: 撰寫內文時
|
|
85
|
+
instruction: 以雙語撰寫內文,英文優先
|
|
86
|
+
priority: recommended
|
|
87
|
+
|
|
88
|
+
examples:
|
|
89
|
+
simple: "feat(auth): Add login form. 新增登入表單."
|
|
90
|
+
with_body: |
|
|
91
|
+
feat(auth): Add OAuth2 Google login support. 新增 OAuth2 Google 登入支援.
|
|
92
|
+
|
|
93
|
+
Implement Google OAuth2 authentication flow for user login.
|
|
94
|
+
|
|
95
|
+
- Add Google OAuth2 SDK integration
|
|
96
|
+
- Create callback endpoint for OAuth flow
|
|
97
|
+
- Store refresh tokens securely
|
|
98
|
+
|
|
99
|
+
實作 Google OAuth2 認證流程供使用者登入。
|
|
100
|
+
|
|
101
|
+
- 整合 Google OAuth2 SDK
|
|
102
|
+
- 建立 OAuth 流程回呼端點
|
|
103
|
+
- 安全儲存更新權杖
|
|
104
|
+
|
|
105
|
+
Closes #123
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# 英文提交格式 - AI 優化選項
|
|
2
|
+
# 父項: commit-message
|
|
3
|
+
|
|
4
|
+
id: english
|
|
5
|
+
meta:
|
|
6
|
+
parent: commit-message
|
|
7
|
+
version: "1.0.0"
|
|
8
|
+
description: 標準英文提交訊息格式
|
|
9
|
+
language: zh-TW
|
|
10
|
+
|
|
11
|
+
best_for:
|
|
12
|
+
- 國際團隊
|
|
13
|
+
- 開源專案
|
|
14
|
+
- 工具相容性最佳
|
|
15
|
+
|
|
16
|
+
format:
|
|
17
|
+
template: "<type>(<scope>): <subject>"
|
|
18
|
+
note: 類型和範圍使用英文
|
|
19
|
+
|
|
20
|
+
types:
|
|
21
|
+
- type: feat
|
|
22
|
+
description: 新功能
|
|
23
|
+
- type: fix
|
|
24
|
+
description: 錯誤修正
|
|
25
|
+
- type: refactor
|
|
26
|
+
description: 程式碼重構
|
|
27
|
+
- type: docs
|
|
28
|
+
description: 文件更新
|
|
29
|
+
- type: style
|
|
30
|
+
description: 格式調整
|
|
31
|
+
- type: test
|
|
32
|
+
description: 測試相關
|
|
33
|
+
- type: perf
|
|
34
|
+
description: 效能改善
|
|
35
|
+
- type: build
|
|
36
|
+
description: 建置系統
|
|
37
|
+
- type: ci
|
|
38
|
+
description: 持續整合
|
|
39
|
+
- type: chore
|
|
40
|
+
description: 維護任務
|
|
41
|
+
- type: security
|
|
42
|
+
description: 安全修正
|
|
43
|
+
|
|
44
|
+
rules:
|
|
45
|
+
- id: english-type
|
|
46
|
+
trigger: 撰寫提交標頭時
|
|
47
|
+
instruction: 使用英文類型(feat, fix, refactor 等)
|
|
48
|
+
priority: required
|
|
49
|
+
|
|
50
|
+
- id: english-subject
|
|
51
|
+
trigger: 撰寫主旨時
|
|
52
|
+
instruction: 以英文撰寫主旨
|
|
53
|
+
priority: required
|
|
54
|
+
|
|
55
|
+
- id: imperative-mood
|
|
56
|
+
trigger: 撰寫主旨時
|
|
57
|
+
instruction: 使用祈使語氣(Add 而非 Added)
|
|
58
|
+
priority: required
|
|
59
|
+
|
|
60
|
+
examples:
|
|
61
|
+
simple: "feat(auth): Add OAuth2 login support"
|
|
62
|
+
with_body: |
|
|
63
|
+
feat(auth): Add OAuth2 Google login support
|
|
64
|
+
|
|
65
|
+
Implement Google OAuth2 authentication flow for user login.
|
|
66
|
+
|
|
67
|
+
- Add Google OAuth2 SDK integration
|
|
68
|
+
- Create callback endpoint for OAuth flow
|
|
69
|
+
- Store refresh tokens securely
|
|
70
|
+
|
|
71
|
+
Closes #123
|
|
72
|
+
breaking: |
|
|
73
|
+
feat(api)!: Change response format to JSON
|
|
74
|
+
|
|
75
|
+
BREAKING CHANGE: API response format changed from XML to JSON
|
|
76
|
+
|
|
77
|
+
Migration guide:
|
|
78
|
+
1. Update API clients to remove .data wrapper
|
|
79
|
+
2. Use created_at instead of createdAt
|