universal-dev-standards 5.0.0-beta.9 → 5.0.0-rc.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 (421) hide show
  1. package/bin/uds.js +45 -3
  2. package/bundled/ai/FORMAT-GUIDE.md +191 -0
  3. package/bundled/ai/MAINTENANCE.md +765 -0
  4. package/bundled/ai/options/changelog/auto-generated.ai.yaml +96 -0
  5. package/bundled/ai/options/changelog/keep-a-changelog.ai.yaml +92 -0
  6. package/bundled/ai/options/code-review/automated-review.ai.yaml +155 -0
  7. package/bundled/ai/options/code-review/pair-programming.ai.yaml +111 -0
  8. package/bundled/ai/options/code-review/pr-review.ai.yaml +134 -0
  9. package/bundled/ai/options/commit-message/bilingual.ai.yaml +139 -0
  10. package/bundled/ai/options/commit-message/english.ai.yaml +86 -0
  11. package/bundled/ai/options/commit-message/traditional-chinese.ai.yaml +97 -0
  12. package/bundled/ai/options/documentation/api-docs.ai.yaml +180 -0
  13. package/bundled/ai/options/documentation/markdown-docs.ai.yaml +122 -0
  14. package/bundled/ai/options/documentation/wiki-style.ai.yaml +143 -0
  15. package/bundled/ai/options/git-workflow/gitflow.ai.yaml +110 -0
  16. package/bundled/ai/options/git-workflow/github-flow.ai.yaml +97 -0
  17. package/bundled/ai/options/git-workflow/merge-commit.ai.yaml +51 -0
  18. package/bundled/ai/options/git-workflow/rebase-ff.ai.yaml +75 -0
  19. package/bundled/ai/options/git-workflow/squash-merge.ai.yaml +56 -0
  20. package/bundled/ai/options/git-workflow/trunk-based.ai.yaml +100 -0
  21. package/bundled/ai/options/project-structure/dotnet.ai.yaml +85 -0
  22. package/bundled/ai/options/project-structure/go.ai.yaml +79 -0
  23. package/bundled/ai/options/project-structure/java.ai.yaml +82 -0
  24. package/bundled/ai/options/project-structure/kotlin.ai.yaml +123 -0
  25. package/bundled/ai/options/project-structure/nodejs.ai.yaml +81 -0
  26. package/bundled/ai/options/project-structure/php.ai.yaml +147 -0
  27. package/bundled/ai/options/project-structure/python.ai.yaml +95 -0
  28. package/bundled/ai/options/project-structure/ruby.ai.yaml +140 -0
  29. package/bundled/ai/options/project-structure/rust.ai.yaml +117 -0
  30. package/bundled/ai/options/project-structure/swift.ai.yaml +143 -0
  31. package/bundled/ai/options/testing/contract-testing.ai.yaml +250 -0
  32. package/bundled/ai/options/testing/e2e-testing.ai.yaml +113 -0
  33. package/bundled/ai/options/testing/industry-pyramid.ai.yaml +161 -0
  34. package/bundled/ai/options/testing/integration-testing.ai.yaml +89 -0
  35. package/bundled/ai/options/testing/istqb-framework.ai.yaml +107 -0
  36. package/bundled/ai/options/testing/performance-testing.ai.yaml +258 -0
  37. package/bundled/ai/options/testing/security-testing.ai.yaml +189 -0
  38. package/bundled/ai/options/testing/system-testing.ai.yaml +88 -0
  39. package/bundled/ai/options/testing/unit-testing.ai.yaml +81 -0
  40. package/bundled/ai/standards/acceptance-test-driven-development.ai.yaml +345 -0
  41. package/bundled/ai/standards/accessibility-standards.ai.yaml +146 -0
  42. package/bundled/ai/standards/ai-agreement-standards.ai.yaml +20 -0
  43. package/bundled/ai/standards/ai-friendly-architecture.ai.yaml +202 -0
  44. package/bundled/ai/standards/ai-instruction-standards.ai.yaml +142 -0
  45. package/bundled/ai/standards/anti-hallucination.ai.yaml +196 -0
  46. package/bundled/ai/standards/behavior-driven-development.ai.yaml +317 -0
  47. package/bundled/ai/standards/changelog.ai.yaml +120 -0
  48. package/bundled/ai/standards/checkin-standards.ai.yaml +158 -0
  49. package/bundled/ai/standards/code-review.ai.yaml +140 -0
  50. package/bundled/ai/standards/commit-message.ai.yaml +117 -0
  51. package/bundled/ai/standards/context-aware-loading.ai.yaml +178 -0
  52. package/bundled/ai/standards/deployment-standards.ai.yaml +132 -0
  53. package/bundled/ai/standards/developer-memory.ai.yaml +213 -0
  54. package/bundled/ai/standards/documentation-structure.ai.yaml +186 -0
  55. package/bundled/ai/standards/documentation-writing-standards.ai.yaml +260 -0
  56. package/bundled/ai/standards/error-codes.ai.yaml +139 -0
  57. package/bundled/ai/standards/forward-derivation-standards.ai.yaml +419 -0
  58. package/bundled/ai/standards/git-workflow.ai.yaml +97 -0
  59. package/bundled/ai/standards/logging.ai.yaml +128 -0
  60. package/bundled/ai/standards/performance-standards.ai.yaml +129 -0
  61. package/bundled/ai/standards/project-context-memory.ai.yaml +121 -0
  62. package/bundled/ai/standards/project-structure.ai.yaml +116 -0
  63. package/bundled/ai/standards/refactoring-standards.ai.yaml +463 -0
  64. package/bundled/ai/standards/requirement-engineering.ai.yaml +191 -0
  65. package/bundled/ai/standards/reverse-engineering-standards.ai.yaml +296 -0
  66. package/bundled/ai/standards/security-standards.ai.yaml +130 -0
  67. package/bundled/ai/standards/spec-driven-development.ai.yaml +172 -0
  68. package/bundled/ai/standards/structured-task-definition.ai.yaml +108 -0
  69. package/bundled/ai/standards/test-completeness-dimensions.ai.yaml +259 -0
  70. package/bundled/ai/standards/test-driven-development.ai.yaml +331 -0
  71. package/bundled/ai/standards/test-governance.ai.yaml +148 -0
  72. package/bundled/ai/standards/testing.ai.yaml +121 -0
  73. package/bundled/ai/standards/versioning.ai.yaml +186 -0
  74. package/bundled/ai/standards/virtual-organization-standards.ai.yaml +20 -0
  75. package/bundled/ai/standards/workflow-state-protocol.ai.yaml +121 -0
  76. package/bundled/core/commit-message-guide.md +32 -1
  77. package/bundled/core/context-aware-loading.md +171 -0
  78. package/bundled/core/documentation-structure.md +250 -3
  79. package/bundled/core/documentation-writing-standards.md +188 -9
  80. package/bundled/core/guides/file-placement-guide.md +384 -0
  81. package/bundled/core/project-context-memory.md +67 -6
  82. package/bundled/core/project-structure.md +98 -2
  83. package/bundled/core/spec-driven-development.md +2 -1
  84. package/bundled/core/structured-task-definition.md +245 -0
  85. package/bundled/core/test-governance.md +146 -0
  86. package/bundled/core/testing-standards.md +12 -6
  87. package/bundled/core/workflow-state-protocol.md +287 -0
  88. package/bundled/locales/zh-CN/CLAUDE.md +3 -3
  89. package/bundled/locales/zh-CN/README.md +89 -338
  90. package/bundled/locales/zh-CN/adoption/ADOPTION-GUIDE.md +10 -10
  91. package/bundled/locales/zh-CN/adoption/DAILY-WORKFLOW-GUIDE.md +17 -11
  92. package/bundled/locales/zh-CN/adoption/STATIC-DYNAMIC-GUIDE.md +24 -24
  93. package/bundled/locales/zh-CN/adoption/checklists/enterprise.md +5 -5
  94. package/bundled/locales/zh-CN/adoption/checklists/minimal.md +3 -3
  95. package/bundled/locales/zh-CN/adoption/checklists/recommended.md +5 -5
  96. package/bundled/locales/zh-CN/ai/MAINTENANCE.md +1 -1
  97. package/bundled/locales/zh-CN/ai/options/testing/industry-pyramid.ai.yaml +39 -28
  98. package/bundled/locales/zh-CN/ai/standards/spec-driven-development.ai.yaml +1 -1
  99. package/bundled/locales/zh-CN/ai/standards/testing.ai.yaml +11 -8
  100. package/bundled/locales/zh-CN/core/ai-friendly-architecture.md +1 -1
  101. package/bundled/locales/zh-CN/core/ai-instruction-standards.md +1 -1
  102. package/bundled/locales/zh-CN/core/anti-hallucination.md +2 -2
  103. package/bundled/locales/zh-CN/core/changelog-standards.md +1 -1
  104. package/bundled/locales/zh-CN/core/checkin-standards.md +1 -1
  105. package/bundled/locales/zh-CN/core/code-review-checklist.md +1 -1
  106. package/bundled/locales/zh-CN/core/commit-message-guide.md +24 -5
  107. package/bundled/locales/zh-CN/core/developer-memory.md +1 -1
  108. package/bundled/locales/zh-CN/core/documentation-structure.md +107 -6
  109. package/bundled/locales/zh-CN/core/documentation-writing-standards.md +6 -6
  110. package/bundled/locales/zh-CN/core/error-code-standards.md +1 -1
  111. package/bundled/locales/zh-CN/core/git-workflow.md +1 -1
  112. package/bundled/locales/zh-CN/core/guides/file-placement-guide.md +309 -0
  113. package/bundled/locales/zh-CN/core/logging-standards.md +1 -1
  114. package/bundled/locales/zh-CN/core/project-structure.md +102 -6
  115. package/bundled/locales/zh-CN/core/refactoring-standards.md +1 -1
  116. package/bundled/locales/zh-CN/core/reverse-engineering-standards.md +7 -7
  117. package/bundled/locales/zh-CN/core/spec-driven-development.md +18 -17
  118. package/bundled/locales/zh-CN/core/structured-task-definition.md +255 -0
  119. package/bundled/locales/zh-CN/core/test-completeness-dimensions.md +1 -1
  120. package/bundled/locales/zh-CN/core/test-driven-development.md +2 -2
  121. package/bundled/locales/zh-CN/core/testing-standards.md +2 -2
  122. package/bundled/locales/zh-CN/core/versioning.md +1 -1
  123. package/bundled/locales/zh-CN/core/workflow-state-protocol.md +297 -0
  124. package/bundled/locales/zh-CN/docs/AI-AGENT-ROADMAP.md +2 -2
  125. package/bundled/locales/zh-CN/docs/CHEATSHEET.md +52 -17
  126. package/bundled/locales/zh-CN/docs/CLI-INIT-OPTIONS.md +32 -113
  127. package/bundled/locales/zh-CN/docs/FEATURE-REFERENCE.md +69 -30
  128. package/bundled/locales/zh-CN/docs/OPERATION-WORKFLOW.md +6 -6
  129. package/bundled/locales/zh-CN/docs/STANDARDS-REFERENCE.md +2 -2
  130. package/bundled/locales/zh-CN/docs/USAGE-MODES-COMPARISON.md +3 -3
  131. package/bundled/locales/zh-CN/docs/WINDOWS-GUIDE.md +1 -1
  132. package/bundled/locales/zh-CN/integrations/codex/README.md +3 -3
  133. package/bundled/locales/zh-CN/integrations/gemini-cli/README.md +4 -4
  134. package/bundled/locales/zh-CN/integrations/github-copilot/README.md +5 -5
  135. package/bundled/locales/zh-CN/integrations/github-copilot/copilot-instructions.md +6 -6
  136. package/bundled/locales/zh-CN/integrations/github-copilot/skills-mapping.md +1 -1
  137. package/bundled/locales/zh-CN/integrations/google-antigravity/README.md +3 -3
  138. package/bundled/locales/zh-CN/integrations/opencode/README.md +4 -4
  139. package/bundled/locales/zh-CN/integrations/opencode/skills-mapping.md +3 -3
  140. package/bundled/locales/zh-CN/integrations/openspec/README.md +1 -1
  141. package/bundled/locales/zh-CN/integrations/spec-kit/AGENTS.md +12 -11
  142. package/bundled/locales/zh-CN/integrations/spec-kit/README.md +1 -1
  143. package/bundled/locales/zh-CN/options/commit-message/bilingual.md +2 -2
  144. package/bundled/locales/zh-CN/options/commit-message/english.md +2 -2
  145. package/bundled/locales/zh-CN/options/commit-message/traditional-chinese.md +2 -2
  146. package/bundled/locales/zh-CN/options/git-workflow/gitflow.md +2 -2
  147. package/bundled/locales/zh-CN/options/git-workflow/github-flow.md +2 -2
  148. package/bundled/locales/zh-CN/options/git-workflow/merge-commit.md +2 -2
  149. package/bundled/locales/zh-CN/options/git-workflow/rebase-ff.md +2 -2
  150. package/bundled/locales/zh-CN/options/git-workflow/squash-merge.md +2 -2
  151. package/bundled/locales/zh-CN/options/git-workflow/trunk-based.md +2 -2
  152. package/bundled/locales/zh-CN/options/project-structure/dotnet.md +2 -2
  153. package/bundled/locales/zh-CN/options/project-structure/go.md +2 -2
  154. package/bundled/locales/zh-CN/options/project-structure/java.md +2 -2
  155. package/bundled/locales/zh-CN/options/project-structure/nodejs.md +2 -2
  156. package/bundled/locales/zh-CN/options/project-structure/python.md +2 -2
  157. package/bundled/locales/zh-CN/options/testing/e2e-testing.md +2 -2
  158. package/bundled/locales/zh-CN/options/testing/integration-testing.md +2 -2
  159. package/bundled/locales/zh-CN/options/testing/system-testing.md +2 -2
  160. package/bundled/locales/zh-CN/options/testing/unit-testing.md +2 -2
  161. package/bundled/locales/zh-CN/skills/README.md +23 -11
  162. package/bundled/locales/zh-CN/skills/agents/README.md +8 -8
  163. package/bundled/locales/zh-CN/skills/ai-collaboration-standards/SKILL.md +3 -3
  164. package/bundled/locales/zh-CN/skills/ai-collaboration-standards/anti-hallucination.md +1 -1
  165. package/bundled/locales/zh-CN/skills/ai-collaboration-standards/certainty-labels.md +1 -1
  166. package/bundled/locales/zh-CN/skills/ai-friendly-architecture/SKILL.md +6 -6
  167. package/bundled/locales/zh-CN/skills/ai-instruction-standards/SKILL.md +6 -6
  168. package/bundled/locales/zh-CN/skills/atdd-assistant/SKILL.md +9 -0
  169. package/bundled/locales/zh-CN/skills/atdd-assistant/acceptance-criteria-guide.md +1 -1
  170. package/bundled/locales/zh-CN/skills/atdd-assistant/atdd-workflow.md +1 -1
  171. package/bundled/locales/zh-CN/skills/atdd-assistant/guide.md +9 -9
  172. package/bundled/locales/zh-CN/skills/audit-assistant/SKILL.md +123 -0
  173. package/bundled/locales/zh-CN/skills/bdd-assistant/SKILL.md +9 -0
  174. package/bundled/locales/zh-CN/skills/bdd-assistant/bdd-workflow.md +1 -1
  175. package/bundled/locales/zh-CN/skills/bdd-assistant/gherkin-guide.md +1 -1
  176. package/bundled/locales/zh-CN/skills/bdd-assistant/guide.md +9 -9
  177. package/bundled/locales/zh-CN/skills/changelog-guide/SKILL.md +9 -0
  178. package/bundled/locales/zh-CN/skills/changelog-guide/guide.md +4 -4
  179. package/bundled/locales/zh-CN/skills/checkin-assistant/SKILL.md +10 -0
  180. package/bundled/locales/zh-CN/skills/checkin-assistant/guide.md +4 -4
  181. package/bundled/locales/zh-CN/skills/code-review-assistant/SKILL.md +10 -0
  182. package/bundled/locales/zh-CN/skills/code-review-assistant/guide.md +3 -3
  183. package/bundled/locales/zh-CN/skills/commands/methodology.md +1 -1
  184. package/bundled/locales/zh-CN/skills/commands/refactor.md +1 -1
  185. package/bundled/locales/zh-CN/skills/commit-standards/SKILL.md +10 -0
  186. package/bundled/locales/zh-CN/skills/docs-generator/SKILL.md +9 -0
  187. package/bundled/locales/zh-CN/skills/documentation-guide/SKILL.md +10 -10
  188. package/bundled/locales/zh-CN/skills/documentation-guide/readme-template.md +1 -1
  189. package/bundled/locales/zh-CN/skills/error-code-guide/SKILL.md +3 -3
  190. package/bundled/locales/zh-CN/skills/forward-derivation/SKILL.md +9 -0
  191. package/bundled/locales/zh-CN/skills/forward-derivation/guide.md +3 -3
  192. package/bundled/locales/zh-CN/skills/git-workflow-guide/SKILL.md +3 -3
  193. package/bundled/locales/zh-CN/skills/logging-guide/SKILL.md +3 -3
  194. package/bundled/locales/zh-CN/skills/methodology-system/SKILL.md +10 -0
  195. package/bundled/locales/zh-CN/skills/methodology-system/guide.md +1 -1
  196. package/bundled/locales/zh-CN/skills/project-discovery/SKILL.md +10 -0
  197. package/bundled/locales/zh-CN/skills/project-discovery/guide.md +21 -21
  198. package/bundled/locales/zh-CN/skills/project-structure-guide/SKILL.md +22 -14
  199. package/bundled/locales/zh-CN/skills/refactoring-assistant/SKILL.md +9 -0
  200. package/bundled/locales/zh-CN/skills/refactoring-assistant/guide.md +5 -5
  201. package/bundled/locales/zh-CN/skills/release-standards/SKILL.md +9 -0
  202. package/bundled/locales/zh-CN/skills/release-standards/guide.md +3 -3
  203. package/bundled/locales/zh-CN/skills/requirement-assistant/SKILL.md +9 -0
  204. package/bundled/locales/zh-CN/skills/requirement-assistant/guide.md +2 -2
  205. package/bundled/locales/zh-CN/skills/requirement-assistant/requirement-checklist.md +1 -1
  206. package/bundled/locales/zh-CN/skills/requirement-assistant/requirement-writing.md +1 -1
  207. package/bundled/locales/zh-CN/skills/reverse-engineer/SKILL.md +9 -0
  208. package/bundled/locales/zh-CN/skills/reverse-engineer/guide.md +6 -6
  209. package/bundled/locales/zh-CN/skills/reverse-engineer/workflow.md +1 -1
  210. package/bundled/locales/zh-CN/skills/spec-driven-dev/SKILL.md +11 -0
  211. package/bundled/locales/zh-CN/skills/spec-driven-dev/guide.md +13 -12
  212. package/bundled/locales/zh-CN/skills/tdd-assistant/SKILL.md +9 -0
  213. package/bundled/locales/zh-CN/skills/test-coverage-assistant/SKILL.md +9 -0
  214. package/bundled/locales/zh-CN/skills/test-coverage-assistant/guide.md +4 -4
  215. package/bundled/locales/zh-CN/skills/testing-guide/SKILL.md +2 -2
  216. package/bundled/locales/zh-CN/skills/testing-guide/testing-pyramid.md +2 -2
  217. package/bundled/locales/zh-TW/CLAUDE.md +3 -3
  218. package/bundled/locales/zh-TW/MAINTENANCE.md +9 -680
  219. package/bundled/locales/zh-TW/README.md +89 -344
  220. package/bundled/locales/zh-TW/adoption/ADOPTION-GUIDE.md +10 -10
  221. package/bundled/locales/zh-TW/adoption/DAILY-WORKFLOW-GUIDE.md +17 -11
  222. package/bundled/locales/zh-TW/adoption/STATIC-DYNAMIC-GUIDE.md +25 -25
  223. package/bundled/locales/zh-TW/adoption/checklists/enterprise.md +5 -5
  224. package/bundled/locales/zh-TW/adoption/checklists/minimal.md +3 -3
  225. package/bundled/locales/zh-TW/adoption/checklists/recommended.md +5 -5
  226. package/bundled/locales/zh-TW/ai/MAINTENANCE.md +1 -1
  227. package/bundled/locales/zh-TW/ai/options/testing/industry-pyramid.ai.yaml +30 -19
  228. package/bundled/locales/zh-TW/ai/standards/spec-driven-development.ai.yaml +1 -1
  229. package/bundled/locales/zh-TW/ai/standards/testing.ai.yaml +10 -7
  230. package/bundled/locales/zh-TW/core/ai-friendly-architecture.md +1 -1
  231. package/bundled/locales/zh-TW/core/ai-instruction-standards.md +1 -1
  232. package/bundled/locales/zh-TW/core/anti-hallucination.md +1 -1
  233. package/bundled/locales/zh-TW/core/changelog-standards.md +2 -2
  234. package/bundled/locales/zh-TW/core/checkin-standards.md +1 -1
  235. package/bundled/locales/zh-TW/core/code-review-checklist.md +1 -1
  236. package/bundled/locales/zh-TW/core/commit-message-guide.md +35 -4
  237. package/bundled/locales/zh-TW/core/developer-memory.md +1 -1
  238. package/bundled/locales/zh-TW/core/documentation-structure.md +250 -8
  239. package/bundled/locales/zh-TW/core/documentation-writing-standards.md +192 -13
  240. package/bundled/locales/zh-TW/core/forward-derivation-standards.md +3 -3
  241. package/bundled/locales/zh-TW/core/git-workflow.md +1 -1
  242. package/bundled/locales/zh-TW/core/guides/anti-hallucination-guide.md +6 -6
  243. package/bundled/locales/zh-TW/core/guides/file-placement-guide.md +309 -0
  244. package/bundled/locales/zh-TW/core/guides/git-workflow-guide.md +6 -6
  245. package/bundled/locales/zh-TW/core/guides/refactoring-guide.md +6 -6
  246. package/bundled/locales/zh-TW/core/guides/testing-guide.md +8 -8
  247. package/bundled/locales/zh-TW/core/project-structure.md +102 -6
  248. package/bundled/locales/zh-TW/core/refactoring-standards.md +1 -1
  249. package/bundled/locales/zh-TW/core/reverse-engineering-standards.md +7 -7
  250. package/bundled/locales/zh-TW/core/spec-driven-development.md +3 -3
  251. package/bundled/locales/zh-TW/core/structured-task-definition.md +247 -0
  252. package/bundled/locales/zh-TW/core/test-completeness-dimensions.md +1 -1
  253. package/bundled/locales/zh-TW/core/test-driven-development.md +2 -2
  254. package/bundled/locales/zh-TW/core/testing-standards.md +1 -1
  255. package/bundled/locales/zh-TW/core/versioning.md +1 -1
  256. package/bundled/locales/zh-TW/core/workflow-state-protocol.md +289 -0
  257. package/bundled/locales/zh-TW/docs/AI-AGENT-ROADMAP.md +2 -2
  258. package/bundled/locales/zh-TW/docs/CHEATSHEET.md +52 -17
  259. package/bundled/locales/zh-TW/docs/CLI-INIT-OPTIONS.md +32 -113
  260. package/bundled/locales/zh-TW/docs/DEV-WORKFLOW-MAPPING.md +224 -0
  261. package/bundled/locales/zh-TW/docs/FEATURE-REFERENCE.md +69 -30
  262. package/bundled/locales/zh-TW/docs/OPERATION-WORKFLOW.md +6 -6
  263. package/bundled/locales/zh-TW/docs/SKILL-FALLBACK-GUIDE.md +407 -0
  264. package/bundled/locales/zh-TW/docs/STANDARDS-REFERENCE.md +2 -2
  265. package/bundled/locales/zh-TW/docs/USAGE-MODES-COMPARISON.md +3 -3
  266. package/bundled/locales/zh-TW/docs/WINDOWS-GUIDE.md +1 -1
  267. package/bundled/locales/zh-TW/integrations/codex/README.md +1 -1
  268. package/bundled/locales/zh-TW/integrations/gemini-cli/README.md +1 -1
  269. package/bundled/locales/zh-TW/integrations/google-antigravity/README.md +1 -1
  270. package/bundled/locales/zh-TW/integrations/opencode/README.md +1 -1
  271. package/bundled/locales/zh-TW/integrations/opencode/skills-mapping.md +3 -3
  272. package/bundled/locales/zh-TW/integrations/spec-kit/AGENTS.md +9 -8
  273. package/bundled/locales/zh-TW/methodologies/guides/sdd-guide.md +19 -18
  274. package/bundled/locales/zh-TW/methodologies/guides/tdd-guide.md +10 -10
  275. package/bundled/locales/zh-TW/options/commit-message/bilingual.md +2 -2
  276. package/bundled/locales/zh-TW/options/commit-message/english.md +2 -2
  277. package/bundled/locales/zh-TW/options/commit-message/traditional-chinese.md +2 -2
  278. package/bundled/locales/zh-TW/options/git-workflow/gitflow.md +2 -2
  279. package/bundled/locales/zh-TW/options/git-workflow/github-flow.md +2 -2
  280. package/bundled/locales/zh-TW/options/git-workflow/merge-commit.md +2 -2
  281. package/bundled/locales/zh-TW/options/git-workflow/rebase-ff.md +2 -2
  282. package/bundled/locales/zh-TW/options/git-workflow/squash-merge.md +2 -2
  283. package/bundled/locales/zh-TW/options/git-workflow/trunk-based.md +2 -2
  284. package/bundled/locales/zh-TW/options/project-structure/dotnet.md +2 -2
  285. package/bundled/locales/zh-TW/options/project-structure/go.md +2 -2
  286. package/bundled/locales/zh-TW/options/project-structure/java.md +2 -2
  287. package/bundled/locales/zh-TW/options/project-structure/nodejs.md +2 -2
  288. package/bundled/locales/zh-TW/options/project-structure/python.md +2 -2
  289. package/bundled/locales/zh-TW/options/testing/e2e-testing.md +2 -2
  290. package/bundled/locales/zh-TW/options/testing/integration-testing.md +2 -2
  291. package/bundled/locales/zh-TW/options/testing/system-testing.md +2 -2
  292. package/bundled/locales/zh-TW/options/testing/unit-testing.md +2 -2
  293. package/bundled/locales/zh-TW/skills/README.md +23 -11
  294. package/bundled/locales/zh-TW/skills/agents/README.md +8 -8
  295. package/bundled/locales/zh-TW/skills/atdd-assistant/SKILL.md +9 -0
  296. package/bundled/locales/zh-TW/skills/atdd-assistant/acceptance-criteria-guide.md +1 -1
  297. package/bundled/locales/zh-TW/skills/atdd-assistant/atdd-workflow.md +1 -1
  298. package/bundled/locales/zh-TW/skills/atdd-assistant/guide.md +4 -4
  299. package/bundled/locales/zh-TW/skills/audit-assistant/SKILL.md +123 -0
  300. package/bundled/locales/zh-TW/skills/bdd-assistant/SKILL.md +9 -0
  301. package/bundled/locales/zh-TW/skills/bdd-assistant/bdd-workflow.md +1 -1
  302. package/bundled/locales/zh-TW/skills/bdd-assistant/gherkin-guide.md +1 -1
  303. package/bundled/locales/zh-TW/skills/bdd-assistant/guide.md +4 -4
  304. package/bundled/locales/zh-TW/skills/brainstorm-assistant/SKILL.md +119 -0
  305. package/bundled/locales/zh-TW/skills/brainstorm-assistant/guide.md +499 -0
  306. package/bundled/locales/zh-TW/skills/changelog-guide/SKILL.md +9 -0
  307. package/bundled/locales/zh-TW/skills/checkin-assistant/SKILL.md +10 -0
  308. package/bundled/locales/zh-TW/skills/code-review-assistant/SKILL.md +10 -0
  309. package/bundled/locales/zh-TW/skills/commands/methodology.md +1 -1
  310. package/bundled/locales/zh-TW/skills/commit-standards/SKILL.md +10 -0
  311. package/bundled/locales/zh-TW/skills/docs-generator/SKILL.md +9 -0
  312. package/bundled/locales/zh-TW/skills/documentation-guide/SKILL.md +6 -5
  313. package/bundled/locales/zh-TW/skills/forward-derivation/SKILL.md +9 -0
  314. package/bundled/locales/zh-TW/skills/forward-derivation/guide.md +1 -1
  315. package/bundled/locales/zh-TW/skills/methodology-system/SKILL.md +10 -0
  316. package/bundled/locales/zh-TW/skills/methodology-system/guide.md +1 -1
  317. package/bundled/locales/zh-TW/skills/project-discovery/SKILL.md +10 -0
  318. package/bundled/locales/zh-TW/skills/project-discovery/guide.md +4 -4
  319. package/bundled/locales/zh-TW/skills/project-discovery/workflow.md +2 -2
  320. package/bundled/locales/zh-TW/skills/project-structure-guide/SKILL.md +14 -6
  321. package/bundled/locales/zh-TW/skills/refactoring-assistant/SKILL.md +9 -0
  322. package/bundled/locales/zh-TW/skills/release-standards/SKILL.md +9 -0
  323. package/bundled/locales/zh-TW/skills/requirement-assistant/SKILL.md +9 -0
  324. package/bundled/locales/zh-TW/skills/reverse-engineer/SKILL.md +9 -0
  325. package/bundled/locales/zh-TW/skills/spec-driven-dev/SKILL.md +11 -0
  326. package/bundled/locales/zh-TW/skills/spec-driven-dev/guide.md +9 -8
  327. package/bundled/locales/zh-TW/skills/tdd-assistant/SKILL.md +9 -0
  328. package/bundled/locales/zh-TW/skills/test-coverage-assistant/SKILL.md +9 -0
  329. package/bundled/skills/README.md +5 -0
  330. package/bundled/skills/agents/README.md +65 -0
  331. package/bundled/skills/agents/spec-analyst.md +32 -0
  332. package/bundled/skills/ai/standards/commit.ai.yaml +1 -1
  333. package/bundled/skills/ai-collaboration-standards/SKILL.md +3 -3
  334. package/bundled/skills/atdd-assistant/SKILL.md +9 -0
  335. package/bundled/skills/audit-assistant/SKILL.md +132 -0
  336. package/bundled/skills/bdd-assistant/SKILL.md +9 -0
  337. package/bundled/skills/brainstorm-assistant/SKILL.md +125 -0
  338. package/bundled/skills/brainstorm-assistant/guide.md +505 -0
  339. package/bundled/skills/changelog-guide/SKILL.md +9 -0
  340. package/bundled/skills/checkin-assistant/SKILL.md +10 -0
  341. package/bundled/skills/code-review-assistant/SKILL.md +10 -0
  342. package/bundled/skills/commands/COMMAND-FAMILY-OVERVIEW.md +54 -22
  343. package/bundled/skills/commands/README.md +2 -0
  344. package/bundled/skills/commands/brainstorm.md +82 -0
  345. package/bundled/skills/commands/commit.md +9 -2
  346. package/bundled/skills/commands/dev-workflow.md +67 -0
  347. package/bundled/skills/commands/docs.md +1 -1
  348. package/bundled/skills/commands/methodology.md +1 -1
  349. package/bundled/skills/commands/requirement.md +1 -1
  350. package/bundled/skills/commands/sdd-retro.md +40 -0
  351. package/bundled/skills/commands/sdd.md +243 -27
  352. package/bundled/skills/commit-standards/SKILL.md +66 -1
  353. package/bundled/skills/commit-standards/guide.md +48 -5
  354. package/bundled/skills/dev-workflow-guide/SKILL.md +173 -0
  355. package/bundled/skills/dev-workflow-guide/workflow-phases.md +249 -0
  356. package/bundled/skills/docs-generator/SKILL.md +9 -0
  357. package/bundled/skills/documentation-guide/SKILL.md +56 -6
  358. package/bundled/skills/forward-derivation/SKILL.md +10 -0
  359. package/bundled/skills/forward-derivation/guide.md +1 -1
  360. package/bundled/skills/methodology-system/SKILL.md +10 -0
  361. package/bundled/skills/methodology-system/guide.md +1 -1
  362. package/bundled/skills/methodology-system/integrated-flow.md +45 -0
  363. package/bundled/skills/methodology-system/prerequisite-check.md +131 -0
  364. package/bundled/skills/methodology-system/runtime.md +18 -0
  365. package/bundled/skills/project-discovery/SKILL.md +10 -0
  366. package/bundled/skills/project-structure-guide/SKILL.md +12 -4
  367. package/bundled/skills/refactoring-assistant/SKILL.md +9 -0
  368. package/bundled/skills/release-standards/SKILL.md +10 -0
  369. package/bundled/skills/requirement-assistant/SKILL.md +9 -0
  370. package/bundled/skills/reverse-engineer/SKILL.md +85 -25
  371. package/bundled/skills/reverse-engineer/guide.md +147 -28
  372. package/bundled/skills/spec-driven-dev/SKILL.md +11 -0
  373. package/bundled/skills/spec-driven-dev/guide.md +10 -9
  374. package/bundled/skills/tdd-assistant/SKILL.md +9 -0
  375. package/bundled/skills/test-coverage-assistant/SKILL.md +9 -0
  376. package/bundled/skills/workflows/README.md +141 -0
  377. package/bundled/skills/workflows/feature-dev.workflow.yaml +6 -1
  378. package/package.json +2 -1
  379. package/src/commands/agent.js +3 -9
  380. package/src/commands/audit.js +385 -0
  381. package/src/commands/check.js +43 -59
  382. package/src/commands/config.js +92 -54
  383. package/src/commands/init.js +12 -18
  384. package/src/commands/list.js +6 -31
  385. package/src/commands/skills.js +3 -9
  386. package/src/commands/uninstall.js +292 -0
  387. package/src/commands/update.js +360 -27
  388. package/src/commands/workflow.js +6 -18
  389. package/src/config/ai-agent-paths.js +3 -0
  390. package/src/core/manifest.js +38 -22
  391. package/src/flows/init-flow.js +11 -23
  392. package/src/i18n/messages.js +348 -6
  393. package/src/installers/manifest-installer.js +5 -2
  394. package/src/installers/skills-installer.js +4 -2
  395. package/src/installers/standards-installer.js +5 -7
  396. package/src/prompts/init.js +45 -110
  397. package/src/reconciler/actual-state-scanner.js +393 -0
  398. package/src/reconciler/backup-manager.js +235 -0
  399. package/src/reconciler/desired-state-calculator.js +289 -0
  400. package/src/reconciler/diff-engine.js +385 -0
  401. package/src/reconciler/index.js +180 -0
  402. package/src/reconciler/manifest-migrator.js +161 -0
  403. package/src/reconciler/plan-executor.js +451 -0
  404. package/src/uninstallers/hook-uninstaller.js +43 -0
  405. package/src/uninstallers/integration-uninstaller.js +99 -0
  406. package/src/uninstallers/skills-uninstaller.js +85 -0
  407. package/src/uninstallers/standards-uninstaller.js +33 -0
  408. package/src/utils/config-manager.js +4 -0
  409. package/src/utils/feedback-reporter.js +291 -0
  410. package/src/utils/friction-detector.js +186 -0
  411. package/src/utils/hasher.js +27 -1
  412. package/src/utils/health-checker.js +209 -0
  413. package/src/utils/integration-generator.js +149 -42
  414. package/src/utils/locale.js +73 -0
  415. package/src/utils/npm-registry.js +1 -1
  416. package/src/utils/pattern-analyzer.js +302 -0
  417. package/src/utils/registry.js +12 -12
  418. package/src/utils/skills-installer.js +389 -22
  419. package/src/utils/standard-validator.js +1 -1
  420. package/src/utils/update-checker.js +139 -0
  421. package/standards-registry.json +243 -118
