universal-dev-standards 4.2.0 → 5.0.0-beta.2

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 (500) hide show
  1. package/README.md +3 -3
  2. package/bin/uds.js +159 -3
  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 +2 -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 +3 -0
  11. package/bundled/core/checkin-standards.md +20 -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/documentation-structure.md +113 -17
  15. package/bundled/core/documentation-writing-standards.md +272 -2
  16. package/bundled/core/error-code-standards.md +3 -0
  17. package/bundled/core/forward-derivation-standards.md +134 -8
  18. package/bundled/core/git-workflow.md +72 -686
  19. package/bundled/core/guides/anti-hallucination-guide.md +517 -0
  20. package/bundled/core/guides/git-workflow-guide.md +954 -0
  21. package/bundled/core/guides/performance-guide.md +508 -0
  22. package/bundled/core/guides/refactoring-guide.md +608 -0
  23. package/bundled/core/guides/security-guide.md +485 -0
  24. package/bundled/core/logging-standards.md +337 -2
  25. package/bundled/core/performance-standards.md +230 -0
  26. package/bundled/core/project-structure.md +315 -2
  27. package/bundled/core/refactoring-standards.md +81 -761
  28. package/bundled/core/requirement-engineering.md +39 -0
  29. package/bundled/core/reverse-engineering-standards.md +6 -4
  30. package/bundled/core/security-standards.md +243 -0
  31. package/bundled/core/spec-driven-development.md +20 -319
  32. package/bundled/core/test-completeness-dimensions.md +213 -11
  33. package/bundled/core/test-driven-development.md +22 -978
  34. package/bundled/core/testing-standards.md +221 -2903
  35. package/bundled/core/versioning.md +16 -55
  36. package/bundled/core/virtual-organization-standards.md +85 -0
  37. package/bundled/locales/README.md +4 -4
  38. package/bundled/locales/zh-CN/CHANGELOG.md +16 -16
  39. package/bundled/locales/zh-CN/MAINTENANCE.md +7 -7
  40. package/bundled/locales/zh-CN/README.md +2 -2
  41. package/bundled/locales/zh-CN/STANDARDS-MAPPING.md +1 -1
  42. package/bundled/locales/zh-CN/adoption/ADOPTION-GUIDE.md +12 -12
  43. package/bundled/locales/zh-CN/adoption/DAILY-WORKFLOW-GUIDE.md +8 -8
  44. package/bundled/locales/zh-CN/adoption/STATIC-DYNAMIC-GUIDE.md +7 -7
  45. package/bundled/locales/zh-CN/adoption/checklists/enterprise.md +6 -6
  46. package/bundled/locales/zh-CN/adoption/checklists/minimal.md +4 -4
  47. package/bundled/locales/zh-CN/adoption/checklists/recommended.md +6 -6
  48. package/bundled/locales/zh-CN/ai/MAINTENANCE.md +15 -15
  49. package/bundled/locales/zh-CN/core/ai-friendly-architecture.md +1 -1
  50. package/bundled/locales/zh-CN/core/ai-instruction-standards.md +2 -2
  51. package/bundled/locales/zh-CN/core/anti-hallucination.md +38 -2
  52. package/bundled/locales/zh-CN/core/changelog-standards.md +2 -2
  53. package/bundled/locales/zh-CN/core/checkin-standards.md +19 -6
  54. package/bundled/locales/zh-CN/core/code-review-checklist.md +2 -2
  55. package/bundled/locales/zh-CN/core/commit-message-guide.md +2 -2
  56. package/bundled/locales/zh-CN/core/documentation-structure.md +45 -7
  57. package/bundled/locales/zh-CN/core/documentation-writing-standards.md +148 -7
  58. package/bundled/locales/zh-CN/core/error-code-standards.md +2 -2
  59. package/bundled/locales/zh-CN/core/git-workflow.md +181 -6
  60. package/bundled/locales/zh-CN/core/logging-standards.md +179 -6
  61. package/bundled/locales/zh-CN/core/project-structure.md +119 -7
  62. package/bundled/locales/zh-CN/core/refactoring-standards.md +2 -2
  63. package/bundled/locales/zh-CN/core/reverse-engineering-standards.md +6 -6
  64. package/bundled/locales/zh-CN/core/spec-driven-development.md +519 -17
  65. package/bundled/locales/zh-CN/core/test-completeness-dimensions.md +157 -26
  66. package/bundled/locales/zh-CN/core/test-driven-development.md +72 -21
  67. package/bundled/locales/zh-CN/core/testing-standards.md +2 -2
  68. package/bundled/locales/zh-CN/core/versioning.md +2 -2
  69. package/bundled/locales/zh-CN/docs/AI-AGENT-ROADMAP.md +3 -3
  70. package/bundled/locales/zh-CN/docs/CHEATSHEET.md +167 -0
  71. package/bundled/locales/zh-CN/docs/CLI-FLOW.md +239 -0
  72. package/bundled/locales/zh-CN/docs/CLI-INIT-OPTIONS.md +5 -5
  73. package/bundled/locales/zh-CN/docs/FEATURE-REFERENCE.md +301 -0
  74. package/bundled/locales/zh-CN/docs/OPERATION-WORKFLOW.md +43 -43
  75. package/bundled/locales/zh-CN/docs/STANDARDS-REFERENCE.md +440 -0
  76. package/bundled/locales/zh-CN/docs/USAGE-MODES-COMPARISON.md +4 -4
  77. package/bundled/locales/zh-CN/docs/WINDOWS-GUIDE.md +1 -1
  78. package/bundled/locales/zh-CN/integrations/codex/AGENTS.md +1 -1
  79. package/bundled/locales/zh-CN/integrations/codex/README.md +1 -1
  80. package/bundled/locales/zh-CN/integrations/gemini-cli/GEMINI.md +1 -1
  81. package/bundled/locales/zh-CN/integrations/gemini-cli/README.md +2 -2
  82. package/bundled/locales/zh-CN/integrations/github-copilot/COPILOT-CHAT-REFERENCE.md +1 -1
  83. package/bundled/locales/zh-CN/integrations/github-copilot/README.md +1 -1
  84. package/bundled/locales/zh-CN/integrations/github-copilot/copilot-instructions.md +4 -4
  85. package/bundled/locales/zh-CN/integrations/github-copilot/skills-mapping.md +18 -6
  86. package/bundled/locales/zh-CN/integrations/google-antigravity/INSTRUCTIONS.md +1 -1
  87. package/bundled/locales/zh-CN/integrations/google-antigravity/README.md +2 -2
  88. package/bundled/locales/zh-CN/integrations/opencode/AGENTS.md +1 -1
  89. package/bundled/locales/zh-CN/integrations/opencode/README.md +2 -2
  90. package/bundled/locales/zh-CN/integrations/opencode/skills-mapping.md +24 -12
  91. package/bundled/locales/zh-CN/integrations/openspec/AGENTS.md +1 -1
  92. package/bundled/locales/zh-CN/integrations/openspec/README.md +1 -1
  93. package/bundled/locales/zh-CN/integrations/spec-kit/AGENTS.md +1 -1
  94. package/bundled/locales/zh-CN/integrations/spec-kit/README.md +1 -1
  95. package/bundled/locales/zh-CN/options/commit-message/bilingual.md +2 -2
  96. package/bundled/locales/zh-CN/options/commit-message/english.md +2 -2
  97. package/bundled/locales/zh-CN/options/commit-message/traditional-chinese.md +2 -2
  98. package/bundled/locales/zh-CN/options/git-workflow/gitflow.md +2 -2
  99. package/bundled/locales/zh-CN/options/git-workflow/github-flow.md +2 -2
  100. package/bundled/locales/zh-CN/options/git-workflow/merge-commit.md +2 -2
  101. package/bundled/locales/zh-CN/options/git-workflow/rebase-ff.md +2 -2
  102. package/bundled/locales/zh-CN/options/git-workflow/squash-merge.md +2 -2
  103. package/bundled/locales/zh-CN/options/git-workflow/trunk-based.md +2 -2
  104. package/bundled/locales/zh-CN/options/project-structure/dotnet.md +2 -2
  105. package/bundled/locales/zh-CN/options/project-structure/go.md +2 -2
  106. package/bundled/locales/zh-CN/options/project-structure/java.md +2 -2
  107. package/bundled/locales/zh-CN/options/project-structure/nodejs.md +2 -2
  108. package/bundled/locales/zh-CN/options/project-structure/python.md +2 -2
  109. package/bundled/locales/zh-CN/options/testing/e2e-testing.md +2 -2
  110. package/bundled/locales/zh-CN/options/testing/integration-testing.md +2 -2
  111. package/bundled/locales/zh-CN/options/testing/system-testing.md +2 -2
  112. package/bundled/locales/zh-CN/options/testing/unit-testing.md +2 -2
  113. package/bundled/locales/zh-CN/skills/{claude-code/CONTRIBUTING.template.md → CONTRIBUTING.template.md} +2 -2
  114. package/bundled/locales/zh-CN/skills/INTEGRATION-GUIDE.md +1 -1
  115. package/bundled/locales/zh-CN/skills/README.md +121 -81
  116. package/bundled/locales/zh-CN/skills/_shared/README.md +1 -1
  117. package/bundled/locales/zh-CN/skills/agents/README.md +281 -0
  118. package/bundled/locales/zh-CN/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/SKILL.md +7 -7
  119. package/bundled/locales/zh-CN/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/anti-hallucination.md +8 -8
  120. package/bundled/locales/zh-CN/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/certainty-labels.md +8 -8
  121. package/bundled/locales/zh-CN/skills/ai-friendly-architecture/SKILL.md +221 -0
  122. package/bundled/locales/zh-CN/skills/ai-instruction-standards/SKILL.md +214 -0
  123. package/bundled/locales/zh-CN/skills/atdd-assistant/SKILL.md +369 -0
  124. package/bundled/locales/zh-CN/skills/atdd-assistant/acceptance-criteria-guide.md +428 -0
  125. package/bundled/locales/zh-CN/skills/atdd-assistant/atdd-workflow.md +484 -0
  126. package/bundled/locales/zh-CN/skills/bdd-assistant/SKILL.md +325 -0
  127. package/bundled/locales/zh-CN/skills/bdd-assistant/bdd-workflow.md +406 -0
  128. package/bundled/locales/zh-CN/skills/bdd-assistant/gherkin-guide.md +454 -0
  129. package/bundled/locales/zh-CN/skills/{claude-code/changelog-guide → changelog-guide}/SKILL.md +7 -7
  130. package/bundled/locales/zh-CN/skills/{claude-code/checkin-assistant → checkin-assistant}/SKILL.md +7 -7
  131. package/bundled/locales/zh-CN/skills/{claude-code/code-review-assistant → code-review-assistant}/SKILL.md +3 -3
  132. package/bundled/locales/zh-CN/skills/{claude-code/code-review-assistant → code-review-assistant}/checkin-checklist.md +4 -4
  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 +2 -2
  136. package/bundled/locales/zh-CN/skills/{claude-code/commands → commands}/refactor.md +3 -3
  137. package/bundled/locales/zh-CN/skills/{claude-code/commit-standards → commit-standards}/SKILL.md +6 -6
  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 → commit-standards}/language-options.md +3 -3
  140. package/bundled/locales/zh-CN/skills/docs-generator/SKILL.md +263 -0
  141. package/bundled/locales/zh-CN/skills/{claude-code/documentation-guide → documentation-guide}/SKILL.md +8 -8
  142. package/bundled/locales/zh-CN/skills/{claude-code/documentation-guide → documentation-guide}/documentation-structure.md +4 -4
  143. package/bundled/locales/zh-CN/skills/{claude-code/documentation-guide → documentation-guide}/readme-template.md +3 -3
  144. package/bundled/locales/zh-CN/skills/{claude-code/error-code-guide → error-code-guide}/SKILL.md +6 -6
  145. package/bundled/locales/zh-CN/skills/forward-derivation/SKILL.md +131 -0
  146. package/bundled/locales/zh-CN/skills/{claude-code/git-workflow-guide → git-workflow-guide}/SKILL.md +3 -3
  147. package/bundled/locales/zh-CN/skills/{claude-code/git-workflow-guide → git-workflow-guide}/branch-naming.md +3 -3
  148. package/bundled/locales/zh-CN/skills/{claude-code/git-workflow-guide → git-workflow-guide}/git-workflow.md +4 -4
  149. package/bundled/locales/zh-CN/skills/{claude-code/logging-guide → logging-guide}/SKILL.md +6 -6
  150. package/bundled/locales/zh-CN/skills/{claude-code/methodology-system → methodology-system}/SKILL.md +2 -2
  151. package/bundled/locales/zh-CN/skills/{claude-code/methodology-system → methodology-system}/create-methodology.md +2 -2
  152. package/bundled/locales/zh-CN/skills/{claude-code/methodology-system → methodology-system}/runtime.md +2 -2
  153. package/bundled/locales/zh-CN/skills/{claude-code/project-structure-guide → project-structure-guide}/SKILL.md +4 -4
  154. package/bundled/locales/zh-CN/skills/{claude-code/project-structure-guide → project-structure-guide}/language-patterns.md +1 -1
  155. package/bundled/locales/zh-CN/skills/{claude-code/refactoring-assistant → refactoring-assistant}/SKILL.md +8 -8
  156. package/bundled/locales/zh-CN/skills/{claude-code/release-standards → release-standards}/SKILL.md +3 -3
  157. package/bundled/locales/zh-CN/skills/{claude-code/release-standards → release-standards}/changelog-format.md +3 -3
  158. package/bundled/locales/zh-CN/skills/{claude-code/release-standards → release-standards}/release-workflow.md +7 -7
  159. package/bundled/locales/zh-CN/skills/{claude-code/release-standards → release-standards}/semantic-versioning.md +3 -3
  160. package/bundled/locales/zh-CN/skills/{claude-code/requirement-assistant → requirement-assistant}/SKILL.md +3 -3
  161. package/bundled/locales/zh-CN/skills/{claude-code/requirement-assistant → requirement-assistant}/requirement-checklist.md +3 -3
  162. package/bundled/locales/zh-CN/skills/{claude-code/requirement-assistant → requirement-assistant}/requirement-writing.md +3 -3
  163. package/bundled/locales/zh-CN/skills/{claude-code/reverse-engineer → reverse-engineer}/SKILL.md +12 -12
  164. package/bundled/locales/zh-CN/skills/{claude-code/reverse-engineer → reverse-engineer}/bdd-extraction.md +2 -2
  165. package/bundled/locales/zh-CN/skills/{claude-code/reverse-engineer → reverse-engineer}/tdd-analysis.md +2 -2
  166. package/bundled/locales/zh-CN/skills/{claude-code/reverse-engineer → reverse-engineer}/workflow.md +3 -3
  167. package/bundled/locales/zh-CN/skills/{claude-code/spec-driven-dev → spec-driven-dev}/SKILL.md +10 -10
  168. package/bundled/locales/zh-CN/skills/{claude-code/tdd-assistant → tdd-assistant}/SKILL.md +10 -10
  169. package/bundled/locales/zh-CN/skills/{claude-code/tdd-assistant → tdd-assistant}/language-examples.md +3 -3
  170. package/bundled/locales/zh-CN/skills/{claude-code/tdd-assistant → tdd-assistant}/tdd-workflow.md +3 -3
  171. package/bundled/locales/zh-CN/skills/test-coverage-assistant/SKILL.md +285 -0
  172. package/bundled/locales/zh-CN/skills/{claude-code/testing-guide → testing-guide}/SKILL.md +3 -3
  173. package/bundled/locales/zh-CN/skills/{claude-code/testing-guide → testing-guide}/testing-pyramid.md +4 -4
  174. package/bundled/locales/zh-CN/skills/{cline → tools/cline}/README.md +1 -1
  175. package/bundled/locales/zh-CN/skills/{copilot → tools/copilot}/README.md +1 -1
  176. package/bundled/locales/zh-CN/skills/{copilot → tools/copilot}/copilot-instructions.md +1 -1
  177. package/bundled/locales/zh-CN/skills/{cursor → tools/cursor}/README.md +1 -1
  178. package/bundled/locales/zh-CN/skills/{windsurf → tools/windsurf}/README.md +1 -1
  179. package/bundled/locales/zh-CN/templates/reverse-spec-template.md +1 -1
  180. package/bundled/locales/zh-TW/CHANGELOG.md +16 -16
  181. package/bundled/locales/zh-TW/MAINTENANCE.md +7 -7
  182. package/bundled/locales/zh-TW/README.md +13 -7
  183. package/bundled/locales/zh-TW/STANDARDS-MAPPING.md +1 -1
  184. package/bundled/locales/zh-TW/adoption/ADOPTION-GUIDE.md +12 -12
  185. package/bundled/locales/zh-TW/adoption/DAILY-WORKFLOW-GUIDE.md +8 -8
  186. package/bundled/locales/zh-TW/adoption/STATIC-DYNAMIC-GUIDE.md +7 -7
  187. package/bundled/locales/zh-TW/adoption/checklists/enterprise.md +6 -6
  188. package/bundled/locales/zh-TW/adoption/checklists/minimal.md +4 -4
  189. package/bundled/locales/zh-TW/adoption/checklists/recommended.md +6 -6
  190. package/bundled/locales/zh-TW/ai/MAINTENANCE.md +15 -15
  191. package/bundled/locales/zh-TW/ai/standards/anti-hallucination.ai.yaml +3 -2
  192. package/bundled/locales/zh-TW/ai/standards/git-workflow.ai.yaml +4 -3
  193. package/bundled/locales/zh-TW/ai/standards/spec-driven-development.ai.yaml +3 -3
  194. package/bundled/locales/zh-TW/ai/standards/testing.ai.yaml +1 -0
  195. package/bundled/locales/zh-TW/core/ai-friendly-architecture.md +1 -1
  196. package/bundled/locales/zh-TW/core/ai-instruction-standards.md +2 -2
  197. package/bundled/locales/zh-TW/core/anti-hallucination.md +39 -702
  198. package/bundled/locales/zh-TW/core/changelog-standards.md +2 -2
  199. package/bundled/locales/zh-TW/core/checkin-standards.md +19 -6
  200. package/bundled/locales/zh-TW/core/code-review-checklist.md +2 -2
  201. package/bundled/locales/zh-TW/core/commit-message-guide.md +2 -2
  202. package/bundled/locales/zh-TW/core/documentation-structure.md +115 -22
  203. package/bundled/locales/zh-TW/core/documentation-writing-standards.md +128 -7
  204. package/bundled/locales/zh-TW/core/error-code-standards.md +1 -1
  205. package/bundled/locales/zh-TW/core/forward-derivation-standards.md +1 -1
  206. package/bundled/locales/zh-TW/core/git-workflow.md +39 -813
  207. package/bundled/locales/zh-TW/core/guides/anti-hallucination-guide.md +779 -0
  208. package/bundled/locales/zh-TW/core/guides/git-workflow-guide.md +1016 -0
  209. package/bundled/locales/zh-TW/core/guides/refactoring-guide.md +864 -0
  210. package/bundled/locales/zh-TW/core/guides/testing-guide.md +2280 -0
  211. package/bundled/locales/zh-TW/core/logging-standards.md +160 -5
  212. package/bundled/locales/zh-TW/core/project-structure.md +104 -11
  213. package/bundled/locales/zh-TW/core/refactoring-standards.md +37 -823
  214. package/bundled/locales/zh-TW/core/reverse-engineering-standards.md +6 -6
  215. package/bundled/locales/zh-TW/core/spec-driven-development.md +17 -268
  216. package/bundled/locales/zh-TW/core/test-completeness-dimensions.md +130 -16
  217. package/bundled/locales/zh-TW/core/test-driven-development.md +21 -984
  218. package/bundled/locales/zh-TW/core/testing-standards.md +121 -2106
  219. package/bundled/locales/zh-TW/core/versioning.md +15 -57
  220. package/bundled/locales/zh-TW/docs/AI-AGENT-ROADMAP.md +3 -3
  221. package/bundled/locales/zh-TW/docs/CHEATSHEET.md +167 -0
  222. package/bundled/locales/zh-TW/docs/CLI-FLOW.md +239 -0
  223. package/bundled/locales/zh-TW/docs/CLI-INIT-OPTIONS.md +5 -5
  224. package/bundled/locales/zh-TW/docs/FEATURE-REFERENCE.md +301 -0
  225. package/bundled/locales/zh-TW/docs/MIGRATION-V5.md +71 -0
  226. package/bundled/locales/zh-TW/docs/OPERATION-WORKFLOW.md +43 -43
  227. package/bundled/locales/zh-TW/docs/STANDARDS-REFERENCE.md +440 -0
  228. package/bundled/locales/zh-TW/docs/USAGE-MODES-COMPARISON.md +4 -4
  229. package/bundled/locales/zh-TW/docs/WINDOWS-GUIDE.md +1 -1
  230. package/bundled/locales/zh-TW/integrations/claude-code/README.md +44 -0
  231. package/bundled/locales/zh-TW/integrations/codex/AGENTS.md +1 -1
  232. package/bundled/locales/zh-TW/integrations/codex/README.md +2 -2
  233. package/bundled/locales/zh-TW/integrations/gemini-cli/GEMINI.md +1 -1
  234. package/bundled/locales/zh-TW/integrations/gemini-cli/README.md +2 -2
  235. package/bundled/locales/zh-TW/integrations/github-copilot/COPILOT-CHAT-REFERENCE.md +1 -1
  236. package/bundled/locales/zh-TW/integrations/github-copilot/README.md +1 -1
  237. package/bundled/locales/zh-TW/integrations/github-copilot/copilot-instructions.md +4 -4
  238. package/bundled/locales/zh-TW/integrations/github-copilot/skills-mapping.md +18 -6
  239. package/bundled/locales/zh-TW/integrations/google-antigravity/INSTRUCTIONS.md +1 -1
  240. package/bundled/locales/zh-TW/integrations/google-antigravity/README.md +2 -2
  241. package/bundled/locales/zh-TW/integrations/opencode/AGENTS.md +1 -1
  242. package/bundled/locales/zh-TW/integrations/opencode/README.md +2 -2
  243. package/bundled/locales/zh-TW/integrations/opencode/skills-mapping.md +24 -12
  244. package/bundled/locales/zh-TW/integrations/openspec/AGENTS.md +1 -1
  245. package/bundled/locales/zh-TW/integrations/openspec/README.md +1 -1
  246. package/bundled/locales/zh-TW/integrations/spec-kit/AGENTS.md +1 -1
  247. package/bundled/locales/zh-TW/integrations/spec-kit/README.md +1 -1
  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 +2 -2
  251. package/bundled/locales/zh-TW/options/commit-message/english.md +2 -2
  252. package/bundled/locales/zh-TW/options/commit-message/traditional-chinese.md +2 -2
  253. package/bundled/locales/zh-TW/options/git-workflow/gitflow.md +2 -2
  254. package/bundled/locales/zh-TW/options/git-workflow/github-flow.md +2 -2
  255. package/bundled/locales/zh-TW/options/git-workflow/merge-commit.md +2 -2
  256. package/bundled/locales/zh-TW/options/git-workflow/rebase-ff.md +2 -2
  257. package/bundled/locales/zh-TW/options/git-workflow/squash-merge.md +2 -2
  258. package/bundled/locales/zh-TW/options/git-workflow/trunk-based.md +2 -2
  259. package/bundled/locales/zh-TW/options/project-structure/dotnet.md +2 -2
  260. package/bundled/locales/zh-TW/options/project-structure/go.md +2 -2
  261. package/bundled/locales/zh-TW/options/project-structure/java.md +2 -2
  262. package/bundled/locales/zh-TW/options/project-structure/nodejs.md +2 -2
  263. package/bundled/locales/zh-TW/options/project-structure/python.md +2 -2
  264. package/bundled/locales/zh-TW/options/testing/e2e-testing.md +2 -2
  265. package/bundled/locales/zh-TW/options/testing/integration-testing.md +2 -2
  266. package/bundled/locales/zh-TW/options/testing/system-testing.md +2 -2
  267. package/bundled/locales/zh-TW/options/testing/unit-testing.md +2 -2
  268. package/bundled/locales/zh-TW/skills/{claude-code/CONTRIBUTING.template.md → CONTRIBUTING.template.md} +2 -2
  269. package/bundled/locales/zh-TW/skills/INTEGRATION-GUIDE.md +1 -1
  270. package/bundled/locales/zh-TW/skills/README.md +121 -79
  271. package/bundled/locales/zh-TW/skills/_shared/README.md +1 -1
  272. package/bundled/locales/zh-TW/skills/agents/README.md +281 -0
  273. package/bundled/locales/zh-TW/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/SKILL.md +7 -7
  274. package/bundled/locales/zh-TW/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/anti-hallucination.md +8 -8
  275. package/bundled/locales/zh-TW/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/certainty-labels.md +8 -8
  276. package/bundled/locales/zh-TW/skills/ai-friendly-architecture/SKILL.md +221 -0
  277. package/bundled/locales/zh-TW/skills/ai-instruction-standards/SKILL.md +214 -0
  278. package/bundled/locales/zh-TW/skills/atdd-assistant/SKILL.md +369 -0
  279. package/bundled/locales/zh-TW/skills/atdd-assistant/acceptance-criteria-guide.md +428 -0
  280. package/bundled/locales/zh-TW/skills/atdd-assistant/atdd-workflow.md +484 -0
  281. package/bundled/locales/zh-TW/skills/bdd-assistant/SKILL.md +325 -0
  282. package/bundled/locales/zh-TW/skills/bdd-assistant/bdd-workflow.md +406 -0
  283. package/bundled/locales/zh-TW/skills/bdd-assistant/gherkin-guide.md +454 -0
  284. package/bundled/locales/zh-TW/skills/{claude-code/changelog-guide → changelog-guide}/SKILL.md +7 -7
  285. package/bundled/locales/zh-TW/skills/{claude-code/checkin-assistant → checkin-assistant}/SKILL.md +7 -7
  286. package/bundled/locales/zh-TW/skills/{claude-code/code-review-assistant → code-review-assistant}/SKILL.md +3 -3
  287. package/bundled/locales/zh-TW/skills/{claude-code/code-review-assistant → code-review-assistant}/checkin-checklist.md +4 -4
  288. package/bundled/locales/zh-TW/skills/{claude-code/code-review-assistant → code-review-assistant}/review-checklist.md +4 -4
  289. package/bundled/locales/zh-TW/skills/{claude-code/commands → commands}/bdd.md +2 -2
  290. package/bundled/locales/zh-TW/skills/{claude-code/commands → commands}/methodology.md +2 -2
  291. package/bundled/locales/zh-TW/skills/{claude-code/commands → commands}/refactor.md +3 -3
  292. package/bundled/locales/zh-TW/skills/{claude-code/commit-standards → commit-standards}/SKILL.md +6 -6
  293. package/bundled/locales/zh-TW/skills/{claude-code/commit-standards → commit-standards}/conventional-commits.md +4 -4
  294. package/bundled/locales/zh-TW/skills/{claude-code/commit-standards → commit-standards}/language-options.md +3 -3
  295. package/bundled/locales/zh-TW/skills/docs-generator/SKILL.md +263 -0
  296. package/bundled/locales/zh-TW/skills/{claude-code/documentation-guide → documentation-guide}/SKILL.md +8 -8
  297. package/bundled/locales/zh-TW/skills/{claude-code/documentation-guide → documentation-guide}/documentation-structure.md +4 -4
  298. package/bundled/locales/zh-TW/skills/{claude-code/documentation-guide → documentation-guide}/readme-template.md +3 -3
  299. package/bundled/locales/zh-TW/skills/{claude-code/error-code-guide → error-code-guide}/SKILL.md +6 -6
  300. package/bundled/locales/zh-TW/skills/{claude-code/forward-derivation → forward-derivation}/SKILL.md +23 -17
  301. package/bundled/locales/zh-TW/skills/{claude-code/git-workflow-guide → git-workflow-guide}/SKILL.md +3 -3
  302. package/bundled/locales/zh-TW/skills/{claude-code/git-workflow-guide → git-workflow-guide}/branch-naming.md +3 -3
  303. package/bundled/locales/zh-TW/skills/{claude-code/git-workflow-guide → git-workflow-guide}/git-workflow.md +4 -4
  304. package/bundled/locales/zh-TW/skills/{claude-code/logging-guide → logging-guide}/SKILL.md +6 -6
  305. package/bundled/locales/zh-TW/skills/{claude-code/methodology-system → methodology-system}/SKILL.md +2 -2
  306. package/bundled/locales/zh-TW/skills/{claude-code/methodology-system → methodology-system}/create-methodology.md +2 -2
  307. package/bundled/locales/zh-TW/skills/{claude-code/methodology-system → methodology-system}/runtime.md +2 -2
  308. package/bundled/locales/zh-TW/skills/{claude-code/project-structure-guide → project-structure-guide}/SKILL.md +4 -4
  309. package/bundled/locales/zh-TW/skills/{claude-code/project-structure-guide → project-structure-guide}/language-patterns.md +1 -1
  310. package/bundled/locales/zh-TW/skills/{claude-code/refactoring-assistant → refactoring-assistant}/SKILL.md +8 -8
  311. package/bundled/locales/zh-TW/skills/{claude-code/release-standards → release-standards}/SKILL.md +3 -3
  312. package/bundled/locales/zh-TW/skills/{claude-code/release-standards → release-standards}/changelog-format.md +3 -3
  313. package/bundled/locales/zh-TW/skills/{claude-code/release-standards → release-standards}/release-workflow.md +60 -28
  314. package/bundled/locales/zh-TW/skills/{claude-code/release-standards → release-standards}/semantic-versioning.md +3 -3
  315. package/bundled/locales/zh-TW/skills/{claude-code/requirement-assistant → requirement-assistant}/SKILL.md +3 -3
  316. package/bundled/locales/zh-TW/skills/{claude-code/requirement-assistant → requirement-assistant}/requirement-checklist.md +3 -3
  317. package/bundled/locales/zh-TW/skills/{claude-code/requirement-assistant → requirement-assistant}/requirement-writing.md +3 -3
  318. package/bundled/locales/zh-TW/skills/{claude-code/reverse-engineer → reverse-engineer}/SKILL.md +12 -12
  319. package/bundled/locales/zh-TW/skills/{claude-code/reverse-engineer → reverse-engineer}/bdd-extraction.md +2 -2
  320. package/bundled/locales/zh-TW/skills/{claude-code/reverse-engineer → reverse-engineer}/tdd-analysis.md +2 -2
  321. package/bundled/locales/zh-TW/skills/{claude-code/reverse-engineer → reverse-engineer}/workflow.md +3 -3
  322. package/bundled/locales/zh-TW/skills/{claude-code/spec-driven-dev → spec-driven-dev}/SKILL.md +10 -10
  323. package/bundled/locales/zh-TW/skills/{claude-code/tdd-assistant → tdd-assistant}/SKILL.md +10 -10
  324. package/bundled/locales/zh-TW/skills/{claude-code/tdd-assistant → tdd-assistant}/language-examples.md +3 -3
  325. package/bundled/locales/zh-TW/skills/{claude-code/tdd-assistant → tdd-assistant}/tdd-workflow.md +3 -3
  326. package/bundled/locales/zh-TW/skills/{claude-code/test-coverage-assistant → test-coverage-assistant}/SKILL.md +28 -24
  327. package/bundled/locales/zh-TW/skills/{claude-code/testing-guide → testing-guide}/SKILL.md +3 -3
  328. package/bundled/locales/zh-TW/skills/{claude-code/testing-guide → testing-guide}/testing-pyramid.md +4 -4
  329. package/bundled/locales/zh-TW/skills/{cline → tools/cline}/README.md +1 -1
  330. package/bundled/locales/zh-TW/skills/{copilot → tools/copilot}/README.md +1 -1
  331. package/bundled/locales/zh-TW/skills/{copilot → tools/copilot}/copilot-instructions.md +1 -1
  332. package/bundled/locales/zh-TW/skills/{cursor → tools/cursor}/README.md +1 -1
  333. package/bundled/locales/zh-TW/skills/{windsurf → tools/windsurf}/README.md +1 -1
  334. package/bundled/locales/zh-TW/templates/reverse-spec-template.md +1 -1
  335. package/bundled/skills/INTEGRATION-GUIDE.md +210 -0
  336. package/bundled/skills/README.md +92 -0
  337. package/bundled/skills/_shared/README.md +60 -0
  338. package/bundled/skills/{claude-code/agents → agents}/README.md +2 -2
  339. package/bundled/skills/{claude-code/agents → agents}/code-architect.md +1 -1
  340. package/bundled/skills/{claude-code/agents → agents}/doc-writer.md +1 -1
  341. package/bundled/skills/{claude-code/agents → agents}/reviewer.md +1 -1
  342. package/bundled/skills/{claude-code/agents → agents}/spec-analyst.md +1 -1
  343. package/bundled/skills/{claude-code/agents → agents}/test-specialist.md +1 -1
  344. package/bundled/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/SKILL.md +31 -8
  345. package/bundled/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/anti-hallucination.md +24 -5
  346. package/bundled/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/certainty-labels.md +31 -6
  347. package/bundled/skills/ai-friendly-architecture/SKILL.md +216 -0
  348. package/bundled/skills/ai-instruction-standards/SKILL.md +209 -0
  349. package/bundled/skills/{claude-code/atdd-assistant → atdd-assistant}/SKILL.md +12 -11
  350. package/bundled/skills/{claude-code/atdd-assistant → atdd-assistant}/acceptance-criteria-guide.md +1 -1
  351. package/bundled/skills/{claude-code/atdd-assistant → atdd-assistant}/atdd-workflow.md +1 -1
  352. package/bundled/skills/{claude-code/bdd-assistant → bdd-assistant}/SKILL.md +12 -11
  353. package/bundled/skills/{claude-code/bdd-assistant → bdd-assistant}/bdd-workflow.md +1 -1
  354. package/bundled/skills/{claude-code/bdd-assistant → bdd-assistant}/gherkin-guide.md +1 -1
  355. package/bundled/skills/{claude-code/changelog-guide → changelog-guide}/SKILL.md +9 -6
  356. package/bundled/skills/{claude-code/checkin-assistant → checkin-assistant}/SKILL.md +7 -6
  357. package/bundled/skills/{claude-code/code-review-assistant → code-review-assistant}/SKILL.md +8 -5
  358. package/bundled/skills/{claude-code/code-review-assistant → code-review-assistant}/checkin-checklist.md +3 -3
  359. package/bundled/skills/{claude-code/code-review-assistant → code-review-assistant}/review-checklist.md +3 -3
  360. package/bundled/skills/commands/COMMAND-FAMILY-OVERVIEW.md +290 -0
  361. package/bundled/skills/{claude-code/commands → commands}/README.md +5 -1
  362. package/bundled/skills/{claude-code/commands → commands}/atdd.md +3 -3
  363. package/bundled/skills/{claude-code/commands → commands}/bdd.md +2 -2
  364. package/bundled/skills/{claude-code/commands → commands}/check.md +1 -1
  365. package/bundled/skills/{claude-code/commands → commands}/commit.md +3 -3
  366. package/bundled/skills/{claude-code/commands → commands}/config.md +1 -1
  367. package/bundled/skills/{claude-code/commands → commands}/coverage.md +5 -4
  368. package/bundled/skills/commands/derive.md +72 -0
  369. package/bundled/skills/commands/docs.md +59 -0
  370. package/bundled/skills/commands/guide.md +44 -0
  371. package/bundled/skills/{claude-code/commands → commands}/init.md +2 -2
  372. package/bundled/skills/{claude-code/commands → commands}/methodology.md +32 -16
  373. package/bundled/skills/{claude-code/commands → commands}/refactor.md +2 -2
  374. package/bundled/skills/commands/release.md +56 -0
  375. package/bundled/skills/{claude-code/commands → commands}/requirement.md +3 -3
  376. package/bundled/skills/commands/reverse.md +63 -0
  377. package/bundled/skills/{claude-code/commands → commands}/review.md +3 -3
  378. package/bundled/skills/commands/spec.md +135 -0
  379. package/bundled/skills/{claude-code/commands → commands}/tdd.md +3 -3
  380. package/bundled/skills/{claude-code/commands → commands}/update.md +2 -2
  381. package/bundled/skills/{claude-code/commit-standards → commit-standards}/SKILL.md +18 -5
  382. package/bundled/skills/{claude-code/commit-standards → commit-standards}/conventional-commits.md +3 -3
  383. package/bundled/skills/{claude-code/commit-standards → commit-standards}/language-options.md +2 -2
  384. package/bundled/skills/docs-generator/SKILL.md +259 -0
  385. package/bundled/skills/{claude-code/documentation-guide → documentation-guide}/SKILL.md +8 -7
  386. package/bundled/skills/{claude-code/documentation-guide → documentation-guide}/documentation-structure.md +3 -3
  387. package/bundled/skills/{claude-code/documentation-guide → documentation-guide}/readme-template.md +2 -2
  388. package/bundled/skills/{claude-code/error-code-guide → error-code-guide}/SKILL.md +7 -5
  389. package/bundled/skills/{claude-code/forward-derivation → forward-derivation}/SKILL.md +43 -27
  390. package/bundled/skills/{claude-code/git-workflow-guide → git-workflow-guide}/SKILL.md +7 -5
  391. package/bundled/skills/{claude-code/git-workflow-guide → git-workflow-guide}/branch-naming.md +2 -2
  392. package/bundled/skills/{claude-code/git-workflow-guide → git-workflow-guide}/git-workflow.md +3 -3
  393. package/bundled/skills/{claude-code/logging-guide → logging-guide}/SKILL.md +7 -5
  394. package/bundled/skills/{claude-code/methodology-system → methodology-system}/SKILL.md +52 -16
  395. package/bundled/skills/{claude-code/methodology-system → methodology-system}/create-methodology.md +1 -1
  396. package/bundled/skills/methodology-system/integrated-flow.md +454 -0
  397. package/bundled/skills/{claude-code/methodology-system → methodology-system}/runtime.md +1 -1
  398. package/bundled/skills/{claude-code/project-structure-guide → project-structure-guide}/SKILL.md +14 -4
  399. package/bundled/skills/{claude-code/refactoring-assistant → refactoring-assistant}/SKILL.md +8 -7
  400. package/bundled/skills/{claude-code/release-standards → release-standards}/SKILL.md +8 -5
  401. package/bundled/skills/{claude-code/release-standards → release-standards}/changelog-format.md +2 -2
  402. package/bundled/skills/{claude-code/release-standards → release-standards}/release-workflow.md +59 -24
  403. package/bundled/skills/{claude-code/release-standards → release-standards}/semantic-versioning.md +2 -2
  404. package/bundled/skills/{claude-code/requirement-assistant → requirement-assistant}/SKILL.md +15 -6
  405. package/bundled/skills/{claude-code/requirement-assistant → requirement-assistant}/requirement-checklist.md +2 -2
  406. package/bundled/skills/{claude-code/requirement-assistant → requirement-assistant}/requirement-writing.md +2 -2
  407. package/bundled/skills/{claude-code/reverse-engineer → reverse-engineer}/SKILL.md +16 -12
  408. package/bundled/skills/{claude-code/reverse-engineer → reverse-engineer}/bdd-extraction.md +1 -1
  409. package/bundled/skills/{claude-code/reverse-engineer → reverse-engineer}/tdd-analysis.md +1 -1
  410. package/bundled/skills/{claude-code/reverse-engineer → reverse-engineer}/workflow.md +2 -2
  411. package/bundled/skills/{claude-code/spec-driven-dev → spec-driven-dev}/SKILL.md +51 -8
  412. package/bundled/skills/{claude-code/tdd-assistant → tdd-assistant}/SKILL.md +11 -10
  413. package/bundled/skills/{claude-code/tdd-assistant → tdd-assistant}/language-examples.md +3 -3
  414. package/bundled/skills/{claude-code/tdd-assistant → tdd-assistant}/tdd-workflow.md +2 -2
  415. package/bundled/skills/{claude-code/test-coverage-assistant → test-coverage-assistant}/SKILL.md +40 -24
  416. package/bundled/skills/{claude-code/testing-guide → testing-guide}/SKILL.md +12 -7
  417. package/bundled/skills/{claude-code/testing-guide → testing-guide}/testing-pyramid.md +3 -3
  418. package/bundled/skills/testing-guide/testing-theory.md +2291 -0
  419. package/bundled/skills/tools/cline/.clinerules +79 -0
  420. package/bundled/skills/tools/cline/README.md +50 -0
  421. package/bundled/skills/tools/copilot/README.md +99 -0
  422. package/bundled/skills/tools/copilot/copilot-instructions.md +71 -0
  423. package/bundled/skills/tools/cursor/.cursorrules +101 -0
  424. package/bundled/skills/tools/cursor/README.md +50 -0
  425. package/bundled/skills/tools/windsurf/.windsurfrules +76 -0
  426. package/bundled/skills/tools/windsurf/README.md +51 -0
  427. package/bundled/skills/{claude-code/workflows → workflows}/README.md +1 -1
  428. package/bundled/skills/workflows/release.workflow.yaml +893 -0
  429. package/package.json +4 -1
  430. package/src/commands/check.js +179 -105
  431. package/src/commands/config.js +232 -0
  432. package/src/commands/fix.js +53 -0
  433. package/src/commands/hitl.js +19 -0
  434. package/src/commands/init.js +313 -1035
  435. package/src/commands/list.js +1 -1
  436. package/src/commands/simulate.js +61 -0
  437. package/src/commands/spec.js +288 -0
  438. package/src/commands/start.js +373 -0
  439. package/src/commands/sweep.js +142 -0
  440. package/src/commands/update.js +136 -19
  441. package/src/commands/workflow.js +265 -1
  442. package/src/config/ai-agent-paths.js +88 -18
  443. package/src/core/manifest.js +1 -0
  444. package/src/flows/init-flow.js +243 -0
  445. package/src/hitl/checkpoint.js +80 -0
  446. package/src/hitl/classifier.js +54 -0
  447. package/src/hitl/manager.js +88 -0
  448. package/src/i18n/messages.js +766 -84
  449. package/src/index.js +1 -0
  450. package/src/installers/integration-installer.js +223 -0
  451. package/src/installers/manifest-installer.js +131 -0
  452. package/src/installers/skills-installer.js +286 -0
  453. package/src/installers/standards-installer.js +193 -0
  454. package/src/missions/MissionManager.js +501 -0
  455. package/src/prompts/init.js +228 -130
  456. package/src/prompts/integrations.js +12 -0
  457. package/src/schemas/standard.schema.json +117 -0
  458. package/src/utils/agents-installer.js +2 -2
  459. package/src/utils/config-loader.js +47 -0
  460. package/src/utils/config-manager.js +108 -0
  461. package/src/utils/config-merger.js +47 -0
  462. package/src/utils/github.js +22 -18
  463. package/src/utils/inquirer-patch.js +98 -0
  464. package/src/utils/integration-generator.js +284 -30
  465. package/src/utils/reference-sync.js +18 -6
  466. package/src/utils/skills-installer.js +6 -3
  467. package/src/utils/standard-fixer.js +141 -0
  468. package/src/utils/standard-validator.js +329 -0
  469. package/src/utils/workflow-executor.js +886 -0
  470. package/src/utils/workflow-state.js +404 -0
  471. package/src/utils/workflows-installer.js +2 -2
  472. package/src/vibe/auto-sweep.js +349 -0
  473. package/src/vibe/micro-spec.js +428 -0
  474. package/standards-registry.json +202 -104
  475. package/bundled/locales/zh-CN/skills/claude-code/README.md +0 -174
  476. package/bundled/locales/zh-CN/skills/claude-code/test-coverage-assistant/SKILL.md +0 -282
  477. package/bundled/locales/zh-TW/skills/claude-code/README.md +0 -174
  478. package/bundled/skills/claude-code/README.md +0 -215
  479. package/bundled/skills/claude-code/commands/changelog.md +0 -57
  480. package/bundled/skills/claude-code/commands/derive-all.md +0 -214
  481. package/bundled/skills/claude-code/commands/derive-atdd.md +0 -177
  482. package/bundled/skills/claude-code/commands/derive-bdd.md +0 -158
  483. package/bundled/skills/claude-code/commands/derive-tdd.md +0 -259
  484. package/bundled/skills/claude-code/commands/docs.md +0 -75
  485. package/bundled/skills/claude-code/commands/release.md +0 -50
  486. package/bundled/skills/claude-code/commands/reverse-bdd.md +0 -264
  487. package/bundled/skills/claude-code/commands/reverse-spec.md +0 -185
  488. package/bundled/skills/claude-code/commands/reverse-tdd.md +0 -351
  489. package/bundled/skills/claude-code/commands/spec.md +0 -69
  490. package/bundled/skills/claude-code/methodology-system/integrated-flow.md +0 -322
  491. /package/bundled/skills/{claude-code/CONTRIBUTING.template.md → CONTRIBUTING.template.md} +0 -0
  492. /package/bundled/skills/{claude-code/ai → ai}/standards/checkin.ai.yaml +0 -0
  493. /package/bundled/skills/{claude-code/ai → ai}/standards/commit.ai.yaml +0 -0
  494. /package/bundled/skills/{claude-code/ai → ai}/standards/refactoring.ai.yaml +0 -0
  495. /package/bundled/skills/{claude-code/ai → ai}/standards/testing.ai.yaml +0 -0
  496. /package/bundled/skills/{claude-code/project-structure-guide → project-structure-guide}/language-patterns.md +0 -0
  497. /package/bundled/skills/{claude-code/workflows → workflows}/code-review.workflow.yaml +0 -0
  498. /package/bundled/skills/{claude-code/workflows → workflows}/feature-dev.workflow.yaml +0 -0
  499. /package/bundled/skills/{claude-code/workflows → workflows}/integrated-flow.workflow.yaml +0 -0
  500. /package/bundled/skills/{claude-code/workflows → workflows}/large-codebase-analysis.workflow.yaml +0 -0
