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,67 @@
|
|
|
1
|
+
---
|
|
2
|
+
source: ../../../../integrations/codex/README.md
|
|
3
|
+
source_version: 1.0.0
|
|
4
|
+
translation_version: 1.0.0
|
|
5
|
+
last_synced: 2026-01-13
|
|
6
|
+
status: current
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# OpenAI Codex 集成
|
|
10
|
+
|
|
11
|
+
本目录提供将通用开发规范与 OpenAI Codex CLI 集成的资源。
|
|
12
|
+
|
|
13
|
+
## 概述
|
|
14
|
+
|
|
15
|
+
OpenAI Codex CLI 是一个 AI 驱动的终端编码助手。此集成帮助 Codex 理解您的项目并遵循开发规范。
|
|
16
|
+
|
|
17
|
+
## 资源
|
|
18
|
+
|
|
19
|
+
- **[AGENTS.md](./AGENTS.md)**(必要):
|
|
20
|
+
项目级规则文件,Codex 会自动加载。
|
|
21
|
+
|
|
22
|
+
## 配置层级
|
|
23
|
+
|
|
24
|
+
OpenAI Codex CLI 支持多层配置:
|
|
25
|
+
|
|
26
|
+
| 类型 | 文件位置 | 说明 |
|
|
27
|
+
|------|---------|------|
|
|
28
|
+
| 项目规则 | `AGENTS.md` | 项目根目录,自动加载 |
|
|
29
|
+
| 全局规则 | `~/.codex/instructions.md` | 个人规则,适用所有项目 |
|
|
30
|
+
|
|
31
|
+
## 快速开始
|
|
32
|
+
|
|
33
|
+
### 方式一:复制规则文件(推荐)
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
# 复制到项目根目录
|
|
37
|
+
cp integrations/codex/AGENTS.md AGENTS.md
|
|
38
|
+
|
|
39
|
+
# 或使用 curl
|
|
40
|
+
curl -o AGENTS.md https://raw.githubusercontent.com/AsiaOstrich/universal-dev-standards/main/integrations/codex/AGENTS.md
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### 方式二:手动配置
|
|
44
|
+
|
|
45
|
+
将 `AGENTS.md` 的内容复制到您的 Codex 配置或系统指令中。
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## 相关规范
|
|
50
|
+
|
|
51
|
+
- [防幻觉规范](../../core/anti-hallucination.md)
|
|
52
|
+
- [Commit 消息指南](../../core/commit-message-guide.md)
|
|
53
|
+
- [代码审查清单](../../core/code-review-checklist.md)
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## 版本历史
|
|
58
|
+
|
|
59
|
+
| 版本 | 日期 | 变更 |
|
|
60
|
+
|------|------|------|
|
|
61
|
+
| 1.0.0 | 2026-01-09 | 初始 OpenAI Codex 集成 |
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
## 许可证
|
|
66
|
+
|
|
67
|
+
本文档以 [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) 许可发布。
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
---
|
|
2
|
+
source: ../../../../integrations/gemini-cli/GEMINI.md
|
|
3
|
+
source_version: 1.0.0
|
|
4
|
+
translation_version: 1.0.0
|
|
5
|
+
last_synced: 2026-01-13
|
|
6
|
+
status: current
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# 通用开发标准
|
|
10
|
+
|
|
11
|
+
本项目遵循通用文档规范,以确保高质量、无幻觉的代码与文档。
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## 规格驱动开发 (SDD) 优先
|
|
16
|
+
|
|
17
|
+
**规则**:当项目中集成了 SDD 工具(如 OpenSpec、Spec Kit 等)并提供特定命令时(例如 `/openspec` 或 `/spec` 等斜杠命令),你必须优先使用这些命令,而非手动编辑文件。
|
|
18
|
+
|
|
19
|
+
**检测方式**:
|
|
20
|
+
- OpenSpec:检查是否有 `openspec/` 目录或 `openspec.json`
|
|
21
|
+
- Spec Kit:检查是否有 `specs/` 目录或 `.speckit` 配置
|
|
22
|
+
|
|
23
|
+
**原因**:
|
|
24
|
+
- **一致性**:工具确保规格结构遵循严格的 schema
|
|
25
|
+
- **可追溯性**:命令自动处理日志、ID 和链接
|
|
26
|
+
- **安全性**:工具内置验证以防止无效状态
|
|
27
|
+
|
|
28
|
+
参考:`core/spec-driven-development.md`
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## 防幻觉协议
|
|
33
|
+
|
|
34
|
+
参考:`core/anti-hallucination.md`
|
|
35
|
+
|
|
36
|
+
### 1. 证据基础分析
|
|
37
|
+
|
|
38
|
+
- 在分析文件之前,你必须先读取文件。
|
|
39
|
+
- 不要猜测 API、类名或库版本。
|
|
40
|
+
- 如果你还没看过代码,请说明:"我需要读取 [文件] 来确认"。
|
|
41
|
+
|
|
42
|
+
### 2. 来源标注
|
|
43
|
+
|
|
44
|
+
每个关于代码的事实陈述都必须标注来源:
|
|
45
|
+
- 代码:`[来源: 代码] 路径/文件:行号`
|
|
46
|
+
- 外部文档:`[来源: 外部] http://网址 (访问日期: 日期)`
|
|
47
|
+
|
|
48
|
+
### 3. 确定性分类
|
|
49
|
+
|
|
50
|
+
使用标签表示信心程度:
|
|
51
|
+
- `[已确认]` - 已从来源验证
|
|
52
|
+
- `[推论]` - 逻辑推论
|
|
53
|
+
- `[假设]` - 合理假设
|
|
54
|
+
- `[未知]` - 无法确定
|
|
55
|
+
|
|
56
|
+
### 4. 建议
|
|
57
|
+
|
|
58
|
+
当提供选项时,你必须明确说明"推荐"的选择及其理由。
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## 文档与提交
|
|
63
|
+
|
|
64
|
+
### Commit 消息
|
|
65
|
+
|
|
66
|
+
遵循 Conventional Commits 格式(参考:`core/commit-message-guide.md`):
|
|
67
|
+
|
|
68
|
+
```
|
|
69
|
+
<类型>(<范围>): <主题>
|
|
70
|
+
|
|
71
|
+
<正文>
|
|
72
|
+
|
|
73
|
+
<页脚>
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
**类型**:feat、fix、docs、chore、test、refactor、style
|
|
77
|
+
|
|
78
|
+
### 文件结构
|
|
79
|
+
|
|
80
|
+
遵循文档结构指南(参考:`core/documentation-structure.md`)。
|
|
81
|
+
|
|
82
|
+
### 质量检查
|
|
83
|
+
|
|
84
|
+
完成前,依据 `core/checkin-standards.md` 验证工作:
|
|
85
|
+
- [ ] 代码编译成功
|
|
86
|
+
- [ ] 所有测试通过
|
|
87
|
+
- [ ] 无硬编码的秘密信息
|
|
88
|
+
- [ ] 如适用,已更新文档
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
## 版本历史
|
|
93
|
+
|
|
94
|
+
| 版本 | 日期 | 变更 |
|
|
95
|
+
|------|------|------|
|
|
96
|
+
| 1.0.0 | 2026-01-09 | 初始 Gemini CLI 指令文件 |
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
## 授权
|
|
101
|
+
|
|
102
|
+
本文档以 [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) 授权发布。
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
---
|
|
2
|
+
source: ../../../../integrations/gemini-cli/README.md
|
|
3
|
+
source_version: 1.0.0
|
|
4
|
+
translation_version: 1.0.0
|
|
5
|
+
last_synced: 2026-01-13
|
|
6
|
+
status: current
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Gemini CLI 集成
|
|
10
|
+
|
|
11
|
+
本目录提供将通用文档规范与 [Gemini CLI](https://geminicli.com/) 集成的资源。
|
|
12
|
+
|
|
13
|
+
## 概述
|
|
14
|
+
|
|
15
|
+
Gemini CLI 是 Google 的开源 AI 代理工具,将 Gemini 模型带入终端环境。此集成帮助 Gemini CLI 利用通用文档规范来生成更高质量、无幻觉的代码与文档。
|
|
16
|
+
|
|
17
|
+
## 资源
|
|
18
|
+
|
|
19
|
+
- **[GEMINI.md](./GEMINI.md)**(推荐):
|
|
20
|
+
项目级指令文件,Gemini CLI 会自动加载。
|
|
21
|
+
|
|
22
|
+
- **[settings-example.json](../../../../integrations/gemini-cli/settings-example.json)**:
|
|
23
|
+
用于自定义 CLI 行为的设置示例文件。
|
|
24
|
+
|
|
25
|
+
## 配置层级
|
|
26
|
+
|
|
27
|
+
Gemini CLI 支持分层配置系统:
|
|
28
|
+
|
|
29
|
+
| 层级 | 文件位置 | 说明 |
|
|
30
|
+
|------|---------|------|
|
|
31
|
+
| 全局 | `~/.gemini/GEMINI.md` | 适用于所有项目 |
|
|
32
|
+
| 项目 | `./GEMINI.md` | 项目根目录 |
|
|
33
|
+
| 子目录 | `./subdir/GEMINI.md` | 模块特定规则 |
|
|
34
|
+
| 设置 | `.gemini/settings.json` | 行为配置 |
|
|
35
|
+
|
|
36
|
+
## 快速开始
|
|
37
|
+
|
|
38
|
+
### 方式一:项目指令(推荐)
|
|
39
|
+
|
|
40
|
+
将指令文件复制到项目根目录:
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
# 将 GEMINI.md 复制到项目根目录
|
|
44
|
+
cp integrations/gemini-cli/GEMINI.md ./GEMINI.md
|
|
45
|
+
|
|
46
|
+
# 或使用 curl
|
|
47
|
+
curl -o GEMINI.md https://raw.githubusercontent.com/AsiaOstrich/universal-dev-standards/main/integrations/gemini-cli/GEMINI.md
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### 方式二:全局指令
|
|
51
|
+
|
|
52
|
+
添加到全局指令,适用于所有项目:
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
# 创建全局目录(如果不存在)
|
|
56
|
+
mkdir -p ~/.gemini
|
|
57
|
+
|
|
58
|
+
# 追加或创建全局 GEMINI.md
|
|
59
|
+
cat integrations/gemini-cli/GEMINI.md >> ~/.gemini/GEMINI.md
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
### 方式三:自定义设置
|
|
63
|
+
|
|
64
|
+
复制设置示例以自定义 CLI 行为:
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
# 创建项目设置目录
|
|
68
|
+
mkdir -p .gemini
|
|
69
|
+
|
|
70
|
+
# 复制设置示例
|
|
71
|
+
cp integrations/gemini-cli/settings-example.json .gemini/settings.json
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
## 特殊功能
|
|
75
|
+
|
|
76
|
+
### 模块化导入
|
|
77
|
+
|
|
78
|
+
Gemini CLI 支持从其他文件导入内容:
|
|
79
|
+
|
|
80
|
+
```markdown
|
|
81
|
+
# 在 GEMINI.md 中
|
|
82
|
+
@./docs/coding-style.md
|
|
83
|
+
@./docs/api-guidelines.md
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
### 记忆命令
|
|
87
|
+
|
|
88
|
+
在运行时管理指令:
|
|
89
|
+
|
|
90
|
+
- `/memory show` - 显示当前指令
|
|
91
|
+
- `/memory refresh` - 重新加载所有 GEMINI.md
|
|
92
|
+
- `/memory add <text>` - 添加到全局指令
|
|
93
|
+
|
|
94
|
+
### 验证指令
|
|
95
|
+
|
|
96
|
+
确认标准已加载:
|
|
97
|
+
|
|
98
|
+
```
|
|
99
|
+
/memory show
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
要求代理确认:
|
|
103
|
+
|
|
104
|
+
```
|
|
105
|
+
遵循防幻觉标准审查此代码。
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
## 与 Google Antigravity 的关系
|
|
109
|
+
|
|
110
|
+
两个工具共用全局 `~/.gemini/` 目录:
|
|
111
|
+
|
|
112
|
+
| 工具 | 项目规则位置 | 共用 |
|
|
113
|
+
|------|------------|------|
|
|
114
|
+
| Gemini CLI | `./GEMINI.md` | `~/.gemini/GEMINI.md` |
|
|
115
|
+
| Antigravity | `.antigravity/rules.md` | `~/.gemini/GEMINI.md` |
|
|
116
|
+
|
|
117
|
+
两者可共存,使用相同的全局配置。
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
## 相关标准
|
|
122
|
+
|
|
123
|
+
- [防幻觉标准](../../core/anti-hallucination.md)
|
|
124
|
+
- [Commit 消息指南](../../core/commit-message-guide.md)
|
|
125
|
+
- [规格驱动开发](../../core/spec-driven-development.md)
|
|
126
|
+
- [Gemini CLI 官方文档](https://geminicli.com/docs/)
|
|
127
|
+
|
|
128
|
+
---
|
|
129
|
+
|
|
130
|
+
## 版本历史
|
|
131
|
+
|
|
132
|
+
| 版本 | 日期 | 变更 |
|
|
133
|
+
|------|------|------|
|
|
134
|
+
| 1.0.0 | 2026-01-09 | 初始 Gemini CLI 集成 |
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
## 授权
|
|
139
|
+
|
|
140
|
+
本文档以 [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) 授权发布。
|
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
---
|
|
2
|
+
source: ../../../../integrations/github-copilot/COPILOT-CHAT-REFERENCE.md
|
|
3
|
+
source_version: 1.0.0
|
|
4
|
+
translation_version: 1.0.0
|
|
5
|
+
last_synced: 2026-01-13
|
|
6
|
+
status: current
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Copilot Chat 参考指南
|
|
10
|
+
|
|
11
|
+
本文档提供 GitHub Copilot Chat 的提示模板,以实现类似 Claude Code 斜杠命令的功能。
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## 为什么需要这份文档?
|
|
16
|
+
|
|
17
|
+
GitHub Copilot 不支持像 Claude Code 那样的斜杠命令。此参考提供标准化提示,让您在 Copilot Chat 中实现类似效果。
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## 提示模板
|
|
22
|
+
|
|
23
|
+
### 1. 生成 Commit 消息
|
|
24
|
+
|
|
25
|
+
**Claude Code**:`/commit`
|
|
26
|
+
|
|
27
|
+
**Copilot Chat 提示**:
|
|
28
|
+
```
|
|
29
|
+
为这些变更生成 commit 消息,遵循 Conventional Commits 格式:
|
|
30
|
+
- 类型:feat, fix, docs, style, refactor, test 或 chore
|
|
31
|
+
- 格式:type(scope): description
|
|
32
|
+
- 主题行保持在 50 字符以内
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
**示例**:
|
|
36
|
+
```
|
|
37
|
+
为我刚才对认证模块的变更生成 commit 消息。
|
|
38
|
+
使用 Conventional Commits 格式:type(scope): description
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
### 2. 代码审查
|
|
44
|
+
|
|
45
|
+
**Claude Code**:`/review`
|
|
46
|
+
|
|
47
|
+
**Copilot Chat 提示**:
|
|
48
|
+
```
|
|
49
|
+
按照代码审查检查清单审查此代码:
|
|
50
|
+
|
|
51
|
+
1. 功能 - 是否正确运行?
|
|
52
|
+
2. 设计 - 架构正确?
|
|
53
|
+
3. 质量 - 代码干净,无坏味道?
|
|
54
|
+
4. 安全 - 无漏洞?
|
|
55
|
+
5. 测试 - 覆盖率足够?
|
|
56
|
+
6. 性能 - 高效?
|
|
57
|
+
|
|
58
|
+
使用这些评论前缀:
|
|
59
|
+
- ❗ 阻塞:必须修复
|
|
60
|
+
- ⚠️ 重要:应该修复
|
|
61
|
+
- 💡 建议:可有可无
|
|
62
|
+
- ❓ 问题:需要澄清
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
### 3. TDD 指导
|
|
68
|
+
|
|
69
|
+
**Claude Code**:`/tdd`
|
|
70
|
+
|
|
71
|
+
**Copilot Chat 提示**:
|
|
72
|
+
```
|
|
73
|
+
使用 TDD(测试驱动开发)帮我实现 [功能]:
|
|
74
|
+
|
|
75
|
+
1. 红灯:先写失败的测试
|
|
76
|
+
- 测试应描述行为,非实现
|
|
77
|
+
- 使用 AAA 模式(Arrange-Act-Assert)
|
|
78
|
+
|
|
79
|
+
2. 绿灯:写最小代码通过测试
|
|
80
|
+
- "假实现"可接受
|
|
81
|
+
- 不要过度设计
|
|
82
|
+
|
|
83
|
+
3. 重构:保持测试通过的同时清理代码
|
|
84
|
+
- 每次变更后运行测试
|
|
85
|
+
|
|
86
|
+
遵循 FIRST 原则:快速、独立、可重复、自验证、及时
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
|
|
91
|
+
### 4. 测试覆盖分析
|
|
92
|
+
|
|
93
|
+
**Claude Code**:`/coverage`
|
|
94
|
+
|
|
95
|
+
**Copilot Chat 提示**:
|
|
96
|
+
```
|
|
97
|
+
使用 7 维度分析 [功能] 的测试覆盖:
|
|
98
|
+
|
|
99
|
+
1. 正常路径 - 正常预期行为
|
|
100
|
+
2. 边界 - 最小/最大值、限制
|
|
101
|
+
3. 错误处理 - 无效输入、异常
|
|
102
|
+
4. 授权 - 角色访问控制
|
|
103
|
+
5. 状态变更 - 前/后验证
|
|
104
|
+
6. 验证 - 格式、业务规则
|
|
105
|
+
7. 集成 - 真实 DB/API 查询
|
|
106
|
+
|
|
107
|
+
哪些维度缺失?我应该新增什么测试?
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
---
|
|
111
|
+
|
|
112
|
+
### 5. 需求撰写
|
|
113
|
+
|
|
114
|
+
**Claude Code**:`/requirement`
|
|
115
|
+
|
|
116
|
+
**Copilot Chat 提示**:
|
|
117
|
+
```
|
|
118
|
+
帮我按照 INVEST 条件撰写用户故事:
|
|
119
|
+
|
|
120
|
+
格式:
|
|
121
|
+
作为一个 [角色],
|
|
122
|
+
我想要 [功能],
|
|
123
|
+
以便 [效益]。
|
|
124
|
+
|
|
125
|
+
INVEST 检查清单:
|
|
126
|
+
- 独立:可单独交付?
|
|
127
|
+
- 可协商:细节可讨论?
|
|
128
|
+
- 有价值:提供用户价值?
|
|
129
|
+
- 可估计:可估算工作量?
|
|
130
|
+
- 小:一个 Sprint 内完成?
|
|
131
|
+
- 可测试:有明确验收条件?
|
|
132
|
+
|
|
133
|
+
包含具体、可衡量的验收条件。
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
### 6. 签入前检查
|
|
139
|
+
|
|
140
|
+
**Claude Code**:`/check`
|
|
141
|
+
|
|
142
|
+
**Copilot Chat 提示**:
|
|
143
|
+
```
|
|
144
|
+
在我提交前,验证这些质量关卡:
|
|
145
|
+
|
|
146
|
+
□ 构建:代码编译无错误?
|
|
147
|
+
□ 测试:所有测试通过?
|
|
148
|
+
□ 质量:代码遵循标准?有机密吗?
|
|
149
|
+
□ 文档:已更新文档?
|
|
150
|
+
□ 工作流程:分支命名和 commit 消息正确?
|
|
151
|
+
|
|
152
|
+
如果有以下情况,我不应该提交:
|
|
153
|
+
- 构建错误
|
|
154
|
+
- 测试失败
|
|
155
|
+
- 功能不完整
|
|
156
|
+
- 含有调试代码(console.log)
|
|
157
|
+
- 含有注释掉的代码
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
---
|
|
161
|
+
|
|
162
|
+
### 7. 发布准备
|
|
163
|
+
|
|
164
|
+
**Claude Code**:`/release`
|
|
165
|
+
|
|
166
|
+
**Copilot Chat 提示**:
|
|
167
|
+
```
|
|
168
|
+
帮我按照语义化版本准备发布:
|
|
169
|
+
|
|
170
|
+
版本格式:MAJOR.MINOR.PATCH
|
|
171
|
+
- MAJOR:破坏性变更
|
|
172
|
+
- MINOR:新功能(向后兼容)
|
|
173
|
+
- PATCH:错误修复
|
|
174
|
+
|
|
175
|
+
任务:
|
|
176
|
+
1. 这应该是什么版本?
|
|
177
|
+
2. 生成 CHANGELOG 条目,包含:
|
|
178
|
+
- Added:新功能
|
|
179
|
+
- Changed:既有功能变更
|
|
180
|
+
- Fixed:错误修复
|
|
181
|
+
- Deprecated:即将移除的功能
|
|
182
|
+
- Removed:已移除的功能
|
|
183
|
+
- Security:安全修复
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
---
|
|
187
|
+
|
|
188
|
+
### 8. 文档撰写
|
|
189
|
+
|
|
190
|
+
**Claude Code**:`/docs`
|
|
191
|
+
|
|
192
|
+
**Copilot Chat 提示**:
|
|
193
|
+
```
|
|
194
|
+
帮我为这个 [函数/模块/API] 撰写文档:
|
|
195
|
+
|
|
196
|
+
包含:
|
|
197
|
+
1. 目的 - 它做什么?
|
|
198
|
+
2. 参数 - 输入参数与类型
|
|
199
|
+
3. 返回值 - 它返回什么
|
|
200
|
+
4. 示例 - 使用示例
|
|
201
|
+
5. 错误 - 可能的错误情况
|
|
202
|
+
6. 相关 - 相关函数/模块
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
---
|
|
206
|
+
|
|
207
|
+
## 快速参考卡
|
|
208
|
+
|
|
209
|
+
| 任务 | Copilot Chat 提示开头 |
|
|
210
|
+
|------|----------------------|
|
|
211
|
+
| Commit | "生成 commit 消息,遵循 Conventional Commits..." |
|
|
212
|
+
| 审查 | "按照检查清单审查此代码..." |
|
|
213
|
+
| TDD | "使用 TDD 帮我实现..." |
|
|
214
|
+
| 覆盖 | "使用 7 维度分析测试覆盖..." |
|
|
215
|
+
| 需求 | "按照 INVEST 撰写用户故事..." |
|
|
216
|
+
| 签入前 | "在提交前验证这些质量关卡..." |
|
|
217
|
+
| 发布 | "按照语义化版本准备发布..." |
|
|
218
|
+
| 文档 | "为此撰写文档..." |
|
|
219
|
+
|
|
220
|
+
---
|
|
221
|
+
|
|
222
|
+
## 最佳实践
|
|
223
|
+
|
|
224
|
+
### 1. 具体明确
|
|
225
|
+
|
|
226
|
+
```
|
|
227
|
+
❌ "审查此代码"
|
|
228
|
+
✅ "审查此认证模块的安全漏洞和测试覆盖"
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
### 2. 提供上下文
|
|
232
|
+
|
|
233
|
+
```
|
|
234
|
+
❌ "写测试"
|
|
235
|
+
✅ "为 calculateDiscount 函数写单元测试,涵盖边界值和错误情况"
|
|
236
|
+
```
|
|
237
|
+
|
|
238
|
+
### 3. 参考标准
|
|
239
|
+
|
|
240
|
+
```
|
|
241
|
+
"遵循项目的防幻觉标准,先阅读实际代码再验证你的建议"
|
|
242
|
+
```
|
|
243
|
+
|
|
244
|
+
### 4. 要求说明理由
|
|
245
|
+
|
|
246
|
+
```
|
|
247
|
+
"用 [已确认] 或 [假设] 标签解释你为什么做这个建议"
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
---
|
|
251
|
+
|
|
252
|
+
## 相关资源
|
|
253
|
+
|
|
254
|
+
- [copilot-instructions.md](./copilot-instructions.md) - 完整规范参考
|
|
255
|
+
- [skills-mapping.md](./skills-mapping.md) - Claude Code skills 对照
|
|
256
|
+
|
|
257
|
+
---
|
|
258
|
+
|
|
259
|
+
## 版本历史
|
|
260
|
+
|
|
261
|
+
| 版本 | 日期 | 变更 |
|
|
262
|
+
|------|------|------|
|
|
263
|
+
| 1.0.0 | 2026-01-13 | 初始发布 |
|
|
264
|
+
|
|
265
|
+
---
|
|
266
|
+
|
|
267
|
+
## 授权
|
|
268
|
+
|
|
269
|
+
本文档以 [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) 授权发布。
|