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,151 @@
|
|
|
1
|
+
---
|
|
2
|
+
source: ../../../../skills/claude-code/CONTRIBUTING.template.md
|
|
3
|
+
source_version: 1.0.0
|
|
4
|
+
translation_version: 1.0.0
|
|
5
|
+
last_synced: 2025-12-25
|
|
6
|
+
status: current
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
> **语言**: [English](../../../../skills/claude-code/CONTRIBUTING.template.md) | 简体中文
|
|
10
|
+
|
|
11
|
+
# 貢獻指南範本
|
|
12
|
+
|
|
13
|
+
> 將此文件複制到您的项目中并命名为 `CONTRIBUTING.md`,然後根据需要进行自订。
|
|
14
|
+
> 此範本包含 [universal-dev-skills](https://github.com/AsiaOstrich/universal-dev-skills) 的配置區塊。
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## 停用的技能
|
|
19
|
+
|
|
20
|
+
<!--
|
|
21
|
+
所有技能预设为啟用。
|
|
22
|
+
取消註解并列出您想要在此项目中停用的技能。
|
|
23
|
+
-->
|
|
24
|
+
|
|
25
|
+
<!--
|
|
26
|
+
- testing-guide
|
|
27
|
+
- release-standards
|
|
28
|
+
-->
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## 开发标准
|
|
33
|
+
|
|
34
|
+
### Commit 消息语言
|
|
35
|
+
|
|
36
|
+
此项目使用**英文** commit 类型。
|
|
37
|
+
<!-- 选项:English | 简体中文 | Bilingual -->
|
|
38
|
+
|
|
39
|
+
#### 允許的类型
|
|
40
|
+
|
|
41
|
+
| Type | 说明 |
|
|
42
|
+
|------|------|
|
|
43
|
+
| `feat` | 新功能 |
|
|
44
|
+
| `fix` | 错误修復 |
|
|
45
|
+
| `refactor` | 程序码重構 |
|
|
46
|
+
| `docs` | 文件 |
|
|
47
|
+
| `style` | 格式化 |
|
|
48
|
+
| `test` | 测试 |
|
|
49
|
+
| `perf` | 效能 |
|
|
50
|
+
| `build` | 建置系统 |
|
|
51
|
+
| `ci` | CI/CD 变更 |
|
|
52
|
+
| `chore` | 維護 |
|
|
53
|
+
| `revert` | 还原提交 |
|
|
54
|
+
| `security` | 安全性修復 |
|
|
55
|
+
|
|
56
|
+
#### 允許的範圍
|
|
57
|
+
|
|
58
|
+
- `auth` - 认证模組
|
|
59
|
+
- `api` - API 层
|
|
60
|
+
- `ui` - 使用者界面
|
|
61
|
+
- `db` - 数据庫
|
|
62
|
+
- `core` - 核心功能
|
|
63
|
+
<!-- 新增您项目特定的範圍 -->
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
### 确定性标签语言
|
|
68
|
+
|
|
69
|
+
此项目使用**英文**确定性标签。
|
|
70
|
+
<!-- 选项:English | 中文 -->
|
|
71
|
+
|
|
72
|
+
#### 标签參考
|
|
73
|
+
|
|
74
|
+
| 标签 | 使用时机 |
|
|
75
|
+
|------|----------|
|
|
76
|
+
| `[Confirmed]` | 來自程序码/文件的直接证据 |
|
|
77
|
+
| `[Inferred]` | 從证据进行邏辑推論 |
|
|
78
|
+
| `[Assumption]` | 基於常見模式 |
|
|
79
|
+
| `[Unknown]` | 信息不可用 |
|
|
80
|
+
| `[Need Confirmation]` | 需要使用者确认 |
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
### Git 工作流程
|
|
85
|
+
|
|
86
|
+
#### 分支策略
|
|
87
|
+
|
|
88
|
+
此项目使用 **GitHub Flow**。
|
|
89
|
+
<!-- 选项:GitFlow | GitHub Flow | Trunk-Based Development -->
|
|
90
|
+
|
|
91
|
+
#### 分支命名
|
|
92
|
+
|
|
93
|
+
格式:`<type>/<description>`
|
|
94
|
+
|
|
95
|
+
| Type | 用途 | 範例 |
|
|
96
|
+
|------|------|------|
|
|
97
|
+
| `feature/` | 新功能 | `feature/oauth-login` |
|
|
98
|
+
| `fix/` | 错误修復 | `fix/memory-leak` |
|
|
99
|
+
| `hotfix/` | 緊急修復 | `hotfix/security-patch` |
|
|
100
|
+
| `refactor/` | 程序码重構 | `refactor/extract-service` |
|
|
101
|
+
| `docs/` | 文件 | `docs/api-reference` |
|
|
102
|
+
| `chore/` | 維護 | `chore/update-deps` |
|
|
103
|
+
| `release/` | 發布准备 | `release/v1.2.0` |
|
|
104
|
+
|
|
105
|
+
#### 合併策略
|
|
106
|
+
|
|
107
|
+
- Feature 分支:**Squash Merge**
|
|
108
|
+
<!-- 选项:Merge Commit | Squash Merge | Rebase -->
|
|
109
|
+
|
|
110
|
+
---
|
|
111
|
+
|
|
112
|
+
## 程序码审查
|
|
113
|
+
|
|
114
|
+
### 註解前綴
|
|
115
|
+
|
|
116
|
+
| 前綴 | 需要的动作 |
|
|
117
|
+
|------|-----------|
|
|
118
|
+
| **BLOCKING** | 必須在合併前修復 |
|
|
119
|
+
| **IMPORTANT** | 应該修復 |
|
|
120
|
+
| **SUGGESTION** | 可選的改进 |
|
|
121
|
+
| **QUESTION** | 需要釐清 |
|
|
122
|
+
| **NOTE** | 信息性 |
|
|
123
|
+
|
|
124
|
+
---
|
|
125
|
+
|
|
126
|
+
## 测试
|
|
127
|
+
|
|
128
|
+
### 最低覆蓋率
|
|
129
|
+
|
|
130
|
+
| 层级 | 目標 |
|
|
131
|
+
|------|------|
|
|
132
|
+
| Unit Tests | 80% |
|
|
133
|
+
| Integration Tests | 60% |
|
|
134
|
+
| E2E Tests | 关鍵路徑 |
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
## Pull Request 流程
|
|
139
|
+
|
|
140
|
+
1. 從 `main` 建立 feature 分支
|
|
141
|
+
2. 进行您的变更
|
|
142
|
+
3. 确保所有测试通過
|
|
143
|
+
4. 提交 pull request
|
|
144
|
+
5. 处理审查意見
|
|
145
|
+
6. 核准後合併
|
|
146
|
+
|
|
147
|
+
---
|
|
148
|
+
|
|
149
|
+
## 授权
|
|
150
|
+
|
|
151
|
+
貢獻至此项目即表示您同意您的貢獻將依项目授权进行授权。
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
---
|
|
2
|
+
source: ../../../../skills/claude-code/README.md
|
|
3
|
+
source_version: 1.1.0
|
|
4
|
+
translation_version: 1.1.0
|
|
5
|
+
last_synced: 2026-01-07
|
|
6
|
+
status: current
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Claude Code Skills
|
|
10
|
+
|
|
11
|
+
> **语言**: [English](../../../../skills/claude-code/README.md) | 简体中文
|
|
12
|
+
|
|
13
|
+
软体开发标准的 Claude Code Skills。
|
|
14
|
+
|
|
15
|
+
> 衍生自 [universal-dev-standards](https://github.com/AsiaOstrich/universal-dev-standards) 核心标准。
|
|
16
|
+
|
|
17
|
+
## 概述
|
|
18
|
+
|
|
19
|
+
这些技能会根据上下文在使用 Claude Code 时自动觸發,協助您:
|
|
20
|
+
|
|
21
|
+
- 透過基於证据的响应防止 AI 幻覺
|
|
22
|
+
- 撰写一致且格式良好的提交消息
|
|
23
|
+
- 进行全面的程序码审查
|
|
24
|
+
- 遵循测试最佳实踐
|
|
25
|
+
- 使用語意化版本管理發布
|
|
26
|
+
|
|
27
|
+
## 可用的 Skills
|
|
28
|
+
|
|
29
|
+
| Skill | 描述 | 觸發条件 |
|
|
30
|
+
|-------|------|----------|
|
|
31
|
+
| `ai-collaboration-standards` | 防止 AI 幻覺 | 程序码分析、"certainty" |
|
|
32
|
+
| `commit-standards` | Conventional Commits 格式 | "commit"、git 操作 |
|
|
33
|
+
| `code-review-assistant` | 系统化程序码审查 | "review"、"PR" |
|
|
34
|
+
| `testing-guide` | 测试金字塔 | 撰写测试 |
|
|
35
|
+
| `tdd-assistant` | 测试驅动开发 | "TDD"、"test first"、"紅綠重構" |
|
|
36
|
+
| `release-standards` | 語意化版本控制 | 准备發布 |
|
|
37
|
+
| `git-workflow-guide` | 分支策略 | "branch"、"merge" |
|
|
38
|
+
| `documentation-guide` | 文件结构 | "README"、"docs" |
|
|
39
|
+
| `requirement-assistant` | 需求撰写 | "requirement"、"user story" |
|
|
40
|
+
|
|
41
|
+
## 静态与动态规范
|
|
42
|
+
|
|
43
|
+
规范依据应用时机分为兩类:
|
|
44
|
+
|
|
45
|
+
Standards are classified into two types based on when they should be applied:
|
|
46
|
+
|
|
47
|
+
### 静态规范(项目文件)
|
|
48
|
+
|
|
49
|
+
这些规范应該**隨时生效**,建议放在项目的 `CLAUDE.md` 或 `.cursorrules` 中:
|
|
50
|
+
|
|
51
|
+
These standards should **always be active**. Add them to your project's `CLAUDE.md` or `.cursorrules`:
|
|
52
|
+
|
|
53
|
+
| Standard | 核心規則 | Key Rules |
|
|
54
|
+
|----------|---------|-----------|
|
|
55
|
+
| [anti-hallucination](../../../../core/anti-hallucination.md) | 确定性标签、建议原則 | Certainty labels, suggestion principles |
|
|
56
|
+
| [checkin-standards](../../../../core/checkin-standards.md) | 编譯通過、测试通過、覆蓋率达標 | Build passes, tests pass, coverage met |
|
|
57
|
+
| [project-structure](../../../../core/project-structure.md) | 目录结构规范 | Directory structure conventions |
|
|
58
|
+
|
|
59
|
+
> 📄 參見 [CLAUDE.md.template](../../../../templates/CLAUDE.md.template) 取得可直接使用的範本。
|
|
60
|
+
>
|
|
61
|
+
> 📄 See [CLAUDE.md.template](../../../../templates/CLAUDE.md.template) for a ready-to-use template.
|
|
62
|
+
|
|
63
|
+
### 动态规范(Skills)
|
|
64
|
+
|
|
65
|
+
这些规范由**关鍵字觸發**,按需载入。安裝为 Skills 使用:
|
|
66
|
+
|
|
67
|
+
These are **triggered by keywords** or specific tasks. Install as Skills:
|
|
68
|
+
|
|
69
|
+
| Skill | 觸發关鍵字 | Trigger Keywords |
|
|
70
|
+
|-------|-----------|-----------------|
|
|
71
|
+
| commit-standards | 提交、消息 | commit, git, message |
|
|
72
|
+
| code-review-assistant | 审查、检查 | review, PR, checklist |
|
|
73
|
+
| git-workflow-guide | 分支、合併 | branch, merge, workflow |
|
|
74
|
+
| testing-guide | 测试、覆蓋率 | test, coverage, pyramid |
|
|
75
|
+
| tdd-assistant | TDD、测试優先、紅綠重構 | TDD, test first, red green refactor |
|
|
76
|
+
| release-standards | 版本、發布 | version, release, semver |
|
|
77
|
+
| documentation-guide | 文件、文档 | README, docs, documentation |
|
|
78
|
+
| requirement-assistant | 規格、需求、新功能 | spec, SDD, requirement |
|
|
79
|
+
|
|
80
|
+
> 📖 參見[静态与动态指南](../../../../adoption/STATIC-DYNAMIC-GUIDE.md)了解详细分类说明。
|
|
81
|
+
>
|
|
82
|
+
> 📖 See [Static vs Dynamic Guide](../../../../adoption/STATIC-DYNAMIC-GUIDE.md) for detailed classification.
|
|
83
|
+
|
|
84
|
+
## 安裝
|
|
85
|
+
|
|
86
|
+
### 推荐:Plugin Marketplace
|
|
87
|
+
|
|
88
|
+
透過 Claude Code Plugin Marketplace 安裝以獲得自动更新:
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
# 新增 marketplace(一次性设置)
|
|
92
|
+
/plugin marketplace add AsiaOstrich/universal-dev-standards
|
|
93
|
+
|
|
94
|
+
# 安裝包含所有 15 个技能的插件
|
|
95
|
+
/plugin install universal-dev-standards@asia-ostrich
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
**優点:**
|
|
99
|
+
- ✅ Claude Code 重啟时自动更新
|
|
100
|
+
- ✅ 与 Claude Code 更好的集成
|
|
101
|
+
- ✅ 無需手动維護
|
|
102
|
+
|
|
103
|
+
所有技能將自动载入并可使用。
|
|
104
|
+
|
|
105
|
+
### 替代方案:脚本安裝(已棄用)
|
|
106
|
+
|
|
107
|
+
> ⚠️ **已棄用**:透過脚本手动安裝已棄用,將在未來版本中移除。請改用 Plugin Marketplace。
|
|
108
|
+
|
|
109
|
+
适用于无法访问 Marketplace 的环境(例如企业网络):
|
|
110
|
+
|
|
111
|
+
#### 手动安装(选择性 Skills)
|
|
112
|
+
|
|
113
|
+
**macOS / Linux:**
|
|
114
|
+
```bash
|
|
115
|
+
mkdir -p ~/.claude/skills
|
|
116
|
+
cp -r ai-collaboration-standards ~/.claude/skills/
|
|
117
|
+
cp -r commit-standards ~/.claude/skills/
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
**Windows PowerShell:**
|
|
121
|
+
```powershell
|
|
122
|
+
New-Item -ItemType Directory -Force -Path $env:USERPROFILE\.claude\skills
|
|
123
|
+
Copy-Item -Recurse ai-collaboration-standards $env:USERPROFILE\.claude\skills\
|
|
124
|
+
Copy-Item -Recurse commit-standards $env:USERPROFILE\.claude\skills\
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
### 替代方案:项目层级安裝(已棄用)
|
|
128
|
+
|
|
129
|
+
> ⚠️ **已棄用**:项目层级手动安裝已棄用。建议使用 Plugin Marketplace 以獲得最佳体驗。
|
|
130
|
+
|
|
131
|
+
適用於项目特定技能自订:
|
|
132
|
+
|
|
133
|
+
**macOS / Linux:**
|
|
134
|
+
```bash
|
|
135
|
+
mkdir -p .claude/skills
|
|
136
|
+
cp -r /path/to/skills/claude-code/* .claude/skills/
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
**Windows PowerShell:**
|
|
140
|
+
```powershell
|
|
141
|
+
New-Item -ItemType Directory -Force -Path .claude\skills
|
|
142
|
+
Copy-Item -Recurse path\to\skills\claude-code\* .claude\skills\
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
> **注意**:项目层级技能(`.claude/skills/`)優先於全域技能(`~/.claude/skills/`)。
|
|
146
|
+
|
|
147
|
+
## 设置
|
|
148
|
+
|
|
149
|
+
Skills 支援透過 `CONTRIBUTING.md` 进行项目特定设置。
|
|
150
|
+
|
|
151
|
+
### 停用 Skills
|
|
152
|
+
|
|
153
|
+
在您的项目 `CONTRIBUTING.md` 中加入:
|
|
154
|
+
|
|
155
|
+
```markdown
|
|
156
|
+
## Disabled Skills
|
|
157
|
+
|
|
158
|
+
- testing-guide
|
|
159
|
+
- release-standards
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
### 设置範本
|
|
163
|
+
|
|
164
|
+
完整设置选项請參見 [CONTRIBUTING.template.md](../../../../skills/claude-code/CONTRIBUTING.template.md)。
|
|
165
|
+
|
|
166
|
+
## Skill 優先順序
|
|
167
|
+
|
|
168
|
+
當同一个 skill 同时存在於兩个位置时:
|
|
169
|
+
1. **项目层级**(`.claude/skills/`)優先
|
|
170
|
+
2. **全域层级**(`~/.claude/skills/`)为备援
|
|
171
|
+
|
|
172
|
+
## 授权条款
|
|
173
|
+
|
|
174
|
+
雙重授权:CC BY 4.0(文件)+ MIT(程序码)
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
---
|
|
2
|
+
source: ../../../../../skills/claude-code/ai-collaboration-standards/SKILL.md
|
|
3
|
+
source_version: 1.0.0
|
|
4
|
+
translation_version: 1.0.0
|
|
5
|
+
last_synced: 2025-12-30
|
|
6
|
+
status: current
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# AI 协作标准
|
|
10
|
+
|
|
11
|
+
> **语言**: [English](../../../../../skills/claude-code/ai-collaboration-standards/SKILL.md) | 简体中文
|
|
12
|
+
|
|
13
|
+
**版本**: 1.0.0
|
|
14
|
+
**最後更新**: 2025-12-24
|
|
15
|
+
**適用範圍**: Claude Code Skills
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## 目的
|
|
20
|
+
|
|
21
|
+
此技能确保 AI 助理提供准确、基於证据的响应,避免产生幻覺。
|
|
22
|
+
|
|
23
|
+
## 快速參考
|
|
24
|
+
|
|
25
|
+
### 确定性标签
|
|
26
|
+
|
|
27
|
+
| 标签 | 使用时机 |
|
|
28
|
+
|-----|----------|
|
|
29
|
+
| `[Confirmed]` | 來自程序码/文件的直接证据 |
|
|
30
|
+
| `[Inferred]` | 基於证据的邏辑推論 |
|
|
31
|
+
| `[Assumption]` | 基於常見模式(需要验证) |
|
|
32
|
+
| `[Unknown]` | 信息不可用 |
|
|
33
|
+
| `[Need Confirmation]` | 需要使用者澄清 |
|
|
34
|
+
|
|
35
|
+
### 來源类型
|
|
36
|
+
|
|
37
|
+
| 來源类型 | 标签 | 可靠性 |
|
|
38
|
+
|-------------|-----|-------------|
|
|
39
|
+
| 项目程序码 | `[Source: Code]` | ⭐⭐⭐⭐⭐ 最高 |
|
|
40
|
+
| 项目文件 | `[Source: Docs]` | ⭐⭐⭐⭐ 高 |
|
|
41
|
+
| 外部文件 | `[Source: External]` | ⭐⭐⭐⭐ 高 |
|
|
42
|
+
| 网络搜尋 | `[Source: Search]` | ⭐⭐⭐ 中等 |
|
|
43
|
+
| AI 知識 | `[Source: Knowledge]` | ⭐⭐ 低 |
|
|
44
|
+
| 使用者提供 | `[Source: User]` | ⭐⭐⭐ 中等 |
|
|
45
|
+
|
|
46
|
+
### 核心規則
|
|
47
|
+
|
|
48
|
+
1. **僅基於证据**: 只分析已明确读取的内容
|
|
49
|
+
2. **引用來源**: 包含程序码參考的文件路徑和行号
|
|
50
|
+
3. **分类确定性**: 为所有陳述標记确定性等级
|
|
51
|
+
4. **永遠提供建议**: 在呈現选项时,包含建议选择及其理由
|
|
52
|
+
|
|
53
|
+
## 详细指南
|
|
54
|
+
|
|
55
|
+
完整标准請參阅:
|
|
56
|
+
- [防幻覺指南](./anti-hallucination.md)
|
|
57
|
+
- [确定性标签參考](./certainty-labels.md)
|
|
58
|
+
|
|
59
|
+
## 範例
|
|
60
|
+
|
|
61
|
+
### ✅ 正确响应
|
|
62
|
+
|
|
63
|
+
```
|
|
64
|
+
[Confirmed] src/auth/service.ts:45 - JWT 验证使用 'jsonwebtoken' 函式庫
|
|
65
|
+
[Inferred] 基於 src/repositories/ 中的储存庫模式,可能使用依賴注入
|
|
66
|
+
[Need Confirmation] 新功能是否应支援多租戶?
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
### ❌ 错误响应
|
|
70
|
+
|
|
71
|
+
```
|
|
72
|
+
系统使用 Redis 进行快取(程序码未审查)
|
|
73
|
+
UserService 应該有 authenticate() 方法(API 未验证)
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
### ✅ 正确选项呈現
|
|
77
|
+
|
|
78
|
+
```
|
|
79
|
+
有三个选项:
|
|
80
|
+
1. Redis 快取
|
|
81
|
+
2. 记忆体快取
|
|
82
|
+
3. 文件快取
|
|
83
|
+
|
|
84
|
+
**建议:选项 1 (Redis)**:鑑於项目已有 Redis 基礎设施
|
|
85
|
+
且需要跨实例快取共享,Redis 是最合適的选择。
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
### ❌ 错误选项呈現
|
|
89
|
+
|
|
90
|
+
```
|
|
91
|
+
有三个选项:
|
|
92
|
+
1. Redis 快取
|
|
93
|
+
2. 记忆体快取
|
|
94
|
+
3. 文件快取
|
|
95
|
+
|
|
96
|
+
請选择一个。
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
## 检查清单
|
|
100
|
+
|
|
101
|
+
在做出任何陳述之前:
|
|
102
|
+
|
|
103
|
+
- [ ] 來源已验证 - 我是否已读取实际文件/文件?
|
|
104
|
+
- [ ] 來源类型已標记 - 我是否指定了 `[Source: Code]`、`[Source: External]` 等?
|
|
105
|
+
- [ ] 參考已引用 - 我是否包含了文件路徑和行号?
|
|
106
|
+
- [ ] 确定性已分类 - 我是否標记为 `[Confirmed]`、`[Inferred]` 等?
|
|
107
|
+
- [ ] 無捏造 - 我是否避免了虛構 API、设置或需求?
|
|
108
|
+
- [ ] 包含建议 - 在呈現选项时,我是否包含了建议选择?
|
|
109
|
+
|
|
110
|
+
---
|
|
111
|
+
|
|
112
|
+
## 设置檢测
|
|
113
|
+
|
|
114
|
+
此技能支援项目特定的确定性标签语言设置。
|
|
115
|
+
|
|
116
|
+
### 檢测順序
|
|
117
|
+
|
|
118
|
+
1. 检查 `CONTRIBUTING.md` 中的「Certainty Tag Language」章节
|
|
119
|
+
2. 如果找到,使用指定的语言(English / 中文)
|
|
120
|
+
3. 如果未找到,**预设使用英文**标签
|
|
121
|
+
|
|
122
|
+
### 首次设置
|
|
123
|
+
|
|
124
|
+
如果未找到设置且情境不明确:
|
|
125
|
+
|
|
126
|
+
1. 詢問使用者:「此项目尚未设置确定性标签语言偏好。您想使用哪一种?(English / 中文)」
|
|
127
|
+
2. 使用者选择後,建议在 `CONTRIBUTING.md` 中记录:
|
|
128
|
+
|
|
129
|
+
```markdown
|
|
130
|
+
## Certainty Tag Language
|
|
131
|
+
|
|
132
|
+
This project uses **[English / 中文]** certainty tags.
|
|
133
|
+
<!-- Options: English | 中文 -->
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
### 设置範例
|
|
137
|
+
|
|
138
|
+
在项目的 `CONTRIBUTING.md` 中:
|
|
139
|
+
|
|
140
|
+
```markdown
|
|
141
|
+
## Certainty Tag Language
|
|
142
|
+
|
|
143
|
+
This project uses **English** certainty tags.
|
|
144
|
+
|
|
145
|
+
### Tag Reference
|
|
146
|
+
- [Confirmed] - Direct evidence from code/docs
|
|
147
|
+
- [Inferred] - Logical deduction from evidence
|
|
148
|
+
- [Assumption] - Based on common patterns
|
|
149
|
+
- [Unknown] - Information not available
|
|
150
|
+
- [Need Confirmation] - Requires user clarification
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
---
|
|
154
|
+
|
|
155
|
+
## 相关标准
|
|
156
|
+
|
|
157
|
+
- [防幻覺标准](../../core/anti-hallucination.md)
|
|
158
|
+
- [程序码审查检查清单](../../core/code-review-checklist.md)
|
|
159
|
+
- [测试标准](../../core/testing-standards.md)
|
|
160
|
+
|
|
161
|
+
---
|
|
162
|
+
|
|
163
|
+
## 版本历史
|
|
164
|
+
|
|
165
|
+
| 版本 | 日期 | 变更 |
|
|
166
|
+
|---------|------|---------|
|
|
167
|
+
| 1.0.0 | 2025-12-24 | 新增:标准章节(目的、相关标准、版本历史、授权) |
|
|
168
|
+
|
|
169
|
+
---
|
|
170
|
+
|
|
171
|
+
## 授权
|
|
172
|
+
|
|
173
|
+
此技能依据 [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) 釋出。
|
|
174
|
+
|
|
175
|
+
**來源**: [universal-dev-standards](https://github.com/AsiaOstrich/universal-dev-standards)
|