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,100 @@
|
|
|
1
|
+
# 繁體中文提交格式 - AI 優化選項
|
|
2
|
+
# 父項: commit-message
|
|
3
|
+
|
|
4
|
+
id: traditional-chinese
|
|
5
|
+
meta:
|
|
6
|
+
parent: commit-message
|
|
7
|
+
version: "1.0.0"
|
|
8
|
+
description: 使用繁體中文的提交訊息格式
|
|
9
|
+
language: zh-TW
|
|
10
|
+
|
|
11
|
+
best_for:
|
|
12
|
+
- 台灣或香港團隊
|
|
13
|
+
- 使用繁體中文的專案
|
|
14
|
+
- 文件以繁體中文為主的專案
|
|
15
|
+
|
|
16
|
+
format:
|
|
17
|
+
template: "<類型>(<範圍>): <主旨>"
|
|
18
|
+
note: 類型使用中文,範圍使用英文或中文
|
|
19
|
+
|
|
20
|
+
types:
|
|
21
|
+
- type: 功能
|
|
22
|
+
english: feat
|
|
23
|
+
description: 新功能
|
|
24
|
+
|
|
25
|
+
- type: 修正
|
|
26
|
+
english: fix
|
|
27
|
+
description: 錯誤修正
|
|
28
|
+
|
|
29
|
+
- type: 重構
|
|
30
|
+
english: refactor
|
|
31
|
+
description: 程式碼重構
|
|
32
|
+
|
|
33
|
+
- type: 文件
|
|
34
|
+
english: docs
|
|
35
|
+
description: 文件更新
|
|
36
|
+
|
|
37
|
+
- type: 樣式
|
|
38
|
+
english: style
|
|
39
|
+
description: 格式調整
|
|
40
|
+
|
|
41
|
+
- type: 測試
|
|
42
|
+
english: test
|
|
43
|
+
description: 測試相關
|
|
44
|
+
|
|
45
|
+
- type: 效能
|
|
46
|
+
english: perf
|
|
47
|
+
description: 效能改善
|
|
48
|
+
|
|
49
|
+
- type: 建置
|
|
50
|
+
english: build
|
|
51
|
+
description: 建置系統
|
|
52
|
+
|
|
53
|
+
- type: 整合
|
|
54
|
+
english: ci
|
|
55
|
+
description: 持續整合
|
|
56
|
+
|
|
57
|
+
- type: 雜項
|
|
58
|
+
english: chore
|
|
59
|
+
description: 維護任務
|
|
60
|
+
|
|
61
|
+
- type: 安全
|
|
62
|
+
english: security
|
|
63
|
+
description: 安全修正
|
|
64
|
+
|
|
65
|
+
rules:
|
|
66
|
+
- id: chinese-type
|
|
67
|
+
trigger: 撰寫提交標頭時
|
|
68
|
+
instruction: 使用中文類型(功能、修正、重構等)
|
|
69
|
+
priority: required
|
|
70
|
+
|
|
71
|
+
- id: chinese-subject
|
|
72
|
+
trigger: 撰寫主旨時
|
|
73
|
+
instruction: 以繁體中文撰寫主旨
|
|
74
|
+
priority: required
|
|
75
|
+
|
|
76
|
+
- id: chinese-body
|
|
77
|
+
trigger: 撰寫內文時
|
|
78
|
+
instruction: 以繁體中文撰寫內文
|
|
79
|
+
priority: required
|
|
80
|
+
|
|
81
|
+
examples:
|
|
82
|
+
simple: "功能(認證): 新增 OAuth2 登入支援"
|
|
83
|
+
with_body: |
|
|
84
|
+
功能(認證): 新增 OAuth2 Google 登入支援
|
|
85
|
+
|
|
86
|
+
實作 Google OAuth2 認證流程供使用者登入。
|
|
87
|
+
|
|
88
|
+
- 整合 Google OAuth2 SDK
|
|
89
|
+
- 建立 OAuth 流程回呼端點
|
|
90
|
+
- 安全儲存更新權杖
|
|
91
|
+
|
|
92
|
+
關閉 #123
|
|
93
|
+
breaking: |
|
|
94
|
+
功能(api)!: 變更使用者端點回應格式
|
|
95
|
+
|
|
96
|
+
破壞性變更: 使用者 API 回應格式已變更
|
|
97
|
+
|
|
98
|
+
遷移指南:
|
|
99
|
+
1. 更新 API 客戶端移除 .data 包裝
|
|
100
|
+
2. 使用 created_at 取代 createdAt
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
# API 文件 - AI 優化選項
|
|
2
|
+
# 父項: documentation
|
|
3
|
+
|
|
4
|
+
id: api-docs
|
|
5
|
+
meta:
|
|
6
|
+
parent: documentation-structure
|
|
7
|
+
version: "1.0.0"
|
|
8
|
+
description: API 參考文件標準
|
|
9
|
+
language: zh-TW
|
|
10
|
+
|
|
11
|
+
best_for:
|
|
12
|
+
- REST API
|
|
13
|
+
- GraphQL API
|
|
14
|
+
- SDK/函式庫文件
|
|
15
|
+
- 公開 API
|
|
16
|
+
|
|
17
|
+
formats:
|
|
18
|
+
openapi:
|
|
19
|
+
name: OpenAPI (Swagger)
|
|
20
|
+
versions: ["3.0", "3.1"]
|
|
21
|
+
file_extension: [".yaml", ".json"]
|
|
22
|
+
best_for: REST API
|
|
23
|
+
tools:
|
|
24
|
+
- Swagger UI
|
|
25
|
+
- Redoc
|
|
26
|
+
- Stoplight
|
|
27
|
+
|
|
28
|
+
graphql:
|
|
29
|
+
name: GraphQL Schema
|
|
30
|
+
file_extension: [".graphql", ".gql"]
|
|
31
|
+
best_for: GraphQL API
|
|
32
|
+
tools:
|
|
33
|
+
- GraphQL Playground
|
|
34
|
+
- Apollo Studio
|
|
35
|
+
|
|
36
|
+
asyncapi:
|
|
37
|
+
name: AsyncAPI
|
|
38
|
+
versions: ["2.x", "3.x"]
|
|
39
|
+
best_for: 事件驅動 API
|
|
40
|
+
tools:
|
|
41
|
+
- AsyncAPI Studio
|
|
42
|
+
|
|
43
|
+
documentation_elements:
|
|
44
|
+
required:
|
|
45
|
+
- 端點 URL
|
|
46
|
+
- HTTP 方法
|
|
47
|
+
- 請求參數
|
|
48
|
+
- 回應格式
|
|
49
|
+
- 錯誤碼
|
|
50
|
+
- 驗證方式
|
|
51
|
+
|
|
52
|
+
recommended:
|
|
53
|
+
- 程式碼範例(多種語言)
|
|
54
|
+
- 速率限制
|
|
55
|
+
- 分頁詳情
|
|
56
|
+
- 變更日誌/版本控制
|
|
57
|
+
|
|
58
|
+
optional:
|
|
59
|
+
- 線上測試主控台
|
|
60
|
+
- SDK
|
|
61
|
+
- Postman 集合
|
|
62
|
+
|
|
63
|
+
rules:
|
|
64
|
+
- id: describe-all-endpoints
|
|
65
|
+
trigger: 建立 API 文件時
|
|
66
|
+
instruction: 記錄每個公開端點
|
|
67
|
+
priority: required
|
|
68
|
+
|
|
69
|
+
- id: include-examples
|
|
70
|
+
trigger: 記錄端點時
|
|
71
|
+
instruction: 包含請求和回應範例
|
|
72
|
+
priority: required
|
|
73
|
+
|
|
74
|
+
- id: document-errors
|
|
75
|
+
trigger: 記錄端點時
|
|
76
|
+
instruction: 列出所有可能的錯誤回應
|
|
77
|
+
priority: required
|
|
78
|
+
|
|
79
|
+
- id: version-api-docs
|
|
80
|
+
trigger: API 變更時
|
|
81
|
+
instruction: 保持文件與 API 版本同步
|
|
82
|
+
priority: required
|
|
83
|
+
|
|
84
|
+
- id: authentication-first
|
|
85
|
+
trigger: 建立 API 文件時
|
|
86
|
+
instruction: 在端點之前先記錄驗證方式
|
|
87
|
+
priority: recommended
|
|
88
|
+
|
|
89
|
+
example_endpoint_doc: |
|
|
90
|
+
## 建立使用者
|
|
91
|
+
|
|
92
|
+
建立新的使用者帳號。
|
|
93
|
+
|
|
94
|
+
**端點:** `POST /users`
|
|
95
|
+
|
|
96
|
+
**驗證:** 需要 Bearer token
|
|
97
|
+
|
|
98
|
+
### 請求主體
|
|
99
|
+
|
|
100
|
+
| 欄位 | 類型 | 必填 | 說明 |
|
|
101
|
+
|------|------|------|------|
|
|
102
|
+
| name | string | 是 | 使用者全名 |
|
|
103
|
+
| email | string | 是 | 電子郵件地址 |
|
|
104
|
+
|
|
105
|
+
### 回應
|
|
106
|
+
|
|
107
|
+
```json
|
|
108
|
+
{
|
|
109
|
+
"id": "usr_123",
|
|
110
|
+
"name": "王小明",
|
|
111
|
+
"email": "xiaoming@example.com",
|
|
112
|
+
"createdAt": "2025-01-15T10:30:00Z"
|
|
113
|
+
}
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
### 錯誤
|
|
117
|
+
|
|
118
|
+
| 代碼 | 說明 |
|
|
119
|
+
|------|------|
|
|
120
|
+
| 400 | 無效的請求主體 |
|
|
121
|
+
| 409 | 電子郵件已存在 |
|
|
122
|
+
|
|
123
|
+
tools:
|
|
124
|
+
generators:
|
|
125
|
+
- name: swagger-codegen
|
|
126
|
+
generates: 客戶端 SDK
|
|
127
|
+
- name: openapi-generator
|
|
128
|
+
generates: 客戶端/伺服器程式碼
|
|
129
|
+
- name: typedoc
|
|
130
|
+
generates: TypeScript 文件
|
|
131
|
+
|
|
132
|
+
hosting:
|
|
133
|
+
- name: Swagger UI
|
|
134
|
+
type: 自架
|
|
135
|
+
- name: Redoc
|
|
136
|
+
type: 自架
|
|
137
|
+
- name: ReadMe
|
|
138
|
+
type: SaaS
|
|
139
|
+
- name: Stoplight
|
|
140
|
+
type: SaaS
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# Markdown 文件 - AI 優化選項
|
|
2
|
+
# 父項: documentation
|
|
3
|
+
|
|
4
|
+
id: markdown-docs
|
|
5
|
+
meta:
|
|
6
|
+
parent: documentation-structure
|
|
7
|
+
version: "1.0.0"
|
|
8
|
+
description: 純 Markdown 文件方法
|
|
9
|
+
language: zh-TW
|
|
10
|
+
|
|
11
|
+
best_for:
|
|
12
|
+
- 開源專案
|
|
13
|
+
- GitHub/GitLab 託管的專案
|
|
14
|
+
- 開發者導向的文件
|
|
15
|
+
- 需要簡單、可攜式文件的專案
|
|
16
|
+
|
|
17
|
+
structure:
|
|
18
|
+
root_files:
|
|
19
|
+
- name: README.md
|
|
20
|
+
required: true
|
|
21
|
+
purpose: 專案概覽、快速開始
|
|
22
|
+
- name: CONTRIBUTING.md
|
|
23
|
+
required: false
|
|
24
|
+
purpose: 貢獻指南
|
|
25
|
+
- name: CHANGELOG.md
|
|
26
|
+
required: false
|
|
27
|
+
purpose: 版本歷史
|
|
28
|
+
- name: LICENSE
|
|
29
|
+
required: true
|
|
30
|
+
purpose: 授權檔案
|
|
31
|
+
|
|
32
|
+
docs_folder:
|
|
33
|
+
location: docs/
|
|
34
|
+
naming: lowercase-kebab-case(小寫連字號)
|
|
35
|
+
common_files:
|
|
36
|
+
- getting-started.md(快速開始)
|
|
37
|
+
- installation.md(安裝)
|
|
38
|
+
- configuration.md(設定)
|
|
39
|
+
- api-reference.md(API 參考)
|
|
40
|
+
- troubleshooting.md(疑難排解)
|
|
41
|
+
- faq.md(常見問題)
|
|
42
|
+
|
|
43
|
+
subdirectories:
|
|
44
|
+
- name: guides/
|
|
45
|
+
purpose: 操作指南
|
|
46
|
+
- name: tutorials/
|
|
47
|
+
purpose: 逐步教學
|
|
48
|
+
- name: reference/
|
|
49
|
+
purpose: API 和設定參考
|
|
50
|
+
- name: ADR/
|
|
51
|
+
purpose: 架構決策記錄
|
|
52
|
+
|
|
53
|
+
rules:
|
|
54
|
+
- id: root-uppercase
|
|
55
|
+
trigger: 建立根目錄檔案時
|
|
56
|
+
instruction: 根目錄文件使用大寫(README、CONTRIBUTING)
|
|
57
|
+
priority: required
|
|
58
|
+
|
|
59
|
+
- id: docs-lowercase-kebab
|
|
60
|
+
trigger: 建立 docs/ 檔案時
|
|
61
|
+
instruction: 使用小寫連字號命名(例如 getting-started.md)
|
|
62
|
+
priority: required
|
|
63
|
+
|
|
64
|
+
- id: link-relative
|
|
65
|
+
trigger: 在文件間連結時
|
|
66
|
+
instruction: 使用相對路徑進行內部連結
|
|
67
|
+
priority: required
|
|
68
|
+
|
|
69
|
+
- id: include-examples
|
|
70
|
+
trigger: 記錄功能時
|
|
71
|
+
instruction: 為所有功能包含程式碼範例
|
|
72
|
+
priority: recommended
|
|
73
|
+
|
|
74
|
+
markdown_best_practices:
|
|
75
|
+
- 使用 ATX 風格標題(#、##、###)
|
|
76
|
+
- 標題前後空一行
|
|
77
|
+
- 使用帶語言標示的圍欄式程式碼區塊
|
|
78
|
+
- 保持每行在 120 字元以內
|
|
79
|
+
- 對重複的 URL 使用參考式連結
|
|
80
|
+
|
|
81
|
+
tools:
|
|
82
|
+
- name: markdownlint
|
|
83
|
+
purpose: 檢查 markdown 檔案
|
|
84
|
+
- name: markdown-link-check
|
|
85
|
+
purpose: 檢查壞掉的連結
|
|
86
|
+
- name: docsify
|
|
87
|
+
purpose: 產生文件網站
|
|
88
|
+
- name: mkdocs
|
|
89
|
+
purpose: 靜態網站產生器
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
# Wiki 風格文件 - AI 優化選項
|
|
2
|
+
# 父項: documentation
|
|
3
|
+
|
|
4
|
+
id: wiki-style
|
|
5
|
+
meta:
|
|
6
|
+
parent: documentation-structure
|
|
7
|
+
version: "1.0.0"
|
|
8
|
+
description: Wiki 風格協作文件
|
|
9
|
+
language: zh-TW
|
|
10
|
+
|
|
11
|
+
best_for:
|
|
12
|
+
- 大型團隊
|
|
13
|
+
- 內部文件
|
|
14
|
+
- 知識庫
|
|
15
|
+
- 頻繁更新的內容
|
|
16
|
+
- 跨職能團隊
|
|
17
|
+
|
|
18
|
+
platforms:
|
|
19
|
+
- name: Confluence
|
|
20
|
+
vendor: Atlassian
|
|
21
|
+
best_for: 使用 Jira 的企業團隊
|
|
22
|
+
features:
|
|
23
|
+
- 富文本編輯器
|
|
24
|
+
- 範本
|
|
25
|
+
- 空間/層級結構
|
|
26
|
+
- 權限控管
|
|
27
|
+
|
|
28
|
+
- name: Notion
|
|
29
|
+
vendor: Notion Labs
|
|
30
|
+
best_for: 新創公司、彈性需求
|
|
31
|
+
features:
|
|
32
|
+
- 資料庫
|
|
33
|
+
- 範本
|
|
34
|
+
- 巢狀頁面
|
|
35
|
+
- 評論
|
|
36
|
+
|
|
37
|
+
- name: GitHub Wiki
|
|
38
|
+
vendor: GitHub
|
|
39
|
+
best_for: 開源、開發者
|
|
40
|
+
features:
|
|
41
|
+
- Git 支援
|
|
42
|
+
- Markdown
|
|
43
|
+
- 隨儲存庫免費
|
|
44
|
+
|
|
45
|
+
- name: GitBook
|
|
46
|
+
vendor: GitBook
|
|
47
|
+
best_for: 公開文件
|
|
48
|
+
features:
|
|
49
|
+
- Git 同步
|
|
50
|
+
- 美觀介面
|
|
51
|
+
- API 文件支援
|
|
52
|
+
|
|
53
|
+
structure:
|
|
54
|
+
top_level_spaces:
|
|
55
|
+
- name: 工程
|
|
56
|
+
content:
|
|
57
|
+
- 架構決策
|
|
58
|
+
- 技術標準
|
|
59
|
+
- 操作手冊
|
|
60
|
+
- name: 產品
|
|
61
|
+
content:
|
|
62
|
+
- 功能規格
|
|
63
|
+
- 路線圖
|
|
64
|
+
- 使用者研究
|
|
65
|
+
- name: 團隊
|
|
66
|
+
content:
|
|
67
|
+
- 入職文件
|
|
68
|
+
- 流程文件
|
|
69
|
+
- 會議紀錄
|
|
70
|
+
|
|
71
|
+
page_hierarchy:
|
|
72
|
+
- 概覽/索引頁
|
|
73
|
+
- 分類頁面
|
|
74
|
+
- 詳細頁面
|
|
75
|
+
- 相關連結
|
|
76
|
+
|
|
77
|
+
rules:
|
|
78
|
+
- id: page-ownership
|
|
79
|
+
trigger: 建立 wiki 頁面時
|
|
80
|
+
instruction: 指派一位負責保持內容更新的擁有者
|
|
81
|
+
priority: required
|
|
82
|
+
|
|
83
|
+
- id: date-pages
|
|
84
|
+
trigger: 建立/更新頁面時
|
|
85
|
+
instruction: 包含最後更新日期
|
|
86
|
+
priority: required
|
|
87
|
+
|
|
88
|
+
- id: link-related
|
|
89
|
+
trigger: 建立頁面時
|
|
90
|
+
instruction: 連結到相關頁面以提高可發現性
|
|
91
|
+
priority: recommended
|
|
92
|
+
|
|
93
|
+
- id: review-quarterly
|
|
94
|
+
trigger: 每季審查時
|
|
95
|
+
instruction: 審查並更新過時的內容
|
|
96
|
+
priority: recommended
|
|
97
|
+
|
|
98
|
+
- id: archive-obsolete
|
|
99
|
+
trigger: 內容過時時
|
|
100
|
+
instruction: 封存而非刪除
|
|
101
|
+
priority: recommended
|
|
102
|
+
|
|
103
|
+
comparison:
|
|
104
|
+
columns: [面向, Wiki, 儲存庫中的 Markdown, 外部文件網站]
|
|
105
|
+
rows:
|
|
106
|
+
- [編輯, 所見即所得/容易, 需要 Git 知識, 視情況]
|
|
107
|
+
- [版本控制, 內建, 基於 Git, 視平台]
|
|
108
|
+
- [協作, 優秀, 良好, 良好]
|
|
109
|
+
- [搜尋, 內建, GitHub 搜尋, 視情況]
|
|
110
|
+
- [存取控制, 細緻, 儲存庫層級, 視情況]
|
|
111
|
+
- [離線存取, 有限, 完整, 有限]
|
|
112
|
+
|
|
113
|
+
best_practices:
|
|
114
|
+
- 為常見頁面類型建立範本
|
|
115
|
+
- 使用一致的命名慣例
|
|
116
|
+
- 移動頁面時設定重新導向
|
|
117
|
+
- 定期內容稽核
|
|
118
|
+
- 鼓勵評論和提問
|
|
119
|
+
- 頁面之間大量連結
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
# GitFlow - AI 優化選項
|
|
2
|
+
# 父項: git-workflow
|
|
3
|
+
|
|
4
|
+
id: gitflow
|
|
5
|
+
meta:
|
|
6
|
+
parent: git-workflow
|
|
7
|
+
version: "1.0.0"
|
|
8
|
+
description: 結構化的發布管理工作流程
|
|
9
|
+
language: zh-TW
|
|
10
|
+
|
|
11
|
+
best_for:
|
|
12
|
+
- 排程發布(每月或更長)
|
|
13
|
+
- 多版本維護
|
|
14
|
+
- 大型團隊 (10+ 人)
|
|
15
|
+
- 企業環境
|
|
16
|
+
|
|
17
|
+
branches:
|
|
18
|
+
- name: main
|
|
19
|
+
purpose: 正式發布的程式碼
|
|
20
|
+
lifetime: 永久
|
|
21
|
+
protected: true
|
|
22
|
+
|
|
23
|
+
- name: develop
|
|
24
|
+
purpose: 整合分支,下一版開發
|
|
25
|
+
lifetime: 永久
|
|
26
|
+
base: main
|
|
27
|
+
|
|
28
|
+
- name: feature/*
|
|
29
|
+
purpose: 新功能開發
|
|
30
|
+
lifetime: 短期
|
|
31
|
+
base: develop
|
|
32
|
+
merge_to: develop
|
|
33
|
+
|
|
34
|
+
- name: release/*
|
|
35
|
+
purpose: 發布準備和穩定化
|
|
36
|
+
lifetime: 中期(1-2 週)
|
|
37
|
+
base: develop
|
|
38
|
+
merge_to: [main, develop]
|
|
39
|
+
|
|
40
|
+
- name: hotfix/*
|
|
41
|
+
purpose: 緊急正式環境修正
|
|
42
|
+
lifetime: 非常短期(小時到天)
|
|
43
|
+
base: main
|
|
44
|
+
merge_to: [main, develop]
|
|
45
|
+
|
|
46
|
+
rules:
|
|
47
|
+
- id: no-direct-main-commits
|
|
48
|
+
trigger: 提交程式碼時
|
|
49
|
+
instruction: 永不直接提交到 main;使用 release 或 hotfix 分支
|
|
50
|
+
priority: required
|
|
51
|
+
|
|
52
|
+
- id: feature-from-develop
|
|
53
|
+
trigger: 開始新功能時
|
|
54
|
+
instruction: 從 develop 建立功能分支
|
|
55
|
+
priority: required
|
|
56
|
+
|
|
57
|
+
- id: release-freeze
|
|
58
|
+
trigger: 建立發布分支時
|
|
59
|
+
instruction: 發布分支只允許錯誤修正,不加新功能
|
|
60
|
+
priority: required
|
|
61
|
+
|
|
62
|
+
- id: hotfix-dual-merge
|
|
63
|
+
trigger: 完成 hotfix 時
|
|
64
|
+
instruction: 合併 hotfix 到 main 和 develop
|
|
65
|
+
priority: required
|
|
66
|
+
|
|
67
|
+
workflow:
|
|
68
|
+
feature:
|
|
69
|
+
- step: 建立功能分支
|
|
70
|
+
commands:
|
|
71
|
+
- git checkout develop
|
|
72
|
+
- git pull origin develop
|
|
73
|
+
- git checkout -b feature/{功能名稱}
|
|
74
|
+
|
|
75
|
+
- step: 開發功能
|
|
76
|
+
commands:
|
|
77
|
+
- "# 進行變更..."
|
|
78
|
+
- git add .
|
|
79
|
+
- git commit -m "feat: {描述}"
|
|
80
|
+
|
|
81
|
+
- step: 合併到 develop
|
|
82
|
+
commands:
|
|
83
|
+
- git checkout develop
|
|
84
|
+
- git merge --no-ff feature/{功能名稱}
|
|
85
|
+
- git branch -d feature/{功能名稱}
|
|
86
|
+
|
|
87
|
+
release:
|
|
88
|
+
- step: 建立發布分支
|
|
89
|
+
commands:
|
|
90
|
+
- git checkout develop
|
|
91
|
+
- git checkout -b release/v{版本}
|
|
92
|
+
|
|
93
|
+
- step: 準備發布
|
|
94
|
+
commands:
|
|
95
|
+
- "# 更新版本號"
|
|
96
|
+
- "# 更新 CHANGELOG"
|
|
97
|
+
- "# 最終測試和錯誤修正"
|
|
98
|
+
|
|
99
|
+
- step: 完成發布
|
|
100
|
+
commands:
|
|
101
|
+
- git checkout main
|
|
102
|
+
- git merge --no-ff release/v{版本}
|
|
103
|
+
- git tag -a v{版本} -m "Release v{版本}"
|
|
104
|
+
- git checkout develop
|
|
105
|
+
- git merge --no-ff release/v{版本}
|
|
106
|
+
- git branch -d release/v{版本}
|
|
107
|
+
|
|
108
|
+
hotfix:
|
|
109
|
+
- step: 建立 hotfix 分支
|
|
110
|
+
commands:
|
|
111
|
+
- git checkout main
|
|
112
|
+
- git checkout -b hotfix/{問題}
|
|
113
|
+
|
|
114
|
+
- step: 修正並完成
|
|
115
|
+
commands:
|
|
116
|
+
- "# 修正問題"
|
|
117
|
+
- git commit -m "fix: {描述}"
|
|
118
|
+
- git checkout main
|
|
119
|
+
- git merge --no-ff hotfix/{問題}
|
|
120
|
+
- git tag -a v{版本}
|
|
121
|
+
- git checkout develop
|
|
122
|
+
- git merge --no-ff hotfix/{問題}
|
|
123
|
+
- git branch -d hotfix/{問題}
|
|
124
|
+
|
|
125
|
+
quick_reference:
|
|
126
|
+
branches:
|
|
127
|
+
columns: [分支, 用途, 來源, 合併到]
|
|
128
|
+
rows:
|
|
129
|
+
- [main, 正式發布, -, -]
|
|
130
|
+
- [develop, 整合, main, -]
|
|
131
|
+
- [feature/*, 新功能, develop, develop]
|
|
132
|
+
- [release/*, 發布準備, develop, "main, develop"]
|
|
133
|
+
- [hotfix/*, 緊急修正, main, "main, develop"]
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# GitHub Flow - AI 優化選項
|
|
2
|
+
# 父項: git-workflow
|
|
3
|
+
|
|
4
|
+
id: github-flow
|
|
5
|
+
meta:
|
|
6
|
+
parent: git-workflow
|
|
7
|
+
version: "1.0.0"
|
|
8
|
+
description: 簡單的持續部署工作流程
|
|
9
|
+
language: zh-TW
|
|
10
|
+
|
|
11
|
+
best_for:
|
|
12
|
+
- 持續部署
|
|
13
|
+
- 網頁應用程式
|
|
14
|
+
- 小到中型團隊 (5-15 人)
|
|
15
|
+
|
|
16
|
+
branches:
|
|
17
|
+
- name: main
|
|
18
|
+
purpose: 永遠可部署的正式程式碼
|
|
19
|
+
lifetime: 永久
|
|
20
|
+
|
|
21
|
+
- name: feature/*
|
|
22
|
+
purpose: 新功能或修正
|
|
23
|
+
lifetime: 短期(通常 1-3 天)
|
|
24
|
+
base: main
|
|
25
|
+
merge_to: main
|
|
26
|
+
|
|
27
|
+
rules:
|
|
28
|
+
- id: main-always-deployable
|
|
29
|
+
trigger: 合併到 main 時
|
|
30
|
+
instruction: 確保所有測試在合併前通過
|
|
31
|
+
priority: required
|
|
32
|
+
|
|
33
|
+
- id: short-lived-branches
|
|
34
|
+
trigger: 建立功能分支時
|
|
35
|
+
instruction: 保持分支短期(理想狀況少於 3 天)
|
|
36
|
+
priority: recommended
|
|
37
|
+
|
|
38
|
+
- id: pr-required
|
|
39
|
+
trigger: 合併變更時
|
|
40
|
+
instruction: 透過 Pull Request 合併所有變更
|
|
41
|
+
priority: required
|
|
42
|
+
|
|
43
|
+
workflow:
|
|
44
|
+
- step: 建立分支
|
|
45
|
+
description: 從 main 建立功能分支
|
|
46
|
+
commands:
|
|
47
|
+
- git checkout main
|
|
48
|
+
- git pull origin main
|
|
49
|
+
- git checkout -b feature/{功能名稱}
|
|
50
|
+
|
|
51
|
+
- step: 進行變更
|
|
52
|
+
description: 開發並在本地測試
|
|
53
|
+
commands:
|
|
54
|
+
- "# 進行變更..."
|
|
55
|
+
- git add .
|
|
56
|
+
- git commit -m "feat: {描述}"
|
|
57
|
+
|
|
58
|
+
- step: 推送並建立 PR
|
|
59
|
+
description: 推送到遠端並開啟 Pull Request
|
|
60
|
+
commands:
|
|
61
|
+
- git push -u origin feature/{功能名稱}
|
|
62
|
+
- "# 在 GitHub/GitLab 上建立 Pull Request"
|
|
63
|
+
|
|
64
|
+
- step: 審查與合併
|
|
65
|
+
description: 取得審查並合併
|
|
66
|
+
commands:
|
|
67
|
+
- "# 取得程式碼審查"
|
|
68
|
+
- "# 通過 CI 後合併"
|
|
69
|
+
|
|
70
|
+
- step: 部署
|
|
71
|
+
description: 自動或手動部署到正式環境
|
|
72
|
+
commands:
|
|
73
|
+
- "# 從 main 自動部署"
|