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,299 @@
|
|
|
1
|
+
---
|
|
2
|
+
source: ../../../adoption/STATIC-DYNAMIC-GUIDE.md
|
|
3
|
+
source_version: 1.2.0
|
|
4
|
+
translation_version: 1.2.0
|
|
5
|
+
last_synced: 2026-01-07
|
|
6
|
+
status: current
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# 靜態與動態規範指南
|
|
10
|
+
|
|
11
|
+
> **語言**: [English](../../../adoption/STATIC-DYNAMIC-GUIDE.md) | 繁體中文
|
|
12
|
+
|
|
13
|
+
**版本**: 1.2.0
|
|
14
|
+
**最後更新**: 2026-01-07
|
|
15
|
+
**適用範圍**: 使用本規範框架與 AI 助理協作的專案
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## 目的
|
|
20
|
+
|
|
21
|
+
本指南說明如何根據應用時機分類和部署開發規範。
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## 分類概覽
|
|
26
|
+
|
|
27
|
+
```
|
|
28
|
+
┌─────────────────────────────────────────────────────────────┐
|
|
29
|
+
│ 純靜態規範 │
|
|
30
|
+
│ 隨時生效,嵌入專案 context 檔案中 │
|
|
31
|
+
├─────────────────────────────────────────────────────────────┤
|
|
32
|
+
│ • checkin-standards → 編譯、測試、覆蓋率檢查點 │
|
|
33
|
+
└─────────────────────────────────────────────────────────────┘
|
|
34
|
+
|
|
35
|
+
┌─────────────────────────────────────────────────────────────┐
|
|
36
|
+
│ 雙重性質規範(靜態 + 動態) │
|
|
37
|
+
│ 核心規則在 context 中 + 完整指引按需觸發 │
|
|
38
|
+
├─────────────────────────────────────────────────────────────┤
|
|
39
|
+
│ • anti-hallucination → 基礎規則隨時生效,詳細指引 │
|
|
40
|
+
│ 透過 ai-collaboration-standards │
|
|
41
|
+
│ 技能按需觸發 │
|
|
42
|
+
│ • project-structure → 基礎慣例隨時生效,詳細指引 │
|
|
43
|
+
│ 透過 project-structure-guide │
|
|
44
|
+
│ 技能按需觸發 │
|
|
45
|
+
└─────────────────────────────────────────────────────────────┘
|
|
46
|
+
|
|
47
|
+
┌─────────────────────────────────────────────────────────────┐
|
|
48
|
+
│ 純動態規範(15 個技能) │
|
|
49
|
+
│ 關鍵字觸發,按需載入 │
|
|
50
|
+
├─────────────────────────────────────────────────────────────┤
|
|
51
|
+
│ • ai-collaboration-standards ← "certainty", "確定性" │
|
|
52
|
+
│ • changelog-guide ← "changelog", "變更日誌" │
|
|
53
|
+
│ • code-review-assistant← "review", "PR", "審查" │
|
|
54
|
+
│ • commit-standards ← "commit", "git", "提交" │
|
|
55
|
+
│ • documentation-guide ← "docs", "README", "文件" │
|
|
56
|
+
│ • error-code-guide ← "error code", "錯誤碼" │
|
|
57
|
+
│ • git-workflow-guide ← "branch", "merge", "分支" │
|
|
58
|
+
│ • logging-guide ← "logging", "日誌" │
|
|
59
|
+
│ • project-structure-guide ← "structure", "結構" │
|
|
60
|
+
│ • release-standards ← "version", "release", "版本" │
|
|
61
|
+
│ • requirement-assistant← "spec", "SDD", "規格" │
|
|
62
|
+
│ • spec-driven-dev ← "spec", "proposal", "提案" │
|
|
63
|
+
│ • tdd-assistant ← "TDD", "test first", "紅綠重構" │
|
|
64
|
+
│ • test-coverage-assistant ← "test coverage", "測試覆蓋" │
|
|
65
|
+
│ • testing-guide ← "test", "測試" │
|
|
66
|
+
└─────────────────────────────────────────────────────────────┘
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
## 純靜態規範
|
|
72
|
+
|
|
73
|
+
### 定義
|
|
74
|
+
|
|
75
|
+
無論執行何種任務,AI 互動時都應該**隨時生效**的規範。這些是強制性規則,無需選擇。
|
|
76
|
+
|
|
77
|
+
### 特徵
|
|
78
|
+
|
|
79
|
+
- 適用於所有互動(無特定觸發)
|
|
80
|
+
- 內容精簡(適合放在專案 context 文件)
|
|
81
|
+
- 低 token 開銷
|
|
82
|
+
- 基礎行為準則
|
|
83
|
+
- 強制性規則,無需決策支援
|
|
84
|
+
|
|
85
|
+
### 純靜態規範清單
|
|
86
|
+
|
|
87
|
+
| 規範 | 核心規則 | 核心目的 |
|
|
88
|
+
|------|---------|---------|
|
|
89
|
+
| [checkin-standards](../../core/checkin-standards.md) | 編譯通過、測試通過、覆蓋率維持 | 確保 commit 前的程式碼品質 |
|
|
90
|
+
|
|
91
|
+
### 部署方式
|
|
92
|
+
|
|
93
|
+
將以下任一檔案加入專案根目錄:
|
|
94
|
+
|
|
95
|
+
- `CLAUDE.md` (Claude Code)
|
|
96
|
+
- `.cursorrules` (Cursor)
|
|
97
|
+
- `.github/copilot-instructions.md` (GitHub Copilot)
|
|
98
|
+
- `AI_GUIDELINES.md` (通用)
|
|
99
|
+
|
|
100
|
+
**範本**: 參見 [CLAUDE.md.template](../../../templates/CLAUDE.md.template)
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
## 雙重性質規範(靜態 + 動態)
|
|
105
|
+
|
|
106
|
+
### 定義
|
|
107
|
+
|
|
108
|
+
同時具有**靜態和動態元件**的規範:
|
|
109
|
+
- **靜態元件**:核心規則嵌入專案 context(隨時生效)
|
|
110
|
+
- **動態元件**:完整技能提供詳細指引(按需觸發)
|
|
111
|
+
|
|
112
|
+
### 特徵
|
|
113
|
+
|
|
114
|
+
- 核心規則足夠精簡,可放入 context 檔案
|
|
115
|
+
- 詳細指引若隨時載入會使 context 膨脹
|
|
116
|
+
- 兩種使用模式都有效且互補
|
|
117
|
+
|
|
118
|
+
### 雙重性質規範清單
|
|
119
|
+
|
|
120
|
+
| 規範 | 靜態元件 | 動態技能 | 觸發關鍵字 |
|
|
121
|
+
|------|----------|----------|------------|
|
|
122
|
+
| [anti-hallucination](../../core/anti-hallucination.md) | 確定性標籤、建議原則 | ai-collaboration-standards | certainty, assumption, 確定性 |
|
|
123
|
+
| [project-structure](../../core/project-structure.md) | 目錄慣例 | project-structure-guide | structure, organization, 結構 |
|
|
124
|
+
|
|
125
|
+
### 部署方式
|
|
126
|
+
|
|
127
|
+
1. **靜態**:將核心規則摘要加入 `CLAUDE.md`
|
|
128
|
+
2. **動態**:安裝對應的技能以獲得詳細指引
|
|
129
|
+
|
|
130
|
+
---
|
|
131
|
+
|
|
132
|
+
## 純動態規範
|
|
133
|
+
|
|
134
|
+
### 定義
|
|
135
|
+
|
|
136
|
+
由**特定關鍵字**或任務觸發,按需載入以提供詳細指引的規範。
|
|
137
|
+
|
|
138
|
+
### 特徵
|
|
139
|
+
|
|
140
|
+
- 有特定觸發條件(關鍵字、指令)
|
|
141
|
+
- 內容詳細(若隨時載入會使 context 膨脹)
|
|
142
|
+
- 僅在相關時載入
|
|
143
|
+
- 任務特定的工作流程
|
|
144
|
+
- 需要決策支援(選擇、建議)
|
|
145
|
+
|
|
146
|
+
### 動態規範清單(15 個技能)
|
|
147
|
+
|
|
148
|
+
| 規範 | 技能 | 觸發關鍵字 |
|
|
149
|
+
|------|------|-----------|
|
|
150
|
+
| [anti-hallucination](../../core/anti-hallucination.md) | ai-collaboration-standards | certainty, assumption, 確定性 |
|
|
151
|
+
| [changelog-standards](../../core/changelog-standards.md) | changelog-guide | changelog, release notes, 變更日誌 |
|
|
152
|
+
| [code-review-checklist](../../core/code-review-checklist.md) | code-review-assistant | review, PR, 審查 |
|
|
153
|
+
| [commit-message-guide](../../core/commit-message-guide.md) | commit-standards | commit, git, 提交, feat, fix |
|
|
154
|
+
| [documentation-structure](../../core/documentation-structure.md) | documentation-guide | README, docs, 文件 |
|
|
155
|
+
| [documentation-writing-standards](../../core/documentation-writing-standards.md) | documentation-guide | documentation |
|
|
156
|
+
| [error-code-standards](../../core/error-code-standards.md) | error-code-guide | error code, error handling, 錯誤碼 |
|
|
157
|
+
| [git-workflow](../../core/git-workflow.md) | git-workflow-guide | branch, merge, 分支 |
|
|
158
|
+
| [logging-standards](../../core/logging-standards.md) | logging-guide | logging, log level, 日誌 |
|
|
159
|
+
| [project-structure](../../core/project-structure.md) | project-structure-guide | structure, organization, 結構 |
|
|
160
|
+
| [spec-driven-development](../../core/spec-driven-development.md) | requirement-assistant | spec, SDD, 規格, 新功能 |
|
|
161
|
+
| [spec-driven-development](../../core/spec-driven-development.md) | spec-driven-dev | spec, proposal, 提案 |
|
|
162
|
+
| [test-driven-development](../../core/test-driven-development.md) | tdd-assistant | TDD, test first, 紅綠重構 |
|
|
163
|
+
| [test-completeness-dimensions](../../core/test-completeness-dimensions.md) | test-coverage-assistant | test coverage, 7 dimensions, 測試覆蓋 |
|
|
164
|
+
| [testing-standards](../../core/testing-standards.md) | testing-guide | test, 測試, coverage |
|
|
165
|
+
| [versioning](../../core/versioning.md) | release-standards | version, release, 版本 |
|
|
166
|
+
|
|
167
|
+
### 部署方式
|
|
168
|
+
|
|
169
|
+
**推薦:Plugin Marketplace**
|
|
170
|
+
```bash
|
|
171
|
+
/plugin marketplace add AsiaOstrich/universal-dev-standards
|
|
172
|
+
/plugin install universal-dev-standards@asia-ostrich
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
**替代方案:手動安裝(macOS / Linux)**
|
|
176
|
+
```bash
|
|
177
|
+
mkdir -p ~/.claude/skills
|
|
178
|
+
cp -r skills/claude-code/commit-standards ~/.claude/skills/
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
**替代方案:手動安裝(Windows PowerShell)**
|
|
182
|
+
```powershell
|
|
183
|
+
Copy-Item -Recurse skills\claude-code\commit-standards $env:USERPROFILE\.claude\skills\
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
詳見 [Claude Code Skills README](../../../skills/claude-code/README.md)。
|
|
187
|
+
|
|
188
|
+
---
|
|
189
|
+
|
|
190
|
+
## 決策流程圖
|
|
191
|
+
|
|
192
|
+
```
|
|
193
|
+
┌─────────────────┐
|
|
194
|
+
│ 新規範 │
|
|
195
|
+
└────────┬────────┘
|
|
196
|
+
│
|
|
197
|
+
▼
|
|
198
|
+
┌─────────────────────────┐
|
|
199
|
+
│ 是否適用於所有 │
|
|
200
|
+
│ AI 互動? │
|
|
201
|
+
└────────────┬────────────┘
|
|
202
|
+
│
|
|
203
|
+
┌─────────────┴─────────────┐
|
|
204
|
+
│ │
|
|
205
|
+
是 否
|
|
206
|
+
│ │
|
|
207
|
+
▼ ▼
|
|
208
|
+
┌─────────────────┐ ┌─────────────────────────┐
|
|
209
|
+
│ 靜態規範 │ │ 能否由關鍵字 │
|
|
210
|
+
│ 加入專案 │ │ 觸發? │
|
|
211
|
+
│ context 檔案 │ └────────────┬────────────┘
|
|
212
|
+
└─────────────────┘ │
|
|
213
|
+
┌──────────┴──────────┐
|
|
214
|
+
│ │
|
|
215
|
+
是 否
|
|
216
|
+
│ │
|
|
217
|
+
▼ ▼
|
|
218
|
+
┌─────────────────┐ ┌─────────────────┐
|
|
219
|
+
│ 動態規範 │ │ 考慮是否應該 │
|
|
220
|
+
│ 建立為 Skill │ │ 拆分或合併 │
|
|
221
|
+
│ 並設定關鍵字 │ └─────────────────┘
|
|
222
|
+
└─────────────────┘
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
---
|
|
226
|
+
|
|
227
|
+
## Skill 觸發機制
|
|
228
|
+
|
|
229
|
+
Skills 使用 YAML frontmatter 定義觸發條件:
|
|
230
|
+
|
|
231
|
+
```yaml
|
|
232
|
+
---
|
|
233
|
+
name: commit-standards
|
|
234
|
+
description: |
|
|
235
|
+
遵循 conventional commits 標準格式化 commit 訊息。
|
|
236
|
+
使用時機:撰寫 commit 訊息、git commit、檢閱 commit 歷史。
|
|
237
|
+
關鍵字:commit, git, message, conventional, 提交, 訊息, feat, fix, refactor。
|
|
238
|
+
---
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
**關鍵元素**:
|
|
242
|
+
- `Use when:` - 描述觸發情境
|
|
243
|
+
- `Keywords:` - 列出觸發關鍵字(支援多語言)
|
|
244
|
+
|
|
245
|
+
---
|
|
246
|
+
|
|
247
|
+
## 最佳實踐
|
|
248
|
+
|
|
249
|
+
### 靜態規範
|
|
250
|
+
|
|
251
|
+
1. **保持精簡**:專案 context 檔案最多 100-200 行
|
|
252
|
+
2. **聚焦行為**:AI 應該隨時做/避免的事
|
|
253
|
+
3. **包含快速參考**:精簡表格,非完整文件
|
|
254
|
+
4. **連結詳細內容**:參考完整標準以深入了解
|
|
255
|
+
|
|
256
|
+
### 動態規範
|
|
257
|
+
|
|
258
|
+
1. **選擇清晰關鍵字**:明確、常用的術語
|
|
259
|
+
2. **支援多語言**:為中文使用者包含中文關鍵字
|
|
260
|
+
3. **群組相關規範**:如 testing-guide 涵蓋 testing-standards 與 test-completeness
|
|
261
|
+
4. **提供快速參考**:Skills 頂部應有精簡摘要
|
|
262
|
+
|
|
263
|
+
---
|
|
264
|
+
|
|
265
|
+
## 遷移指南
|
|
266
|
+
|
|
267
|
+
### 從完整規則到靜態+動態
|
|
268
|
+
|
|
269
|
+
如果目前所有規則都在一個檔案中:
|
|
270
|
+
|
|
271
|
+
1. **提取靜態規則**:將 anti-hallucination、checkin、結構規則移至 `CLAUDE.md`
|
|
272
|
+
2. **轉換動態規則為 Skills**:為任務特定規則建立或安裝 Skills
|
|
273
|
+
3. **移除重複內容**:從 context 檔案刪除重複的規則
|
|
274
|
+
4. **測試觸發**:驗證 Skills 在預期關鍵字時啟動
|
|
275
|
+
|
|
276
|
+
---
|
|
277
|
+
|
|
278
|
+
## 相關資源
|
|
279
|
+
|
|
280
|
+
- [CLAUDE.md 範本](../../../templates/CLAUDE.md.template) - 可立即使用的靜態規則範本
|
|
281
|
+
- [Claude Code Skills](../../../skills/claude-code/README.md) - 技能安裝指南
|
|
282
|
+
- [採用指南](ADOPTION-GUIDE.md) - 整體採用策略
|
|
283
|
+
- [MAINTENANCE.md](../MAINTENANCE.md) - 如何新增/更新技能(維護者專用)
|
|
284
|
+
|
|
285
|
+
---
|
|
286
|
+
|
|
287
|
+
## 版本歷史
|
|
288
|
+
|
|
289
|
+
| 版本 | 日期 | 變更 |
|
|
290
|
+
|------|------|------|
|
|
291
|
+
| 1.2.0 | 2026-01-07 | 新增 tdd-assistant 技能,更新至 15 個技能 |
|
|
292
|
+
| 1.1.0 | 2025-12-30 | 新增雙重性質規範分類,更新至 14 個技能 |
|
|
293
|
+
| 1.0.0 | 2025-12-24 | 初始指南 |
|
|
294
|
+
|
|
295
|
+
---
|
|
296
|
+
|
|
297
|
+
## 授權
|
|
298
|
+
|
|
299
|
+
本指南以 [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) 授權發布。
|
|
@@ -0,0 +1,332 @@
|
|
|
1
|
+
---
|
|
2
|
+
source: ../../../../adoption/checklists/enterprise.md
|
|
3
|
+
source_version: 1.0.0
|
|
4
|
+
translation_version: 1.0.0
|
|
5
|
+
last_synced: 2025-12-25
|
|
6
|
+
status: current
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# 等級三:企業採用檢查清單
|
|
10
|
+
|
|
11
|
+
> **語言**: [English](../../../adoption/checklists/enterprise.md) | 繁體中文
|
|
12
|
+
|
|
13
|
+
> 企業或受監管專案的全面標準
|
|
14
|
+
>
|
|
15
|
+
> 設置時間:1-2 天
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## 前置條件
|
|
20
|
+
|
|
21
|
+
- [ ] 等級二(推薦)已完成
|
|
22
|
+
- [ ] 利害關係人已批准全面採用
|
|
23
|
+
- [ ] 已分配時間進行文件審查
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## Skills 安裝
|
|
28
|
+
|
|
29
|
+
確保安裝所有 skills:
|
|
30
|
+
|
|
31
|
+
**推薦:Plugin Marketplace**
|
|
32
|
+
```bash
|
|
33
|
+
/plugin marketplace add AsiaOstrich/universal-dev-standards
|
|
34
|
+
/plugin install universal-dev-standards@asia-ostrich
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
**完整 Skills 檢查清單**:
|
|
38
|
+
|
|
39
|
+
### Level 1 Skills
|
|
40
|
+
- [ ] ai-collaboration-standards
|
|
41
|
+
- [ ] commit-standards
|
|
42
|
+
|
|
43
|
+
### Level 2 Skills
|
|
44
|
+
- [ ] code-review-assistant
|
|
45
|
+
- [ ] git-workflow-guide
|
|
46
|
+
- [ ] release-standards
|
|
47
|
+
- [ ] testing-guide
|
|
48
|
+
- [ ] requirement-assistant
|
|
49
|
+
|
|
50
|
+
### Level 3 Skills
|
|
51
|
+
- [ ] documentation-guide
|
|
52
|
+
|
|
53
|
+
---
|
|
54
|
+
|
|
55
|
+
## 參考文件
|
|
56
|
+
|
|
57
|
+
複製所有參考文件到您的專案:
|
|
58
|
+
|
|
59
|
+
**macOS / Linux:**
|
|
60
|
+
```bash
|
|
61
|
+
# In your project root
|
|
62
|
+
mkdir -p .standards
|
|
63
|
+
|
|
64
|
+
# Level 1 reference documents
|
|
65
|
+
cp path/to/universal-dev-standards/core/checkin-standards.md .standards/
|
|
66
|
+
cp path/to/universal-dev-standards/core/spec-driven-development.md .standards/
|
|
67
|
+
|
|
68
|
+
# Level 3 reference documents
|
|
69
|
+
cp path/to/universal-dev-standards/core/documentation-writing-standards.md .standards/
|
|
70
|
+
cp path/to/universal-dev-standards/core/project-structure.md .standards/
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
**Windows PowerShell:**
|
|
74
|
+
```powershell
|
|
75
|
+
# In your project root
|
|
76
|
+
New-Item -ItemType Directory -Force -Path .standards
|
|
77
|
+
|
|
78
|
+
# Level 1 reference documents
|
|
79
|
+
Copy-Item path\to\universal-dev-standards\core\checkin-standards.md .standards\
|
|
80
|
+
Copy-Item path\to\universal-dev-standards\core\spec-driven-development.md .standards\
|
|
81
|
+
|
|
82
|
+
# Level 3 reference documents
|
|
83
|
+
Copy-Item path\to\universal-dev-standards\core\documentation-writing-standards.md .standards\
|
|
84
|
+
Copy-Item path\to\universal-dev-standards\core\project-structure.md .standards\
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
**檢查清單**:
|
|
88
|
+
- [ ] `checkin-standards.md` (Level 1)
|
|
89
|
+
- [ ] `spec-driven-development.md` (Level 1)
|
|
90
|
+
- [ ] `documentation-writing-standards.md` (Level 3)
|
|
91
|
+
- [ ] `project-structure.md` (Level 3)
|
|
92
|
+
|
|
93
|
+
---
|
|
94
|
+
|
|
95
|
+
## 模板
|
|
96
|
+
|
|
97
|
+
### 遷移模板(如適用)
|
|
98
|
+
|
|
99
|
+
用於涉及技術遷移的專案:
|
|
100
|
+
|
|
101
|
+
**macOS / Linux:**
|
|
102
|
+
```bash
|
|
103
|
+
cp path/to/universal-dev-standards/templates/migration-template.md docs/
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
**Windows PowerShell:**
|
|
107
|
+
```powershell
|
|
108
|
+
Copy-Item path\to\universal-dev-standards\templates\migration-template.md docs\
|
|
109
|
+
```
|
|
110
|
+
- [ ] `migration-template.md` copied (if applicable)
|
|
111
|
+
|
|
112
|
+
---
|
|
113
|
+
|
|
114
|
+
## 延伸規範
|
|
115
|
+
|
|
116
|
+
驗證等級二的所有適用延伸規範已安裝:
|
|
117
|
+
|
|
118
|
+
### 語言延伸
|
|
119
|
+
- [ ] `csharp-style.md` (if C# project)
|
|
120
|
+
- [ ] `php-style.md` (if PHP project)
|
|
121
|
+
|
|
122
|
+
### 框架延伸
|
|
123
|
+
- [ ] `fat-free-patterns.md` (if Fat-Free project)
|
|
124
|
+
|
|
125
|
+
### 地區延伸
|
|
126
|
+
- [ ] `zh-tw.md` (if Traditional Chinese team)
|
|
127
|
+
|
|
128
|
+
---
|
|
129
|
+
|
|
130
|
+
## AI 工具整合
|
|
131
|
+
|
|
132
|
+
驗證等級二的所有適用整合已安裝:
|
|
133
|
+
|
|
134
|
+
- [ ] GitHub Copilot: `.github/copilot-instructions.md`
|
|
135
|
+
- [ ] Cursor: `.cursorrules`
|
|
136
|
+
- [ ] Windsurf: `.windsurfrules`
|
|
137
|
+
- [ ] Cline: `.clinerules`
|
|
138
|
+
- [ ] OpenSpec: `.openspec/`
|
|
139
|
+
|
|
140
|
+
---
|
|
141
|
+
|
|
142
|
+
## 文件結構
|
|
143
|
+
|
|
144
|
+
遵循 `documentation-structure.md`,設置:
|
|
145
|
+
|
|
146
|
+
```
|
|
147
|
+
project/
|
|
148
|
+
├── README.md
|
|
149
|
+
├── CONTRIBUTING.md
|
|
150
|
+
├── CHANGELOG.md
|
|
151
|
+
├── docs/
|
|
152
|
+
│ ├── architecture/
|
|
153
|
+
│ ├── api/
|
|
154
|
+
│ ├── guides/
|
|
155
|
+
│ └── adr/ # Architecture Decision Records
|
|
156
|
+
├── .standards/
|
|
157
|
+
│ ├── checkin-standards.md
|
|
158
|
+
│ ├── spec-driven-development.md
|
|
159
|
+
│ ├── documentation-writing-standards.md
|
|
160
|
+
│ └── project-structure.md
|
|
161
|
+
└── ...
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
**檢查清單**:
|
|
165
|
+
- [ ] `README.md` created/updated
|
|
166
|
+
- [ ] `CONTRIBUTING.md` created
|
|
167
|
+
- [ ] `CHANGELOG.md` created
|
|
168
|
+
- [ ] `docs/` directory structure created
|
|
169
|
+
- [ ] `docs/adr/` for Architecture Decision Records
|
|
170
|
+
|
|
171
|
+
---
|
|
172
|
+
|
|
173
|
+
## 專案結構
|
|
174
|
+
|
|
175
|
+
遵循 `project-structure.md`,驗證:
|
|
176
|
+
|
|
177
|
+
```
|
|
178
|
+
project/
|
|
179
|
+
├── src/ # Source code
|
|
180
|
+
├── tests/ # Test files
|
|
181
|
+
├── tools/ # Build and development tools
|
|
182
|
+
├── examples/ # Example code
|
|
183
|
+
├── dist/ # Build output (gitignored)
|
|
184
|
+
└── ...
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
- [ ] Directory structure follows standard
|
|
188
|
+
- [ ] `.gitignore` properly configured
|
|
189
|
+
|
|
190
|
+
---
|
|
191
|
+
|
|
192
|
+
## 治理
|
|
193
|
+
|
|
194
|
+
### 文件標準
|
|
195
|
+
|
|
196
|
+
遵循 `documentation-writing-standards.md`:
|
|
197
|
+
|
|
198
|
+
- [ ] Document matrix defined (which docs for which project type)
|
|
199
|
+
- [ ] Writing guidelines communicated to team
|
|
200
|
+
- [ ] Review process for documentation established
|
|
201
|
+
|
|
202
|
+
### 品質閘門
|
|
203
|
+
|
|
204
|
+
遵循 `checkin-standards.md`:
|
|
205
|
+
|
|
206
|
+
- [ ] Pre-commit hooks configured
|
|
207
|
+
- [ ] CI/CD pipeline enforces standards
|
|
208
|
+
- [ ] Build verification automated
|
|
209
|
+
|
|
210
|
+
### 規格驅動開發
|
|
211
|
+
|
|
212
|
+
遵循 `spec-driven-development.md`:
|
|
213
|
+
|
|
214
|
+
- [ ] Team trained on SDD methodology
|
|
215
|
+
- [ ] OpenSpec (or equivalent) workflow established
|
|
216
|
+
- [ ] Spec → Implementation → Verification cycle defined
|
|
217
|
+
|
|
218
|
+
---
|
|
219
|
+
|
|
220
|
+
## 合規與稽核軌跡
|
|
221
|
+
|
|
222
|
+
適用於受監管產業:
|
|
223
|
+
|
|
224
|
+
- [ ] Standards adoption documented
|
|
225
|
+
- [ ] Change management process defined
|
|
226
|
+
- [ ] Version control for all standards
|
|
227
|
+
- [ ] Regular standards review scheduled
|
|
228
|
+
|
|
229
|
+
---
|
|
230
|
+
|
|
231
|
+
## 驗證
|
|
232
|
+
|
|
233
|
+
### 完整 Skills 測試
|
|
234
|
+
|
|
235
|
+
以相關情境測試每個 skill:
|
|
236
|
+
|
|
237
|
+
| Skill | Test Scenario | Pass |
|
|
238
|
+
|-------|--------------|------|
|
|
239
|
+
| ai-collaboration-standards | Ask for unverified claim | [ ] |
|
|
240
|
+
| commit-standards | Write complex commit | [ ] |
|
|
241
|
+
| code-review-assistant | Review PR | [ ] |
|
|
242
|
+
| git-workflow-guide | Explain branching strategy | [ ] |
|
|
243
|
+
| release-standards | Plan a release | [ ] |
|
|
244
|
+
| testing-guide | Design test strategy | [ ] |
|
|
245
|
+
| requirement-assistant | Write user story | [ ] |
|
|
246
|
+
| documentation-guide | Plan documentation | [ ] |
|
|
247
|
+
|
|
248
|
+
### 文件稽核
|
|
249
|
+
|
|
250
|
+
- [ ] All required documents exist
|
|
251
|
+
- [ ] Documents follow writing standards
|
|
252
|
+
- [ ] Documents are up-to-date
|
|
253
|
+
|
|
254
|
+
### 整合驗證
|
|
255
|
+
|
|
256
|
+
- [ ] All AI tools follow project standards
|
|
257
|
+
- [ ] CI/CD enforces quality gates
|
|
258
|
+
- [ ] Team follows established workflows
|
|
259
|
+
|
|
260
|
+
---
|
|
261
|
+
|
|
262
|
+
## 最終檢查清單
|
|
263
|
+
|
|
264
|
+
| Category | Items | Status |
|
|
265
|
+
|----------|-------|--------|
|
|
266
|
+
| **All Skills (8)** | Complete set installed | [ ] |
|
|
267
|
+
| **Reference Docs (4)** | All Level 1 + Level 3 docs | [ ] |
|
|
268
|
+
| **Extensions** | All applicable installed | [ ] |
|
|
269
|
+
| **Integrations** | All tools configured | [ ] |
|
|
270
|
+
| **Documentation** | Structure established | [ ] |
|
|
271
|
+
| **Project Structure** | Follows standard | [ ] |
|
|
272
|
+
| **Governance** | Processes defined | [ ] |
|
|
273
|
+
| **Verification** | All tests passed | [ ] |
|
|
274
|
+
|
|
275
|
+
---
|
|
276
|
+
|
|
277
|
+
## 維護
|
|
278
|
+
|
|
279
|
+
### 定期審查
|
|
280
|
+
|
|
281
|
+
- [ ] Monthly: Review standards compliance
|
|
282
|
+
- [ ] Quarterly: Update standards if needed
|
|
283
|
+
- [ ] Annually: Full standards audit
|
|
284
|
+
|
|
285
|
+
### 更新
|
|
286
|
+
|
|
287
|
+
監控更新:
|
|
288
|
+
- [ ] Subscribe to universal-dev-standards releases
|
|
289
|
+
- [ ] Subscribe to universal-dev-skills releases
|
|
290
|
+
- [ ] Plan upgrade process for new versions
|
|
291
|
+
|
|
292
|
+
---
|
|
293
|
+
|
|
294
|
+
## 摘要
|
|
295
|
+
|
|
296
|
+
完成後,您的專案具有:
|
|
297
|
+
|
|
298
|
+
- Full AI assistance with 8 Claude Code Skills
|
|
299
|
+
- Complete reference documentation
|
|
300
|
+
- Language/framework-specific guidelines
|
|
301
|
+
- All AI tool integrations
|
|
302
|
+
- Proper documentation structure
|
|
303
|
+
- Standard project organization
|
|
304
|
+
- Governance processes
|
|
305
|
+
|
|
306
|
+
您的專案現在遵循企業級文件標準。
|
|
307
|
+
|
|
308
|
+
---
|
|
309
|
+
|
|
310
|
+
## 相關標準
|
|
311
|
+
|
|
312
|
+
- [Essential Adoption Checklist](minimal.md) - Level 1 基本採用
|
|
313
|
+
- [Recommended Adoption Checklist](recommended.md) - Level 2 推薦採用
|
|
314
|
+
- [Documentation Writing Standards](../../../core/documentation-writing-standards.md) - 文件撰寫規範
|
|
315
|
+
- [Project Structure](../../../core/project-structure.md) - 專案結構標準
|
|
316
|
+
- [Checkin Standards](../../../core/checkin-standards.md) - 簽入標準
|
|
317
|
+
- [Spec-Driven Development](../../../core/spec-driven-development.md) - 規格驅動開發
|
|
318
|
+
|
|
319
|
+
---
|
|
320
|
+
|
|
321
|
+
## 版本歷史
|
|
322
|
+
|
|
323
|
+
| Version | Date | Changes |
|
|
324
|
+
|---------|------|---------|
|
|
325
|
+
| 1.0.1 | 2025-12-24 | Added: Related Standards, License sections |
|
|
326
|
+
| 1.0.0 | 2025-12-23 | Initial checklist |
|
|
327
|
+
|
|
328
|
+
---
|
|
329
|
+
|
|
330
|
+
## 授權
|
|
331
|
+
|
|
332
|
+
本檢查清單以 [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) 授權發布。
|