universal-dev-standards 4.1.0 → 5.0.0-beta.10

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 (556) hide show
  1. package/README.md +3 -3
  2. package/bin/uds.js +239 -4
  3. package/bundled/core/acceptance-test-driven-development.md +19 -721
  4. package/bundled/core/accessibility-standards.md +862 -0
  5. package/bundled/core/ai-agreement-standards.md +95 -0
  6. package/bundled/core/ai-friendly-architecture.md +544 -0
  7. package/bundled/core/ai-instruction-standards.md +2 -0
  8. package/bundled/core/anti-hallucination.md +90 -637
  9. package/bundled/core/behavior-driven-development.md +20 -735
  10. package/bundled/core/changelog-standards.md +4 -0
  11. package/bundled/core/checkin-standards.md +21 -4
  12. package/bundled/core/code-review-checklist.md +3 -0
  13. package/bundled/core/commit-message-guide.md +14 -3
  14. package/bundled/core/deployment-standards.md +296 -0
  15. package/bundled/core/developer-memory.md +568 -0
  16. package/bundled/core/documentation-structure.md +114 -18
  17. package/bundled/core/documentation-writing-standards.md +272 -2
  18. package/bundled/core/error-code-standards.md +3 -0
  19. package/bundled/core/forward-derivation-standards.md +134 -8
  20. package/bundled/core/git-workflow.md +72 -686
  21. package/bundled/core/guides/anti-hallucination-guide.md +517 -0
  22. package/bundled/core/guides/git-workflow-guide.md +954 -0
  23. package/bundled/core/guides/performance-guide.md +508 -0
  24. package/bundled/core/guides/refactoring-guide.md +608 -0
  25. package/bundled/core/guides/security-guide.md +485 -0
  26. package/bundled/core/logging-standards.md +337 -2
  27. package/bundled/core/performance-standards.md +231 -0
  28. package/bundled/core/project-context-memory.md +180 -0
  29. package/bundled/core/project-structure.md +315 -2
  30. package/bundled/core/refactoring-standards.md +81 -761
  31. package/bundled/core/requirement-engineering.md +39 -0
  32. package/bundled/core/reverse-engineering-standards.md +6 -4
  33. package/bundled/core/security-standards.md +244 -0
  34. package/bundled/core/spec-driven-development.md +20 -319
  35. package/bundled/core/test-completeness-dimensions.md +213 -11
  36. package/bundled/core/test-driven-development.md +22 -978
  37. package/bundled/core/testing-standards.md +222 -2903
  38. package/bundled/core/versioning.md +16 -55
  39. package/bundled/core/virtual-organization-standards.md +85 -0
  40. package/bundled/locales/README.md +4 -4
  41. package/bundled/locales/zh-CN/CHANGELOG.md +18 -18
  42. package/bundled/locales/zh-CN/CLAUDE.md +3 -3
  43. package/bundled/locales/zh-CN/MAINTENANCE.md +7 -7
  44. package/bundled/locales/zh-CN/README.md +211 -510
  45. package/bundled/locales/zh-CN/STANDARDS-MAPPING.md +1 -1
  46. package/bundled/locales/zh-CN/adoption/ADOPTION-GUIDE.md +3 -3
  47. package/bundled/locales/zh-CN/adoption/DAILY-WORKFLOW-GUIDE.md +66 -7
  48. package/bundled/locales/zh-CN/adoption/STATIC-DYNAMIC-GUIDE.md +22 -22
  49. package/bundled/locales/zh-CN/adoption/checklists/enterprise.md +5 -5
  50. package/bundled/locales/zh-CN/adoption/checklists/minimal.md +4 -4
  51. package/bundled/locales/zh-CN/adoption/checklists/recommended.md +5 -5
  52. package/bundled/locales/zh-CN/ai/MAINTENANCE.md +13 -13
  53. package/bundled/locales/zh-CN/core/ai-friendly-architecture.md +306 -0
  54. package/bundled/locales/zh-CN/core/ai-instruction-standards.md +1 -1
  55. package/bundled/locales/zh-CN/core/anti-hallucination.md +39 -3
  56. package/bundled/locales/zh-CN/core/checkin-standards.md +18 -5
  57. package/bundled/locales/zh-CN/core/commit-message-guide.md +1 -1
  58. package/bundled/locales/zh-CN/core/developer-memory.md +576 -0
  59. package/bundled/locales/zh-CN/core/documentation-structure.md +43 -5
  60. package/bundled/locales/zh-CN/core/documentation-writing-standards.md +146 -5
  61. package/bundled/locales/zh-CN/core/git-workflow.md +179 -4
  62. package/bundled/locales/zh-CN/core/logging-standards.md +177 -4
  63. package/bundled/locales/zh-CN/core/project-structure.md +117 -5
  64. package/bundled/locales/zh-CN/core/refactoring-standards.md +3 -3
  65. package/bundled/locales/zh-CN/core/reverse-engineering-standards.md +6 -6
  66. package/bundled/locales/zh-CN/core/spec-driven-development.md +516 -14
  67. package/bundled/locales/zh-CN/core/test-completeness-dimensions.md +155 -24
  68. package/bundled/locales/zh-CN/core/test-driven-development.md +71 -20
  69. package/bundled/locales/zh-CN/core/testing-standards.md +4 -4
  70. package/bundled/locales/zh-CN/core/versioning.md +1 -1
  71. package/bundled/locales/zh-CN/docs/AI-AGENT-ROADMAP.md +145 -46
  72. package/bundled/locales/zh-CN/docs/CHEATSHEET.md +184 -0
  73. package/bundled/locales/zh-CN/docs/CLI-FLOW.md +239 -0
  74. package/bundled/locales/zh-CN/docs/FEATURE-REFERENCE.md +320 -0
  75. package/bundled/locales/zh-CN/docs/OPERATION-WORKFLOW.md +43 -43
  76. package/bundled/locales/zh-CN/docs/STANDARDS-REFERENCE.md +440 -0
  77. package/bundled/locales/zh-CN/docs/USAGE-MODES-COMPARISON.md +1 -1
  78. package/bundled/locales/zh-CN/docs/WINDOWS-GUIDE.md +1 -1
  79. package/bundled/locales/zh-CN/integrations/codex/README.md +3 -3
  80. package/bundled/locales/zh-CN/integrations/gemini-cli/GEMINI.md +35 -3
  81. package/bundled/locales/zh-CN/integrations/gemini-cli/README.md +3 -3
  82. package/bundled/locales/zh-CN/integrations/github-copilot/COPILOT-CHAT-REFERENCE.md +89 -3
  83. package/bundled/locales/zh-CN/integrations/github-copilot/README.md +5 -5
  84. package/bundled/locales/zh-CN/integrations/github-copilot/copilot-instructions.md +9 -9
  85. package/bundled/locales/zh-CN/integrations/github-copilot/skills-mapping.md +23 -7
  86. package/bundled/locales/zh-CN/integrations/google-antigravity/README.md +2 -2
  87. package/bundled/locales/zh-CN/integrations/opencode/README.md +3 -3
  88. package/bundled/locales/zh-CN/integrations/opencode/skills-mapping.md +22 -10
  89. package/bundled/locales/zh-CN/integrations/openspec/README.md +1 -1
  90. package/bundled/locales/zh-CN/integrations/spec-kit/AGENTS.md +3 -3
  91. package/bundled/locales/zh-CN/integrations/spec-kit/README.md +1 -1
  92. package/bundled/locales/zh-CN/options/commit-message/bilingual.md +1 -1
  93. package/bundled/locales/zh-CN/options/commit-message/english.md +1 -1
  94. package/bundled/locales/zh-CN/options/commit-message/traditional-chinese.md +1 -1
  95. package/bundled/locales/zh-CN/options/git-workflow/gitflow.md +1 -1
  96. package/bundled/locales/zh-CN/options/git-workflow/github-flow.md +1 -1
  97. package/bundled/locales/zh-CN/options/git-workflow/merge-commit.md +1 -1
  98. package/bundled/locales/zh-CN/options/git-workflow/rebase-ff.md +1 -1
  99. package/bundled/locales/zh-CN/options/git-workflow/squash-merge.md +1 -1
  100. package/bundled/locales/zh-CN/options/git-workflow/trunk-based.md +1 -1
  101. package/bundled/locales/zh-CN/options/project-structure/dotnet.md +1 -1
  102. package/bundled/locales/zh-CN/options/project-structure/go.md +1 -1
  103. package/bundled/locales/zh-CN/options/project-structure/java.md +1 -1
  104. package/bundled/locales/zh-CN/options/project-structure/nodejs.md +1 -1
  105. package/bundled/locales/zh-CN/options/project-structure/python.md +1 -1
  106. package/bundled/locales/zh-CN/options/testing/e2e-testing.md +1 -1
  107. package/bundled/locales/zh-CN/options/testing/integration-testing.md +1 -1
  108. package/bundled/locales/zh-CN/options/testing/system-testing.md +1 -1
  109. package/bundled/locales/zh-CN/options/testing/unit-testing.md +1 -1
  110. package/bundled/locales/zh-CN/skills/{claude-code/CONTRIBUTING.template.md → CONTRIBUTING.template.md} +2 -2
  111. package/bundled/locales/zh-CN/skills/README.md +131 -81
  112. package/bundled/locales/zh-CN/skills/agents/README.md +281 -0
  113. package/bundled/locales/zh-CN/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/SKILL.md +10 -10
  114. package/bundled/locales/zh-CN/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/anti-hallucination.md +8 -8
  115. package/bundled/locales/zh-CN/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/certainty-labels.md +8 -8
  116. package/bundled/locales/zh-CN/skills/ai-friendly-architecture/SKILL.md +221 -0
  117. package/bundled/locales/zh-CN/skills/ai-instruction-standards/SKILL.md +214 -0
  118. package/bundled/locales/zh-CN/skills/atdd-assistant/SKILL.md +71 -0
  119. package/bundled/locales/zh-CN/skills/atdd-assistant/acceptance-criteria-guide.md +428 -0
  120. package/bundled/locales/zh-CN/skills/atdd-assistant/atdd-workflow.md +484 -0
  121. package/bundled/locales/zh-CN/skills/atdd-assistant/guide.md +368 -0
  122. package/bundled/locales/zh-CN/skills/bdd-assistant/SKILL.md +68 -0
  123. package/bundled/locales/zh-CN/skills/bdd-assistant/bdd-workflow.md +406 -0
  124. package/bundled/locales/zh-CN/skills/bdd-assistant/gherkin-guide.md +454 -0
  125. package/bundled/locales/zh-CN/skills/bdd-assistant/guide.md +324 -0
  126. package/bundled/locales/zh-CN/skills/changelog-guide/SKILL.md +64 -0
  127. package/bundled/locales/zh-CN/skills/{claude-code/changelog-guide/SKILL.md → changelog-guide/guide.md} +6 -7
  128. package/bundled/locales/zh-CN/skills/checkin-assistant/SKILL.md +56 -0
  129. package/bundled/locales/zh-CN/skills/{claude-code/checkin-assistant/SKILL.md → checkin-assistant/guide.md} +6 -7
  130. package/bundled/locales/zh-CN/skills/code-review-assistant/SKILL.md +56 -0
  131. package/bundled/locales/zh-CN/skills/{claude-code/code-review-assistant → code-review-assistant}/checkin-checklist.md +4 -4
  132. package/bundled/locales/zh-CN/skills/{claude-code/code-review-assistant/SKILL.md → code-review-assistant/guide.md} +5 -6
  133. package/bundled/locales/zh-CN/skills/{claude-code/code-review-assistant → code-review-assistant}/review-checklist.md +4 -4
  134. package/bundled/locales/zh-CN/skills/{claude-code/commands → commands}/bdd.md +2 -2
  135. package/bundled/locales/zh-CN/skills/{claude-code/commands → commands}/methodology.md +3 -3
  136. package/bundled/locales/zh-CN/skills/{claude-code/commands → commands}/refactor.md +3 -3
  137. package/bundled/locales/zh-CN/skills/commit-standards/SKILL.md +61 -0
  138. package/bundled/locales/zh-CN/skills/{claude-code/commit-standards → commit-standards}/conventional-commits.md +4 -4
  139. package/bundled/locales/zh-CN/skills/{claude-code/commit-standards/SKILL.md → commit-standards/guide.md} +5 -6
  140. package/bundled/locales/zh-CN/skills/{claude-code/commit-standards → commit-standards}/language-options.md +3 -3
  141. package/bundled/locales/zh-CN/skills/docs-generator/SKILL.md +59 -0
  142. package/bundled/locales/zh-CN/skills/docs-generator/guide.md +262 -0
  143. package/bundled/locales/zh-CN/skills/{claude-code/documentation-guide → documentation-guide}/SKILL.md +7 -8
  144. package/bundled/locales/zh-CN/skills/{claude-code/documentation-guide → documentation-guide}/documentation-structure.md +4 -4
  145. package/bundled/locales/zh-CN/skills/{claude-code/documentation-guide → documentation-guide}/readme-template.md +3 -3
  146. package/bundled/locales/zh-CN/skills/{claude-code/error-code-guide → error-code-guide}/SKILL.md +6 -6
  147. package/bundled/locales/zh-CN/skills/forward-derivation/SKILL.md +62 -0
  148. package/bundled/locales/zh-CN/skills/forward-derivation/guide.md +130 -0
  149. package/bundled/locales/zh-CN/skills/{claude-code/git-workflow-guide → git-workflow-guide}/SKILL.md +6 -6
  150. package/bundled/locales/zh-CN/skills/{claude-code/git-workflow-guide → git-workflow-guide}/branch-naming.md +3 -3
  151. package/bundled/locales/zh-CN/skills/{claude-code/git-workflow-guide → git-workflow-guide}/git-workflow.md +4 -4
  152. package/bundled/locales/zh-CN/skills/{claude-code/logging-guide → logging-guide}/SKILL.md +6 -6
  153. package/bundled/locales/zh-CN/skills/methodology-system/SKILL.md +78 -0
  154. package/bundled/locales/zh-CN/skills/{claude-code/methodology-system → methodology-system}/create-methodology.md +2 -2
  155. package/bundled/locales/zh-CN/skills/{claude-code/methodology-system/SKILL.md → methodology-system/guide.md} +2 -2
  156. package/bundled/locales/zh-CN/skills/{claude-code/methodology-system → methodology-system}/runtime.md +3 -3
  157. package/bundled/locales/zh-CN/skills/project-discovery/SKILL.md +66 -0
  158. package/bundled/locales/zh-CN/skills/project-discovery/guide.md +371 -0
  159. package/bundled/locales/zh-CN/skills/{claude-code/project-structure-guide → project-structure-guide}/SKILL.md +4 -4
  160. package/bundled/locales/zh-CN/skills/{claude-code/project-structure-guide → project-structure-guide}/language-patterns.md +1 -1
  161. package/bundled/locales/zh-CN/skills/refactoring-assistant/SKILL.md +67 -0
  162. package/bundled/locales/zh-CN/skills/{claude-code/refactoring-assistant/SKILL.md → refactoring-assistant/guide.md} +7 -8
  163. package/bundled/locales/zh-CN/skills/release-standards/SKILL.md +64 -0
  164. package/bundled/locales/zh-CN/skills/{claude-code/release-standards → release-standards}/changelog-format.md +3 -3
  165. package/bundled/locales/zh-CN/skills/{claude-code/release-standards/SKILL.md → release-standards/guide.md} +5 -6
  166. package/bundled/locales/zh-CN/skills/{claude-code/release-standards → release-standards}/release-workflow.md +7 -7
  167. package/bundled/locales/zh-CN/skills/{claude-code/release-standards → release-standards}/semantic-versioning.md +3 -3
  168. package/bundled/locales/zh-CN/skills/requirement-assistant/SKILL.md +67 -0
  169. package/bundled/locales/zh-CN/skills/{claude-code/requirement-assistant/SKILL.md → requirement-assistant/guide.md} +4 -5
  170. package/bundled/locales/zh-CN/skills/{claude-code/requirement-assistant → requirement-assistant}/requirement-checklist.md +3 -3
  171. package/bundled/locales/zh-CN/skills/{claude-code/requirement-assistant → requirement-assistant}/requirement-writing.md +3 -3
  172. package/bundled/locales/zh-CN/skills/reverse-engineer/SKILL.md +67 -0
  173. package/bundled/locales/zh-CN/skills/{claude-code/reverse-engineer → reverse-engineer}/bdd-extraction.md +2 -2
  174. package/bundled/locales/zh-CN/skills/{claude-code/reverse-engineer/SKILL.md → reverse-engineer/guide.md} +17 -18
  175. package/bundled/locales/zh-CN/skills/{claude-code/reverse-engineer → reverse-engineer}/tdd-analysis.md +2 -2
  176. package/bundled/locales/zh-CN/skills/{claude-code/reverse-engineer → reverse-engineer}/workflow.md +3 -3
  177. package/bundled/locales/zh-CN/skills/spec-driven-dev/SKILL.md +75 -0
  178. package/bundled/locales/zh-CN/skills/{claude-code/spec-driven-dev/SKILL.md → spec-driven-dev/guide.md} +10 -11
  179. package/bundled/locales/zh-CN/skills/tdd-assistant/SKILL.md +66 -0
  180. package/bundled/locales/zh-CN/skills/{claude-code/tdd-assistant/SKILL.md → tdd-assistant/guide.md} +12 -16
  181. package/bundled/locales/zh-CN/skills/{claude-code/tdd-assistant → tdd-assistant}/language-examples.md +3 -3
  182. package/bundled/locales/zh-CN/skills/{claude-code/tdd-assistant → tdd-assistant}/tdd-workflow.md +3 -3
  183. package/bundled/locales/zh-CN/skills/test-coverage-assistant/SKILL.md +65 -0
  184. package/bundled/locales/zh-CN/skills/test-coverage-assistant/guide.md +284 -0
  185. package/bundled/locales/zh-CN/skills/{claude-code/testing-guide → testing-guide}/SKILL.md +8 -8
  186. package/bundled/locales/zh-CN/skills/{claude-code/testing-guide → testing-guide}/testing-pyramid.md +4 -4
  187. package/bundled/locales/zh-CN/skills/{cline → tools/cline}/README.md +1 -1
  188. package/bundled/locales/zh-CN/skills/{copilot → tools/copilot}/README.md +1 -1
  189. package/bundled/locales/zh-CN/skills/{copilot → tools/copilot}/copilot-instructions.md +1 -1
  190. package/bundled/locales/zh-CN/skills/{cursor → tools/cursor}/README.md +1 -1
  191. package/bundled/locales/zh-CN/skills/{windsurf → tools/windsurf}/README.md +1 -1
  192. package/bundled/locales/zh-TW/CHANGELOG.md +16 -16
  193. package/bundled/locales/zh-TW/CLAUDE.md +3 -3
  194. package/bundled/locales/zh-TW/MAINTENANCE.md +7 -7
  195. package/bundled/locales/zh-TW/README.md +217 -490
  196. package/bundled/locales/zh-TW/STANDARDS-MAPPING.md +1 -1
  197. package/bundled/locales/zh-TW/adoption/ADOPTION-GUIDE.md +4 -4
  198. package/bundled/locales/zh-TW/adoption/DAILY-WORKFLOW-GUIDE.md +66 -7
  199. package/bundled/locales/zh-TW/adoption/STATIC-DYNAMIC-GUIDE.md +22 -22
  200. package/bundled/locales/zh-TW/adoption/checklists/enterprise.md +5 -5
  201. package/bundled/locales/zh-TW/adoption/checklists/minimal.md +4 -4
  202. package/bundled/locales/zh-TW/adoption/checklists/recommended.md +5 -5
  203. package/bundled/locales/zh-TW/ai/MAINTENANCE.md +13 -13
  204. package/bundled/locales/zh-TW/ai/standards/anti-hallucination.ai.yaml +3 -2
  205. package/bundled/locales/zh-TW/ai/standards/git-workflow.ai.yaml +4 -3
  206. package/bundled/locales/zh-TW/ai/standards/spec-driven-development.ai.yaml +3 -3
  207. package/bundled/locales/zh-TW/ai/standards/testing.ai.yaml +1 -0
  208. package/bundled/locales/zh-TW/core/ai-friendly-architecture.md +306 -0
  209. package/bundled/locales/zh-TW/core/ai-instruction-standards.md +1 -1
  210. package/bundled/locales/zh-TW/core/anti-hallucination.md +38 -701
  211. package/bundled/locales/zh-TW/core/changelog-standards.md +1 -1
  212. package/bundled/locales/zh-TW/core/checkin-standards.md +18 -5
  213. package/bundled/locales/zh-TW/core/code-review-checklist.md +1 -1
  214. package/bundled/locales/zh-TW/core/commit-message-guide.md +1 -1
  215. package/bundled/locales/zh-TW/core/developer-memory.md +576 -0
  216. package/bundled/locales/zh-TW/core/documentation-structure.md +115 -22
  217. package/bundled/locales/zh-TW/core/documentation-writing-standards.md +126 -5
  218. package/bundled/locales/zh-TW/core/forward-derivation-standards.md +2 -2
  219. package/bundled/locales/zh-TW/core/git-workflow.md +38 -812
  220. package/bundled/locales/zh-TW/core/guides/anti-hallucination-guide.md +779 -0
  221. package/bundled/locales/zh-TW/core/guides/git-workflow-guide.md +1016 -0
  222. package/bundled/locales/zh-TW/core/guides/refactoring-guide.md +864 -0
  223. package/bundled/locales/zh-TW/core/guides/testing-guide.md +2280 -0
  224. package/bundled/locales/zh-TW/core/logging-standards.md +159 -4
  225. package/bundled/locales/zh-TW/core/project-structure.md +102 -9
  226. package/bundled/locales/zh-TW/core/refactoring-standards.md +37 -823
  227. package/bundled/locales/zh-TW/core/reverse-engineering-standards.md +6 -6
  228. package/bundled/locales/zh-TW/core/spec-driven-development.md +17 -268
  229. package/bundled/locales/zh-TW/core/test-completeness-dimensions.md +128 -14
  230. package/bundled/locales/zh-TW/core/test-driven-development.md +20 -983
  231. package/bundled/locales/zh-TW/core/testing-standards.md +120 -2105
  232. package/bundled/locales/zh-TW/core/versioning.md +13 -55
  233. package/bundled/locales/zh-TW/docs/AI-AGENT-ROADMAP.md +145 -46
  234. package/bundled/locales/zh-TW/docs/CHEATSHEET.md +184 -0
  235. package/bundled/locales/zh-TW/docs/CLI-FLOW.md +239 -0
  236. package/bundled/locales/zh-TW/docs/FEATURE-REFERENCE.md +320 -0
  237. package/bundled/locales/zh-TW/docs/MIGRATION-V5.md +71 -0
  238. package/bundled/locales/zh-TW/docs/OPERATION-WORKFLOW.md +42 -42
  239. package/bundled/locales/zh-TW/docs/STANDARDS-REFERENCE.md +440 -0
  240. package/bundled/locales/zh-TW/docs/USAGE-MODES-COMPARISON.md +1 -1
  241. package/bundled/locales/zh-TW/docs/WINDOWS-GUIDE.md +1 -1
  242. package/bundled/locales/zh-TW/integrations/claude-code/README.md +44 -0
  243. package/bundled/locales/zh-TW/integrations/gemini-cli/GEMINI.md +35 -3
  244. package/bundled/locales/zh-TW/integrations/github-copilot/COPILOT-CHAT-REFERENCE.md +89 -3
  245. package/bundled/locales/zh-TW/integrations/github-copilot/copilot-instructions.md +3 -3
  246. package/bundled/locales/zh-TW/integrations/github-copilot/skills-mapping.md +23 -7
  247. package/bundled/locales/zh-TW/integrations/opencode/skills-mapping.md +22 -10
  248. package/bundled/locales/zh-TW/methodologies/guides/sdd-guide.md +338 -0
  249. package/bundled/locales/zh-TW/methodologies/guides/tdd-guide.md +1055 -0
  250. package/bundled/locales/zh-TW/options/commit-message/bilingual.md +1 -1
  251. package/bundled/locales/zh-TW/options/commit-message/english.md +1 -1
  252. package/bundled/locales/zh-TW/options/commit-message/traditional-chinese.md +1 -1
  253. package/bundled/locales/zh-TW/options/git-workflow/gitflow.md +1 -1
  254. package/bundled/locales/zh-TW/options/git-workflow/github-flow.md +1 -1
  255. package/bundled/locales/zh-TW/options/git-workflow/merge-commit.md +1 -1
  256. package/bundled/locales/zh-TW/options/git-workflow/rebase-ff.md +1 -1
  257. package/bundled/locales/zh-TW/options/git-workflow/squash-merge.md +1 -1
  258. package/bundled/locales/zh-TW/options/git-workflow/trunk-based.md +1 -1
  259. package/bundled/locales/zh-TW/options/project-structure/dotnet.md +1 -1
  260. package/bundled/locales/zh-TW/options/project-structure/go.md +1 -1
  261. package/bundled/locales/zh-TW/options/project-structure/java.md +1 -1
  262. package/bundled/locales/zh-TW/options/project-structure/nodejs.md +1 -1
  263. package/bundled/locales/zh-TW/options/project-structure/python.md +1 -1
  264. package/bundled/locales/zh-TW/options/testing/e2e-testing.md +1 -1
  265. package/bundled/locales/zh-TW/options/testing/integration-testing.md +1 -1
  266. package/bundled/locales/zh-TW/options/testing/system-testing.md +1 -1
  267. package/bundled/locales/zh-TW/options/testing/unit-testing.md +1 -1
  268. package/bundled/locales/zh-TW/skills/{claude-code/CONTRIBUTING.template.md → CONTRIBUTING.template.md} +2 -2
  269. package/bundled/locales/zh-TW/skills/README.md +131 -79
  270. package/bundled/locales/zh-TW/skills/agents/README.md +281 -0
  271. package/bundled/locales/zh-TW/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/SKILL.md +7 -7
  272. package/bundled/locales/zh-TW/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/anti-hallucination.md +8 -8
  273. package/bundled/locales/zh-TW/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/certainty-labels.md +8 -8
  274. package/bundled/locales/zh-TW/skills/ai-friendly-architecture/SKILL.md +221 -0
  275. package/bundled/locales/zh-TW/skills/ai-instruction-standards/SKILL.md +214 -0
  276. package/bundled/locales/zh-TW/skills/atdd-assistant/SKILL.md +71 -0
  277. package/bundled/locales/zh-TW/skills/atdd-assistant/acceptance-criteria-guide.md +428 -0
  278. package/bundled/locales/zh-TW/skills/atdd-assistant/atdd-workflow.md +484 -0
  279. package/bundled/locales/zh-TW/skills/atdd-assistant/guide.md +368 -0
  280. package/bundled/locales/zh-TW/skills/bdd-assistant/SKILL.md +68 -0
  281. package/bundled/locales/zh-TW/skills/bdd-assistant/bdd-workflow.md +406 -0
  282. package/bundled/locales/zh-TW/skills/bdd-assistant/gherkin-guide.md +454 -0
  283. package/bundled/locales/zh-TW/skills/bdd-assistant/guide.md +324 -0
  284. package/bundled/locales/zh-TW/skills/changelog-guide/SKILL.md +64 -0
  285. package/bundled/locales/zh-TW/skills/{claude-code/changelog-guide/SKILL.md → changelog-guide/guide.md} +6 -7
  286. package/bundled/locales/zh-TW/skills/checkin-assistant/SKILL.md +56 -0
  287. package/bundled/locales/zh-TW/skills/{claude-code/checkin-assistant/SKILL.md → checkin-assistant/guide.md} +6 -7
  288. package/bundled/locales/zh-TW/skills/code-review-assistant/SKILL.md +56 -0
  289. package/bundled/locales/zh-TW/skills/{claude-code/code-review-assistant → code-review-assistant}/checkin-checklist.md +4 -4
  290. package/bundled/locales/zh-TW/skills/{claude-code/code-review-assistant/SKILL.md → code-review-assistant/guide.md} +2 -3
  291. package/bundled/locales/zh-TW/skills/{claude-code/code-review-assistant → code-review-assistant}/review-checklist.md +4 -4
  292. package/bundled/locales/zh-TW/skills/{claude-code/commands → commands}/bdd.md +2 -2
  293. package/bundled/locales/zh-TW/skills/{claude-code/commands → commands}/methodology.md +3 -3
  294. package/bundled/locales/zh-TW/skills/{claude-code/commands → commands}/refactor.md +3 -3
  295. package/bundled/locales/zh-TW/skills/commit-standards/SKILL.md +61 -0
  296. package/bundled/locales/zh-TW/skills/{claude-code/commit-standards → commit-standards}/conventional-commits.md +4 -4
  297. package/bundled/locales/zh-TW/skills/{claude-code/commit-standards/SKILL.md → commit-standards/guide.md} +5 -6
  298. package/bundled/locales/zh-TW/skills/{claude-code/commit-standards → commit-standards}/language-options.md +3 -3
  299. package/bundled/locales/zh-TW/skills/docs-generator/SKILL.md +59 -0
  300. package/bundled/locales/zh-TW/skills/docs-generator/guide.md +262 -0
  301. package/bundled/locales/zh-TW/skills/{claude-code/documentation-guide → documentation-guide}/SKILL.md +7 -8
  302. package/bundled/locales/zh-TW/skills/{claude-code/documentation-guide → documentation-guide}/documentation-structure.md +4 -4
  303. package/bundled/locales/zh-TW/skills/{claude-code/documentation-guide → documentation-guide}/readme-template.md +3 -3
  304. package/bundled/locales/zh-TW/skills/{claude-code/error-code-guide → error-code-guide}/SKILL.md +6 -6
  305. package/bundled/locales/zh-TW/skills/forward-derivation/SKILL.md +62 -0
  306. package/bundled/locales/zh-TW/skills/{claude-code/forward-derivation/SKILL.md → forward-derivation/guide.md} +24 -19
  307. package/bundled/locales/zh-TW/skills/{claude-code/git-workflow-guide → git-workflow-guide}/SKILL.md +3 -3
  308. package/bundled/locales/zh-TW/skills/{claude-code/git-workflow-guide → git-workflow-guide}/branch-naming.md +3 -3
  309. package/bundled/locales/zh-TW/skills/{claude-code/git-workflow-guide → git-workflow-guide}/git-workflow.md +4 -4
  310. package/bundled/locales/zh-TW/skills/{claude-code/logging-guide → logging-guide}/SKILL.md +6 -6
  311. package/bundled/locales/zh-TW/skills/methodology-system/SKILL.md +78 -0
  312. package/bundled/locales/zh-TW/skills/{claude-code/methodology-system → methodology-system}/create-methodology.md +2 -2
  313. package/bundled/locales/zh-TW/skills/{claude-code/methodology-system/SKILL.md → methodology-system/guide.md} +2 -2
  314. package/bundled/locales/zh-TW/skills/{claude-code/methodology-system → methodology-system}/runtime.md +3 -3
  315. package/bundled/locales/zh-TW/skills/project-discovery/SKILL.md +66 -0
  316. package/bundled/locales/zh-TW/skills/project-discovery/guide.md +371 -0
  317. package/bundled/locales/zh-TW/skills/project-discovery/workflow.md +574 -0
  318. package/bundled/locales/zh-TW/skills/{claude-code/project-structure-guide → project-structure-guide}/SKILL.md +4 -4
  319. package/bundled/locales/zh-TW/skills/{claude-code/project-structure-guide → project-structure-guide}/language-patterns.md +1 -1
  320. package/bundled/locales/zh-TW/skills/refactoring-assistant/SKILL.md +67 -0
  321. package/bundled/locales/zh-TW/skills/{claude-code/refactoring-assistant/SKILL.md → refactoring-assistant/guide.md} +7 -8
  322. package/bundled/locales/zh-TW/skills/release-standards/SKILL.md +64 -0
  323. package/bundled/locales/zh-TW/skills/{claude-code/release-standards → release-standards}/changelog-format.md +3 -3
  324. package/bundled/locales/zh-TW/skills/{claude-code/release-standards/SKILL.md → release-standards/guide.md} +2 -3
  325. package/bundled/locales/zh-TW/skills/{claude-code/release-standards → release-standards}/release-workflow.md +60 -28
  326. package/bundled/locales/zh-TW/skills/{claude-code/release-standards → release-standards}/semantic-versioning.md +3 -3
  327. package/bundled/locales/zh-TW/skills/requirement-assistant/SKILL.md +67 -0
  328. package/bundled/locales/zh-TW/skills/{claude-code/requirement-assistant/SKILL.md → requirement-assistant/guide.md} +2 -3
  329. package/bundled/locales/zh-TW/skills/{claude-code/requirement-assistant → requirement-assistant}/requirement-checklist.md +3 -3
  330. package/bundled/locales/zh-TW/skills/{claude-code/requirement-assistant → requirement-assistant}/requirement-writing.md +3 -3
  331. package/bundled/locales/zh-TW/skills/reverse-engineer/SKILL.md +67 -0
  332. package/bundled/locales/zh-TW/skills/{claude-code/reverse-engineer → reverse-engineer}/bdd-extraction.md +2 -2
  333. package/bundled/locales/zh-TW/skills/{claude-code/reverse-engineer/SKILL.md → reverse-engineer/guide.md} +17 -18
  334. package/bundled/locales/zh-TW/skills/{claude-code/reverse-engineer → reverse-engineer}/tdd-analysis.md +2 -2
  335. package/bundled/locales/zh-TW/skills/{claude-code/reverse-engineer → reverse-engineer}/workflow.md +3 -3
  336. package/bundled/locales/zh-TW/skills/spec-driven-dev/SKILL.md +75 -0
  337. package/bundled/locales/zh-TW/skills/{claude-code/spec-driven-dev/SKILL.md → spec-driven-dev/guide.md} +9 -10
  338. package/bundled/locales/zh-TW/skills/tdd-assistant/SKILL.md +66 -0
  339. package/bundled/locales/zh-TW/skills/{claude-code/tdd-assistant/SKILL.md → tdd-assistant/guide.md} +9 -10
  340. package/bundled/locales/zh-TW/skills/{claude-code/tdd-assistant → tdd-assistant}/language-examples.md +3 -3
  341. package/bundled/locales/zh-TW/skills/{claude-code/tdd-assistant → tdd-assistant}/tdd-workflow.md +3 -3
  342. package/bundled/locales/zh-TW/skills/test-coverage-assistant/SKILL.md +65 -0
  343. package/bundled/locales/zh-TW/skills/{claude-code/test-coverage-assistant/SKILL.md → test-coverage-assistant/guide.md} +27 -24
  344. package/bundled/locales/zh-TW/skills/{claude-code/testing-guide → testing-guide}/SKILL.md +6 -6
  345. package/bundled/locales/zh-TW/skills/{claude-code/testing-guide → testing-guide}/testing-pyramid.md +4 -4
  346. package/bundled/locales/zh-TW/skills/{cline → tools/cline}/README.md +1 -1
  347. package/bundled/locales/zh-TW/skills/{copilot → tools/copilot}/README.md +1 -1
  348. package/bundled/locales/zh-TW/skills/{copilot → tools/copilot}/copilot-instructions.md +1 -1
  349. package/bundled/locales/zh-TW/skills/{cursor → tools/cursor}/README.md +1 -1
  350. package/bundled/locales/zh-TW/skills/{windsurf → tools/windsurf}/README.md +1 -1
  351. package/bundled/skills/INTEGRATION-GUIDE.md +210 -0
  352. package/bundled/skills/README.md +95 -0
  353. package/bundled/skills/_shared/README.md +60 -0
  354. package/bundled/skills/agents/README.md +305 -0
  355. package/bundled/skills/agents/code-architect.md +259 -0
  356. package/bundled/skills/agents/doc-writer.md +406 -0
  357. package/bundled/skills/agents/reviewer.md +353 -0
  358. package/bundled/skills/agents/spec-analyst.md +374 -0
  359. package/bundled/skills/agents/test-specialist.md +364 -0
  360. package/bundled/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/SKILL.md +28 -5
  361. package/bundled/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/anti-hallucination.md +24 -5
  362. package/bundled/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/certainty-labels.md +31 -6
  363. package/bundled/skills/ai-friendly-architecture/SKILL.md +216 -0
  364. package/bundled/skills/ai-instruction-standards/SKILL.md +209 -0
  365. package/bundled/skills/atdd-assistant/SKILL.md +74 -0
  366. package/bundled/skills/{claude-code/atdd-assistant → atdd-assistant}/acceptance-criteria-guide.md +1 -1
  367. package/bundled/skills/{claude-code/atdd-assistant → atdd-assistant}/atdd-workflow.md +1 -1
  368. package/bundled/skills/{claude-code/atdd-assistant/SKILL.md → atdd-assistant/guide.md} +11 -11
  369. package/bundled/skills/bdd-assistant/SKILL.md +70 -0
  370. package/bundled/skills/{claude-code/bdd-assistant → bdd-assistant}/bdd-workflow.md +1 -1
  371. package/bundled/skills/{claude-code/bdd-assistant → bdd-assistant}/gherkin-guide.md +1 -1
  372. package/bundled/skills/{claude-code/bdd-assistant/SKILL.md → bdd-assistant/guide.md} +11 -11
  373. package/bundled/skills/changelog-guide/SKILL.md +66 -0
  374. package/bundled/skills/{claude-code/changelog-guide/SKILL.md → changelog-guide/guide.md} +8 -6
  375. package/bundled/skills/checkin-assistant/SKILL.md +52 -0
  376. package/bundled/skills/{claude-code/checkin-assistant/SKILL.md → checkin-assistant/guide.md} +6 -6
  377. package/bundled/skills/code-review-assistant/SKILL.md +53 -0
  378. package/bundled/skills/{claude-code/code-review-assistant → code-review-assistant}/checkin-checklist.md +3 -3
  379. package/bundled/skills/{claude-code/code-review-assistant/SKILL.md → code-review-assistant/guide.md} +7 -5
  380. package/bundled/skills/{claude-code/code-review-assistant → code-review-assistant}/review-checklist.md +3 -3
  381. package/bundled/skills/commands/COMMAND-FAMILY-OVERVIEW.md +290 -0
  382. package/bundled/skills/{claude-code/commands → commands}/README.md +13 -3
  383. package/bundled/skills/{claude-code/commands → commands}/atdd.md +3 -3
  384. package/bundled/skills/{claude-code/commands → commands}/bdd.md +2 -2
  385. package/bundled/skills/commands/changelog.md +58 -0
  386. package/bundled/skills/{claude-code/commands → commands}/check.md +1 -1
  387. package/bundled/skills/commands/checkin.md +53 -0
  388. package/bundled/skills/{claude-code/commands → commands}/commit.md +3 -3
  389. package/bundled/skills/{claude-code/commands → commands}/config.md +1 -1
  390. package/bundled/skills/{claude-code/commands → commands}/coverage.md +5 -4
  391. package/bundled/skills/commands/derive-all.md +53 -0
  392. package/bundled/skills/commands/derive-atdd.md +49 -0
  393. package/bundled/skills/commands/derive-bdd.md +47 -0
  394. package/bundled/skills/commands/derive-tdd.md +48 -0
  395. package/bundled/skills/commands/derive.md +72 -0
  396. package/bundled/skills/commands/discover.md +80 -0
  397. package/bundled/skills/commands/docgen.md +61 -0
  398. package/bundled/skills/commands/docs.md +59 -0
  399. package/bundled/skills/commands/guide.md +44 -0
  400. package/bundled/skills/{claude-code/commands → commands}/init.md +2 -2
  401. package/bundled/skills/{claude-code/commands → commands}/methodology.md +32 -16
  402. package/bundled/skills/{claude-code/commands → commands}/refactor.md +2 -2
  403. package/bundled/skills/commands/release.md +56 -0
  404. package/bundled/skills/{claude-code/commands → commands}/requirement.md +3 -3
  405. package/bundled/skills/commands/reverse-bdd.md +47 -0
  406. package/bundled/skills/commands/reverse-sdd.md +51 -0
  407. package/bundled/skills/commands/reverse-tdd.md +51 -0
  408. package/bundled/skills/commands/reverse.md +63 -0
  409. package/bundled/skills/{claude-code/commands → commands}/review.md +3 -3
  410. package/bundled/skills/commands/sdd.md +135 -0
  411. package/bundled/skills/{claude-code/commands → commands}/tdd.md +3 -3
  412. package/bundled/skills/{claude-code/commands → commands}/update.md +2 -2
  413. package/bundled/skills/commit-standards/SKILL.md +60 -0
  414. package/bundled/skills/{claude-code/commit-standards → commit-standards}/conventional-commits.md +3 -3
  415. package/bundled/skills/{claude-code/commit-standards/SKILL.md → commit-standards/guide.md} +17 -5
  416. package/bundled/skills/{claude-code/commit-standards → commit-standards}/language-options.md +2 -2
  417. package/bundled/skills/docs-generator/SKILL.md +69 -0
  418. package/bundled/skills/docs-generator/guide.md +258 -0
  419. package/bundled/skills/{claude-code/documentation-guide → documentation-guide}/SKILL.md +7 -7
  420. package/bundled/skills/{claude-code/documentation-guide → documentation-guide}/documentation-structure.md +3 -3
  421. package/bundled/skills/{claude-code/documentation-guide → documentation-guide}/readme-template.md +2 -2
  422. package/bundled/skills/{claude-code/error-code-guide → error-code-guide}/SKILL.md +7 -5
  423. package/bundled/skills/forward-derivation/SKILL.md +61 -0
  424. package/bundled/skills/{claude-code/forward-derivation/SKILL.md → forward-derivation/guide.md} +44 -29
  425. package/bundled/skills/{claude-code/git-workflow-guide → git-workflow-guide}/SKILL.md +7 -5
  426. package/bundled/skills/{claude-code/git-workflow-guide → git-workflow-guide}/branch-naming.md +2 -2
  427. package/bundled/skills/{claude-code/git-workflow-guide → git-workflow-guide}/git-workflow.md +3 -3
  428. package/bundled/skills/{claude-code/logging-guide → logging-guide}/SKILL.md +7 -5
  429. package/bundled/skills/methodology-system/SKILL.md +75 -0
  430. package/bundled/skills/{claude-code/methodology-system → methodology-system}/create-methodology.md +1 -1
  431. package/bundled/skills/{claude-code/methodology-system/SKILL.md → methodology-system/guide.md} +51 -16
  432. package/bundled/skills/methodology-system/integrated-flow.md +454 -0
  433. package/bundled/skills/{claude-code/methodology-system → methodology-system}/runtime.md +2 -2
  434. package/bundled/skills/project-discovery/SKILL.md +63 -0
  435. package/bundled/skills/project-discovery/guide.md +367 -0
  436. package/bundled/skills/project-discovery/workflow.md +566 -0
  437. package/bundled/skills/{claude-code/project-structure-guide → project-structure-guide}/SKILL.md +14 -4
  438. package/bundled/skills/refactoring-assistant/SKILL.md +78 -0
  439. package/bundled/skills/{claude-code/refactoring-assistant/SKILL.md → refactoring-assistant/guide.md} +7 -7
  440. package/bundled/skills/release-standards/SKILL.md +61 -0
  441. package/bundled/skills/{claude-code/release-standards → release-standards}/changelog-format.md +2 -2
  442. package/bundled/skills/{claude-code/release-standards/SKILL.md → release-standards/guide.md} +7 -5
  443. package/bundled/skills/{claude-code/release-standards → release-standards}/release-workflow.md +59 -24
  444. package/bundled/skills/{claude-code/release-standards → release-standards}/semantic-versioning.md +2 -2
  445. package/bundled/skills/requirement-assistant/SKILL.md +66 -0
  446. package/bundled/skills/{claude-code/requirement-assistant/SKILL.md → requirement-assistant/guide.md} +14 -6
  447. package/bundled/skills/{claude-code/requirement-assistant → requirement-assistant}/requirement-checklist.md +2 -2
  448. package/bundled/skills/{claude-code/requirement-assistant → requirement-assistant}/requirement-writing.md +2 -2
  449. package/bundled/skills/reverse-engineer/SKILL.md +64 -0
  450. package/bundled/skills/{claude-code/reverse-engineer → reverse-engineer}/bdd-extraction.md +1 -1
  451. package/bundled/skills/{claude-code/reverse-engineer/SKILL.md → reverse-engineer/guide.md} +21 -18
  452. package/bundled/skills/{claude-code/reverse-engineer → reverse-engineer}/tdd-analysis.md +1 -1
  453. package/bundled/skills/{claude-code/reverse-engineer → reverse-engineer}/workflow.md +2 -2
  454. package/bundled/skills/spec-driven-dev/SKILL.md +80 -0
  455. package/bundled/skills/{claude-code/spec-driven-dev/SKILL.md → spec-driven-dev/guide.md} +50 -8
  456. package/bundled/skills/tdd-assistant/SKILL.md +65 -0
  457. package/bundled/skills/{claude-code/tdd-assistant/SKILL.md → tdd-assistant/guide.md} +10 -10
  458. package/bundled/skills/{claude-code/tdd-assistant → tdd-assistant}/language-examples.md +3 -3
  459. package/bundled/skills/{claude-code/tdd-assistant → tdd-assistant}/tdd-workflow.md +2 -2
  460. package/bundled/skills/test-coverage-assistant/SKILL.md +63 -0
  461. package/bundled/skills/{claude-code/test-coverage-assistant/SKILL.md → test-coverage-assistant/guide.md} +39 -24
  462. package/bundled/skills/{claude-code/testing-guide → testing-guide}/SKILL.md +12 -7
  463. package/bundled/skills/{claude-code/testing-guide → testing-guide}/testing-pyramid.md +3 -3
  464. package/bundled/skills/testing-guide/testing-theory.md +2291 -0
  465. package/bundled/skills/tools/cline/.clinerules +79 -0
  466. package/bundled/skills/tools/cline/README.md +50 -0
  467. package/bundled/skills/tools/copilot/README.md +99 -0
  468. package/bundled/skills/tools/copilot/copilot-instructions.md +71 -0
  469. package/bundled/skills/tools/cursor/.cursorrules +101 -0
  470. package/bundled/skills/tools/cursor/README.md +50 -0
  471. package/bundled/skills/tools/windsurf/.windsurfrules +76 -0
  472. package/bundled/skills/tools/windsurf/README.md +51 -0
  473. package/bundled/skills/workflows/README.md +303 -0
  474. package/bundled/skills/workflows/code-review.workflow.yaml +186 -0
  475. package/bundled/skills/workflows/feature-dev.workflow.yaml +174 -0
  476. package/bundled/skills/workflows/integrated-flow.workflow.yaml +238 -0
  477. package/bundled/skills/workflows/large-codebase-analysis.workflow.yaml +226 -0
  478. package/bundled/skills/workflows/release.workflow.yaml +893 -0
  479. package/package.json +14 -1
  480. package/src/commands/agent.js +417 -0
  481. package/src/commands/ai-context.js +552 -0
  482. package/src/commands/check.js +196 -131
  483. package/src/commands/config.js +1262 -0
  484. package/src/commands/configure.js +3 -950
  485. package/src/commands/fix.js +53 -0
  486. package/src/commands/hitl.js +19 -0
  487. package/src/commands/init.js +320 -1027
  488. package/src/commands/list.js +1 -1
  489. package/src/commands/simulate.js +61 -0
  490. package/src/commands/spec.js +288 -0
  491. package/src/commands/start.js +373 -0
  492. package/src/commands/sweep.js +142 -0
  493. package/src/commands/update.js +136 -19
  494. package/src/commands/workflow.js +689 -0
  495. package/src/config/ai-agent-paths.js +292 -28
  496. package/src/core/constants.js +520 -0
  497. package/src/core/errors.js +398 -0
  498. package/src/core/manifest.js +474 -0
  499. package/src/core/paths.js +398 -0
  500. package/src/flows/init-flow.js +243 -0
  501. package/src/hitl/checkpoint.js +80 -0
  502. package/src/hitl/classifier.js +54 -0
  503. package/src/hitl/manager.js +88 -0
  504. package/src/i18n/messages.js +907 -99
  505. package/src/index.js +1 -0
  506. package/src/installers/integration-installer.js +237 -0
  507. package/src/installers/manifest-installer.js +131 -0
  508. package/src/installers/skills-installer.js +286 -0
  509. package/src/installers/standards-installer.js +193 -0
  510. package/src/missions/MissionManager.js +501 -0
  511. package/src/prompts/init.js +235 -135
  512. package/src/prompts/integrations.js +13 -1
  513. package/src/schemas/standard.schema.json +117 -0
  514. package/src/utils/agent-adapter.js +320 -0
  515. package/src/utils/agents-installer.js +393 -0
  516. package/src/utils/config-loader.js +47 -0
  517. package/src/utils/config-manager.js +108 -0
  518. package/src/utils/config-merger.js +47 -0
  519. package/src/utils/context-chunker.js +467 -0
  520. package/src/utils/copier.js +59 -99
  521. package/src/utils/github.js +22 -18
  522. package/src/utils/hasher.js +2 -16
  523. package/src/utils/inquirer-patch.js +98 -0
  524. package/src/utils/integration-generator.js +420 -110
  525. package/src/utils/reference-sync.js +69 -19
  526. package/src/utils/skills-installer.js +6 -3
  527. package/src/utils/standard-fixer.js +141 -0
  528. package/src/utils/standard-validator.js +329 -0
  529. package/src/utils/workflow-executor.js +886 -0
  530. package/src/utils/workflow-state.js +404 -0
  531. package/src/utils/workflows-installer.js +545 -0
  532. package/src/vibe/auto-sweep.js +349 -0
  533. package/src/vibe/micro-spec.js +428 -0
  534. package/standards-registry.json +429 -107
  535. package/bundled/locales/zh-CN/skills/claude-code/README.md +0 -174
  536. package/bundled/locales/zh-CN/skills/claude-code/test-coverage-assistant/SKILL.md +0 -282
  537. package/bundled/locales/zh-TW/skills/claude-code/README.md +0 -174
  538. package/bundled/skills/claude-code/README.md +0 -207
  539. package/bundled/skills/claude-code/commands/changelog.md +0 -57
  540. package/bundled/skills/claude-code/commands/derive-all.md +0 -214
  541. package/bundled/skills/claude-code/commands/derive-atdd.md +0 -177
  542. package/bundled/skills/claude-code/commands/derive-bdd.md +0 -158
  543. package/bundled/skills/claude-code/commands/derive-tdd.md +0 -259
  544. package/bundled/skills/claude-code/commands/docs.md +0 -75
  545. package/bundled/skills/claude-code/commands/release.md +0 -50
  546. package/bundled/skills/claude-code/commands/reverse-bdd.md +0 -264
  547. package/bundled/skills/claude-code/commands/reverse-spec.md +0 -185
  548. package/bundled/skills/claude-code/commands/reverse-tdd.md +0 -351
  549. package/bundled/skills/claude-code/commands/spec.md +0 -69
  550. package/bundled/skills/claude-code/methodology-system/integrated-flow.md +0 -322
  551. /package/bundled/skills/{claude-code/CONTRIBUTING.template.md → CONTRIBUTING.template.md} +0 -0
  552. /package/bundled/skills/{claude-code/ai → ai}/standards/checkin.ai.yaml +0 -0
  553. /package/bundled/skills/{claude-code/ai → ai}/standards/commit.ai.yaml +0 -0
  554. /package/bundled/skills/{claude-code/ai → ai}/standards/refactoring.ai.yaml +0 -0
  555. /package/bundled/skills/{claude-code/ai → ai}/standards/testing.ai.yaml +0 -0
  556. /package/bundled/skills/{claude-code/project-structure-guide → project-structure-guide}/language-patterns.md +0 -0