package/README.md CHANGED
@@ -249,8 +249,8 @@ The `.standards/manifest.json` tracks your adoption: | `.standards/manifest.json
249
249
 
250
250
  ## Integration with Claude Code Skills | 與 Claude Code Skills 整合
251
251
 
252
- This CLI works alongside [Claude Code Skills](../skills/claude-code/):
253
- 此 CLI 與 [Claude Code Skills](../skills/claude-code/) 配合使用:
252
+ This CLI works alongside [Claude Code Skills](../skills/):
253
+ 此 CLI 與 [Claude Code Skills](../skills/) 配合使用:
254
254
 
255
255
  - **Skills** provide interactive AI assistance (commit messages, code review, etc.)
256
256
  - **Skills** 提供互動式 AI 協助(commit 訊息、程式碼審查等)
@@ -310,7 +310,7 @@ Git 鉤子透過 Git Bash 運作,它包含在 Git for Windows 中。不需要
310
310
  ## Related | 相關資源
311
311
 
312
312
  - [universal-dev-standards](https://github.com/AsiaOstrich/universal-dev-standards) - Source repository | 原始碼庫
313
- - [Claude Code Skills](../skills/claude-code/) - 14 AI-assisted development skills | 14 個 AI 輔助開發 Skills
313
+ - [Claude Code Skills](../skills/) - 14 AI-assisted development skills | 14 個 AI 輔助開發 Skills
314
314
  - [Adoption Guide](https://github.com/AsiaOstrich/universal-dev-standards/blob/main/adoption/ADOPTION-GUIDE.md) - Complete guidance | 完整指南
315
315
  - [Windows Guide](../docs/WINDOWS-GUIDE.md) - Windows-specific guide | Windows 專用指南
316
316
 
package/bin/uds.js CHANGED
@@ -5,12 +5,19 @@ import { program } from 'commander';
5
5
  import { listCommand } from '../src/commands/list.js';
6
6
  import { initCommand } from '../src/commands/init.js';
7
7
  import { checkCommand } from '../src/commands/check.js';
8
+ import { simulateCommand } from '../src/commands/simulate.js';
9
+ import { fixCommand } from '../src/commands/fix.js';
8
10
  import { updateCommand } from '../src/commands/update.js';
9
11
  import { configureCommand } from '../src/commands/configure.js';
12
+ import { configCommand } from '../src/commands/config.js';
13
+ import { hitlCommand } from '../src/commands/hitl.js';
10
14
  import { skillsCommand } from '../src/commands/skills.js';
11
15
  import { agentListCommand, agentInstallCommand, agentInfoCommand } from '../src/commands/agent.js';
12
- import { workflowListCommand, workflowInstallCommand, workflowInfoCommand } from '../src/commands/workflow.js';
16
+ import { workflowListCommand, workflowInstallCommand, workflowInfoCommand, workflowExecuteCommand, workflowStatusCommand } from '../src/commands/workflow.js';
13
17
  import { aiContextInitCommand, aiContextValidateCommand, aiContextGraphCommand } from '../src/commands/ai-context.js';
18
+ import { sweepCommand } from '../src/commands/sweep.js';
19
+ import { specCreateCommand, specListCommand, specShowCommand, specConfirmCommand, specArchiveCommand, specDeleteCommand } from '../src/commands/spec.js';
20
+ import { startCommand, missionStatusCommand, missionPauseCommand, missionResumeCommand, missionCancelCommand, missionListCommand } from '../src/commands/start.js';
14
21
  import { setLanguage, setLanguageExplicit, detectLanguage } from '../src/i18n/messages.js';
15
22
 
16
23
  const require = createRequire(import.meta.url);
@@ -59,10 +66,25 @@ program
59
66
  .option('-E, --experimental', 'Enable experimental features (methodology)')
60
67
  .action(initCommand);
61
68
 
69
+ program
70
+ .command('config [action] [key] [value]')
71
+ .description('Manage UDS configuration (list, get, set, init)')
72
+ .option('-g, --global', 'Use global configuration')
73
+ .option('--vibe-mode', 'Initialize vibe coding mode (use with init action)')
74
+ .option('-y, --yes', 'Skip confirmation prompts')
75
+ .action(configCommand);
76
+
77
+ program
78
+ .command('hitl')
79
+ .description('Human-in-the-Loop controls')
80
+ .command('check')
81
+ .description('Check if an operation is allowed')
82
+ .option('--op <operation>', 'Operation description')
83
+ .action(hitlCommand);
84
+
62
85
  program
63
86
  .command('configure')
64
- .alias('config')
65
- .description('Modify options for initialized project')
87
+ .description('Modify options for initialized project (Legacy)')
66
88
  .option('-t, --type <type>', 'Option type to configure (format, workflow, merge_strategy, commit_language, test_levels, skills, commands, all)')
67
89
  .option('--ai-tool <tool>', 'Specific AI tool to configure (claude-code, opencode, copilot, etc.) - enables non-interactive mode')
68
90
  .option('--skills-location <location>', 'Skills installation location (project, user) for non-interactive mode')
@@ -73,6 +95,8 @@ program
73
95
  program
74
96
  .command('check')
75
97
  .description('Check adoption status of current project')
98
+ .option('-s, --standard <id>', 'Validate against a specific standard physical spec')
99
+ .option('--json', 'Output result in JSON format')
76
100
  .option('--summary', 'Show compact status summary (for use by other commands)')
77
101
  .option('--diff', 'Show diff for modified files')
78
102
  .option('--restore', 'Restore all modified and missing files')
@@ -82,6 +106,21 @@ program
82
106
  .option('--offline', 'Skip npm registry check for CLI updates')
83
107
  .action(checkCommand);
84
108
 
109
+ program
110
+ .command('simulate')
111
+ .description('Simulate a standard check with input (Predictive Validation)')
112
+ .option('-s, --standard <id>', 'Standard to simulate against')
113
+ .option('-i, --input <string>', 'Input string to test')
114
+ .option('--json', 'Output result in JSON format')
115
+ .action(simulateCommand);
116
+
117
+ program
118
+ .command('fix')
119
+ .description('Auto-fix standard violations (Self-Healing)')
120
+ .option('-s, --standard <id>', 'Standard to fix')
121
+ .option('--json', 'Output result in JSON format')
122
+ .action(fixCommand);
123
+
85
124
  program
86
125
  .command('update')
87
126
  .description('Update standards to latest version')
@@ -101,6 +140,62 @@ program
101
140
  .description('List installed Claude Code skills')
102
141
  .action(skillsCommand);
103
142
 
143
+ program
144
+ .command('sweep')
145
+ .description('Auto-cleanup code after vibe coding sessions')
146
+ .option('--fix', 'Apply fixes instead of dry-run preview')
147
+ .option('--report', 'Save report to .uds/reports/')
148
+ .option('-v, --verbose', 'Show detailed output')
149
+ .action(sweepCommand);
150
+
151
+ // Spec command with subcommands (Vibe Coding)
152
+ const specCommand = program
153
+ .command('spec')
154
+ .description('Manage micro-specs for vibe coding');
155
+
156
+ specCommand
157
+ .command('create <intent>')
158
+ .alias('new')
159
+ .description('Create a micro-spec from natural language intent')
160
+ .option('-s, --scope <scope>', 'Scope (frontend, backend, fullstack)')
161
+ .option('-o, --output <path>', 'Output directory (default: specs/)')
162
+ .option('-y, --yes', 'Auto-confirm without prompting')
163
+ .action(specCreateCommand);
164
+
165
+ specCommand
166
+ .command('list')
167
+ .alias('ls')
168
+ .description('List all micro-specs')
169
+ .option('--status <status>', 'Filter by status (draft, confirmed, archived)')
170
+ .option('-o, --output <path>', 'Specs directory (default: specs/)')
171
+ .action(specListCommand);
172
+
173
+ specCommand
174
+ .command('show <id>')
175
+ .description('Show a specific micro-spec')
176
+ .option('-o, --output <path>', 'Specs directory (default: specs/)')
177
+ .action(specShowCommand);
178
+
179
+ specCommand
180
+ .command('confirm <id>')
181
+ .description('Confirm a micro-spec for implementation')
182
+ .option('-o, --output <path>', 'Specs directory (default: specs/)')
183
+ .action(specConfirmCommand);
184
+
185
+ specCommand
186
+ .command('archive <id>')
187
+ .description('Archive a completed micro-spec')
188
+ .option('-o, --output <path>', 'Specs directory (default: specs/)')
189
+ .action(specArchiveCommand);
190
+
191
+ specCommand
192
+ .command('delete <id>')
193
+ .alias('rm')
194
+ .description('Delete a micro-spec')
195
+ .option('-y, --yes', 'Skip confirmation')
196
+ .option('-o, --output <path>', 'Specs directory (default: specs/)')
197
+ .action(specDeleteCommand);
198
+
104
199
  // Agent command with subcommands
105
200
  const agentCommand = program
106
201
  .command('agent')
@@ -149,6 +244,23 @@ workflowCommand
149
244
  .description('Show detailed information about a workflow')
150
245
  .action(workflowInfoCommand);
151
246
 
247
+ workflowCommand
248
+ .command('execute <workflow-name>')
249
+ .alias('run')
250
+ .description('Execute a workflow step by step')
251
+ .option('-t, --tool <tool>', 'Target AI tool (default: claude-code)')
252
+ .option('--resume', 'Resume from saved state')
253
+ .option('--restart', 'Restart from beginning (discard saved state)')
254
+ .option('-v, --verbose', 'Show detailed output')
255
+ .option('--dry-run', 'Show steps without executing')
256
+ .option('-y, --yes', 'Skip confirmation prompts')
257
+ .action(workflowExecuteCommand);
258
+
259
+ workflowCommand
260
+ .command('status [workflow-name]')
261
+ .description('Show execution status of workflows')
262
+ .action(workflowStatusCommand);
263
+
152
264
  // AI Context command with subcommands
153
265
  const aiContextCommand = program
154
266
  .command('ai-context')
@@ -173,4 +285,48 @@ aiContextCommand
173
285
  .option('-m, --mermaid', 'Output Mermaid diagram format')
174
286
  .action(aiContextGraphCommand);
175
287
 
288
+ // Start command for mission-oriented development
289
+ program
290
+ .command('start [mission-type] [intent]')
291
+ .description('Start a new development mission')
292
+ .option('-y, --yes', 'Skip confirmation prompts')
293
+ .option('--skip-planning', 'Skip automatic transition to planning phase')
294
+ .action(startCommand);
295
+
296
+ // Mission command with subcommands
297
+ const missionCommand = program
298
+ .command('mission')
299
+ .description('Manage development missions');
300
+
301
+ missionCommand
302
+ .command('status')
303
+ .description('Show current mission status')
304
+ .action(missionStatusCommand);
305
+
306
+ missionCommand
307
+ .command('pause')
308
+ .description('Pause current mission')
309
+ .option('-r, --reason <reason>', 'Reason for pausing')
310
+ .action(missionPauseCommand);
311
+
312
+ missionCommand
313
+ .command('resume')
314
+ .description('Resume paused mission')
315
+ .action(missionResumeCommand);
316
+
317
+ missionCommand
318
+ .command('cancel')
319
+ .description('Cancel current mission')
320
+ .option('-r, --reason <reason>', 'Reason for cancellation')
321
+ .option('-y, --yes', 'Skip confirmation')
322
+ .action(missionCancelCommand);
323
+
324
+ missionCommand
325
+ .command('list')
326
+ .alias('ls')
327
+ .description('List all missions')
328
+ .option('-t, --type <type>', 'Filter by mission type')
329
+ .option('-s, --state <state>', 'Filter by state')
330
+ .action(missionListCommand);
331
+
176
332
  program.parse();