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-CN
|
|
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-CN
|
|
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-CN
|
|
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-CN
|
|
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-CN
|
|
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-CN
|
|
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 自动部署"
|