@@ -1,38 +1,26 @@
1
- ---
2
- source: ../../README.md
3
- source_version: 4.0.0
4
- translation_version: 4.0.0
5
- last_synced: 2026-01-20
6
- status: current
7
- ---
1
+ # Universal Development Standards
8
2
 
9
- # 通用開發規範
3
+ [![npm version](https://img.shields.io/npm/v/universal-dev-standards.svg)](https://www.npmjs.com/package/universal-dev-standards)
4
+ [![License: MIT + CC BY 4.0](https://img.shields.io/badge/License-MIT%20%2B%20CC%20BY%204.0-blue.svg)](../../LICENSE)
5
+ [![Node.js](https://img.shields.io/badge/Node.js-%3E%3D20.0.0-green.svg)](https://nodejs.org/)
10
6
 
11
- > **Language**: [English](../../README.md) | 繁體中文 | [简体中文](../zh-CN/README.md)
7
+ > **語言**: [English](../../README.md) | 繁體中文 | [简体中文](../zh-CN/README.md)
12
8
 
13
- **版本**: 4.0.0
14
- **最後更新**: 2026-01-20
15
- **授權**: [雙重授權](../../LICENSE) (CC BY 4.0 + MIT)
9
+ **版本**: 5.0.0-alpha.1 (Pre-release) | **發布日期**: 2026-01-29 | **授權**: [雙重授權](../../LICENSE) (CC BY 4.0 + MIT)
16
10
 
17
- ### 4.0.0 新功能
18
-
19
- | 功能 | 說明 |
20
- |------|------|
21
- | **雙向推演** | 正向推演 + 反向工程形成完整的規格-程式碼循環 |
22
- | **6 個新核心規範** | BDD、ATDD、反向工程、正向推演、AI 指令、重構 |
23
- | **23 個 Skills** | 8 個新技能,包括正向推演、BDD/ATDD 助手、Commands |
24
- | **24 個斜線命令** | 9 個新命令(`/derive-*`、`/reverse-*`、`/atdd`、`/bdd`)|
25
- | **每工具安裝層級** | Skills/Commands 支援每個 AI 工具的使用者或專案層級 |
26
- | **增強 CLI** | Debug 旗標、拒絕功能記憶、檔案完整性追蹤 |
27
- | **方法論系統** | TDD/BDD/SDD/ATDD 工作流程現已正式發布 |
28
-
29
- > **4.0 新功能**:雙向推演帶來完整的規格-程式碼生命週期管理,包含正向推演和反向工程。
11
+ 語言無關、框架無關的軟體專案文件標準。確保不同技術堆疊之間的一致性、品質和可維護性。
30
12
 
31
13
  ---
32
14
 
33
- ## 目的
15
+ ## 功能特色
34
16
 
35
- 此儲存庫提供**與語言無關、與框架無關、與領域無關**的軟體專案文件標準。這些標準確保各種技術堆疊的一致性、品質和可維護性。
17
+ | 類別 | 數量 | 說明 |
18
+ |------|------|------|
19
+ | **核心標準** | 22 | 通用開發準則(Markdown) |
20
+ | **AI Skills** | 23 | Claude Code 互動式技能 |
21
+ | **Slash Commands** | 24 | 快速操作(`/commit`、`/tdd`、`/review` 等) |
22
+ | **CLI 指令** | 6 | `list`、`init`、`configure`、`check`、`update`、`skills` |
23
+ | **語言支援** | 3 | 英文、繁體中文、簡體中文 |
36
24
 
37
25
  ---
38
26
 
@@ -44,11 +32,11 @@ status: current
44
32
  # 全域安裝
45
33
  npm install -g universal-dev-standards
46
34
 
47
- # 初始化您的專案
35
+ # 初始化專案
48
36
  uds init
49
37
  ```
50
38
 
51
- ### 或使用 npx(免安裝)
39
+ ### 或使用 npx(無需安裝)
52
40
 
53
41
  ```bash
54
42
  npx universal-dev-standards init
@@ -56,42 +44,15 @@ npx universal-dev-standards init
56
44
 
57
45
  ### 手動設定
58
46
 
59
- 複製必要規範到您的專案:
60
-
61
- ```bash
62
- cp core/anti-hallucination.md your-project/.standards/
63
- cp core/checkin-standards.md your-project/.standards/
64
- cp core/commit-message-guide.md your-project/.standards/
65
- ```
66
-
67
- > **重要**:僅複製規範檔案並不會啟用 AI 輔助功能。您還必須在 AI 工具的配置檔案中引用這些規範(如 `CLAUDE.md`、`.cursorrules`)。建議使用 `uds init` 進行自動配置。
68
-
69
- ### AI 工具擴充(選用)
70
-
71
- 安裝 UDS 後,可選擇為您偏好的工具啟用 AI 輔助功能:
72
-
73
- | AI 工具 | 配置檔案 | Skills | Commands |
74
- |---------|----------|:------:|:--------:|
75
- | Claude Code | `uds init` → `CLAUDE.md` | ✅ Marketplace / 檔案 | 內建 |
76
- | OpenCode | `uds init` → `AGENTS.md` | ✅ `.opencode/skill/` | ✅ `.opencode/command/` |
77
- | Cline | `uds init` → `.clinerules` | ✅ `.cline/skills/` | - |
78
- | Roo Code | `uds init` → `.roorules` | ✅ `.roo/skills/` | ✅ `.roo/commands/` |
79
- | OpenAI Codex | `uds init` → `AGENTS.md` | ✅ `.codex/skills/` | - |
80
- | GitHub Copilot | `uds init` → `copilot-instructions.md` | ✅ `.github/skills/` | ✅ `.github/prompts/` |
81
- | Windsurf | `uds init` → `.windsurfrules` | ✅ `.windsurf/skills/` | - |
82
- | Gemini CLI | `uds init` → `GEMINI.md` | ✅ `.gemini/skills/` | ✅ `.gemini/commands/` (TOML) |
83
- | Cursor | `uds init` → `.cursorrules` | ❌ 僅 Rules | - |
84
- | Google Antigravity | `uds init` → `INSTRUCTIONS.md` | - | - |
47
+ 若不使用 npm 的手動設定方式,請參閱下方[安裝方式](#安裝方式)。
85
48
 
86
- > **v4.0.0 新功能**:`uds init` 支援每工具安裝層級選擇(使用者或專案層級)。雙向推演系統(正向推演 + 反向工程)現已可用。
49
+ > **注意**:僅複製標準文件不會啟用 AI 協助功能。請使用 `uds init` 自動設定 AI 工具,或手動在工具設定檔中引用標準。
87
50
 
88
51
  ---
89
52
 
90
53
  ## 安裝方式
91
54
 
92
- ### CLI 工具(主要安裝)
93
-
94
- CLI 工具是在專案中採用 UDS 的主要方式。
55
+ ### CLI 工具(主要方式)
95
56
 
96
57
  **npm(推薦)**
97
58
  ```bash
@@ -99,446 +60,275 @@ npm install -g universal-dev-standards
99
60
  uds init # 互動式初始化
100
61
  uds check # 檢查採用狀態
101
62
  uds update # 更新至最新版本
102
- uds skills # 列出已安裝的技能
63
+ uds skills # 列出已安裝的 skills
103
64
  ```
104
65
 
105
- **npx(免安裝)**
66
+ **npx(無需安裝)**
106
67
  ```bash
107
68
  npx universal-dev-standards init
108
69
  ```
109
70
 
110
- **特定版本**
71
+ **指定版本**
111
72
  ```bash
112
- # 安裝特定版本
113
- npm install -g universal-dev-standards@4.0.0
114
-
115
- # 或安裝 beta 版以獲得即將推出的功能
116
- npm install -g universal-dev-standards@beta
73
+ npm install -g universal-dev-standards@4.1.0
74
+ npm install -g universal-dev-standards@beta # 預覽功能
117
75
  ```
118
76
 
119
- **克隆並連結(開發用)**
77
+ **Clone 並連結(開發用)**
120
78
 
121
- macOS / Linux
79
+ macOS / Linux:
122
80
  ```bash
123
81
  git clone https://github.com/AsiaOstrich/universal-dev-standards.git
124
82
  cd universal-dev-standards/cli && npm install && npm link
125
83
  ```
126
84
 
127
- Windows (PowerShell)
85
+ Windows (PowerShell):
128
86
  ```powershell
129
87
  git clone https://github.com/AsiaOstrich/universal-dev-standards.git
130
88
  cd universal-dev-standards\cli; npm install; npm link
131
89
  ```
132
90
 
133
- 請參閱 [CLI README](../../cli/README.md) 了解詳細使用方法、[Windows 指南](docs/WINDOWS-GUIDE.md) 獲得 Windows 特定說明,以及[作業流程](docs/OPERATION-WORKFLOW.md)了解專案維護與開發流程。
134
-
135
91
  ---
136
92
 
137
- ### AI 工具配置
93
+ ## AI 工具支援
94
+
95
+ | AI 工具 | 狀態 | Skills | Commands | 設定檔 |
96
+ |---------|------|:------:|:--------:|--------|
97
+ | **Claude Code** | ✅ 完整支援 | ✅ | 內建 | `CLAUDE.md` |
98
+ | **OpenCode** | ✅ 完整支援 | ✅ | ✅ | `AGENTS.md` |
99
+ | Cline | 🔶 部分支援 | ✅ | - | `.clinerules` |
100
+ | GitHub Copilot | 🔶 部分支援 | ✅ | ✅ | `copilot-instructions.md` |
101
+ | OpenAI Codex | 🔶 部分支援 | ✅ | - | `AGENTS.md` |
102
+ | Gemini CLI | 🧪 預覽版 | ✅ | ✅ | `GEMINI.md` |
103
+ | Roo Code | ⏳ 計畫中 | ✅ | ✅ | `.roorules` |
104
+ | Cursor | 📄 基本支援 | - | - | `.cursorrules` |
105
+ | Windsurf | 📄 基本支援 | - | - | `.windsurfrules` |
106
+ | Antigravity | 📄 基本支援 | - | - | `INSTRUCTIONS.md` |
107
+
108
+ > **狀態圖例**(UDS CLI 實作狀態):
109
+ > - ✅ 完整支援 = Skills + Commands 完整支援,已測試
110
+ > - 🔶 部分支援 = Skills 可用,Commands 受限或不支援
111
+ > - 🧪 預覽版 = 功能可用但為預覽版本
112
+ > - ⏳ 計畫中 = 程式碼存在,待測試
113
+ > - 📄 基本支援 = 僅規則檔生成,不支援 Skills/Commands
138
114
 
139
- 每個 AI 工具使用配置檔案來定義專案特定規則。`uds init` 會自動產生這些檔案:
115
+ ### 平台支援
140
116
 
141
- | 工具 | 配置檔案 | 位置 |
142
- |------|----------|------|
143
- | Claude Code | `CLAUDE.md` | 專案根目錄 |
144
- | OpenCode | `AGENTS.md` | 專案根目錄 |
145
- | OpenAI Codex | `AGENTS.md` | 專案根目錄 |
146
- | Cursor | `.cursorrules` | 專案根目錄 |
147
- | Windsurf | `.windsurfrules` | 專案根目錄 |
148
- | Cline | `.clinerules` | 專案根目錄 |
149
- | GitHub Copilot | `copilot-instructions.md` | `.github/` |
150
- | Google Antigravity | `INSTRUCTIONS.md` | 專案根目錄 |
151
- | Gemini CLI | `GEMINI.md` | 專案根目錄 |
117
+ | 平台 | 狀態 | 備註 |
118
+ |------|------|------|
119
+ | **macOS** | 已測試 | 主要開發平台 |
120
+ | **Linux** | ⚠️ 未測試 | 預期可運作(基於 Node.js) |
121
+ | **Windows** | ⚠️ 未測試 | 提供 PowerShell 腳本 |
152
122
 
153
- 或從 `integrations/` 目錄手動複製。
123
+ 請參閱 [Windows 指南](../../docs/WINDOWS-GUIDE.md)了解平台特定說明。
154
124
 
155
125
  ---
156
126
 
157
- ### Agent Skills 安裝
158
-
159
- Agent Skills 是增強 AI 輔助開發的互動式指令(`/commit`、`/tdd`、`/review` 等)。Skills 遵循 [Agent Skills 標準](https://agentskills.io),可跨多個 AI 工具使用。
160
-
161
- **包含的技能(23 個):** ai-collaboration-standards、atdd-assistant、bdd-assistant、changelog-guide、checkin-assistant、code-review-assistant、commands、commit-standards、documentation-guide、error-code-guide、forward-derivation、git-workflow-guide、logging-guide、methodology-system、project-structure-guide、refactoring-assistant、release-standards、requirement-assistant、reverse-engineer、spec-driven-dev、tdd-assistant、test-coverage-assistant、testing-guide
127
+ ## Skills 安裝
162
128
 
163
- #### 支援的工具
164
-
165
- | 工具 | Skills 支援 | 推薦方式 |
166
- |------|------------|----------|
167
- | Claude Code | ✅ 完整 | Plugin Marketplace |
168
- | OpenCode | ✅ 完整 | UDS CLI |
169
- | (更多工具即將支援) | - | - |
170
-
171
- #### 方法一:Claude Code Plugin Marketplace
172
-
173
- Claude Code 用戶可透過 Plugin Marketplace 最簡單地安裝:
129
+ ### 方法 1:Claude Code Plugin Marketplace(最簡單)
174
130
 
175
131
  ```bash
176
132
  /plugin install universal-dev-standards@asia-ostrich
177
133
  ```
178
134
 
179
- **優點:**
180
- - 單一指令安裝
181
- - 新版本發布時自動更新
182
- - 所有 22 個技能立即載入
183
-
184
- **從 v3.2.x 遷移?** 如果您使用舊的 marketplace 名稱:
135
+ **優點**:單一指令、自動更新、立即載入全部 23 個 skills。
185
136
 
137
+ **從 v3.x 升級?**
186
138
  ```bash
187
139
  /plugin uninstall universal-dev-standards@universal-dev-standards
188
140
  /plugin install universal-dev-standards@asia-ostrich
189
141
  ```
190
142
 
191
- #### 方法二:UDS CLI(推薦用於 OpenCode)
192
-
193
- OpenCode 和其他工具,請使用 UDS CLI:
143
+ ### 方法 2:UDS CLI
194
144
 
195
145
  ```bash
196
- # 全域安裝 UDS CLI
197
146
  npm install -g universal-dev-standards
198
-
199
- # 初始化專案 - 選擇您的 AI 工具
200
- uds init
201
-
202
- # Skills 會安裝到 .claude/skills/
203
- # OpenCode 會自動偵測此路徑 ✅
147
+ uds init # 選擇 AI 工具,skills 自動安裝
204
148
  ```
205
149
 
206
- 使用 `uds check` 驗證安裝狀態和 skills 相容性。
207
-
208
- #### 方法三:手動安裝
150
+ 使用 `uds check` 驗證安裝狀態。
209
151
 
210
- 克隆並直接複製 skills:
152
+ ### 方法 3:手動安裝
211
153
 
212
- macOS / Linux
154
+ macOS / Linux:
213
155
  ```bash
214
156
  git clone https://github.com/AsiaOstrich/universal-dev-standards.git /tmp/uds
215
- cp -r /tmp/uds/skills/claude-code/* ~/.claude/skills/ # 全域
216
- # 或:cp -r /tmp/uds/skills/claude-code/* .claude/skills/ # 專案
157
+ cp -r /tmp/uds/skills/* ~/.claude/skills/ # 全域
158
+ # 或: cp -r /tmp/uds/skills/* .claude/skills/ # 專案
217
159
  rm -rf /tmp/uds
218
160
  ```
219
161
 
220
- Windows (PowerShell)
162
+ Windows (PowerShell):
221
163
  ```powershell
222
164
  git clone https://github.com/AsiaOstrich/universal-dev-standards.git $env:TEMP\uds
223
165
  Copy-Item -Recurse $env:TEMP\uds\skills\claude-code\* $env:USERPROFILE\.claude\skills\
224
166
  Remove-Item -Recurse $env:TEMP\uds
225
167
  ```
226
168
 
227
- #### 社群 Marketplace
169
+ ### 社群市集
228
170
 
229
- 從社群平台發現和安裝 skills
230
-
231
- - **[n-skills](https://github.com/numman-ali/n-skills)** - 精選 marketplace,支援 Claude Code、OpenCode、Cursor 等
232
- - **[claude-plugins.dev](https://claude-plugins.dev/skills)** - 從 GitHub 自動索引的技能發現
171
+ - **[n-skills](https://github.com/numman-ali/n-skills)** - Claude Code、OpenCode、Cursor 精選市集
172
+ - **[claude-plugins.dev](https://claude-plugins.dev/skills)** - 自動索引的 skill 探索
233
173
  - **[agentskills.io](https://agentskills.io)** - 官方 Agent Skills 規範
234
174
 
235
175
  ---
236
176
 
237
- ### 多 AI 工具支援
238
-
239
- | AI 工具 | 狀態 | 路徑 | 平台測試 |
240
- |---------|------|------|----------|
241
- | Claude Code | ✅ 完成 | `skills/claude-code/` | macOS ✅ |
242
- | OpenCode | 🧪 測試中 | `integrations/opencode/` | macOS 🧪 |
243
- | GitHub Copilot | 🧪 測試中 | `integrations/github-copilot/` | macOS 🧪 |
244
- | Cursor | ⏳ 規劃中 | `integrations/cursor/` | - |
245
- | Windsurf | ⏳ 規劃中 | `integrations/windsurf/` | - |
246
- | Cline | ⏳ 規劃中 | `integrations/cline/` | - |
247
- | Google Antigravity | ⏳ 規劃中 | `integrations/google-antigravity/` | - |
248
- | OpenAI Codex | ⏳ 規劃中 | `integrations/codex/` | - |
249
- | Gemini CLI | ⏳ 規劃中 | `integrations/gemini-cli/` | - |
250
-
251
- ### 平台支援
252
-
253
- | 平台 | CLI 工具 | Skills | 備註 |
254
- |------|----------|--------|------|
255
- | **macOS** | ✅ 已測試 | ✅ 已測試 | 主要開發平台 |
256
- | **Linux** | ⚠️ 未測試 | ⚠️ 未測試 | 預期可運作(基於 Node.js) |
257
- | **Windows** | ⚠️ 未測試 | ⚠️ 未測試 | 提供 PowerShell 腳本 |
258
-
259
- > **注意**:UDS CLI 基於 Node.js,應可在所有平台運作。平台測試指的是在該作業系統上與 AI 工具搭配使用的功能驗證。詳細狀態請參閱 [AI Agent 規劃](docs/AI-AGENT-ROADMAP.md)。
260
-
261
- ---
262
-
263
- ## 核心原則
264
-
265
- 1. **通用適用性** - 標準適用於任何程式語言、框架或領域
266
- 2. **模組化設計** - 選擇與您專案相關的標準
267
- 3. **可擴充架構** - 可使用語言特定、框架特定或領域特定規則進行擴充
268
- 4. **基於證據** - 標準源自業界最佳實務與實際驗證
269
- 5. **自包含** - 每個標準都可獨立使用,無需依賴其他標準
270
-
271
- ---
272
-
273
- ## 內容概覽
274
-
275
- ```
276
- universal-dev-standards/
277
- ├── core/ # 核心通用標準(22 個檔案)
278
- ├── ai/ # AI 優化標準(.ai.yaml)
279
- ├── options/ # 人類可讀選項指南
280
- ├── skills/ # AI 工具技能(Claude Code 等)
281
- ├── extensions/ # 語言/框架/領域特定
282
- ├── templates/ # 文件範本
283
- ├── integrations/ # 工具設定
284
- ├── cli/ # CLI 工具(uds 指令)
285
- ├── locales/ # 翻譯(zh-TW、zh-CN)
286
- └── adoption/ # 採用指南
287
- ```
288
-
289
- 請參閱下方的[詳細目錄結構](#詳細目錄結構)。
290
-
291
- ---
292
-
293
- ## 規範等級
294
-
295
- ### 等級 1:必要(最小可行標準)
296
-
297
- **每個專案必須具備**:
298
- - `anti-hallucination.md` - AI 協作指南
299
- - `checkin-standards.md` - 提交前的品質門檻
300
- - `commit-message-guide.md` - 標準化的 commit 格式
301
- - `spec-driven-development.md` - 規格驅動開發標準
302
-
303
- **預估設定時間**:30 分鐘
177
+ ## 使用模式
304
178
 
305
- ---
179
+ | 模式 | 最適合 | 主要優勢 |
180
+ |------|--------|----------|
181
+ | **僅 Skills** | 個人開發者 + Claude Code | 最低 token 使用量、最佳互動體驗 |
182
+ | **僅標準** | 多工具團隊 / 企業 | 完整自訂、版本控制 |
183
+ | **Skills + 標準** | 完整體驗 / 學習 | 100% 功能覆蓋 |
306
184
 
307
- ### 等級 2:推薦(專業品質)
185
+ ### 快速決策指南
308
186
 
309
- **包含等級 1 +**:
310
- - `git-workflow.md` - 分支策略
311
- - `code-review-checklist.md` - 審查指南
312
- - `versioning.md` - 版本管理
313
- - `changelog-standards.md` - 變更日誌撰寫指南
314
- - `testing-standards.md` - 測試金字塔(UT/IT/ST/E2E)
315
- - 語言特定的風格指南(例如 `csharp-style.md`)
187
+ - **個人專案使用 Claude Code?** → 僅 Skills
188
+ - **團隊使用多個 AI 工具?** → Skills + 標準
189
+ - **企業合規需求?** 僅標準
316
190
 
317
- **預估設定時間**:2 小時
191
+ 詳細分析請參閱[使用模式比較](../../docs/USAGE-MODES-COMPARISON.md)。
318
192
 
319
193
  ---
320
194
 
321
- ### 等級 3:全面(企業級)
195
+ ## 核心標準概覽
322
196
 
323
- **包含等級 2 +**:
324
- - `documentation-structure.md` - 文件組織
325
- - 框架特定標準(例如 `dotnet.md`)
326
- - 領域特定標準(例如 `fintech.md`)
327
- - OpenSpec 整合用於規格驅動開發
328
- - 完整範本套件
197
+ > **更新 (v4.3.0)**:核心標準已針對 AI Token 使用量進行最佳化。
198
+ > - **規則 (`core/*.md`)**:供 AI 驗證使用的精簡檢查清單與規則。
199
+ > - **指南 (`core/guides/*.md`)**:供人類閱讀的詳細解釋與教學。
329
200
 
330
- **預估設定時間**:1-2
201
+ ### 等級一:基本(30 分鐘設定)
331
202
 
332
- ---
203
+ 每個專案必須包含:
333
204
 
334
- ## AI 優化標準
205
+ | 標準 | 說明 |
206
+ |------|------|
207
+ | `anti-hallucination.md` | AI 協作準則 |
208
+ | `checkin-standards.md` | 提交前品質檢查 |
209
+ | `commit-message-guide.md` | Conventional Commits 格式 |
210
+ | `spec-driven-development.md` | 規格優先方法 |
335
211
 
336
- ### 雙格式架構
212
+ ### Level 2:推薦(2 小時設定)
337
213
 
338
- | 格式 | 位置 | 使用場景 | Token 使用量 |
339
- |------|------|----------|--------------|
340
- | **人類可讀** | `core/`、`options/` | 文件、入職、參考 | 標準 |
341
- | **AI 優化** | `ai/` | AI 助手、自動化、CLAUDE.md | 減少約 80% |
214
+ 包含 Level 1 加上:
342
215
 
343
- ### 使用 AI 優化標準
216
+ | 標準 | 說明 |
217
+ |------|------|
218
+ | `git-workflow.md` | 分支策略(GitHub Flow、GitFlow、Trunk-Based) |
219
+ | `code-review-checklist.md` | 系統化審查準則 |
220
+ | `versioning.md` | 語意化版本(SemVer) |
221
+ | `changelog-standards.md` | Keep a Changelog 格式 |
222
+ | `testing-standards.md` | 測試金字塔(70/20/7/3) |
223
+ | `test-driven-development.md` | TDD 方法論 |
224
+ | `behavior-driven-development.md` | BDD 與 Given-When-Then |
344
225
 
345
- ```yaml
346
- # 在 CLAUDE.md 或系統提示中引用
347
- standards:
348
- source: ai/standards/
349
- options:
350
- workflow: ai/options/git-workflow/github-flow.ai.yaml
351
- commit_language: ai/options/commit-message/english.ai.yaml
352
- ```
226
+ ### Level 3:全面(1-2 天設定)
353
227
 
354
- ### 可用選項
228
+ 包含 Level 2 加上:
355
229
 
356
- | 類別 | 選項 |
230
+ | 標準 | 說明 |
357
231
  |------|------|
358
- | **Git 工作流** | `github-flow`、`gitflow`、`trunk-based`、`squash-merge`、`merge-commit`、`rebase-ff` |
359
- | **Commit 語言** | `english`、`traditional-chinese`、`bilingual` |
360
- | **測試層級** | `unit`、`integration`、`system`、`e2e` |
361
- | **專案結構** | `nodejs`、`python`、`dotnet`、`java`、`go` |
362
-
363
- ---
232
+ | `documentation-structure.md` | 文件組織 |
233
+ | `project-structure.md` | 目錄慣例 |
234
+ | `acceptance-test-driven-development.md` | ATDD 方法論 |
235
+ | `refactoring-standards.md` | 安全重構實務 |
364
236
 
365
- ## 規範涵蓋範圍
366
-
367
- | 規範 | Skill 可用 | 採用方式 |
368
- |------|-----------|----------|
369
- | anti-hallucination.md | ai-collaboration-standards | 安裝 Skill |
370
- | commit-message-guide.md | commit-standards | 安裝 Skill |
371
- | code-review-checklist.md | code-review-assistant | 安裝 Skill |
372
- | git-workflow.md | git-workflow-guide | 安裝 Skill |
373
- | versioning.md + changelog-standards.md | release-standards | 安裝 Skill |
374
- | testing-standards.md | testing-guide | 安裝 Skill |
375
- | documentation-structure.md | documentation-guide | 安裝 Skill |
376
- | requirement templates | requirement-assistant | 安裝 Skill |
377
- | error-code-standards.md | error-code-guide | 安裝 Skill |
378
- | logging-standards.md | logging-guide | 安裝 Skill |
379
- | test-driven-development.md | tdd-assistant | 安裝 Skill |
380
- | test-completeness-dimensions.md | test-coverage-assistant | 安裝 Skill |
381
- | **checkin-standards.md** | - | 複製到專案 |
382
- | **spec-driven-development.md** | - | 複製到專案 |
383
- | **project-structure.md** | - | 複製到專案 |
384
- | **documentation-writing-standards.md** | - | 複製到專案 |
385
-
386
- > **重要**:對於有 Skill 的規範,使用 Skill 或複製原始文件 — **擇一即可**。
387
-
388
- 請參閱 [採用指南](adoption/ADOPTION-GUIDE.md) 獲得完整指導。
237
+ 完整指引請參閱[採用指南](../../adoption/ADOPTION-GUIDE.md)。
389
238
 
390
239
  ---
391
240
 
392
- ## 自訂指南
241
+ ## 客製化
393
242
 
394
- ### 自訂內容要寫在哪裡
243
+ ### 客製化檔案位置
395
244
 
396
- | 自訂類型 | 檔案 | 位置 |
397
- |---------|------|------|
398
- | AI 工具規則與排除 | `CLAUDE.md`、`.cursorrules` 等 | 專案根目錄 |
399
- | 專案標準覆寫 | `PROJECT-STANDARDS.md` | 專案根目錄 |
400
- | 複製的核心規範 | `docs/standards/` | 您的專案 |
245
+ | 類型 | 檔案 | 位置 |
246
+ |------|------|------|
247
+ | AI 工具規則 | `CLAUDE.md`、`.cursorrules` 等 | 專案根目錄 |
248
+ | 專案覆寫 | `PROJECT-STANDARDS.md` | 專案根目錄 |
249
+ | 複製的標準 | `docs/standards/` | 您的專案 |
401
250
 
402
- ### 調整規範
251
+ ### 調整標準
403
252
 
404
- 1. **語言選擇**:英文、繁體中文、簡體中文 commit 類型
405
- 2. **工具設定**:`npm run build`、`dotnet build`、`mvn package`
406
- 3. **閾值調整**:測試覆蓋率 80%、最大方法長度 50 行
407
- 4. **範圍定義**:為您的模組定義允許的 commit 範圍
253
+ 1. **語言**:英文、繁體中文或簡體中文提交類型
254
+ 2. **工具**:設定建置指令(`npm`、`dotnet`、`mvn` 等)
255
+ 3. **閾值**:調整測試覆蓋率、方法長度限制
256
+ 4. **範圍**:定義模組允許的提交範圍
408
257
 
409
258
  ### 排除標準
410
259
 
411
- 1. **在 `uds init` 時**:互動式選擇需要的標準
412
- 2. **選擇性採用**:只複製特定檔案
413
- 3. **AI 工具排除**:在 `CLAUDE.md` 或 `.cursorrules` 中新增排除模式
414
- 4. **專案層級覆寫**:建立 `PROJECT-STANDARDS.md` 記錄偏差
415
-
416
- ---
417
-
418
- ## 多語言支援
419
-
420
- ### Commit 訊息語言範例
421
-
422
- **英文**:
423
- ```
424
- feat(auth): Add OAuth2 support
425
- fix(api): Resolve memory leak
426
- ```
427
-
428
- **繁體中文**:
429
- ```
430
- 新增(認證): 實作 OAuth2 支援
431
- 修正(API): 解決記憶體洩漏
432
- ```
433
-
434
- **簡體中文**:
435
- ```
436
- 新增(认证): 实现 OAuth2 支持
437
- 修正(API): 解决内存泄漏
438
- ```
260
+ - **執行 `uds init` 時**:互動式選擇需要的標準
261
+ - **選擇性採用**:僅複製特定檔案
262
+ - **AI 工具排除**:在 `CLAUDE.md` 或 `.cursorrules` 中新增模式
439
263
 
440
264
  ---
441
265
 
442
- ## 工具整合
266
+ ## 貢獻
443
267
 
444
- ### Git Hooks
268
+ ### 如何貢獻
445
269
 
446
- ```bash
447
- npm install --save-dev @commitlint/{cli,config-conventional} husky
448
- npx husky install
449
- npx husky add .husky/commit-msg 'npx commitlint --edit $1'
450
- ```
270
+ 1. **建議改進**:開立 issue 說明問題與解決方案
271
+ 2. **新增範例**:提交實際使用範例
272
+ 3. **擴展標準**:貢獻語言/框架/領域擴展
273
+ 4. **翻譯**:協助翻譯成其他語言
451
274
 
452
- ### CI/CD 整合
453
-
454
- ```yaml
455
- # .github/workflows/quality-gate.yml
456
- name: Quality Gate
457
- on: [push, pull_request]
458
- jobs:
459
- quality:
460
- runs-on: ubuntu-latest
461
- steps:
462
- - uses: actions/checkout@v4
463
- - run: npx commitlint --from HEAD~1 --to HEAD --verbose
464
- - run: npm run build
465
- - run: npm test -- --coverage
466
- - run: npm run lint
467
- ```
275
+ ### 準則
468
276
 
469
- ### OpenSpec 整合
277
+ - 核心標準保持語言/框架無關性
278
+ - 至少在 2 個不同情境中包含範例
279
+ - 遵循現有文件結構
280
+ - 採用 CC BY 4.0 授權
470
281
 
471
- ```bash
472
- cp -r integrations/openspec/ your-project/openspec/
473
- mkdir -p your-project/.claude/commands/
474
- cp integrations/openspec/commands/* your-project/.claude/commands/
475
- ```
282
+ 詳細準則請參閱 [CONTRIBUTING.md](../../CONTRIBUTING.md)。
476
283
 
477
284
  ---
478
285
 
479
- ## 範例
286
+ ## 常見問題
480
287
 
481
- ### 範例 1:.NET Web API 專案
288
+ ### 如何選擇「僅 Skills」還是「僅標準」?
482
289
 
483
- ```
484
- 核心規範:anti-hallucination.md、checkin-standards.md、commit-message-guide.md、git-workflow.md(GitFlow)
485
- 擴充:languages/csharp-style.md、frameworks/dotnet.md
486
- 範本:CLAUDE.md(為 .NET 自訂)、README.md、CONTRIBUTING.md
487
- ```
290
+ - **僅 Skills**:最適合使用 Claude Code 的個人開發者,想要以最少設定獲得互動式 AI 協助
291
+ - **僅標準**:最適合使用多個 AI 工具或需要企業合規與完整版本控制的團隊
488
292
 
489
- ### 範例 2:React SPA 專案
293
+ ### 可以只採用部分標準嗎?
490
294
 
491
- ```
492
- 核心規範:anti-hallucination.md、checkin-standards.md、commit-message-guide.md、git-workflow.md(GitHub Flow)
493
- 擴充:languages/typescript-style.md、frameworks/react.md
494
- 工具:ESLint + Prettier、Husky + commitlint、Jest + React Testing Library
495
- ```
295
+ 可以!執行 `uds init` 並選擇需要的標準。也可以從 `core/` 手動複製特定檔案。
496
296
 
497
- ### 範例 3:Python ML 專案
297
+ ### 如何更新已安裝的 skills?
498
298
 
499
- ```
500
- 核心規範:anti-hallucination.md、checkin-standards.md、commit-message-guide.md、git-workflow.md(主幹開發)
501
- 擴充:languages/python-style.md、domains/machine-learning.md
502
- 工具:Black、pylint、pytest、mypy
503
- ```
299
+ Plugin Marketplace:Skills 會自動更新或使用 `/plugin update`。
300
+ CLI 安裝:執行 `uds update --skills`。
504
301
 
505
- ---
302
+ ### UDS 支援 Windows 嗎?
506
303
 
507
- ## 貢獻
304
+ 支援。CLI 基於 Node.js,可在所有平台運作。PowerShell 特定說明請參閱 [Windows 指南](../../docs/WINDOWS-GUIDE.md)。
508
305
 
509
- ### 如何貢獻
306
+ ### 核心標準和 skills 有什麼不同?
510
307
 
511
- 1. **建議改善**:開啟 issue 描述問題和建議的解決方案
512
- 2. **新增範例**:提交您如何應用這些標準的範例
513
- 3. **擴展標準**:貢獻新的語言/框架/領域擴充
514
- 4. **翻譯**:協助將標準翻譯成其他語言
308
+ - **核心標準**:定義最佳實務的文件(Markdown)- 參考資料
309
+ - **Skills**:實作這些標準的互動式 AI 指令 - 主動協助
515
310
 
516
- ### 貢獻指南
311
+ ### 為什麼有些 AI 工具標示為「計畫中」?
517
312
 
518
- 所有貢獻必須:
519
- - 維持語言/框架/領域無關性(對於核心規範)
520
- - 在至少 2 個不同情境中包含範例
521
- - 遵循現有的文件結構
522
- - 以 CC BY 4.0 授權
313
+ 我們提供這些工具的設定檔,但完整整合測試尚待進行。設定應該可以運作,但可能存在邊緣案例。
523
314
 
524
315
  ---
525
316
 
526
317
  ## 延伸閱讀
527
318
 
528
- ### 相關標準與框架
319
+ ### 相關標準
529
320
 
530
321
  - [Conventional Commits](https://www.conventionalcommits.org/)
531
322
  - [Semantic Versioning](https://semver.org/)
532
323
  - [Keep a Changelog](https://keepachangelog.com/)
533
- - [Git Best Practices](https://sethrobertson.github.io/GitBestPractices/)
534
- - [Code Review Best Practices](https://google.github.io/eng-practices/review/)
324
+ - [Google Engineering Practices](https://google.github.io/eng-practices/)
535
325
 
536
- ### 書籍與文章
326
+ ### 推薦書籍
537
327
 
538
- - **The Art of Readable Code** by Boswell & Foucher
539
- - **Clean Code** by Robert C. Martin
540
- - **The Pragmatic Programmer** by Hunt & Thomas
541
- - **Accelerate** by Forsgren, Humble, and Kim
328
+ - **The Art of Readable Code** - Boswell & Foucher
329
+ - **Clean Code** - Robert C. Martin
330
+ - **The Pragmatic Programmer** - Hunt & Thomas
331
+ - **Accelerate** - Forsgren, Humble & Kim
542
332
 
543
333
  ---
544
334
 
@@ -546,140 +336,77 @@ cp integrations/openspec/commands/* your-project/.claude/commands/
546
336
 
547
337
  | 版本 | 日期 | 重點 |
548
338
  |------|------|------|
549
- | 4.0.0 | 2026-01-20 | 雙向推演;6 個新核心規範;22 個技能 |
550
- | 3.5.0 | 2026-01-15 | Agent Skills;Gemini CLI TOML;i18n 支援 |
551
- | 3.2.2 | 2026-01-06 | 新增 `uds skills` 指令;棄用手動安裝腳本 |
552
- | 3.2.0 | 2026-01-02 | Plugin Marketplace 支援;CLI 增強 |
553
- | 3.0.0 | 2025-12-30 | 完整 Windows 支援;AI 優化標準;npm 發布 |
554
-
555
- 請參閱 [CHANGELOG.md](CHANGELOG.md) 獲得完整版本歷史。
556
-
557
- ---
558
-
559
- ## 授權
339
+ | **4.1.0** | 2026-01-21 | 增強重構標準 |
340
+ | **4.0.0** | 2026-01-20 | 雙向推導;6 個新核心標準 |
341
+ | 3.5.0 | 2026-01-15 | 多代理 Skills;Gemini CLI;i18n |
342
+ | 3.2.2 | 2026-01-06 | `uds skills` 指令 |
343
+ | 3.0.0 | 2025-12-30 | Windows 支援;npm 發布 |
560
344
 
561
- | 組件 | 授權 |
562
- |------|------|
563
- | 文件(`core/`、`extensions/`、`templates/` 等)| [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) |
564
- | CLI 工具(`cli/`)| [MIT](../../cli/LICENSE) |
565
-
566
- 兩種授權都是寬鬆型授權,允許商業使用、修改與再發布。請參閱 [LICENSE](../../LICENSE) 獲取完整詳情。
345
+ 完整歷史請參閱 [CHANGELOG.md](../../CHANGELOG.md)。
567
346
 
568
347
  ---
569
348
 
570
- ## 社群
349
+ ## 4.x 新功能
571
350
 
572
- - **Issues**:回報錯誤或建議改善
573
- - **Discussions**:分享您如何使用這些標準
574
- - **Examples**:提交您的專案作為範例
351
+ ### 4.1.0 重點
575
352
 
576
- ---
353
+ - 增強重構標準,包含戰術、策略和遺留程式碼安全策略
354
+ - 選擇重構方法的決策矩陣
577
355
 
578
- ## 採用標準檢查清單
356
+ ### 4.0.0 重點
579
357
 
580
- - [ ] 選擇安裝方式(Marketplace / npm / 手動)
581
- - [ ] 執行 `uds init` 或複製核心規範
582
- - [ ] 視需要新增語言/框架擴充
583
- - [ ] CONTRIBUTING.md 中設定專案特定設定
584
- - [ ] 設定 Git hooks(commitlint, pre-commit)
585
- - [ ] CI/CD 中整合品質門檻
586
- - [ ] 對團隊進行標準培訓
587
- - [ ] 建立遵循標準的第一個 commit
358
+ | 功能 | 說明 |
359
+ |------|------|
360
+ | **雙向推導** | Forward Derivation + Reverse Engineering 實現完整規格-程式碼生命週期 |
361
+ | **6 個新核心標準** | BDD、ATDD、Reverse Engineering、Forward Derivation、AI Instructions、Refactoring |
362
+ | **23 Skills** | 7 個新 skills 包括 Forward Derivation、BDD/ATDD assistants |
363
+ | **24 Slash Commands** | 9 個新指令(`/derive-*`、`/reverse-*`、`/atdd`、`/bdd`) |
364
+ | **方法論系統** | TDD/BDD/SDD/ATDD 工作流程已達生產就緒 |
588
365
 
589
366
  ---
590
367
 
591
- **準備好提升專案品質了嗎?** 從上方的快速開始開始!
368
+ ## 授權
592
369
 
593
- ---
370
+ | 元件 | 授權 | 允許 |
371
+ |------|------|------|
372
+ | 文件 | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) | 商業使用、修改、帶署名的再發布 |
373
+ | CLI 工具 | [MIT](../../cli/LICENSE) | 商業使用、修改、再發布 |
594
374
 
595
- **由開源社群用愛維護**
375
+ 完整詳情請參閱 [LICENSE](../../LICENSE)。
596
376
 
597
377
  ---
598
378
 
599
- ## 詳細目錄結構
379
+ ### 目錄結構
600
380
 
601
381
  ```
602
382
  universal-dev-standards/
603
- ├── core/ # 核心通用標準(22 個檔案)
604
- │ ├── acceptance-test-driven-development.md # ATDD 方法論
605
- │ ├── ai-instruction-standards.md # AI 指令撰寫指南
606
- │ ├── anti-hallucination.md # AI 協作指南
607
- ├── behavior-driven-development.md # BDD 方法論
608
- ├── changelog-standards.md # 變更日誌撰寫指南
609
- ├── checkin-standards.md # 程式碼簽入品質門檻
610
- ├── code-review-checklist.md # 程式碼審查指南
611
- ├── commit-message-guide.md # Commit 訊息規範
612
- ├── documentation-structure.md # 文件組織
613
- ├── documentation-writing-standards.md # 文件撰寫指南
614
- │ ├── error-code-standards.md # 錯誤碼規範
615
- ├── forward-derivation-standards.md # 正向推演標準
616
- ├── git-workflow.md # Git 分支策略
617
- │ ├── logging-standards.md # 日誌標準
618
- │ ├── project-structure.md # 專案目錄規範
619
- ├── refactoring-standards.md # 重構標準
620
- ├── reverse-engineering-standards.md # 反向工程標準
621
- ├── spec-driven-development.md # SDD 方法論與標準
622
- │ ├── test-completeness-dimensions.md # 測試完整度維度
623
- ├── test-driven-development.md # TDD 方法論
624
- ├── testing-standards.md # 測試標準(UT/IT/ST/E2E)
625
- └── versioning.md # 語意化版本控制指南
626
-
627
- ├── ai/ # AI 優化標準
628
- │ ├── standards/ # Token 高效 YAML 格式(減少約 80%)
629
- │ │ ├── git-workflow.ai.yaml
630
- │ │ ├── commit-message.ai.yaml
631
- │ │ ├── testing.ai.yaml
632
- │ │ └── ...
633
- │ └── options/ # 可配置選項
634
- │ ├── git-workflow/ # github-flow、gitflow、trunk-based 等
635
- │ ├── commit-message/ # english、traditional-chinese、bilingual
636
- │ ├── testing/ # unit、integration、system、e2e
637
- │ └── project-structure/ # nodejs、python、dotnet、java、go
638
-
639
- ├── options/ # 人類可讀選項指南
640
- │ ├── git-workflow/ # 詳細工作流程文件
641
- │ ├── commit-message/ # Commit 語言指南
642
- │ ├── testing/ # 測試層級指南
643
- │ └── project-structure/ # 語言特定專案結構
644
-
645
- ├── skills/ # AI 工具技能
646
- │ ├── claude-code/ # Claude Code Skills(22 個技能)
647
- │ ├── cursor/ # Cursor Rules(規劃中)
648
- │ ├── windsurf/ # Windsurf Rules(規劃中)
649
- │ ├── cline/ # Cline Rules(規劃中)
650
- │ ├── copilot/ # GitHub Copilot(規劃中)
651
- │ └── _shared/ # 共享範本
652
-
653
- ├── extensions/ # 選用擴充
654
- │ ├── languages/ # 語言特定標準
655
- │ │ ├── csharp-style.md # C# 編碼規範
656
- │ │ └── php-style.md # PHP 8.1+ 風格指南
657
- │ ├── frameworks/ # 框架特定標準
658
- │ │ └── fat-free-patterns.md # Fat-Free Framework 模式
659
- │ ├── locales/ # 地區特定標準
660
- │ │ └── zh-tw.md # 繁體中文
661
- │ └── domains/ # 領域特定標準
662
- │ └── (即將推出)
663
-
664
- ├── templates/ # 專案文件範本
665
- │ ├── requirement-*.md # 需求範本
666
- │ └── migration-template.md # 遷移計畫範本
667
-
668
- ├── integrations/ # 工具設定檔
669
- │ ├── cline/ # Cline .clinerules
670
- │ ├── cursor/ # Cursor .cursorrules
671
- │ ├── github-copilot/ # Copilot 指示
672
- │ ├── google-antigravity/ # Antigravity 整合
673
- │ ├── windsurf/ # Windsurf .windsurfrules
674
- │ └── openspec/ # OpenSpec 框架
675
-
676
- ├── cli/ # CLI 工具
677
- │ └── (uds 指令)
678
-
679
- ├── locales/ # 翻譯
680
- │ ├── zh-TW/ # 繁體中文
681
- │ └── zh-CN/ # 簡體中文
682
-
683
- └── adoption/ # 採用指南
684
- └── ADOPTION-GUIDE.md
383
+ ├── core/ # 核心規則與檢查清單(輕量化)
384
+ │ ├── guides/ # 詳細指南與教學
385
+ │ ├── anti-hallucination.md
386
+ │ ├── commit-message-guide.md
387
+ └── ...
388
+ ├── methodologies/ # 方法論指南 (TDD, BDD, SDD)
389
+ └── guides/ # 詳細方法論教學
390
+ ├── ai/ # AI 最佳化格式(.ai.yaml)
391
+ ├── skills/ # AI 工具 skills
392
+ └── claude-code/ # 23 個 skill 目錄
393
+ ├── extensions/ # 語言/框架擴展
394
+ │ ├── languages/ # csharp-style.md、php-style.md
395
+ └── frameworks/ # fat-free-patterns.md
396
+ ├── integrations/ # AI 工具設定
397
+ │ ├── cursor/ # .cursorrules
398
+ │ ├── windsurf/ # .windsurfrules
399
+ └── ...
400
+ ├── cli/ # CLI 工具(uds 指令)
401
+ ├── locales/ # 翻譯
402
+ │ ├── zh-TW/ # 繁體中文
403
+ └── zh-CN/ # 簡體中文
404
+ ├── templates/ # 文件模板
405
+ └── adoption/ # 採用指南
685
406
  ```
407
+
408
+ ---
409
+
410
+ **準備好提升專案品質了嗎?** 從[快速開始](#快速開始)開始!
411
+
412
+ **由開源社群用 ❤️ 維護**