package/bin/uds.js CHANGED
@@ -16,9 +16,12 @@ import { agentListCommand, agentInstallCommand, agentInfoCommand } from '../src/
16
16
  import { workflowListCommand, workflowInstallCommand, workflowInfoCommand, workflowExecuteCommand, workflowStatusCommand } from '../src/commands/workflow.js';
17
17
  import { aiContextInitCommand, aiContextValidateCommand, aiContextGraphCommand } from '../src/commands/ai-context.js';
18
18
  import { sweepCommand } from '../src/commands/sweep.js';
19
+ import { auditCommand } from '../src/commands/audit.js';
20
+ import { uninstallCommand } from '../src/commands/uninstall.js';
19
21
  import { specCreateCommand, specListCommand, specShowCommand, specConfirmCommand, specArchiveCommand, specDeleteCommand } from '../src/commands/spec.js';
20
22
  import { startCommand, missionStatusCommand, missionPauseCommand, missionResumeCommand, missionCancelCommand, missionListCommand } from '../src/commands/start.js';
21
- import { setLanguage, setLanguageExplicit, detectLanguage } from '../src/i18n/messages.js';
23
+ import { setLanguage, setLanguageExplicit, detectLanguage, t } from '../src/i18n/messages.js';
24
+ import { maybeCheckForUpdates, formatUpdateNotice } from '../src/utils/update-checker.js';
22
25
 
