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,170 @@
|
|
|
1
|
+
---
|
|
2
|
+
source: ../../../core/testing-standards.md
|
|
3
|
+
source_version: 2.1.0
|
|
4
|
+
translation_version: 2.1.0
|
|
5
|
+
last_synced: 2026-01-08
|
|
6
|
+
status: current
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
> **语言**: [English](../../../core/testing-standards.md) | [简体中文](../../zh-TW/core/testing-standards.md) | 简体中文
|
|
10
|
+
|
|
11
|
+
# 测试标准
|
|
12
|
+
|
|
13
|
+
**版本**: 1.0.0
|
|
14
|
+
**最后更新**: 2025-12-30
|
|
15
|
+
**适用范围**: 所有需要自动化测试的软件项目
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## 目的
|
|
20
|
+
|
|
21
|
+
本标准定义测试策略和最佳实践,确保代码质量和可维护性。
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## 测试金字塔
|
|
26
|
+
|
|
27
|
+
### 框架选项
|
|
28
|
+
|
|
29
|
+
根据项目需求选择测试框架:
|
|
30
|
+
|
|
31
|
+
| 框架 | 最适合 | 级别 |
|
|
32
|
+
|------|-------|------|
|
|
33
|
+
| ISTQB 标准 | 企业项目、认证需求、正式 QA 流程 | 4 级 |
|
|
34
|
+
| 业界金字塔 | 敏捷开发、CI/CD 优化、快速迭代 | 3 级 |
|
|
35
|
+
|
|
36
|
+
### 业界金字塔(默认)
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
/\
|
|
40
|
+
/ \ E2E 测试 (10%)
|
|
41
|
+
/----\
|
|
42
|
+
/ \ 集成测试 (20%)
|
|
43
|
+
/--------\
|
|
44
|
+
/ \ 单元测试 (70%)
|
|
45
|
+
/------------\
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
| 级别 | 缩写 | 比例 | 范围 | 速度 |
|
|
49
|
+
|------|-----|------|------|------|
|
|
50
|
+
| 单元测试 | UT | 70% | 单一函数/方法 | <100ms |
|
|
51
|
+
| 集成测试 | IT/SIT* | 20% | 多个组件 | <1s |
|
|
52
|
+
| 端到端测试 | E2E | 10% | 用户流程 | >10s |
|
|
53
|
+
|
|
54
|
+
*注:IT(敏捷/DevOps)或 SIT(企业/ISTQB)- 两者都指集成测试
|
|
55
|
+
|
|
56
|
+
### ISTQB 标准框架
|
|
57
|
+
|
|
58
|
+
| 级别 | 缩写 | 说明 | 负责人 |
|
|
59
|
+
|------|-----|------|-------|
|
|
60
|
+
| 单元测试 | UT | 验证代码单元 | 开发者 |
|
|
61
|
+
| 集成测试 | IT/SIT | 验证组件交互 | 开发者/QA |
|
|
62
|
+
| 系统测试 | ST | 验证系统符合需求规格 | QA |
|
|
63
|
+
| 验收测试 | AT/UAT | 验证系统符合业务需求 | 用户/业务方 |
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
## FIRST 原则
|
|
68
|
+
|
|
69
|
+
| 原则 | 说明 |
|
|
70
|
+
|------|------|
|
|
71
|
+
| **F**ast | 测试执行要快 |
|
|
72
|
+
| **I**ndependent | 测试之间相互独立 |
|
|
73
|
+
| **R**epeatable | 每次执行结果一致 |
|
|
74
|
+
| **S**elf-validating | 自动判断通过/失败 |
|
|
75
|
+
| **T**imely | 及时编写测试 |
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## 测试结构
|
|
80
|
+
|
|
81
|
+
### AAA 模式
|
|
82
|
+
|
|
83
|
+
```javascript
|
|
84
|
+
describe('UserService', () => {
|
|
85
|
+
it('should return user when valid id provided', () => {
|
|
86
|
+
// Arrange(准备)
|
|
87
|
+
const userId = 1;
|
|
88
|
+
const expectedUser = { id: 1, name: 'John' };
|
|
89
|
+
|
|
90
|
+
// Act(执行)
|
|
91
|
+
const result = userService.getUser(userId);
|
|
92
|
+
|
|
93
|
+
// Assert(断言)
|
|
94
|
+
expect(result).toEqual(expectedUser);
|
|
95
|
+
});
|
|
96
|
+
});
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
### 命名规范
|
|
100
|
+
|
|
101
|
+
```
|
|
102
|
+
should_<expected behavior>_when_<condition>
|
|
103
|
+
test_<method>_<condition>_<expected result>
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
**好的示例**:
|
|
107
|
+
- `should_return_user_when_valid_id_provided`
|
|
108
|
+
- `test_login_fails_with_invalid_credentials`
|
|
109
|
+
|
|
110
|
+
**差的示例**:
|
|
111
|
+
- `test1`
|
|
112
|
+
- `testLogin`
|
|
113
|
+
|
|
114
|
+
---
|
|
115
|
+
|
|
116
|
+
## 测试替身
|
|
117
|
+
|
|
118
|
+
| 类型 | 用途 | 使用场景 |
|
|
119
|
+
|------|------|---------|
|
|
120
|
+
| Stub | 返回预设响应 | 简单依赖 |
|
|
121
|
+
| Mock | 验证交互 | 复杂依赖 |
|
|
122
|
+
| Fake | 工作中的实现 | 数据库/外部服务 |
|
|
123
|
+
| Spy | 记录调用 | 验证行为 |
|
|
124
|
+
| Dummy | 填充参数 | 未使用的参数 |
|
|
125
|
+
|
|
126
|
+
---
|
|
127
|
+
|
|
128
|
+
## 覆盖率指标
|
|
129
|
+
|
|
130
|
+
| 指标 | 最低要求 | 建议目标 |
|
|
131
|
+
|------|---------|---------|
|
|
132
|
+
| 语句覆盖率 | 70% | 80% |
|
|
133
|
+
| 分支覆盖率 | 60% | 75% |
|
|
134
|
+
| 函数覆盖率 | 80% | 90% |
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
## 快速参考卡
|
|
139
|
+
|
|
140
|
+
### 测试类型选择
|
|
141
|
+
|
|
142
|
+
| 测试什么? | 使用类型 |
|
|
143
|
+
|-----------|---------|
|
|
144
|
+
| 单一函数逻辑 | 单元测试 |
|
|
145
|
+
| 组件间交互 | 集成测试 |
|
|
146
|
+
| 完整用户流程 | E2E 测试 |
|
|
147
|
+
| 安全漏洞 | 安全测试 |
|
|
148
|
+
| 性能瓶颈 | 性能测试 |
|
|
149
|
+
| API 契约 | 契约测试 |
|
|
150
|
+
|
|
151
|
+
### 检查清单
|
|
152
|
+
|
|
153
|
+
- [ ] 遵循测试金字塔比例
|
|
154
|
+
- [ ] 使用 AAA 模式
|
|
155
|
+
- [ ] 测试名称具描述性
|
|
156
|
+
- [ ] 测试相互独立
|
|
157
|
+
- [ ] 覆盖边界条件
|
|
158
|
+
|
|
159
|
+
---
|
|
160
|
+
|
|
161
|
+
## 相关标准
|
|
162
|
+
|
|
163
|
+
- [代码审查指南](code-review-guide.md)
|
|
164
|
+
- [测试完整性维度](test-completeness-dimensions.md)
|
|
165
|
+
|
|
166
|
+
---
|
|
167
|
+
|
|
168
|
+
## 许可证
|
|
169
|
+
|
|
170
|
+
本标准采用 [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) 发布。
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
---
|
|
2
|
+
source: ../../../core/versioning.md
|
|
3
|
+
source_version: 1.2.0
|
|
4
|
+
translation_version: 1.2.0
|
|
5
|
+
last_synced: 2026-01-08
|
|
6
|
+
status: current
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
> **语言**: [English](../../../core/versioning.md) | [简体中文](../zh-TW/core/versioning.md) | 简体中文
|
|
10
|
+
|
|
11
|
+
# 语义化版本标准
|
|
12
|
+
|
|
13
|
+
**版本**: 1.0.0
|
|
14
|
+
**最后更新**: 2025-12-30
|
|
15
|
+
**适用范围**: 所有有版本发布的软件项目
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## 目的
|
|
20
|
+
|
|
21
|
+
本标准定义如何使用语义化版本 (SemVer) 为软件发布编号,以清楚地向用户和维护者传达变更。
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## 语义化版本格式
|
|
26
|
+
|
|
27
|
+
```
|
|
28
|
+
MAJOR.MINOR.PATCH[-PRERELEASE][+BUILD]
|
|
29
|
+
|
|
30
|
+
示例:
|
|
31
|
+
2.3.1
|
|
32
|
+
1.0.0-alpha.1
|
|
33
|
+
3.2.0-beta.2+20250112
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### 组成说明
|
|
37
|
+
|
|
38
|
+
| 组成 | 用途 | 递增时机 |
|
|
39
|
+
|------|------|---------|
|
|
40
|
+
| **MAJOR** | 破坏性变更 | 不兼容的 API 变更 |
|
|
41
|
+
| **MINOR** | 新功能 | 向后兼容的功能 |
|
|
42
|
+
| **PATCH** | 错误修复 | 向后兼容的修复 |
|
|
43
|
+
| **PRERELEASE** | 预发布标识 | Alpha、Beta、RC 版本 |
|
|
44
|
+
| **BUILD** | 构建元数据 | 构建号、提交哈希 |
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## 递增规则
|
|
49
|
+
|
|
50
|
+
### MAJOR 版本 (X.0.0)
|
|
51
|
+
|
|
52
|
+
**递增时机**:
|
|
53
|
+
- 破坏性 API 变更
|
|
54
|
+
- 移除已弃用功能
|
|
55
|
+
- 重大架构变更
|
|
56
|
+
- 不兼容的行为变更
|
|
57
|
+
|
|
58
|
+
### MINOR 版本 (x.Y.0)
|
|
59
|
+
|
|
60
|
+
**递增时机**:
|
|
61
|
+
- 添加新功能(向后兼容)
|
|
62
|
+
- 弃用功能(非移除)
|
|
63
|
+
- 实质性内部改进
|
|
64
|
+
- 新的公开 API
|
|
65
|
+
|
|
66
|
+
### PATCH 版本 (x.y.Z)
|
|
67
|
+
|
|
68
|
+
**递增时机**:
|
|
69
|
+
- 错误修复(无新功能)
|
|
70
|
+
- 安全补丁
|
|
71
|
+
- 文档更正
|
|
72
|
+
- 内部重构(无 API 变更)
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
## API 版本化策略
|
|
77
|
+
|
|
78
|
+
| 策略 | 格式 | 优点 | 缺点 |
|
|
79
|
+
|------|------|------|------|
|
|
80
|
+
| URL 路径 | `/api/v1/users` | 清晰、易于路由 | URL 污染 |
|
|
81
|
+
| 查询参数 | `/api/users?version=1` | 可选版本 | 缓存问题 |
|
|
82
|
+
| 标头 | `Accept: application/vnd.api.v1+json` | URL 干净 | 不可见 |
|
|
83
|
+
|
|
84
|
+
**推荐**: 大多数 API 使用 URL 路径版本化。
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
## 弃用时间线
|
|
89
|
+
|
|
90
|
+
```
|
|
91
|
+
v1.0.0 - 功能引入
|
|
92
|
+
v1.5.0 - 添加弃用警告(至少 N-1 版本)
|
|
93
|
+
v2.0.0 - 移除功能(记录在迁移指南中)
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
### 弃用期限指南
|
|
97
|
+
|
|
98
|
+
| API 类型 | 最短弃用期限 |
|
|
99
|
+
|----------|-------------|
|
|
100
|
+
| 内部 API | 1 个次要版本 |
|
|
101
|
+
| 合作伙伴 API | 2 个次要版本 + 3 个月 |
|
|
102
|
+
| 公开 API | 2 个次要版本 + 6 个月 |
|
|
103
|
+
| 关键基础设施 | 最少 1 年 |
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
## 向后兼容性检查清单
|
|
108
|
+
|
|
109
|
+
**不要破坏(不升级主版本号)**:
|
|
110
|
+
- [ ] 移除公开 API 端点
|
|
111
|
+
- [ ] 移除必填请求字段
|
|
112
|
+
- [ ] 添加必填请求字段
|
|
113
|
+
- [ ] 更改响应字段类型
|
|
114
|
+
- [ ] 更改错误码含义
|
|
115
|
+
|
|
116
|
+
**安全变更(次要/补丁版本)**:
|
|
117
|
+
- [ ] 添加可选请求字段
|
|
118
|
+
- [ ] 添加新响应字段
|
|
119
|
+
- [ ] 添加新端点
|
|
120
|
+
- [ ] 添加新错误码
|
|
121
|
+
- [ ] 改进错误消息
|
|
122
|
+
|
|
123
|
+
---
|
|
124
|
+
|
|
125
|
+
## 预发布版本
|
|
126
|
+
|
|
127
|
+
### 预发布标识符
|
|
128
|
+
|
|
129
|
+
| 标识符 | 用途 | 稳定性 | 受众 |
|
|
130
|
+
|-------|------|-------|-----|
|
|
131
|
+
| alpha | 早期测试 | 不稳定 | 内部团队 |
|
|
132
|
+
| beta | 功能完成 | 基本稳定 | 早期采用者 |
|
|
133
|
+
| rc | 最终测试 | 稳定 | Beta 测试者 |
|
|
134
|
+
|
|
135
|
+
### 示例
|
|
136
|
+
|
|
137
|
+
```
|
|
138
|
+
1.0.0-alpha.1 # 第一个 alpha 版本
|
|
139
|
+
1.0.0-beta.1 # 第一个 beta 版本
|
|
140
|
+
1.0.0-rc.1 # 候选版本 1
|
|
141
|
+
1.0.0 # 稳定版本
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
---
|
|
145
|
+
|
|
146
|
+
## 快速参考卡
|
|
147
|
+
|
|
148
|
+
### 版本递增
|
|
149
|
+
|
|
150
|
+
| 做了什么? | 递增 |
|
|
151
|
+
|-----------|-----|
|
|
152
|
+
| 破坏性变更 | MAJOR |
|
|
153
|
+
| 新功能 | MINOR |
|
|
154
|
+
| 错误修复 | PATCH |
|
|
155
|
+
|
|
156
|
+
### 版本格式
|
|
157
|
+
|
|
158
|
+
```
|
|
159
|
+
MAJOR.MINOR.PATCH
|
|
160
|
+
│ │ └── 错误修复
|
|
161
|
+
│ └──────── 新功能
|
|
162
|
+
└────────────── 破坏性变更
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
---
|
|
166
|
+
|
|
167
|
+
## 相关标准
|
|
168
|
+
|
|
169
|
+
- [变更日志标准](changelog-standards.md)
|
|
170
|
+
- [Git 工作流程](git-workflow.md)
|
|
171
|
+
- [提交消息指南](commit-message-guide.md)
|
|
172
|
+
|
|
173
|
+
---
|
|
174
|
+
|
|
175
|
+
## 许可证
|
|
176
|
+
|
|
177
|
+
本标准采用 [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) 发布。
|
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
# AI Agent 集成指南
|
|
2
|
+
|
|
3
|
+
> **语言**: [English](../../../docs/AI-AGENT-ROADMAP.md) | [繁體中文](../../zh-TW/docs/AI-AGENT-ROADMAP.md) | 简体中文
|
|
4
|
+
|
|
5
|
+
**版本**: 2.2.0
|
|
6
|
+
**最后更新**: 2026-01-15
|
|
7
|
+
|
|
8
|
+
本文档提供 Universal Development Standards (UDS) 对 AI Agent 支持的完整参考。
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## 目录
|
|
13
|
+
|
|
14
|
+
1. [快速参考](#1-快速参考)
|
|
15
|
+
2. [集成深度](#2-集成深度)
|
|
16
|
+
3. [Skills 系统](#3-skills-系统)
|
|
17
|
+
4. [配置参考](#4-配置参考)
|
|
18
|
+
5. [资源](#5-资源)
|
|
19
|
+
6. [附录:未来发展](#附录未来发展)
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## 1. 快速参考
|
|
24
|
+
|
|
25
|
+
### 配置文件
|
|
26
|
+
|
|
27
|
+
| AI Agent | 项目配置 | 全局配置 | 备注 |
|
|
28
|
+
|----------|----------|----------|------|
|
|
29
|
+
| Claude Code | `.claude/CLAUDE.md` | `~/.claude/CLAUDE.md` | ~100KB 限制 |
|
|
30
|
+
| OpenCode | `.opencode/AGENTS.md` | `~/.config/opencode/AGENTS.md` | 无限制 |
|
|
31
|
+
| GitHub Copilot | `.github/copilot-instructions.md` | 个人设置 | ~8KB 限制 |
|
|
32
|
+
| Cline | `.clinerules/` | `~/.cline-rules/` | 文件夹或单一文件 |
|
|
33
|
+
| Roo Code | `.roo/rules/*.md` | `~/.roo/rules/` | 模式特定:`.roo/rules-{mode}/` |
|
|
34
|
+
| OpenAI Codex | `.codex/AGENTS.md` | `~/.codex/AGENTS.md` | 32KB 限制 |
|
|
35
|
+
| Windsurf | `.windsurfrules` | 设置 UI | 6K/文件,总计 12K |
|
|
36
|
+
| Gemini CLI | `.gemini/GEMINI.md` | `~/.gemini/GEMINI.md` | 支持 `@import` |
|
|
37
|
+
| Cursor | `.cursor/rules/*.mdc` | `~/.cursor/rules/` | 需要 YAML frontmatter |
|
|
38
|
+
|
|
39
|
+
### Skills 路径
|
|
40
|
+
|
|
41
|
+
| AI Agent | Skills | 项目路径 | 全局路径 | 备注 |
|
|
42
|
+
|----------|:------:|----------|----------|------|
|
|
43
|
+
| Claude Code | ✅ 原生 | `.claude/skills/` | `~/.claude/skills/` | 参考实现 |
|
|
44
|
+
| OpenCode | ✅ 完整 | `.opencode/skill/` | `~/.config/opencode/skill/` | 也读取 `.claude/skills/` |
|
|
45
|
+
| GitHub Copilot | ✅ 完整 | `.github/skills/` | `~/.copilot/skills/` | 旧版:`.claude/skills/` |
|
|
46
|
+
| Cline | ✅ 完整 | `.claude/skills/` | `~/.claude/skills/` | 直接使用 Claude 路径 |
|
|
47
|
+
| Roo Code | ✅ 完整 | `.roo/skills/` | `~/.roo/skills/` | 模式特定:`.roo/skills-{mode}/` |
|
|
48
|
+
| OpenAI Codex | ✅ 完整 | `.codex/skills/` | `~/.codex/skills/` | 也读取 `.claude/skills/` |
|
|
49
|
+
| Windsurf | ✅ 完整 | `.windsurf/rules/` | 设置 UI | 2026/01 起支持 Skills |
|
|
50
|
+
| Gemini CLI | ✅ 预览 | `.gemini/skills/` | `~/.gemini/skills/` | v0.23+ 预览版 |
|
|
51
|
+
| Cursor | ❌ 否 | `.cursor/rules/` | `~/.cursor/rules/` | 仅 Rules,不支持 SKILL.md |
|
|
52
|
+
|
|
53
|
+
### 斜杠命令
|
|
54
|
+
|
|
55
|
+
| AI Agent | 支持 | 类型 | 示例 | 自定义路径 |
|
|
56
|
+
|----------|:----:|------|------|------------|
|
|
57
|
+
| Claude Code | ✅ | Skill 触发 | `/commit`, `/review`, `/tdd` | 仅内建 |
|
|
58
|
+
| OpenCode | ✅ | 用户定义 | 可配置 | `.opencode/command/*.md` |
|
|
59
|
+
| GitHub Copilot | ✅ | 内建 | `/fix`, `/tests`, `/explain` | `.github/prompts/*.prompt.md` |
|
|
60
|
+
| Cline | ✅ | 内建 + Workflows | `/smol`, `/plan`, `/newtask` | Workflow 文件 |
|
|
61
|
+
| Roo Code | ✅ | 模式命令 | `/code`, `/architect`, `/init` | `.roo/commands/*.md` |
|
|
62
|
+
| OpenAI Codex | ✅ | 系统命令 | `/model`, `/diff`, `/skills` | 自定义 prompts |
|
|
63
|
+
| Windsurf | ✅ | Rulebook | 自动生成 | 从 `.windsurfrules` |
|
|
64
|
+
| Gemini CLI | ✅ | 系统 + 自定义 | `/clear`, `/memory`, `/mcp` | `.gemini/commands/*.toml` |
|
|
65
|
+
| Cursor | ✅ | 内建 + 自定义 | `/summarize`, `/models` | `.cursor/commands/*.md` |
|
|
66
|
+
|
|
67
|
+
### 平台支持
|
|
68
|
+
|
|
69
|
+
| 平台 | CLI 工具 | Skills |
|
|
70
|
+
|------|:--------:|:------:|
|
|
71
|
+
| macOS | 已测试 | 已测试 |
|
|
72
|
+
| Linux | 预期可用 | 预期可用 |
|
|
73
|
+
| Windows | 提供 PowerShell | 预期可用 |
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
## 2. 集成深度
|
|
78
|
+
|
|
79
|
+
> **说明**: 截至 2026 年 1 月,Agent Skills (SKILL.md) 已成为业界标准。大多数主流 AI 代码工具现在都支持相同的 Skills 格式。
|
|
80
|
+
|
|
81
|
+
### 原生 Skills(参考实现)
|
|
82
|
+
|
|
83
|
+
**工具**: Claude Code
|
|
84
|
+
|
|
85
|
+
- Agent Skills 标准的参考实现
|
|
86
|
+
- 18 个内建 UDS Skills + Marketplace
|
|
87
|
+
- 完整斜杠命令支持(`/commit`、`/review`、`/tdd` 等)
|
|
88
|
+
- 关键字自动触发
|
|
89
|
+
|
|
90
|
+
### 完整 Skills 支持
|
|
91
|
+
|
|
92
|
+
**工具**: OpenCode, GitHub Copilot, Cline, Roo Code, OpenAI Codex, Windsurf, Gemini CLI
|
|
93
|
+
|
|
94
|
+
- 可读取并执行 SKILL.md 文件
|
|
95
|
+
- 跨平台兼容 `.claude/skills/` 目录
|
|
96
|
+
- 大多数工具也有自己的原生路径(见 Skills 路径栏)
|
|
97
|
+
|
|
98
|
+
### 仅 Rules(无 Skills)
|
|
99
|
+
|
|
100
|
+
**工具**: Cursor
|
|
101
|
+
|
|
102
|
+
- 有自己的规则格式(`.cursor/rules/*.mdc`)
|
|
103
|
+
- 尚未支持 SKILL.md 格式
|
|
104
|
+
- 社区已提出功能请求
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
## 3. Skills 系统
|
|
109
|
+
|
|
110
|
+
### 3.1 UDS Skills 兼容性
|
|
111
|
+
|
|
112
|
+
| # | Skill | 斜杠命令 | Claude | OpenCode | Cursor | Copilot |
|
|
113
|
+
|---|-------|----------|:------:|:--------:|:------:|:-------:|
|
|
114
|
+
| 1 | ai-collaboration-standards | - | 完整 | 完整 | 完整 | 完整 |
|
|
115
|
+
| 2 | checkin-assistant | `/check` | 完整 | 完整 | 部分 | 部分 |
|
|
116
|
+
| 3 | commit-standards | `/commit` | 完整 | 完整 | 部分 | 部分 |
|
|
117
|
+
| 4 | code-review-assistant | `/review` | 完整 | 完整 | 部分 | 部分 |
|
|
118
|
+
| 5 | testing-guide | - | 完整 | 完整 | 完整 | 完整 |
|
|
119
|
+
| 6 | tdd-assistant | `/tdd` | 完整 | 完整 | 部分 | 部分 |
|
|
120
|
+
| 7 | release-standards | `/release` | 完整 | 完整 | 部分 | 无 |
|
|
121
|
+
| 8 | git-workflow-guide | - | 完整 | 完整 | 完整 | 完整 |
|
|
122
|
+
| 9 | documentation-guide | `/docs` | 完整 | 完整 | 部分 | 无 |
|
|
123
|
+
| 10 | requirement-assistant | `/requirement` | 完整 | 完整 | 部分 | 部分 |
|
|
124
|
+
| 11 | changelog-guide | `/changelog` | 完整 | 完整 | 部分 | 无 |
|
|
125
|
+
| 12 | spec-driven-dev | `/spec` | 完整 | 完整 | 部分 | 部分 |
|
|
126
|
+
| 13 | test-coverage-assistant | `/coverage` | 完整 | 完整 | 部分 | 部分 |
|
|
127
|
+
| 14 | refactoring-assistant | - | 完整 | 完整 | 完整 | 完整 |
|
|
128
|
+
| 15 | error-code-guide | - | 完整 | 完整 | 完整 | 完整 |
|
|
129
|
+
| 16 | methodology-system | `/methodology` | 完整 | 完整 | 部分 | 无 |
|
|
130
|
+
| 17 | project-structure-guide | `/config` | 完整 | 完整 | 部分 | 无 |
|
|
131
|
+
| 18 | logging-guide | - | 完整 | 完整 | 完整 | 完整 |
|
|
132
|
+
|
|
133
|
+
### 3.2 Skills 路径与启用
|
|
134
|
+
|
|
135
|
+
#### Skills 发现路径
|
|
136
|
+
|
|
137
|
+
| AI Agent | 项目路径 | 全局路径 | 读取 `.claude/skills/` |
|
|
138
|
+
|----------|----------|----------|:----------------------:|
|
|
139
|
+
| Claude Code | `.claude/skills/` | `~/.claude/skills/` | 原生 |
|
|
140
|
+
| OpenCode | `.opencode/skill/` | `~/.config/opencode/skill/` | ✅ 是 |
|
|
141
|
+
| GitHub Copilot | `.github/skills/` | `~/.copilot/skills/` | ✅ 是(旧版) |
|
|
142
|
+
| Cline | `.claude/skills/` | `~/.claude/skills/` | ✅ 是 |
|
|
143
|
+
| Roo Code | `.roo/skills/` | `~/.roo/skills/` | ✅ 是 |
|
|
144
|
+
| OpenAI Codex | `.codex/skills/` | `~/.codex/skills/` | ✅ 是 |
|
|
145
|
+
| Windsurf | `.windsurf/rules/` | 设置 UI | ✅ 是 |
|
|
146
|
+
| Gemini CLI | `.gemini/skills/` | `~/.gemini/skills/` | ✅ 是 |
|
|
147
|
+
| Cursor | `.cursor/rules/` | `~/.cursor/rules/` | ❌ 否 |
|
|
148
|
+
|
|
149
|
+
#### 启用方式
|
|
150
|
+
|
|
151
|
+
| AI Agent | 启用方式 |
|
|
152
|
+
|----------|----------|
|
|
153
|
+
| Claude Code | 斜杠命令、自动触发、提及 |
|
|
154
|
+
| OpenCode | 斜杠命令、Tab 切换 |
|
|
155
|
+
| GitHub Copilot | 自动加载、`applyTo` 模式 |
|
|
156
|
+
| Cline | 自动从目录加载 |
|
|
157
|
+
| Roo Code | 自动加载、模式特定(`.roo/skills-{mode}/`) |
|
|
158
|
+
| OpenAI Codex | `/skills` 命令、自动触发 |
|
|
159
|
+
| Windsurf | 手动(@提及)、始终开启、模型决定 |
|
|
160
|
+
| Gemini CLI | 自动触发、通过设置启用/禁用 |
|
|
161
|
+
| Cursor | Glob 模式、`alwaysApply` 标志(仅 rules) |
|
|
162
|
+
|
|
163
|
+
**建议**:使用 `.claude/skills/` 作为默认安装路径 — 大多数工具都可读取以获得跨工具兼容性。
|
|
164
|
+
|
|
165
|
+
### 3.3 跨平台可移植性
|
|
166
|
+
|
|
167
|
+
> **业界标准**: 截至 2025 年 12 月,SKILL.md 已被 OpenAI、GitHub、Google 及更广泛的 AI 代码生态系统采用。
|
|
168
|
+
|
|
169
|
+
| 平台 | SKILL.md 支持 | 采用日期 |
|
|
170
|
+
|------|:-------------:|----------|
|
|
171
|
+
| Claude Code | ✅ 原生 | 2025/10 |
|
|
172
|
+
| OpenCode | ✅ 完整 | 2025/11 |
|
|
173
|
+
| GitHub Copilot | ✅ 完整 | 2025/12/18 |
|
|
174
|
+
| OpenAI Codex | ✅ 完整 | 2025/12 |
|
|
175
|
+
| Cline | ✅ 完整 | v3.48.0 |
|
|
176
|
+
| Roo Code | ✅ 完整 | 2025/12/27 |
|
|
177
|
+
| Windsurf | ✅ 完整 | 2026/01/09 |
|
|
178
|
+
| Gemini CLI | ✅ 预览版 | 2026/01/07 |
|
|
179
|
+
| Cursor | ❌ 尚未 | 已请求 |
|
|
180
|
+
|
|
181
|
+
**跨平台安装器**:
|
|
182
|
+
- [skilz](https://github.com/skilz-ai/skilz) - 通用 Skills 安装器(14+ 平台)
|
|
183
|
+
- [openskills](https://github.com/numman-ali/openskills) - 通用 skills 加载器
|
|
184
|
+
- UDS CLI (`uds init`) - 为多个 AI 工具生成配置
|
|
185
|
+
|
|
186
|
+
---
|
|
187
|
+
|
|
188
|
+
## 4. 配置参考
|
|
189
|
+
|
|
190
|
+
### 4.1 配置文件
|
|
191
|
+
|
|
192
|
+
| AI Agent | 项目配置 | 全局配置 | 字符限制 |
|
|
193
|
+
|----------|----------|----------|----------|
|
|
194
|
+
| Claude Code | `CLAUDE.md` | `~/.claude/CLAUDE.md` | ~100KB |
|
|
195
|
+
| OpenCode | `AGENTS.md` | `~/.config/opencode/AGENTS.md` | 无限制 |
|
|
196
|
+
| Cursor | `.cursor/rules/*.mdc` | `~/.cursor/rules/` | 每文件不同 |
|
|
197
|
+
| Windsurf | `.windsurfrules` | 设置 UI | 6K/文件,总计 12K |
|
|
198
|
+
| Cline | `.clinerules` | `~/.cline-rules/` | 无限制 |
|
|
199
|
+
| Roo Code | `.roorules` | `~/.roo/rules/` | 无限制 |
|
|
200
|
+
| GitHub Copilot | `.github/copilot-instructions.md` | 个人设置 | ~8KB |
|
|
201
|
+
| OpenAI Codex | `AGENTS.md` | `~/.codex/AGENTS.md` | 32KB |
|
|
202
|
+
| Gemini CLI | `GEMINI.md` | `~/.gemini/GEMINI.md` | 1M tokens |
|
|
203
|
+
|
|
204
|
+
### 4.2 配置合并行为
|
|
205
|
+
|
|
206
|
+
| AI Agent | 合并策略 | 优先顺序(高到低) |
|
|
207
|
+
|----------|----------|-------------------|
|
|
208
|
+
| Claude Code | 串接 | 目录范围 > 项目 > 个人 |
|
|
209
|
+
| OpenCode | 串接 | 项目 > 全局 |
|
|
210
|
+
| Cursor | 替换/选择性 | `.mdc` 按 glob,alwaysApply 标志 |
|
|
211
|
+
| Windsurf | 达限制时截断 | 全局 > 工作区 > 模式特定 |
|
|
212
|
+
| Cline | 附加 | 项目目录 > 根文件 |
|
|
213
|
+
| GitHub Copilot | 组合 | 个人 > 仓库 > 组织 |
|
|
214
|
+
| OpenAI Codex | 串接 | 覆盖文件 > 基础,较近者优先 |
|
|
215
|
+
| Gemini CLI | 串接 | 所有文件支持 `@import` |
|
|
216
|
+
|
|
217
|
+
### 4.3 Skills 文件格式
|
|
218
|
+
|
|
219
|
+
> **标准格式**: 带有 YAML frontmatter 的 SKILL.md 是大多数工具支持的通用格式。
|
|
220
|
+
|
|
221
|
+
| AI Agent | Skills 格式 | 配置格式 | Frontmatter |
|
|
222
|
+
|----------|:-----------:|----------|-------------|
|
|
223
|
+
| Claude Code | ✅ SKILL.md | `CLAUDE.md` | YAML (`---`) |
|
|
224
|
+
| OpenCode | ✅ SKILL.md | `AGENTS.md` | YAML |
|
|
225
|
+
| GitHub Copilot | ✅ SKILL.md | `copilot-instructions.md` | YAML |
|
|
226
|
+
| Cline | ✅ SKILL.md | `.clinerules/` | YAML |
|
|
227
|
+
| Roo Code | ✅ SKILL.md | `.roo/rules/` | YAML |
|
|
228
|
+
| OpenAI Codex | ✅ SKILL.md | `AGENTS.md` | YAML |
|
|
229
|
+
| Windsurf | ✅ SKILL.md | `.windsurfrules` | YAML |
|
|
230
|
+
| Gemini CLI | ✅ SKILL.md | `GEMINI.md` | YAML |
|
|
231
|
+
| Cursor | ❌ `.mdc` | `.cursor/rules/` | YAML (globs, alwaysApply) |
|
|
232
|
+
|
|
233
|
+
---
|
|
234
|
+
|
|
235
|
+
## 5. 资源
|
|
236
|
+
|
|
237
|
+
### 官方文档
|
|
238
|
+
|
|
239
|
+
| 工具 | 文档 |
|
|
240
|
+
|------|------|
|
|
241
|
+
| Claude Code | [docs.anthropic.com/claude-code](https://docs.anthropic.com/claude-code) |
|
|
242
|
+
| OpenCode | [opencode.ai/docs](https://opencode.ai/docs) |
|
|
243
|
+
| Cursor | [docs.cursor.com](https://docs.cursor.com) |
|
|
244
|
+
| GitHub Copilot | [docs.github.com/copilot](https://docs.github.com/copilot) |
|
|
245
|
+
| Windsurf | [docs.windsurf.com](https://docs.windsurf.com/) |
|
|
246
|
+
| OpenAI Codex | [developers.openai.com/codex](https://developers.openai.com/codex/guides/agents-md/) |
|
|
247
|
+
| Gemini CLI | [github.com/google-gemini/gemini-cli](https://github.com/google-gemini/gemini-cli) |
|
|
248
|
+
|
|
249
|
+
### Skills 市场
|
|
250
|
+
|
|
251
|
+
| 平台 | URL |
|
|
252
|
+
|------|-----|
|
|
253
|
+
| n-skills | [github.com/numman-ali/n-skills](https://github.com/numman-ali/n-skills) |
|
|
254
|
+
| claude-plugins.dev | [claude-plugins.dev/skills](https://claude-plugins.dev/skills) |
|
|
255
|
+
| agentskills.io | [agentskills.io](https://agentskills.io) |
|
|
256
|
+
|
|
257
|
+
### 贡献指南
|
|
258
|
+
|
|
259
|
+
1. 研究工具的配置格式
|
|
260
|
+
2. 在 `integrations/<tool-name>/` 下创建集成目录
|
|
261
|
+
3. 添加包含设置说明的 README.md
|
|
262
|
+
4. 更新本文档
|
|
263
|
+
5. 按照 [CONTRIBUTING.md](../../../CONTRIBUTING.md) 提交 PR
|
|
264
|
+
|
|
265
|
+
**问题反馈**: [GitHub Issues](https://github.com/anthropics-tw/universal-dev-standards/issues)
|
|
266
|
+
|
|
267
|
+
---
|
|
268
|
+
|
|
269
|
+
## 附录:未来发展
|
|
270
|
+
|
|
271
|
+
### 潜在新工具
|
|
272
|
+
|
|
273
|
+
| 工具 | 优先度 | 备注 |
|
|
274
|
+
|------|--------|------|
|
|
275
|
+
| Aider | 高 | Git 感知、自动提交、本地模型支持 |
|
|
276
|
+
| Continue.dev | 高 | 社区驱动、开源 |
|
|
277
|
+
| Amazon Q Developer | 中 | AWS 生态系统 |
|
|
278
|
+
| JetBrains AI Assistant | 中 | JetBrains 生态系统 |
|
|
279
|
+
| Sourcegraph Cody | 中 | 企业功能 |
|
|
280
|
+
|
|
281
|
+
### 功能增强路线图
|
|
282
|
+
|
|
283
|
+
| 功能 | 描述 | 状态 |
|
|
284
|
+
|------|------|------|
|
|
285
|
+
| SKILL.md 标准 | 通用 Skills 格式 | ✅ 已达成 (2025/12) |
|
|
286
|
+
| 跨工具兼容性 | 大多数工具可读取 `.claude/skills/` | ✅ 已达成 |
|
|
287
|
+
| Skills 市场 | 发布和发现 Skills | ✅ 多个平台 |
|
|
288
|
+
| 多 Agent 安装 | 一次安装 Skills 到多个 Agent | ✅ v3.5.0 |
|
|
289
|
+
| Gemini CLI TOML | 自动转换命令为 TOML 格式 | ✅ v3.5.0 |
|
|
290
|
+
| Cursor Skills 支持 | 原生 SKILL.md 支持 | ⏳ 社区已请求 |
|
|
291
|
+
| CLI 自动检测 | 检测已安装的 AI 工具 | 计划中 |
|
|
292
|
+
|
|
293
|
+
---
|
|
294
|
+
|
|
295
|
+
## 版本历史
|
|
296
|
+
|
|
297
|
+
| 版本 | 日期 | 变更 |
|
|
298
|
+
|------|------|------|
|
|
299
|
+
| 2.2.0 | 2026-01-15 | 新增多 Agent 安装、Gemini CLI TOML 转换 |
|
|
300
|
+
| 2.1.0 | 2026-01-15 | 更新所有工具的 Skills 支持状态(业界广泛采用) |
|
|
301
|
+
| 2.0.0 | 2026-01-15 | 重大重构:整合内容、减少表格 |
|
|
302
|
+
| 1.1.0 | 2026-01-15 | 新增配置文件矩阵、Skills 系统配置 |
|
|
303
|
+
| 1.0.0 | 2026-01-14 | 初始发布 |
|