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.
Files changed (433) hide show
  1. package/bin/uds.js +2 -0
  2. package/bundled/core/ai-instruction-standards.md +205 -0
  3. package/bundled/core/anti-hallucination.md +684 -0
  4. package/bundled/core/changelog-standards.md +556 -0
  5. package/bundled/core/checkin-standards.md +935 -0
  6. package/bundled/core/code-review-checklist.md +684 -0
  7. package/bundled/core/commit-message-guide.md +915 -0
  8. package/bundled/core/documentation-structure.md +1117 -0
  9. package/bundled/core/documentation-writing-standards.md +487 -0
  10. package/bundled/core/error-code-standards.md +382 -0
  11. package/bundled/core/git-workflow.md +859 -0
  12. package/bundled/core/logging-standards.md +323 -0
  13. package/bundled/core/project-structure.md +354 -0
  14. package/bundled/core/refactoring-standards.md +636 -0
  15. package/bundled/core/spec-driven-development.md +207 -0
  16. package/bundled/core/test-completeness-dimensions.md +536 -0
  17. package/bundled/core/test-driven-development.md +995 -0
  18. package/bundled/core/testing-standards.md +3061 -0
  19. package/bundled/core/versioning.md +902 -0
  20. package/bundled/locales/README.md +88 -0
  21. package/bundled/locales/zh-CN/CHANGELOG.md +705 -0
  22. package/bundled/locales/zh-CN/CLAUDE.md +213 -0
  23. package/bundled/locales/zh-CN/MAINTENANCE.md +689 -0
  24. package/bundled/locales/zh-CN/README.md +707 -0
  25. package/bundled/locales/zh-CN/STANDARDS-MAPPING.md +177 -0
  26. package/bundled/locales/zh-CN/adoption/ADOPTION-GUIDE.md +392 -0
  27. package/bundled/locales/zh-CN/adoption/STATIC-DYNAMIC-GUIDE.md +302 -0
  28. package/bundled/locales/zh-CN/adoption/checklists/enterprise.md +332 -0
  29. package/bundled/locales/zh-CN/adoption/checklists/minimal.md +141 -0
  30. package/bundled/locales/zh-CN/adoption/checklists/recommended.md +272 -0
  31. package/bundled/locales/zh-CN/ai/MAINTENANCE.md +739 -0
  32. package/bundled/locales/zh-CN/ai/options/changelog/auto-generated.ai.yaml +76 -0
  33. package/bundled/locales/zh-CN/ai/options/changelog/keep-a-changelog.ai.yaml +99 -0
  34. package/bundled/locales/zh-CN/ai/options/code-review/automated-review.ai.yaml +120 -0
  35. package/bundled/locales/zh-CN/ai/options/code-review/pair-programming.ai.yaml +109 -0
  36. package/bundled/locales/zh-CN/ai/options/code-review/pr-review.ai.yaml +104 -0
  37. package/bundled/locales/zh-CN/ai/options/commit-message/bilingual.ai.yaml +105 -0
  38. package/bundled/locales/zh-CN/ai/options/commit-message/english.ai.yaml +79 -0
  39. package/bundled/locales/zh-CN/ai/options/commit-message/traditional-chinese.ai.yaml +100 -0
  40. package/bundled/locales/zh-CN/ai/options/documentation/api-docs.ai.yaml +140 -0
  41. package/bundled/locales/zh-CN/ai/options/documentation/markdown-docs.ai.yaml +89 -0
  42. package/bundled/locales/zh-CN/ai/options/documentation/wiki-style.ai.yaml +119 -0
  43. package/bundled/locales/zh-CN/ai/options/git-workflow/gitflow.ai.yaml +133 -0
  44. package/bundled/locales/zh-CN/ai/options/git-workflow/github-flow.ai.yaml +73 -0
  45. package/bundled/locales/zh-CN/ai/options/git-workflow/merge-commit.ai.yaml +88 -0
  46. package/bundled/locales/zh-CN/ai/options/git-workflow/rebase-ff.ai.yaml +113 -0
  47. package/bundled/locales/zh-CN/ai/options/git-workflow/squash-merge.ai.yaml +85 -0
  48. package/bundled/locales/zh-CN/ai/options/git-workflow/trunk-based.ai.yaml +117 -0
  49. package/bundled/locales/zh-CN/ai/options/project-structure/dotnet.ai.yaml +108 -0
  50. package/bundled/locales/zh-CN/ai/options/project-structure/go.ai.yaml +115 -0
  51. package/bundled/locales/zh-CN/ai/options/project-structure/java.ai.yaml +113 -0
  52. package/bundled/locales/zh-CN/ai/options/project-structure/kotlin.ai.yaml +123 -0
  53. package/bundled/locales/zh-CN/ai/options/project-structure/nodejs.ai.yaml +101 -0
  54. package/bundled/locales/zh-CN/ai/options/project-structure/php.ai.yaml +147 -0
  55. package/bundled/locales/zh-CN/ai/options/project-structure/python.ai.yaml +116 -0
  56. package/bundled/locales/zh-CN/ai/options/project-structure/ruby.ai.yaml +140 -0
  57. package/bundled/locales/zh-CN/ai/options/project-structure/rust.ai.yaml +117 -0
  58. package/bundled/locales/zh-CN/ai/options/project-structure/swift.ai.yaml +143 -0
  59. package/bundled/locales/zh-CN/ai/options/testing/contract-testing.ai.yaml +254 -0
  60. package/bundled/locales/zh-CN/ai/options/testing/e2e-testing.ai.yaml +116 -0
  61. package/bundled/locales/zh-CN/ai/options/testing/industry-pyramid.ai.yaml +144 -0
  62. package/bundled/locales/zh-CN/ai/options/testing/integration-testing.ai.yaml +90 -0
  63. package/bundled/locales/zh-CN/ai/options/testing/istqb-framework.ai.yaml +108 -0
  64. package/bundled/locales/zh-CN/ai/options/testing/performance-testing.ai.yaml +272 -0
  65. package/bundled/locales/zh-CN/ai/options/testing/security-testing.ai.yaml +160 -0
  66. package/bundled/locales/zh-CN/ai/options/testing/system-testing.ai.yaml +101 -0
  67. package/bundled/locales/zh-CN/ai/options/testing/unit-testing.ai.yaml +82 -0
  68. package/bundled/locales/zh-CN/ai/standards/anti-hallucination.ai.yaml +145 -0
  69. package/bundled/locales/zh-CN/ai/standards/changelog.ai.yaml +146 -0
  70. package/bundled/locales/zh-CN/ai/standards/checkin-standards.ai.yaml +170 -0
  71. package/bundled/locales/zh-CN/ai/standards/code-review.ai.yaml +148 -0
  72. package/bundled/locales/zh-CN/ai/standards/commit-message.ai.yaml +175 -0
  73. package/bundled/locales/zh-CN/ai/standards/documentation-structure.ai.yaml +124 -0
  74. package/bundled/locales/zh-CN/ai/standards/documentation-writing-standards.ai.yaml +190 -0
  75. package/bundled/locales/zh-CN/ai/standards/error-codes.ai.yaml +139 -0
  76. package/bundled/locales/zh-CN/ai/standards/git-workflow.ai.yaml +95 -0
  77. package/bundled/locales/zh-CN/ai/standards/logging.ai.yaml +128 -0
  78. package/bundled/locales/zh-CN/ai/standards/project-structure.ai.yaml +134 -0
  79. package/bundled/locales/zh-CN/ai/standards/spec-driven-development.ai.yaml +169 -0
  80. package/bundled/locales/zh-CN/ai/standards/test-completeness-dimensions.ai.yaml +220 -0
  81. package/bundled/locales/zh-CN/ai/standards/testing.ai.yaml +137 -0
  82. package/bundled/locales/zh-CN/ai/standards/versioning.ai.yaml +211 -0
  83. package/bundled/locales/zh-CN/core/ai-instruction-standards.md +213 -0
  84. package/bundled/locales/zh-CN/core/anti-hallucination.md +691 -0
  85. package/bundled/locales/zh-CN/core/changelog-standards.md +147 -0
  86. package/bundled/locales/zh-CN/core/checkin-standards.md +943 -0
  87. package/bundled/locales/zh-CN/core/code-review-guide.md +693 -0
  88. package/bundled/locales/zh-CN/core/commit-message-guide.md +129 -0
  89. package/bundled/locales/zh-CN/core/documentation-structure.md +173 -0
  90. package/bundled/locales/zh-CN/core/documentation-writing-standards.md +495 -0
  91. package/bundled/locales/zh-CN/core/error-code-standards.md +180 -0
  92. package/bundled/locales/zh-CN/core/git-workflow.md +193 -0
  93. package/bundled/locales/zh-CN/core/logging-standards.md +174 -0
  94. package/bundled/locales/zh-CN/core/project-structure.md +184 -0
  95. package/bundled/locales/zh-CN/core/refactoring-standards.md +642 -0
  96. package/bundled/locales/zh-CN/core/spec-driven-development.md +215 -0
  97. package/bundled/locales/zh-CN/core/test-completeness-dimensions.md +544 -0
  98. package/bundled/locales/zh-CN/core/test-driven-development.md +1002 -0
  99. package/bundled/locales/zh-CN/core/testing-standards.md +170 -0
  100. package/bundled/locales/zh-CN/core/versioning.md +177 -0
  101. package/bundled/locales/zh-CN/docs/AI-AGENT-ROADMAP.md +303 -0
  102. package/bundled/locales/zh-CN/docs/CLI-INIT-OPTIONS.md +990 -0
  103. package/bundled/locales/zh-CN/docs/OPERATION-WORKFLOW.md +1064 -0
  104. package/bundled/locales/zh-CN/docs/USAGE-MODES-COMPARISON.md +333 -0
  105. package/bundled/locales/zh-CN/docs/WINDOWS-GUIDE.md +215 -0
  106. package/bundled/locales/zh-CN/integrations/codex/AGENTS.md +115 -0
  107. package/bundled/locales/zh-CN/integrations/codex/README.md +67 -0
  108. package/bundled/locales/zh-CN/integrations/gemini-cli/GEMINI.md +102 -0
  109. package/bundled/locales/zh-CN/integrations/gemini-cli/README.md +140 -0
  110. package/bundled/locales/zh-CN/integrations/github-copilot/COPILOT-CHAT-REFERENCE.md +269 -0
  111. package/bundled/locales/zh-CN/integrations/github-copilot/README.md +167 -0
  112. package/bundled/locales/zh-CN/integrations/github-copilot/copilot-instructions.md +263 -0
  113. package/bundled/locales/zh-CN/integrations/github-copilot/skills-mapping.md +192 -0
  114. package/bundled/locales/zh-CN/integrations/google-antigravity/INSTRUCTIONS.md +61 -0
  115. package/bundled/locales/zh-CN/integrations/google-antigravity/README.md +84 -0
  116. package/bundled/locales/zh-CN/integrations/opencode/AGENTS.md +111 -0
  117. package/bundled/locales/zh-CN/integrations/opencode/README.md +176 -0
  118. package/bundled/locales/zh-CN/integrations/opencode/skills-mapping.md +396 -0
  119. package/bundled/locales/zh-CN/integrations/openspec/AGENTS.md +301 -0
  120. package/bundled/locales/zh-CN/integrations/openspec/README.md +43 -0
  121. package/bundled/locales/zh-CN/integrations/spec-kit/AGENTS.md +184 -0
  122. package/bundled/locales/zh-CN/integrations/spec-kit/README.md +43 -0
  123. package/bundled/locales/zh-CN/options/commit-message/bilingual.md +161 -0
  124. package/bundled/locales/zh-CN/options/commit-message/english.md +137 -0
  125. package/bundled/locales/zh-CN/options/commit-message/traditional-chinese.md +162 -0
  126. package/bundled/locales/zh-CN/options/git-workflow/gitflow.md +147 -0
  127. package/bundled/locales/zh-CN/options/git-workflow/github-flow.md +124 -0
  128. package/bundled/locales/zh-CN/options/git-workflow/merge-commit.md +124 -0
  129. package/bundled/locales/zh-CN/options/git-workflow/rebase-ff.md +160 -0
  130. package/bundled/locales/zh-CN/options/git-workflow/squash-merge.md +117 -0
  131. package/bundled/locales/zh-CN/options/git-workflow/trunk-based.md +125 -0
  132. package/bundled/locales/zh-CN/options/project-structure/dotnet.md +183 -0
  133. package/bundled/locales/zh-CN/options/project-structure/go.md +226 -0
  134. package/bundled/locales/zh-CN/options/project-structure/java.md +213 -0
  135. package/bundled/locales/zh-CN/options/project-structure/nodejs.md +185 -0
  136. package/bundled/locales/zh-CN/options/project-structure/python.md +229 -0
  137. package/bundled/locales/zh-CN/options/testing/e2e-testing.md +207 -0
  138. package/bundled/locales/zh-CN/options/testing/integration-testing.md +230 -0
  139. package/bundled/locales/zh-CN/options/testing/system-testing.md +183 -0
  140. package/bundled/locales/zh-CN/options/testing/unit-testing.md +165 -0
  141. package/bundled/locales/zh-CN/skills/INTEGRATION-GUIDE.md +218 -0
  142. package/bundled/locales/zh-CN/skills/README.md +134 -0
  143. package/bundled/locales/zh-CN/skills/_shared/README.md +68 -0
  144. package/bundled/locales/zh-CN/skills/claude-code/CONTRIBUTING.template.md +151 -0
  145. package/bundled/locales/zh-CN/skills/claude-code/README.md +174 -0
  146. package/bundled/locales/zh-CN/skills/claude-code/ai-collaboration-standards/SKILL.md +175 -0
  147. package/bundled/locales/zh-CN/skills/claude-code/ai-collaboration-standards/anti-hallucination.md +223 -0
  148. package/bundled/locales/zh-CN/skills/claude-code/ai-collaboration-standards/certainty-labels.md +132 -0
  149. package/bundled/locales/zh-CN/skills/claude-code/changelog-guide/SKILL.md +237 -0
  150. package/bundled/locales/zh-CN/skills/claude-code/checkin-assistant/SKILL.md +407 -0
  151. package/bundled/locales/zh-CN/skills/claude-code/code-review-assistant/SKILL.md +154 -0
  152. package/bundled/locales/zh-CN/skills/claude-code/code-review-assistant/checkin-checklist.md +257 -0
  153. package/bundled/locales/zh-CN/skills/claude-code/code-review-assistant/review-checklist.md +246 -0
  154. package/bundled/locales/zh-CN/skills/claude-code/commands/bdd.md +142 -0
  155. package/bundled/locales/zh-CN/skills/claude-code/commands/methodology.md +274 -0
  156. package/bundled/locales/zh-CN/skills/claude-code/commit-standards/SKILL.md +191 -0
  157. package/bundled/locales/zh-CN/skills/claude-code/commit-standards/conventional-commits.md +264 -0
  158. package/bundled/locales/zh-CN/skills/claude-code/commit-standards/language-options.md +172 -0
  159. package/bundled/locales/zh-CN/skills/claude-code/documentation-guide/SKILL.md +421 -0
  160. package/bundled/locales/zh-CN/skills/claude-code/documentation-guide/documentation-structure.md +357 -0
  161. package/bundled/locales/zh-CN/skills/claude-code/documentation-guide/readme-template.md +412 -0
  162. package/bundled/locales/zh-CN/skills/claude-code/error-code-guide/SKILL.md +269 -0
  163. package/bundled/locales/zh-CN/skills/claude-code/git-workflow-guide/SKILL.md +218 -0
  164. package/bundled/locales/zh-CN/skills/claude-code/git-workflow-guide/branch-naming.md +220 -0
  165. package/bundled/locales/zh-CN/skills/claude-code/git-workflow-guide/git-workflow.md +321 -0
  166. package/bundled/locales/zh-CN/skills/claude-code/logging-guide/SKILL.md +285 -0
  167. package/bundled/locales/zh-CN/skills/claude-code/methodology-system/SKILL.md +131 -0
  168. package/bundled/locales/zh-CN/skills/claude-code/methodology-system/create-methodology.md +350 -0
  169. package/bundled/locales/zh-CN/skills/claude-code/methodology-system/runtime.md +279 -0
  170. package/bundled/locales/zh-CN/skills/claude-code/project-structure-guide/SKILL.md +143 -0
  171. package/bundled/locales/zh-CN/skills/claude-code/project-structure-guide/language-patterns.md +271 -0
  172. package/bundled/locales/zh-CN/skills/claude-code/refactoring-assistant/SKILL.md +162 -0
  173. package/bundled/locales/zh-CN/skills/claude-code/release-standards/SKILL.md +191 -0
  174. package/bundled/locales/zh-CN/skills/claude-code/release-standards/changelog-format.md +247 -0
  175. package/bundled/locales/zh-CN/skills/claude-code/release-standards/release-workflow.md +345 -0
  176. package/bundled/locales/zh-CN/skills/claude-code/release-standards/semantic-versioning.md +250 -0
  177. package/bundled/locales/zh-CN/skills/claude-code/requirement-assistant/SKILL.md +227 -0
  178. package/bundled/locales/zh-CN/skills/claude-code/requirement-assistant/requirement-checklist.md +325 -0
  179. package/bundled/locales/zh-CN/skills/claude-code/requirement-assistant/requirement-writing.md +399 -0
  180. package/bundled/locales/zh-CN/skills/claude-code/spec-driven-dev/SKILL.md +243 -0
  181. package/bundled/locales/zh-CN/skills/claude-code/tdd-assistant/SKILL.md +332 -0
  182. package/bundled/locales/zh-CN/skills/claude-code/tdd-assistant/language-examples.md +639 -0
  183. package/bundled/locales/zh-CN/skills/claude-code/tdd-assistant/tdd-workflow.md +486 -0
  184. package/bundled/locales/zh-CN/skills/claude-code/test-coverage-assistant/SKILL.md +282 -0
  185. package/bundled/locales/zh-CN/skills/claude-code/testing-guide/SKILL.md +234 -0
  186. package/bundled/locales/zh-CN/skills/claude-code/testing-guide/testing-pyramid.md +448 -0
  187. package/bundled/locales/zh-CN/skills/cline/README.md +58 -0
  188. package/bundled/locales/zh-CN/skills/copilot/README.md +61 -0
  189. package/bundled/locales/zh-CN/skills/copilot/copilot-instructions.md +79 -0
  190. package/bundled/locales/zh-CN/skills/cursor/README.md +58 -0
  191. package/bundled/locales/zh-CN/skills/windsurf/README.md +59 -0
  192. package/bundled/locales/zh-TW/CHANGELOG.md +707 -0
  193. package/bundled/locales/zh-TW/CLAUDE.md +213 -0
  194. package/bundled/locales/zh-TW/MAINTENANCE.md +683 -0
  195. package/bundled/locales/zh-TW/README.md +687 -0
  196. package/bundled/locales/zh-TW/STANDARDS-MAPPING.md +177 -0
  197. package/bundled/locales/zh-TW/adoption/ADOPTION-GUIDE.md +392 -0
  198. package/bundled/locales/zh-TW/adoption/STATIC-DYNAMIC-GUIDE.md +299 -0
  199. package/bundled/locales/zh-TW/adoption/checklists/enterprise.md +332 -0
  200. package/bundled/locales/zh-TW/adoption/checklists/minimal.md +141 -0
  201. package/bundled/locales/zh-TW/adoption/checklists/recommended.md +272 -0
  202. package/bundled/locales/zh-TW/ai/MAINTENANCE.md +754 -0
  203. package/bundled/locales/zh-TW/ai/options/changelog/auto-generated.ai.yaml +76 -0
  204. package/bundled/locales/zh-TW/ai/options/changelog/keep-a-changelog.ai.yaml +99 -0
  205. package/bundled/locales/zh-TW/ai/options/code-review/automated-review.ai.yaml +120 -0
  206. package/bundled/locales/zh-TW/ai/options/code-review/pair-programming.ai.yaml +109 -0
  207. package/bundled/locales/zh-TW/ai/options/code-review/pr-review.ai.yaml +104 -0
  208. package/bundled/locales/zh-TW/ai/options/commit-message/bilingual.ai.yaml +105 -0
  209. package/bundled/locales/zh-TW/ai/options/commit-message/english.ai.yaml +79 -0
  210. package/bundled/locales/zh-TW/ai/options/commit-message/traditional-chinese.ai.yaml +100 -0
  211. package/bundled/locales/zh-TW/ai/options/documentation/api-docs.ai.yaml +140 -0
  212. package/bundled/locales/zh-TW/ai/options/documentation/markdown-docs.ai.yaml +89 -0
  213. package/bundled/locales/zh-TW/ai/options/documentation/wiki-style.ai.yaml +119 -0
  214. package/bundled/locales/zh-TW/ai/options/git-workflow/gitflow.ai.yaml +133 -0
  215. package/bundled/locales/zh-TW/ai/options/git-workflow/github-flow.ai.yaml +73 -0
  216. package/bundled/locales/zh-TW/ai/options/git-workflow/merge-commit.ai.yaml +88 -0
  217. package/bundled/locales/zh-TW/ai/options/git-workflow/rebase-ff.ai.yaml +113 -0
  218. package/bundled/locales/zh-TW/ai/options/git-workflow/squash-merge.ai.yaml +85 -0
  219. package/bundled/locales/zh-TW/ai/options/git-workflow/trunk-based.ai.yaml +117 -0
  220. package/bundled/locales/zh-TW/ai/options/project-structure/dotnet.ai.yaml +108 -0
  221. package/bundled/locales/zh-TW/ai/options/project-structure/go.ai.yaml +115 -0
  222. package/bundled/locales/zh-TW/ai/options/project-structure/java.ai.yaml +113 -0
  223. package/bundled/locales/zh-TW/ai/options/project-structure/kotlin.ai.yaml +123 -0
  224. package/bundled/locales/zh-TW/ai/options/project-structure/nodejs.ai.yaml +101 -0
  225. package/bundled/locales/zh-TW/ai/options/project-structure/php.ai.yaml +147 -0
  226. package/bundled/locales/zh-TW/ai/options/project-structure/python.ai.yaml +116 -0
  227. package/bundled/locales/zh-TW/ai/options/project-structure/ruby.ai.yaml +140 -0
  228. package/bundled/locales/zh-TW/ai/options/project-structure/rust.ai.yaml +117 -0
  229. package/bundled/locales/zh-TW/ai/options/project-structure/swift.ai.yaml +143 -0
  230. package/bundled/locales/zh-TW/ai/options/testing/contract-testing.ai.yaml +254 -0
  231. package/bundled/locales/zh-TW/ai/options/testing/e2e-testing.ai.yaml +116 -0
  232. package/bundled/locales/zh-TW/ai/options/testing/industry-pyramid.ai.yaml +144 -0
  233. package/bundled/locales/zh-TW/ai/options/testing/integration-testing.ai.yaml +90 -0
  234. package/bundled/locales/zh-TW/ai/options/testing/istqb-framework.ai.yaml +108 -0
  235. package/bundled/locales/zh-TW/ai/options/testing/performance-testing.ai.yaml +272 -0
  236. package/bundled/locales/zh-TW/ai/options/testing/security-testing.ai.yaml +160 -0
  237. package/bundled/locales/zh-TW/ai/options/testing/system-testing.ai.yaml +101 -0
  238. package/bundled/locales/zh-TW/ai/options/testing/unit-testing.ai.yaml +82 -0
  239. package/bundled/locales/zh-TW/ai/standards/anti-hallucination.ai.yaml +145 -0
  240. package/bundled/locales/zh-TW/ai/standards/changelog.ai.yaml +146 -0
  241. package/bundled/locales/zh-TW/ai/standards/checkin-standards.ai.yaml +170 -0
  242. package/bundled/locales/zh-TW/ai/standards/code-review.ai.yaml +148 -0
  243. package/bundled/locales/zh-TW/ai/standards/commit-message.ai.yaml +175 -0
  244. package/bundled/locales/zh-TW/ai/standards/documentation-structure.ai.yaml +124 -0
  245. package/bundled/locales/zh-TW/ai/standards/documentation-writing-standards.ai.yaml +190 -0
  246. package/bundled/locales/zh-TW/ai/standards/error-codes.ai.yaml +139 -0
  247. package/bundled/locales/zh-TW/ai/standards/git-workflow.ai.yaml +95 -0
  248. package/bundled/locales/zh-TW/ai/standards/logging.ai.yaml +128 -0
  249. package/bundled/locales/zh-TW/ai/standards/project-structure.ai.yaml +134 -0
  250. package/bundled/locales/zh-TW/ai/standards/spec-driven-development.ai.yaml +169 -0
  251. package/bundled/locales/zh-TW/ai/standards/test-completeness-dimensions.ai.yaml +220 -0
  252. package/bundled/locales/zh-TW/ai/standards/testing.ai.yaml +137 -0
  253. package/bundled/locales/zh-TW/ai/standards/versioning.ai.yaml +211 -0
  254. package/bundled/locales/zh-TW/core/ai-instruction-standards.md +213 -0
  255. package/bundled/locales/zh-TW/core/anti-hallucination.md +691 -0
  256. package/bundled/locales/zh-TW/core/changelog-standards.md +564 -0
  257. package/bundled/locales/zh-TW/core/checkin-standards.md +943 -0
  258. package/bundled/locales/zh-TW/core/code-review-checklist.md +693 -0
  259. package/bundled/locales/zh-TW/core/commit-message-guide.md +809 -0
  260. package/bundled/locales/zh-TW/core/documentation-structure.md +1125 -0
  261. package/bundled/locales/zh-TW/core/documentation-writing-standards.md +495 -0
  262. package/bundled/locales/zh-TW/core/error-code-standards.md +384 -0
  263. package/bundled/locales/zh-TW/core/git-workflow.md +860 -0
  264. package/bundled/locales/zh-TW/core/logging-standards.md +325 -0
  265. package/bundled/locales/zh-TW/core/project-structure.md +362 -0
  266. package/bundled/locales/zh-TW/core/refactoring-standards.md +642 -0
  267. package/bundled/locales/zh-TW/core/spec-driven-development.md +215 -0
  268. package/bundled/locales/zh-TW/core/test-completeness-dimensions.md +544 -0
  269. package/bundled/locales/zh-TW/core/test-driven-development.md +1004 -0
  270. package/bundled/locales/zh-TW/core/testing-standards.md +2158 -0
  271. package/bundled/locales/zh-TW/core/versioning.md +909 -0
  272. package/bundled/locales/zh-TW/docs/AI-AGENT-ROADMAP.md +303 -0
  273. package/bundled/locales/zh-TW/docs/CLI-INIT-OPTIONS.md +990 -0
  274. package/bundled/locales/zh-TW/docs/OPERATION-WORKFLOW.md +1064 -0
  275. package/bundled/locales/zh-TW/docs/USAGE-MODES-COMPARISON.md +333 -0
  276. package/bundled/locales/zh-TW/docs/WINDOWS-GUIDE.md +215 -0
  277. package/bundled/locales/zh-TW/integrations/codex/AGENTS.md +115 -0
  278. package/bundled/locales/zh-TW/integrations/codex/README.md +113 -0
  279. package/bundled/locales/zh-TW/integrations/gemini-cli/GEMINI.md +102 -0
  280. package/bundled/locales/zh-TW/integrations/gemini-cli/README.md +140 -0
  281. package/bundled/locales/zh-TW/integrations/github-copilot/COPILOT-CHAT-REFERENCE.md +269 -0
  282. package/bundled/locales/zh-TW/integrations/github-copilot/README.md +167 -0
  283. package/bundled/locales/zh-TW/integrations/github-copilot/copilot-instructions.md +263 -0
  284. package/bundled/locales/zh-TW/integrations/github-copilot/skills-mapping.md +192 -0
  285. package/bundled/locales/zh-TW/integrations/google-antigravity/INSTRUCTIONS.md +61 -0
  286. package/bundled/locales/zh-TW/integrations/google-antigravity/README.md +84 -0
  287. package/bundled/locales/zh-TW/integrations/opencode/AGENTS.md +111 -0
  288. package/bundled/locales/zh-TW/integrations/opencode/README.md +176 -0
  289. package/bundled/locales/zh-TW/integrations/opencode/skills-mapping.md +396 -0
  290. package/bundled/locales/zh-TW/integrations/openspec/AGENTS.md +301 -0
  291. package/bundled/locales/zh-TW/integrations/openspec/README.md +43 -0
  292. package/bundled/locales/zh-TW/integrations/spec-kit/AGENTS.md +184 -0
  293. package/bundled/locales/zh-TW/integrations/spec-kit/README.md +43 -0
  294. package/bundled/locales/zh-TW/options/commit-message/bilingual.md +161 -0
  295. package/bundled/locales/zh-TW/options/commit-message/english.md +137 -0
  296. package/bundled/locales/zh-TW/options/commit-message/traditional-chinese.md +162 -0
  297. package/bundled/locales/zh-TW/options/git-workflow/gitflow.md +147 -0
  298. package/bundled/locales/zh-TW/options/git-workflow/github-flow.md +124 -0
  299. package/bundled/locales/zh-TW/options/git-workflow/merge-commit.md +124 -0
  300. package/bundled/locales/zh-TW/options/git-workflow/rebase-ff.md +160 -0
  301. package/bundled/locales/zh-TW/options/git-workflow/squash-merge.md +117 -0
  302. package/bundled/locales/zh-TW/options/git-workflow/trunk-based.md +125 -0
  303. package/bundled/locales/zh-TW/options/project-structure/dotnet.md +183 -0
  304. package/bundled/locales/zh-TW/options/project-structure/go.md +226 -0
  305. package/bundled/locales/zh-TW/options/project-structure/java.md +213 -0
  306. package/bundled/locales/zh-TW/options/project-structure/nodejs.md +185 -0
  307. package/bundled/locales/zh-TW/options/project-structure/python.md +229 -0
  308. package/bundled/locales/zh-TW/options/testing/e2e-testing.md +207 -0
  309. package/bundled/locales/zh-TW/options/testing/integration-testing.md +230 -0
  310. package/bundled/locales/zh-TW/options/testing/system-testing.md +183 -0
  311. package/bundled/locales/zh-TW/options/testing/unit-testing.md +165 -0
  312. package/bundled/locales/zh-TW/skills/INTEGRATION-GUIDE.md +218 -0
  313. package/bundled/locales/zh-TW/skills/README.md +132 -0
  314. package/bundled/locales/zh-TW/skills/_shared/README.md +68 -0
  315. package/bundled/locales/zh-TW/skills/claude-code/CONTRIBUTING.template.md +151 -0
  316. package/bundled/locales/zh-TW/skills/claude-code/README.md +174 -0
  317. package/bundled/locales/zh-TW/skills/claude-code/ai-collaboration-standards/SKILL.md +175 -0
  318. package/bundled/locales/zh-TW/skills/claude-code/ai-collaboration-standards/anti-hallucination.md +223 -0
  319. package/bundled/locales/zh-TW/skills/claude-code/ai-collaboration-standards/certainty-labels.md +132 -0
  320. package/bundled/locales/zh-TW/skills/claude-code/changelog-guide/SKILL.md +237 -0
  321. package/bundled/locales/zh-TW/skills/claude-code/checkin-assistant/SKILL.md +407 -0
  322. package/bundled/locales/zh-TW/skills/claude-code/code-review-assistant/SKILL.md +154 -0
  323. package/bundled/locales/zh-TW/skills/claude-code/code-review-assistant/checkin-checklist.md +257 -0
  324. package/bundled/locales/zh-TW/skills/claude-code/code-review-assistant/review-checklist.md +246 -0
  325. package/bundled/locales/zh-TW/skills/claude-code/commands/bdd.md +142 -0
  326. package/bundled/locales/zh-TW/skills/claude-code/commands/methodology.md +274 -0
  327. package/bundled/locales/zh-TW/skills/claude-code/commit-standards/SKILL.md +191 -0
  328. package/bundled/locales/zh-TW/skills/claude-code/commit-standards/conventional-commits.md +264 -0
  329. package/bundled/locales/zh-TW/skills/claude-code/commit-standards/language-options.md +172 -0
  330. package/bundled/locales/zh-TW/skills/claude-code/documentation-guide/SKILL.md +421 -0
  331. package/bundled/locales/zh-TW/skills/claude-code/documentation-guide/documentation-structure.md +357 -0
  332. package/bundled/locales/zh-TW/skills/claude-code/documentation-guide/readme-template.md +412 -0
  333. package/bundled/locales/zh-TW/skills/claude-code/error-code-guide/SKILL.md +269 -0
  334. package/bundled/locales/zh-TW/skills/claude-code/git-workflow-guide/SKILL.md +218 -0
  335. package/bundled/locales/zh-TW/skills/claude-code/git-workflow-guide/branch-naming.md +220 -0
  336. package/bundled/locales/zh-TW/skills/claude-code/git-workflow-guide/git-workflow.md +321 -0
  337. package/bundled/locales/zh-TW/skills/claude-code/logging-guide/SKILL.md +285 -0
  338. package/bundled/locales/zh-TW/skills/claude-code/methodology-system/SKILL.md +131 -0
  339. package/bundled/locales/zh-TW/skills/claude-code/methodology-system/create-methodology.md +350 -0
  340. package/bundled/locales/zh-TW/skills/claude-code/methodology-system/runtime.md +279 -0
  341. package/bundled/locales/zh-TW/skills/claude-code/project-structure-guide/SKILL.md +143 -0
  342. package/bundled/locales/zh-TW/skills/claude-code/project-structure-guide/language-patterns.md +271 -0
  343. package/bundled/locales/zh-TW/skills/claude-code/refactoring-assistant/SKILL.md +162 -0
  344. package/bundled/locales/zh-TW/skills/claude-code/release-standards/SKILL.md +191 -0
  345. package/bundled/locales/zh-TW/skills/claude-code/release-standards/changelog-format.md +247 -0
  346. package/bundled/locales/zh-TW/skills/claude-code/release-standards/release-workflow.md +345 -0
  347. package/bundled/locales/zh-TW/skills/claude-code/release-standards/semantic-versioning.md +250 -0
  348. package/bundled/locales/zh-TW/skills/claude-code/requirement-assistant/SKILL.md +227 -0
  349. package/bundled/locales/zh-TW/skills/claude-code/requirement-assistant/requirement-checklist.md +325 -0
  350. package/bundled/locales/zh-TW/skills/claude-code/requirement-assistant/requirement-writing.md +399 -0
  351. package/bundled/locales/zh-TW/skills/claude-code/spec-driven-dev/SKILL.md +243 -0
  352. package/bundled/locales/zh-TW/skills/claude-code/tdd-assistant/SKILL.md +332 -0
  353. package/bundled/locales/zh-TW/skills/claude-code/tdd-assistant/language-examples.md +639 -0
  354. package/bundled/locales/zh-TW/skills/claude-code/tdd-assistant/tdd-workflow.md +486 -0
  355. package/bundled/locales/zh-TW/skills/claude-code/test-coverage-assistant/SKILL.md +282 -0
  356. package/bundled/locales/zh-TW/skills/claude-code/testing-guide/SKILL.md +234 -0
  357. package/bundled/locales/zh-TW/skills/claude-code/testing-guide/testing-pyramid.md +448 -0
  358. package/bundled/locales/zh-TW/skills/cline/README.md +58 -0
  359. package/bundled/locales/zh-TW/skills/copilot/README.md +61 -0
  360. package/bundled/locales/zh-TW/skills/copilot/copilot-instructions.md +79 -0
  361. package/bundled/locales/zh-TW/skills/cursor/README.md +58 -0
  362. package/bundled/locales/zh-TW/skills/windsurf/README.md +59 -0
  363. package/bundled/skills/claude-code/CONTRIBUTING.template.md +141 -0
  364. package/bundled/skills/claude-code/README.md +196 -0
  365. package/bundled/skills/claude-code/ai/standards/checkin.ai.yaml +21 -0
  366. package/bundled/skills/claude-code/ai/standards/commit.ai.yaml +20 -0
  367. package/bundled/skills/claude-code/ai/standards/refactoring.ai.yaml +34 -0
  368. package/bundled/skills/claude-code/ai/standards/testing.ai.yaml +41 -0
  369. package/bundled/skills/claude-code/ai-collaboration-standards/SKILL.md +175 -0
  370. package/bundled/skills/claude-code/ai-collaboration-standards/anti-hallucination.md +215 -0
  371. package/bundled/skills/claude-code/ai-collaboration-standards/certainty-labels.md +124 -0
  372. package/bundled/skills/claude-code/changelog-guide/SKILL.md +232 -0
  373. package/bundled/skills/claude-code/checkin-assistant/SKILL.md +402 -0
  374. package/bundled/skills/claude-code/code-review-assistant/SKILL.md +220 -0
  375. package/bundled/skills/claude-code/code-review-assistant/checkin-checklist.md +249 -0
  376. package/bundled/skills/claude-code/code-review-assistant/review-checklist.md +238 -0
  377. package/bundled/skills/claude-code/commands/README.md +78 -0
  378. package/bundled/skills/claude-code/commands/bdd.md +142 -0
  379. package/bundled/skills/claude-code/commands/changelog.md +57 -0
  380. package/bundled/skills/claude-code/commands/check.md +91 -0
  381. package/bundled/skills/claude-code/commands/commit.md +48 -0
  382. package/bundled/skills/claude-code/commands/config.md +97 -0
  383. package/bundled/skills/claude-code/commands/coverage.md +58 -0
  384. package/bundled/skills/claude-code/commands/docs.md +75 -0
  385. package/bundled/skills/claude-code/commands/init.md +88 -0
  386. package/bundled/skills/claude-code/commands/methodology.md +268 -0
  387. package/bundled/skills/claude-code/commands/release.md +50 -0
  388. package/bundled/skills/claude-code/commands/requirement.md +54 -0
  389. package/bundled/skills/claude-code/commands/review.md +50 -0
  390. package/bundled/skills/claude-code/commands/spec.md +69 -0
  391. package/bundled/skills/claude-code/commands/tdd.md +86 -0
  392. package/bundled/skills/claude-code/commands/update.md +122 -0
  393. package/bundled/skills/claude-code/commit-standards/SKILL.md +249 -0
  394. package/bundled/skills/claude-code/commit-standards/conventional-commits.md +256 -0
  395. package/bundled/skills/claude-code/commit-standards/language-options.md +164 -0
  396. package/bundled/skills/claude-code/documentation-guide/SKILL.md +416 -0
  397. package/bundled/skills/claude-code/documentation-guide/documentation-structure.md +349 -0
  398. package/bundled/skills/claude-code/documentation-guide/readme-template.md +404 -0
  399. package/bundled/skills/claude-code/error-code-guide/SKILL.md +264 -0
  400. package/bundled/skills/claude-code/git-workflow-guide/SKILL.md +226 -0
  401. package/bundled/skills/claude-code/git-workflow-guide/branch-naming.md +212 -0
  402. package/bundled/skills/claude-code/git-workflow-guide/git-workflow.md +313 -0
  403. package/bundled/skills/claude-code/logging-guide/SKILL.md +280 -0
  404. package/bundled/skills/claude-code/methodology-system/SKILL.md +215 -0
  405. package/bundled/skills/claude-code/methodology-system/create-methodology.md +450 -0
  406. package/bundled/skills/claude-code/methodology-system/runtime.md +271 -0
  407. package/bundled/skills/claude-code/project-structure-guide/SKILL.md +143 -0
  408. package/bundled/skills/claude-code/project-structure-guide/language-patterns.md +263 -0
  409. package/bundled/skills/claude-code/refactoring-assistant/SKILL.md +205 -0
  410. package/bundled/skills/claude-code/release-standards/SKILL.md +191 -0
  411. package/bundled/skills/claude-code/release-standards/changelog-format.md +239 -0
  412. package/bundled/skills/claude-code/release-standards/release-workflow.md +337 -0
  413. package/bundled/skills/claude-code/release-standards/semantic-versioning.md +242 -0
  414. package/bundled/skills/claude-code/requirement-assistant/SKILL.md +222 -0
  415. package/bundled/skills/claude-code/requirement-assistant/requirement-checklist.md +317 -0
  416. package/bundled/skills/claude-code/requirement-assistant/requirement-writing.md +391 -0
  417. package/bundled/skills/claude-code/spec-driven-dev/SKILL.md +238 -0
  418. package/bundled/skills/claude-code/tdd-assistant/SKILL.md +384 -0
  419. package/bundled/skills/claude-code/tdd-assistant/language-examples.md +1276 -0
  420. package/bundled/skills/claude-code/tdd-assistant/tdd-workflow.md +659 -0
  421. package/bundled/skills/claude-code/test-coverage-assistant/SKILL.md +277 -0
  422. package/bundled/skills/claude-code/testing-guide/SKILL.md +317 -0
  423. package/bundled/skills/claude-code/testing-guide/testing-pyramid.md +440 -0
  424. package/package.json +4 -2
  425. package/src/commands/check.js +38 -6
  426. package/src/commands/init.js +20 -6
  427. package/src/commands/list.js +7 -2
  428. package/src/commands/skills.js +0 -2
  429. package/src/commands/update.js +271 -0
  430. package/src/i18n/messages.js +161 -11
  431. package/src/utils/copier.js +63 -10
  432. package/src/utils/skills-installer.js +47 -11
  433. package/standards-registry.json +6 -3