23
26
  const require = createRequire(import.meta.url);
24
27
  const pkg = require('../package.json');
@@ -38,12 +41,24 @@ program
38
41
  // Explicit setting: mark as explicitly set to prevent override
39
42
  setLanguageExplicit(uiLang);
40
43
  }
44
+ })
45
+ .hook('postAction', async (thisCommand) => {
46
+ const cmd = thisCommand.name();
47
+ const notifyCommands = ['init', 'list', 'add', 'config'];
48
+ if (!notifyCommands.includes(cmd)) return;
49
+ try {
50
+ const result = await maybeCheckForUpdates(pkg.version);
51
+ if (result?.shouldNotify) {
52
+ console.log(formatUpdateNotice(result, t()));
53
+ }
54
+ } catch {
55
+ // Silent failure — update check should never break CLI
56
+ }
41
57
  });
42
58
 
43
59
  program
44
60
  .command('list')
45
61
  .description('List available standards')
46
- .option('-l, --level <level>', 'Filter by adoption level (1, 2, or 3)')
47
62
  .option('-c, --category <category>', 'Filter by category (skill, reference, extension, integration, template)')
48
63
  .action(listCommand);
49
64
 
@@ -51,7 +66,6 @@ program
51
66
  .command('init')
52
67
  .description('Initialize standards in current project')
