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 | Traditional Chinese | 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)
|