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