53
68
  .option('-m, --mode <mode>', 'Installation mode (skills, full)')
54
- .option('-l, --level <level>', 'Adoption level (1=Essential, 2=Recommended, 3=Enterprise)')
55
69
  .option('-f, --format <format>', 'Standards format (ai, human, both)')
56
70
  .option('--workflow <workflow>', 'Git workflow (github-flow, gitflow, trunk-based)')
57
71
  .option('--merge-strategy <strategy>', 'Merge strategy (squash, merge-commit, rebase-ff)')
@@ -106,6 +120,7 @@ program
106
120
  .option('--restore', 'Restore all modified and missing files')
107
121
  .option('--restore-missing', 'Restore only missing files')
108
122
  .option('--no-interactive', 'Disable interactive mode')
123
+ .option('--ci', 'CI mode: disable interactive prompts and set exit code on issues')
109
124
  .option('--migrate', 'Migrate legacy manifest to hash-based tracking')
110
125
  .option('--offline', 'Skip npm registry check for CLI updates')
111
126
  .action(checkCommand);
@@ -137,6 +152,9 @@ program
137
152
  .option('--skills', 'Install/update Skills for configured AI tools')
138
153
  .option('--commands', 'Install/update slash commands for configured AI tools')
139
154
  .option('--debug', 'Show debug output for Skills/Commands detection')