@@ -0,0 +1,990 @@
1
+ ---
2
+ source: ../../../docs/CLI-INIT-OPTIONS.md
3
+ source_version: 3.5.1
4
+ translation_version: 3.5.1
5
+ last_synced: 2026-01-15
6
+ status: current
7
+ ---
8
+
9
+ # UDS CLI Init 選項完整指南
10
+
11
+ > **語言**: [English](../../../docs/CLI-INIT-OPTIONS.md) | 繁體中文 | [简体中文](../../zh-CN/docs/CLI-INIT-OPTIONS.md)
12
+ >
13
+ > **版本**: 3.5.0
14
+ > **最後更新**: 2026-01-09
15
+
16
+ 本文件詳細說明 `uds init` 命令的每一個選項,包含使用情境、影響範圍和建議選擇。
17
+
18
+ ---
19
+
20
+ ## 目錄
21
+
22
+ 1. [AI 工具選擇](#1-ai-工具選擇)
23
+ 2. [Skills 安裝位置](#2-skills-安裝位置)
24
+ 3. [Standards Scope(標準範圍)](#3-standards-scope標準範圍)
25
+ 4. [Adoption Level(採用等級)](#4-adoption-level採用等級)
26
+ 5. [Format(標準格式)](#5-format標準格式)
27
+ 6. [Standard Options(標準選項)](#6-standard-options標準選項)
28
+ 7. [Extensions(擴展)](#7-extensions擴展)
29
+ 8. [Integration Configuration(整合配置)](#8-integration-configuration整合配置)
30
+ 9. [Content Mode(內容模式)](#9-content-mode內容模式)
31
+ 10. [Methodology(開發方法論)](#10-methodology開發方法論)
32
+ 11. [CLI 參數對照表](#11-cli-參數對照表)
33
+
34
+ ---
35
+
36
+ ## 1. AI 工具選擇
37
+
38
+ ### 互動式提示
39
+
40
+ ```
41
+ ? Which AI tools are you using?
42
+ ── Dynamic Skills ──
43
+ ❯ ◉ Claude Code (推薦) - Anthropic CLI with dynamic Skills
44
+ ── Static Rule Files ──
45
+ ◯ Cursor (.cursorrules)
46
+ ◯ Windsurf (.windsurfrules)
47
+ ◯ Cline (.clinerules)
48
+ ◯ GitHub Copilot (.github/copilot-instructions.md)
49
+ ◯ Google Antigravity (INSTRUCTIONS.md) - Gemini Agent
50
+ ── AGENTS.md Tools ──
51
+ ◯ OpenAI Codex (AGENTS.md) - OpenAI Codex CLI
52
+ ◯ OpenCode (AGENTS.md) - Open-source AI coding agent
53
+ ── Gemini Tools ──
54
+ ◯ Gemini CLI (GEMINI.md) - Google Gemini CLI
55
+ ──────────────
56
+ ◯ None / Skip
57
+ ```
58
+
59
+ ### 說明
60
+
61
+ 選擇你在專案中使用的 AI 編碼助手。CLI 會根據選擇生成對應的整合檔案。
62
+
63
+ ### 支援的工具
64
+
65
+ | 工具 | 生成檔案 | 格式 | 說明 |
66
+ |------|----------|------|------|
67
+ | **Claude Code** | `CLAUDE.md` | Markdown | Anthropic CLI,支援動態 Skills |
68
+ | **Cursor** | `.cursorrules` | Plaintext | Cursor IDE 規則檔 |
69
+ | **Windsurf** | `.windsurfrules` | Plaintext | Windsurf IDE 規則檔 |
70
+ | **Cline** | `.clinerules` | Plaintext | Cline 擴展規則檔 |
71
+ | **GitHub Copilot** | `.github/copilot-instructions.md` | Markdown | Copilot 自訂指示 |
72
+ | **Google Antigravity** | `INSTRUCTIONS.md` | Markdown | Gemini Agent 系統指令 |
73
+ | **OpenAI Codex** | `AGENTS.md` | Markdown | OpenAI Codex CLI |
74
+ | **OpenCode** | `AGENTS.md` | Markdown | 開源 AI 編碼 Agent(與 Codex 共用檔案) |
75
+ | **Gemini CLI** | `GEMINI.md` | Markdown | Google Gemini CLI |
76
+
77
+ ### 分類
78
+
79
+ ```
80
+ ── Dynamic Skills ──
81
+ Claude Code (推薦) - 支援動態 Skills 載入
82
+
83
+ ── Static Rule Files ──
84
+ Cursor, Windsurf, Cline, GitHub Copilot, Google Antigravity
85
+
86
+ ── AGENTS.md Tools ──
87
+ OpenAI Codex, OpenCode (共用 AGENTS.md)
88
+
89
+ ── Gemini Tools ──
90
+ Gemini CLI
91
+ ```
92
+
93
+ ### 使用情境
94
+
95
+ | 情境 | 建議選擇 |
96
+ |------|----------|
97
+ | 主要使用 Claude Code | 只選 Claude Code,可使用 minimal scope |
98
+ | 團隊成員使用不同工具 | 選擇所有團隊使用的工具 |
99
+ | 想要最完整的規則覆蓋 | 選擇 Claude Code + 其他工具 |
100
+
101
+ ### 注意事項
102
+
103
+ - **Codex + OpenCode**:兩者共用 `AGENTS.md`,只會生成一份檔案
104
+ - **只選 Claude Code**:會觸發 Skills 安裝位置提示
105
+ - **選擇多個工具**:會統一使用相同的整合配置
106
+
107
+ ---
108
+
109
+ ## 2. Skills 安裝位置
110
+
111
+ ### 互動式提示(多 Agent 選擇)
112
+
113
+ ```
114
+ ? Select AI agents to install Skills for:
115
+ ── Claude Code ──
116
+ ❯ ◉ Claude Code (Plugin Marketplace) - Auto-managed (Recommended)
117
+ ◯ Claude Code (User Level) - ~/.claude/skills/
118
+ ◯ Claude Code (Project Level) - .claude/skills/
119
+ ── OpenCode ──
120
+ ◯ OpenCode (User Level) - ~/.config/opencode/skill/
121
+ ◯ OpenCode (Project Level) - .opencode/skill/
122
+ ── Cline ──
123
+ ◯ Cline (User Level) - ~/.cline/skills/
124
+ ◯ Cline (Project Level) - .cline/skills/
125
+ ── 其他 Agents ──
126
+ ◯ Roo Code, Codex, Copilot, Windsurf, Gemini CLI...
127
+ ──────────────
128
+ ◯ Skip Skills Installation
129
+ ```
130
+
131
+ ### 說明
132
+
133
+ 選擇要安裝 Skills 的 AI agents。**v3.5.0 支援同時安裝 Skills 到多個 agents**。每個 agent 有自己的 skills 目錄路徑。
134
+
135
+ ### 選項
136
+
137
+ | Agent | User Level 路徑 | Project Level 路徑 | 備註 |
138
+ |-------|-----------------|-------------------|------|
139
+ | **Claude Code** | `~/.claude/skills/` | `.claude/skills/` | 也支援 Plugin Marketplace |
140
+ | **OpenCode** | `~/.config/opencode/skill/` | `.opencode/skill/` | 完整 SKILL.md 支援 |
141
+ | **Cline** | `~/.cline/skills/` | `.cline/skills/` | 使用 Claude skills 路徑 |
142
+ | **Roo Code** | `~/.roo/skills/` | `.roo/skills/` | 模式特定: `.roo/skills-{mode}/` |
143
+ | **OpenAI Codex** | `~/.codex/skills/` | `.codex/skills/` | 完整 SKILL.md 支援 |
144
+ | **GitHub Copilot** | `~/.copilot/skills/` | `.github/skills/` | 完整 SKILL.md 支援 |
145
+ | **Windsurf** | `~/.codeium/windsurf/skills/` | `.windsurf/skills/` | 2026/01 起支援 Skills |
146
+ | **Gemini CLI** | `~/.gemini/skills/` | `.gemini/skills/` | 預覽支援 |
147
+
148
+ > **注意**: Cursor 尚不支援 SKILL.md 格式(使用 `.mdc` rules 格式)。
149
+
150
+ ### 詳細說明
151
+
152
+ #### Plugin Marketplace (推薦)
153
+
154
+ ```bash
155
+ # 如果尚未安裝,執行:
156
+ /plugin marketplace add AsiaOstrich/universal-dev-standards
157
+ /plugin install universal-dev-standards@asia-ostrich
158
+ ```
159
+
160
+ **優點**:
161
+ - 自動更新到最新版本
162
+ - 無需手動管理
163
+ - 所有 15 個 Skills 一次安裝
164
+
165
+ **缺點**:
166
+ - 無法鎖定特定版本
167
+ - 需要網路連線
168
+
169
+ #### User Level
170
+
171
+ ```
172
+ ~/.claude/skills/
173
+ ├── universal-dev-standards/
174
+ │ ├── ai-collaboration-standards/
175
+ │ ├── commit-standards/
176
+ │ └── ...
177
+ ```
178
+
179
+ **優點**:
180
+ - 所有專案共用
181
+ - 可離線使用
182
+ - 可手動控制版本
183
+
184
+ **缺點**:
185
+ - 需要手動更新
186
+ - 不會隨專案版本控制
187
+
188
+ #### Project Level
189
+
190
+ ```
191
+ your-project/
192
+ ├── .claude/
193
+ │ └── skills/
194
+ │ └── universal-dev-standards/
195
+ │ ├── ai-collaboration-standards/
196
+ │ └── ...
197
+ ```
198
+
199
+ **優點**:
200
+ - 可加入 Git 版本控制
201
+ - 團隊成員共享相同版本
202
+ - 專案獨立,不影響其他專案
203
+
204
+ **缺點**:
205
+ - 增加專案大小
206
+ - 需要手動更新
207
+ - 建議加入 `.gitignore`(視需求)
208
+
209
+ ### 決策流程
210
+
211
+ ```
212
+ 是否使用 Claude Code?
213
+
214
+ ├─ 否 → 選擇 None
215
+
216
+ └─ 是 → 是否需要自動更新?
217
+
218
+ ├─ 是 → Plugin Marketplace
219
+
220
+ └─ 否 → 是否需要團隊共享?
221
+
222
+ ├─ 是 → Project Level
223
+
224
+ └─ 否 → User Level
225
+ ```
226
+
227
+ ---
228
+
229
+ ## 3. Standards Scope(標準範圍)
230
+
231
+ ### 互動式提示
232
+
233
+ ```
234
+ ? How should standards be installed?
235
+ ❯ Lean (推薦) - Reference docs only, Skills handle the rest
236
+ Complete - All standards as local files
237
+ ```
238
+
239
+ ### 說明
240
+
241
+ 決定複製到 `.standards/` 目錄的標準範圍。**僅當 Skills 已安裝時才會顯示此選項**。
242
+
243
+ ### 選項
244
+
245
+ | 範圍 | 複製內容 | 適用情境 |
246
+ |------|----------|----------|
247
+ | **Minimal** (推薦) | 只有 Reference 類別標準 | 已安裝 Skills,避免重複 |
248
+ | **Full** | Reference + Skill 類別標準 | 未安裝 Skills,或需要完整文件 |
249
+
250
+ ### 詳細說明
251
+
252
+ #### Minimal 範圍
253
+
254
+ 只複製 **Reference** 類別的標準(沒有對應 Skill 的標準):
255
+
256
+ ```
257
+ .standards/
258
+ ├── checkin-standards.md # Reference
259
+ ├── spec-driven-development.md # Reference
260
+ ├── project-structure.md # Reference (Level 3)
261
+ └── documentation-writing-standards.md # Reference (Level 3)
262
+ ```
263
+
264
+ **適用情境**:
265
+ - ✅ 已安裝 Skills(Marketplace / User / Project)
266
+ - ✅ 想要避免 Skill 與文件重複
267
+ - ✅ 想要較小的 `.standards/` 目錄
268
+
269
+ #### Full 範圍
270
+
271
+ 複製 **Reference + Skill** 類別的標準:
272
+
273
+ ```
274
+ .standards/
275
+ ├── anti-hallucination.md # Skill 類別
276
+ ├── commit-message-guide.md # Skill 類別
277
+ ├── code-review-checklist.md # Skill 類別
278
+ ├── git-workflow.md # Skill 類別
279
+ ├── testing-standards.md # Skill 類別
280
+ ├── checkin-standards.md # Reference 類別
281
+ ├── spec-driven-development.md # Reference 類別
282
+ └── ...
283
+ ```
284
+
285
+ **適用情境**:
286
+ - ✅ 未安裝 Skills
287
+ - ✅ 需要完整的本地文件參考
288
+ - ✅ 團隊成員不使用 Claude Code
289
+
290
+ ### 重要提醒
291
+
292
+ > **原則**:對於有 Skill 的標準,使用 Skill **或**複製文件 — **不要同時使用兩者**。
293
+
294
+ ---
295
+
296
+ ## 4. Adoption Level(採用等級)
297
+
298
+ ### 互動式提示
299
+
300
+ ```
301
+ ? Select adoption level:
302
+ Level 1: Starter (基本) - 6 core standards
303
+ ❯ Level 2: Professional (推薦) - 12 standards
304
+ Level 3: Complete (完整) - All 16 standards
305
+ ```
306
+
307
+ ### 說明
308
+
309
+ 決定採用的標準數量和深度。等級越高,包含的標準越完整。
310
+
311
+ ### 選項
312
+
313
+ | 等級 | 名稱 | 標準數量 | 設定時間 | 適用情境 |
314
+ |------|------|----------|----------|----------|
315
+ | **Level 1** | Starter (基本) | 6 個核心標準 | ~30 分鐘 | 個人專案、快速啟動 |
316
+ | **Level 2** | Professional (推薦) | 12 標準 | ~2 小時 | 團隊專案、專業開發 |
317
+ | **Level 3** | Complete (完整) | 全部 16 標準 | 1-2 天 | 企業專案、法規遵循 |
318
+
319
+ ### Level 1: Starter (基本)
320
+
321
+ **包含標準**:
322
+ - `anti-hallucination.md` - AI 協作防幻覺
323
+ - `checkin-standards.md` - 程式碼簽入檢查
324
+ - `commit-message-guide.md` - 提交訊息格式
325
+ - `spec-driven-development.md` - 規格驅動開發
326
+
327
+ **適用情境**:
328
+ - 個人 side project
329
+ - 快速原型開發
330
+ - 剛開始導入標準的團隊
331
+
332
+ **Standard Options**:
333
+ - ✅ Commit Language
334
+
335
+ ### Level 2: Professional (推薦)
336
+
337
+ **包含 Level 1 + 額外標準**:
338
+ - `code-review-checklist.md` - 程式碼審查
339
+ - `git-workflow.md` - Git 工作流程
340
+ - `versioning.md` - 語意化版本
341
+ - `changelog-standards.md` - 變更日誌
342
+ - `testing-standards.md` - 測試標準
343
+ - 適用的語言/框架擴展
344
+
345
+ **適用情境**:
346
+ - 多人協作的團隊專案
347
+ - 需要 Code Review 流程
348
+ - 有 CI/CD 的專案
349
+
350
+ **Standard Options**:
351
+ - ✅ Git Workflow
352
+ - ✅ Merge Strategy
353
+ - ✅ Commit Language
354
+ - ✅ Test Levels
355
+
356
+ ### Level 3: Complete (完整)
357
+
358
+ **包含 Level 2 + 額外標準**:
359
+ - `documentation-structure.md` - 文件結構
360
+ - `documentation-writing-standards.md` - 文件撰寫
361
+ - `project-structure.md` - 專案結構
362
+ - 完整模板套件
363
+
364
+ **適用情境**:
365
+ - 企業級專案
366
+ - 法規遵循要求(金融、醫療等)
367
+ - 需要完整文件的專案
368
+
369
+ ---
370
+
371
+ ## 5. Format(標準格式)
372
+
373
+ ### 互動式提示
374
+
375
+ ```
376
+ ? Select standards format:
377
+ ❯ Compact (推薦) - YAML format, optimized for AI reading
378
+ Detailed - Full Markdown, best for human reading
379
+ Both (進階) - Include both formats
380
+ ```
381
+
382
+ ### 說明
383
+
384
+ 決定複製的標準檔案格式。
385
+
386
+ ### 選項
387
+
388
+ | 格式 | 檔案類型 | Token 使用量 | 適用情境 |
389
+ |------|----------|--------------|----------|
390
+ | **Compact** (推薦) | `.ai.yaml` | ~80% 減少 | AI 助手使用、自動化 |
391
+ | **Detailed** | `.md` | 標準 | 人工閱讀、團隊訓練 |
392
+ | **Both** | 兩種都有 | 較高 | 需要兩種用途 |
393
+
394
+ ### 詳細說明
395
+
396
+ #### Compact (推薦)
397
+
398
+ ```yaml
399
+ # commit-message.ai.yaml
400
+ format: "<type>(<scope>): <subject>"
401
+ types:
402
+ feat: New feature
403
+ fix: Bug fix
404
+ docs: Documentation
405
+ rules:
406
+ - subject_max_length: 72
407
+ - use_imperative_mood: true
408
+ ```
409
+
410
+ **特點**:
411
+ - Token 效率高(約減少 80%)
412
+ - 結構化 YAML 格式
413
+ - 適合 AI 解析
414
+
415
+ #### Detailed
416
+
417
+ ```markdown
418
+ # Commit Message Guide
419
+
420
+ ## Format
421
+ <type>(<scope>): <subject>
422
+
423
+ ## Types
424
+ - `feat`: New feature
425
+ - `fix`: Bug fix
426
+ - `docs`: Documentation
427
+
428
+ ## Rules
429
+ - Subject line maximum 72 characters
430
+ - Use imperative mood: "add" not "added"
431
+ ```
432
+
433
+ **特點**:
434
+ - 易於人工閱讀
435
+ - 詳細說明和範例
436
+ - 適合團隊訓練
437
+
438
+ #### Both
439
+
440
+ 同時複製兩種格式,適合需要:
441
+ - AI 自動化處理
442
+ - 人工參考閱讀
443
+
444
+ ---
445
+
446
+ ## 6. Standard Options(標準選項)
447
+
448
+ ### 說明
449
+
450
+ 針對特定標準的配置選項。選項會根據 Adoption Level 顯示。
451
+
452
+ ### 6.1 Git Workflow(Level 2+)
453
+
454
+ #### 互動式提示
455
+
456
+ ```
457
+ ? Select Git branching strategy:
458
+ ❯ GitHub Flow (推薦) - Simple, continuous deployment
459
+ GitFlow - Structured releases with develop/release branches
460
+ Trunk-Based - Direct commits to main, feature flags
461
+ ```
462
+
463
+ 決定團隊的 Git 分支策略。
464
+
465
+ | 策略 | 說明 | 適用情境 |
466
+ |------|------|----------|
467
+ | **GitHub Flow** (推薦) | 簡單,持續部署 | 小團隊、Web 應用、持續部署 |
468
+ | **GitFlow** | 結構化,有 develop/release 分支 | 大團隊、定期發布、多版本維護 |
469
+ | **Trunk-Based** | 直接提交 main,feature flags | 高度自動化、成熟 CI/CD |
470
+
471
+ #### GitHub Flow
472
+
473
+ ```
474
+ main ──────────────────────────────>
475
+ \ /
476
+ feature ─
477
+ ```
478
+
479
+ - 只有 `main` 分支
480
+ - Feature branch → PR → Merge
481
+ - 適合持續部署
482
+
483
+ #### GitFlow
484
+
485
+ ```
486
+ main ─────────────────────────────>
487
+ \ /
488
+ develop ───────────────────────────>
489
+ \ / \ /
490
+ feature release
491
+ ```
492
+
493
+ - `main` + `develop` 分支
494
+ - Feature → develop → release → main
495
+ - 適合計劃性發布
496
+
497
+ #### Trunk-Based
498
+
499
+ ```
500
+ main ─────────────────────────────>
501
+ │ │ │
502
+ ↑ ↑ ↑
503
+ 直接提交或極短 PR
504
+ ```
505
+
506
+ - 所有人直接提交 main
507
+ - 使用 feature flags
508
+ - 需要高度自動化測試
509
+
510
+ ### 6.2 Merge Strategy(Level 2+)
511
+
512
+ #### 互動式提示
513
+
514
+ ```
515
+ ? Select merge strategy:
516
+ ❯ Squash Merge (推薦) - Clean history, one commit per PR
517
+ Merge Commit - Preserve full branch history
518
+ Rebase + Fast-Forward - Linear history, advanced
519
+ ```
520
+
521
+ 決定 PR 合併方式。
522
+
523
+ | 策略 | 說明 | 適用情境 |
524
+ |------|------|----------|
525
+ | **Squash Merge** (推薦) | 壓縮為單一 commit | 乾淨歷史、大多數專案 |
526
+ | **Merge Commit** | 保留完整分支歷史 | 需要追蹤詳細歷史 |
527
+ | **Rebase + Fast-Forward** | 線性歷史,進階 | 追求完美線性歷史 |
528
+
529
+ ### 6.3 Commit Language(Level 1+)
530
+
531
+ #### 互動式提示
532
+
533
+ ```
534
+ ? Select commit message language:
535
+ ❯ English (推薦) - Standard international format
536
+ Traditional Chinese (繁體中文) - For Chinese-speaking teams
537
+ Bilingual (雙語) - Both English and Chinese
538
+ ```
539
+
540
+ 決定提交訊息的語言。
541
+
542
+ | 語言 | 範例 | 適用情境 |
543
+ |------|------|----------|
544
+ | **English** (推薦) | `feat(auth): add OAuth2 support` | 國際團隊、開源專案 |
545
+ | **Traditional Chinese** | `新增(認證): 實作 OAuth2 支援` | 繁體中文團隊 |
546
+ | **Bilingual** | `feat(auth): add OAuth2 / 新增 OAuth2` | 雙語環境 |
547
+
548
+ ### 6.4 Test Levels(Level 2+)
549
+
550
+ #### 互動式提示
551
+
552
+ ```
553
+ ? Select test levels to include:
554
+ ❯ ◉ Unit Testing (70% pyramid base)
555
+ ◉ Integration Testing (20%)
556
+ ◯ System Testing (7%)
557
+ ◯ E2E Testing (3% pyramid top)
558
+ ```
559
+
560
+ 選擇要包含的測試層級。
561
+
562
+ | 層級 | 覆蓋率建議 | 說明 |
563
+ |------|------------|------|
564
+ | **Unit Testing** | 70% | 單元測試(預設選中)|
565
+ | **Integration Testing** | 20% | 整合測試(預設選中)|
566
+ | **System Testing** | 7% | 系統測試 |
567
+ | **E2E Testing** | 3% | 端對端測試 |
568
+
569
+ ---
570
+
571
+ ## 7. Extensions(擴展)
572
+
573
+ ### 說明
574
+
575
+ 根據專案的語言、框架、地區設定,複製對應的擴展標準。
576
+
577
+ ### 7.1 Language Extensions(語言擴展)
578
+
579
+ #### 互動式提示
580
+
581
+ ```
582
+ ? Detected language(s). Select style guides to include:
583
+ ❯ ◉ C# Style Guide
584
+ ◉ PHP Style Guide (PSR-12)
585
+ ```
586
+
587
+ > 注意:此提示僅在專案中偵測到相關語言時才會顯示。
588
+
589
+ | 擴展 | 檔案 | 偵測方式 |
590
+ |------|------|----------|
591
+ | **C#** | `csharp-style.md` | `.cs` 檔案、`.csproj` |
592
+ | **PHP** | `php-style.md` | `.php` 檔案、`composer.json` |
593
+
594
+ ### 7.2 Framework Extensions(框架擴展)
595
+
596
+ #### 互動式提示
597
+
598
+ ```
599
+ ? Detected framework(s). Select patterns to include:
600
+ ❯ ◉ Fat-Free Framework Patterns
601
+ ```
602
+
603
+ > 注意:此提示僅在專案中偵測到相關框架時才會顯示。
604
+
605
+ | 擴展 | 檔案 | 偵測方式 |
606
+ |------|------|----------|
607
+ | **Fat-Free** | `fat-free-patterns.md` | Fat-Free Framework 相關檔案 |
608
+
609
+ ### 7.3 Locale Extensions(地區擴展)
610
+
611
+ #### 互動式提示
612
+
613
+ ```
614
+ ? Use Traditional Chinese (繁體中文) locale? (y/N)
615
+ ```
616
+
617
+ | 擴展 | 檔案 | 說明 |
618
+ |------|------|------|
619
+ | **zh-TW** | `zh-tw.md` | 繁體中文本地化指引 |
620
+
621
+ ### 自動偵測
622
+
623
+ CLI 會自動偵測專案特徵並預選相關擴展:
624
+
625
+ ```bash
626
+ uds init
627
+ # Detecting project characteristics...
628
+ # Languages: javascript, typescript
629
+ # Frameworks: react
630
+ # AI Tools: cursor
631
+ ```
632
+
633
+ ---
634
+
635
+ ## 8. Integration Configuration(整合配置)
636
+
637
+ ### 說明
638
+
639
+ 針對非 Claude Code 工具(Cursor、Windsurf、Cline 等)的整合檔案配置。
640
+
641
+ ### 配置項目
642
+
643
+ #### 規則類別
644
+
645
+ 選擇要嵌入的規則類別:
646
+
647
+ | 類別 | 說明 |
648
+ |------|------|
649
+ | `anti-hallucination` | 反幻覺協議 |
650
+ | `commit-standards` | 提交訊息標準 |
651
+ | `code-review` | 程式碼審查清單 |
652
+ | `testing` | 測試標準 |
653
+ | `git-workflow` | Git 工作流程 |
654
+ | `documentation` | 文件標準 |
655
+ | `error-handling` | 錯誤處理 |
656
+ | `project-structure` | 專案結構 |
657
+ | `spec-driven-development` | 規格驅動開發 |
658
+
659
+ #### Detail Level(詳細程度)
660
+
661
+ | 程度 | 說明 | 檔案大小 |
662
+ |------|------|----------|
663
+ | **Minimal** | 最精簡的規則 | 最小 |
664
+ | **Standard** (預設) | 標準詳細度 | 中等 |
665
+ | **Comprehensive** | 完整詳細說明 | 較大 |
666
+
667
+ #### 現有檔案處理
668
+
669
+ 如果整合檔案已存在:
670
+
671
+ | 策略 | 說明 |
672
+ |------|------|
673
+ | **Overwrite** | 完全覆寫 |
674
+ | **Merge** | 合併(避免重複區段)|
675
+ | **Append** | 附加到現有內容 |
676
+ | **Keep** | 保留現有檔案 |
677
+
678
+ ### 共享配置
679
+
680
+ 當選擇多個 AI 工具時,所有工具會共享相同的配置:
681
+
682
+ ```
683
+ 選擇: Cursor + Windsurf + Cline
684
+
685
+ 共享配置提示(一次設定)
686
+
687
+ 生成三個檔案,使用相同規則
688
+ ```
689
+
690
+ ---
691
+
692
+ ## 9. Content Mode(內容模式)
693
+
694
+ ### 互動式提示
695
+
696
+ ```
697
+ ? Select content level:
698
+ ❯ Standard (推薦) - Summary + links to full docs
699
+ Full Embed - All rules in one file (larger)
700
+ Minimal - Core rules only (smallest)
701
+ ```
702
+
703
+ ### 說明
704
+
705
+ 決定 AI 工具整合檔案中嵌入多少標準內容。這是影響 AI 合規程度的關鍵設定。
706
+
707
+ ### 選項
708
+
709
+ | 模式 | 檔案大小 | AI 可見性 | 適用情境 |
710
+ |------|----------|-----------|----------|
711
+ | **Standard** (推薦) | 中等 | 高 | 大多數專案 |
712
+ | **Full Embed** | 最大 | 最高 | 企業級合規 |
713
+ | **Minimal** | 最小 | 低 | 舊專案遷移 |
714
+
715
+ ### 詳細說明
716
+
717
+ #### Minimal 模式
718
+
719
+ **生成內容**:簡單的標準參考列表
720
+
721
+ ```markdown
722
+ ## 規範文件參考
723
+
724
+ **重要**:執行相關任務時,務必讀取並遵循 `.standards/` 目錄下的對應規範:
725
+
726
+ **核心規範:**
727
+ - `.standards/anti-hallucination.md`
728
+ - `.standards/commit-message.ai.yaml`
729
+ - `.standards/checkin-standards.md`
730
+
731
+ **選項:**
732
+ - `.standards/options/github-flow.ai.yaml`
733
+ ```
734
+
735
+ **特點**:
736
+ - 只列出檔案路徑
737
+ - AI 需要主動讀取 `.standards/`
738
+ - 最小檔案大小
739
+
740
+ **適用情境**:
741
+ - ✅ 舊專案遷移,不想大幅改動
742
+ - ✅ 小型專案 / 原型
743
+ - ✅ 檔案大小敏感
744
+ - ⚠️ 風險:AI 可能不會主動讀取
745
+
746
+ #### Standard 模式 (推薦)
747
+
748
+ **生成內容**:合規指示 + 標準索引
749
+
750
+ ```markdown
751
+ ## Standards Compliance Instructions
752
+
753
+ **MUST follow** (每次都要遵守):
754
+ | Task | Standard | When |
755
+ |------|----------|------|
756
+ | AI collaboration | anti-hallucination.md | Always |
757
+ | Writing commits | commit-message.ai.yaml | Every commit |
758
+ | Committing code | checkin-standards.md | Every commit |
759
+
760
+ **SHOULD follow** (相關任務時參考):
761
+ | Task | Standard | When |
762
+ |------|----------|------|
763
+ | Adding logging | logging-standards.md | When writing logs |
764
+ | Writing tests | testing.ai.yaml | When creating tests |
765
+
766
+ ## Installed Standards Index
767
+
768
+ 本專案採用 **Level 2** 標準。所有規範位於 `.standards/`:
769
+
770
+ ### Core (6 standards)
771
+ - `anti-hallucination.md` - AI 協作防幻覺規範
772
+ - `commit-message.ai.yaml` - 提交訊息格式
773
+ ...
774
+ ```
775
+
776
+ **特點**:
777
+ - **MUST / SHOULD** 優先級分類
778
+ - 任務對應表(Task → Standard → When)
779
+ - 告訴 AI **何時**該讀取哪個標準
780
+ - 平衡檔案大小與可見性
781
+
782
+ **適用情境**:
783
+ - ✅ 大多數專案
784
+ - ✅ 希望 AI 遵守規範但不想檔案太大
785
+ - ✅ AI 工具會讀取專案檔案
786
+
787
+ #### Full Embed 模式
788
+
789
+ **生成內容**:完整嵌入所有規則
790
+
791
+ ```markdown
792
+ ## Anti-Hallucination Protocol
793
+ Reference: .standards/anti-hallucination.md
794
+
795
+ ### Core Principle
796
+ You are an AI assistant that prioritizes accuracy over confidence...
797
+
798
+ ### Evidence-Based Analysis
799
+ 1. **File Reading Requirement**
800
+ - You MUST read files before analyzing them
801
+ - Do not guess APIs, class names, or library versions
802
+ ...
803
+
804
+ ---
805
+
806
+ ## Commit Message Standards
807
+ Reference: .standards/commit-message-guide.md
808
+
809
+ ### Format Structure
810
+ <type>(<scope>): <subject>
811
+
812
+ ### Commit Types
813
+ | Type | Description | Example |
814
+ | feat | New feature | feat(auth): add OAuth2 login |
815
+ ...
816
+ ```
817
+
818
+ **特點**:
819
+ - 所有核心規則直接嵌入
820
+ - AI **保證**看到所有標準
821
+ - 檔案大小可能是 Index 的 3-5 倍
822
+
823
+ **適用情境**:
824
+ - ✅ 企業級合規要求
825
+ - ✅ AI 可能不讀取外部檔案
826
+ - ✅ 不能容許 AI 遺漏任何規則
827
+ - ✅ 新團隊導入,確保完全了解規範
828
+
829
+ ### 決策流程
830
+
831
+ ```
832
+ 開始選擇內容模式
833
+
834
+
835
+ ┌─────────────────────────────┐
836
+ │ AI 是否會主動讀取專案檔案? │
837
+ └─────────────────────────────┘
838
+
839
+ ┌───┴───┐
840
+ │ │
841
+ 是 否
842
+ │ │
843
+ ▼ ▼
844
+ Index Full
845
+
846
+
847
+ ┌─────────────────────────────┐
848
+ │ 是否有嚴格合規要求? │
849
+ └─────────────────────────────┘
850
+
851
+ ┌───┴───┐
852
+ │ │
853
+ 是 否
854
+ │ │
855
+ ▼ ▼
856
+ Full Index
857
+
858
+
859
+ 舊專案遷移 / 想要最小改動? → Minimal
860
+ ```
861
+
862
+ ### 使用案例
863
+
864
+ | 案例 | 推薦模式 | 理由 |
865
+ |------|----------|------|
866
+ | 新創團隊的 SaaS 專案 | **Index** | 平衡效率與規範 |
867
+ | 銀行核心系統 | **Full** | 法規要求,不能遺漏 |
868
+ | 個人 side project | **Minimal** | 輕量就好 |
869
+ | 開源專案 | **Index** | 讓貢獻者 AI 知道規範 |
870
+ | 從舊設定遷移 | **Minimal** | 保留現有設定 |
871
+ | 新導入 AI 的傳統企業 | **Full** | 確保 AI 完全遵循 |
872
+
873
+ ---
874
+
875
+ ## 10. Methodology(開發方法論)
876
+
877
+ ### 互動式提示
878
+
879
+ ```
880
+ ? Which development methodology do you want to use?
881
+ ❯ TDD - Test-Driven Development (Red → Green → Refactor)
882
+ BDD - Behavior-Driven Development (Given-When-Then)
883
+ SDD - Spec-Driven Development (Spec First, Code Second)
884
+ ATDD - Acceptance Test-Driven Development
885
+ ──────────────
886
+ None - No specific methodology
887
+ ```
888
+
889
+ > **⚠️ 實驗性功能**:此功能需要使用 `-E` 或 `--experimental` 旗標才能啟用。將在 v4.0 重新設計。
890
+
891
+ ### 說明
892
+
893
+ 選擇開發方法論來指導專案的工作流程。此選項僅在使用 `--experimental` 旗標時才會出現。
894
+
895
+ ### 選項
896
+
897
+ | 方法論 | 全名 | 說明 |
898
+ |--------|------|------|
899
+ | **TDD** | Test-Driven Development | Red → Green → Refactor 循環 |
900
+ | **BDD** | Behavior-Driven Development | Given-When-Then 情境 |
901
+ | **SDD** | Spec-Driven Development | Spec First, Code Second |
902
+ | **ATDD** | Acceptance Test-Driven Development | 以驗收標準為焦點 |
903
+ | **None** | - | 不使用特定方法論 |
904
+
905
+ ### 啟用實驗性功能
906
+
907
+ ```bash
908
+ # 啟用實驗性功能
909
+ uds init -E
910
+
911
+ # 或使用完整形式
912
+ uds init --experimental
913
+ ```
914
+
915
+ ---
916
+
917
+ ## 11. CLI 參數對照表
918
+
919
+ ### 互動模式 vs 非互動模式
920
+
921
+ | 選項 | 互動式提示 | CLI 參數 | 預設值 |
922
+ |------|------------|----------|--------|
923
+ | AI Tools | `promptAITools()` | - (偵測) | 自動偵測 |
924
+ | Skills Location | `promptSkillsInstallLocation()` | `--skills-location` | `marketplace` |
925
+ | Standards Scope | `promptStandardsScope()` | - | 依 Skills 決定 |
926
+ | Level | `promptLevel()` | `-l, --level` | `2` |
927
+ | Format | `promptFormat()` | `-f, --format` | `ai` |
928
+ | Git Workflow | `promptGitWorkflow()` | `--workflow` | `github-flow` |
929
+ | Merge Strategy | `promptMergeStrategy()` | `--merge-strategy` | `squash` |
930
+ | Commit Language | `promptCommitLanguage()` | `--commit-lang` | `english` |
931
+ | Test Levels | `promptTestLevels()` | `--test-levels` | `unit,integration` |
932
+ | Language | `promptLanguage()` | `--lang` | 自動偵測 |
933
+ | Framework | `promptFramework()` | `--framework` | 自動偵測 |
934
+ | Locale | `promptLocale()` | `--locale` | - |
935
+ | Content Mode | `promptContentMode()` | `--content-mode` | `index` |
936
+ | Methodology | `promptMethodology()` | - | `null` (需 `-E`) |
937
+
938
+ ### 控制旗標
939
+
940
+ | 旗標 | CLI 參數 | 說明 |
941
+ |------|----------|------|
942
+ | 非互動模式 | `-y, --yes` | 跳過互動提示,使用預設值 |
943
+ | 實驗性功能 | `-E, --experimental` | 啟用實驗性功能(開發方法論選擇) |
944
+ | 模式(已棄用) | `-m, --mode` | 安裝模式(skills, full)- 請改用 `--skills-location` |
945
+
946
+ ### 完整 CLI 範例
947
+
948
+ ```bash
949
+ # 完全互動式
950
+ uds init
951
+
952
+ # 非互動式,使用預設值
953
+ uds init -y
954
+
955
+ # 指定所有選項
956
+ uds init -y \
957
+ --level 2 \
958
+ --format ai \
959
+ --skills-location marketplace \
960
+ --workflow github-flow \
961
+ --merge-strategy squash \
962
+ --commit-lang english \
963
+ --test-levels unit,integration \
964
+ --content-mode index
965
+
966
+ # Level 1 快速設定
967
+ uds init -y --level 1
968
+
969
+ # 企業級完整設定
970
+ uds init -y --level 3 --content-mode full
971
+
972
+ # 繁體中文團隊
973
+ uds init -y --level 2 --commit-lang traditional-chinese --locale zh-tw
974
+
975
+ # PHP 專案
976
+ uds init -y --level 2 --lang php --framework fat-free
977
+ ```
978
+
979
+ ---
980
+
981
+ ## 相關文件
982
+
983
+ - [CLI README](../../../cli/README.md) - CLI 基本使用
984
+ - [ADOPTION-GUIDE.md](../adoption/ADOPTION-GUIDE.md) - 採用指南
985
+ - [CLAUDE.md](../../../CLAUDE.md) - 專案開發指引
986
+ - [CHANGELOG.md](../../../CHANGELOG.md) - 版本歷史
987
+
988
+ ---
989
+
990
+ **由 Universal Dev Standards 團隊維護**