155
+ .option('--plan', 'Show reconciliation plan without executing (like terraform plan)')
156
+ .option('--force', 'Force update all files, ignoring hash comparison')
157
+ .option('--rollback', 'Rollback to the most recent backup')
140
158
  .action(updateCommand);
141
159
 
142
160
  program
@@ -152,6 +170,30 @@ program
152
170
  .option('-v, --verbose', 'Show detailed output')
153
171
  .action(sweepCommand);
154
172
 
173
+ program
174
+ .command('audit')
175
+ .description('Audit UDS installation and collect feedback')
176
+ .option('--health', 'Health check only')
177
+ .option('--patterns', 'Pattern detection only')
178
+ .option('--friction', 'Friction detection only')
179
+ .option('--report', 'Interactive feedback submission')
180
+ .option('--dry-run', 'Preview report without submitting')
181
+ .option('--gh', 'Force gh CLI for submission')
182
+ .option('--format <format>', 'Output format (json)')
183
+ .option('--quiet', 'Summary only')
184
+ .action(auditCommand);
185
+
186
+ program
187
+ .command('uninstall')
188
+ .description('Remove UDS standards, integrations, skills, and hooks')
189
+ .option('--all', 'Remove everything including user-level installations')
190
+ .option('--standards-only', 'Remove only .standards/ directory')
191
+ .option('--skills-only', 'Remove only skills and commands')
192
+ .option('--integrations-only', 'Remove only UDS blocks from integration files')
193
+ .option('--dry-run', 'Preview mode, no files modified')
194
+ .option('-y, --yes', 'Skip confirmation prompts')
195
+ .action(uninstallCommand);
196
+
155
197
  // Spec command with subcommands (Vibe Coding)
156
198
  const specCommand = program
157
199
  .command('spec')
@@ -0,0 +1,191 @@
1
+ # AI Standards Format Guide
2
+
3
+ This document explains the file format conventions used in the AI-optimized standards.
4
+
5
+ ## File Format Overview
6
+
7
+ ### English Standards (ai/)
8
+
9
+ All English AI standards use **YAML format** with `.ai.yaml` extension:
10
+
11
+ ```
12
+ ai/
13
+ ├── standards/
14
+ │ ├── testing.ai.yaml
15
+ │ ├── commit-message.ai.yaml
16
+ │ └── ...
17
+ └── options/
18
+ ├── testing/
19
+ │ ├── unit-testing.ai.yaml
20
+ │ └── ...
21
+ └── ...
22
+ ```
23
+
24
+ ### Localized Standards (locales/)
25
+
26
+ Localized versions follow the same YAML format:
27
+
28
+ ```
29
+ locales/
30
+ ├── zh-TW/
31
+ │ └── ai/
32
+ │ ├── standards/
33
+ │ │ └── testing.ai.yaml
34
+ │ └── options/
35
+ │ └── testing/
36
+ │ └── unit-testing.ai.yaml
37
+ └── zh-CN/
38
+ └── ai/
39
+ └── ...
40
+ ```
41
+
42
+ ## Format Specification
43
+
44
+ ### Standard File Structure
45
+
46
+ ```yaml
47
+ # <Standard Name> - AI Optimized
48
+ # Source: core/<standard>.md
49
+
50
+ id: <standard-id>
51
+ meta:
52
+ version: "X.Y.Z"
53
+ updated: "YYYY-MM-DD"
54
+ source: core/<standard>.md
55
+ description: <brief description>
56
+
57
+ # Main content sections
58
+ <section>:
59
+ <subsection>:
60
+ <key>: <value>
61
+
62
+ # Rules for AI behavior
63
+ rules:
64
+ - id: <rule-id>
65
+ trigger: <when to apply>
66
+ instruction: <what to do>
67
+ priority: required|recommended
68
+
69
+ # Quick reference tables
70
+ quick_reference:
71
+ <table_name>:
72
+ columns: [Col1, Col2, Col3]
73
+ rows:
74
+ - [val1, val2, val3]
75
+ ```
76
+
77
+ ### Option File Structure
78
+
79
+ ```yaml
80
+ # <Option Name> - AI Optimized Option
81
+ # Parent: <parent-standard>
82
+
83
+ id: <option-id>
84
+ meta:
85
+ parent: <parent-standard-id>
86
+ version: "X.Y.Z"
87
+ description: <brief description>
88
+
89
+ best_for:
90
+ - <use case 1>
91
+ - <use case 2>
92
+
93
+ # Option-specific content
94
+ <section>:
95
+ <content>
96
+
97
+ rules:
98
+ - id: <rule-id>
99
+ trigger: <when to apply>
100
+ instruction: <what to do>
101
+ priority: required|recommended
102
+ ```
103
+
104
+ ## Design Rationale
105
+
106
+ ### Why YAML?
107
+
108
+ 1. **AI-Friendly**: Structured data is easier for AI to parse and apply
109
+ 2. **Human-Readable**: Clear hierarchy without syntax noise
110
+ 3. **Tool Support**: Wide ecosystem support for validation and processing
111
+ 4. **Extensible**: Easy to add new fields without breaking existing parsers
112
+
113
+ ### Why `.ai.yaml` Extension?
114
+
115
+ 1. **Identification**: Clearly marks files as AI-optimized standards
116
+ 2. **Differentiation**: Distinguishes from regular YAML config files
117
+ 3. **Tooling**: Enables specialized linting/validation rules
118
+ 4. **Search**: Easy to find all AI standards with glob patterns
119
+
120
+ ### Why Separate from Core Standards?
121
+
122
+ 1. **Dual Purpose**: Core standards (Markdown) for humans, AI standards (YAML) for AI
123
+ 2. **Optimization**: AI standards can be structured for efficient token usage
124
+ 3. **Flexibility**: AI standards can include trigger rules and quick references
125
+ 4. **Maintenance**: Can update AI format independently of human-readable docs
126
+
127
+ ## Localization Guidelines
128
+
129
+ ### Field Translation
130
+
131
+ | Field | Translate? | Notes |
132
+ |-------|------------|-------|
133
+ | id | No | Keep as identifier |
134
+ | version | No | Same as source |
135
+ | description | Yes | Localize |
136
+ | rules.instruction | Yes | Localize |
137
+ | quick_reference columns | Yes | Localize headers |
138
+ | quick_reference rows | Yes | Localize content |
139
+
140
+ ### Metadata Header
141
+
142
+ Localized files include translation metadata:
143
+
144
+ ```yaml
145
+ # Note: This is included in the file header comment
146
+ # source_version: <version of source file>
147
+ # translation_version: <version of translation>
148
+ # last_synced: <date>
149
+ ```
150
+
151
+ ## Validation
152
+
153
+ ### Required Fields
154
+
155
+ Every standard file must have:
156
+ - `id`
157
+ - `meta.version`
158
+ - `meta.description`
159
+
160
+ ### Optional but Recommended
161
+
162
+ - `rules[]` - AI behavior triggers
163
+ - `quick_reference` - Summary tables
164
+ - `options` - Sub-options (for parent standards)
165
+
166
+ ## Examples
167
+
168
+ ### Minimal Standard
169
+
170
+ ```yaml
171
+ id: example
172
+ meta:
173
+ version: "1.0.0"
174
+ description: Example standard
175
+
176
+ rules:
177
+ - id: basic-rule
178
+ trigger: always
179
+ instruction: Follow this guideline
180
+ priority: required
181
+ ```
182
+
183
+ ### Full Standard
184
+
185
+ See [testing.ai.yaml](standards/testing.ai.yaml) for a complete example.
186
+
187
+ ## Version History
188
+
189
+ | Version | Date | Changes |
190
+ |---------|------|---------|
191
+ | 1.0.0 | 2025-12-30 | Initial format guide |