universal-dev-standards 5.0.0-rc.8 → 5.0.0

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 (355) hide show
  1. package/bin/uds.js +5 -3
  2. package/bundled/ai/standards/acceptance-criteria-traceability.ai.yaml +178 -0
  3. package/bundled/ai/standards/agent-dispatch.ai.yaml +69 -0
  4. package/bundled/ai/standards/ai-command-behavior.ai.yaml +45 -0
  5. package/bundled/ai/standards/api-design-standards.ai.yaml +192 -0
  6. package/bundled/ai/standards/branch-completion.ai.yaml +82 -0
  7. package/bundled/ai/standards/change-batching-standards.ai.yaml +195 -0
  8. package/bundled/ai/standards/database-standards.ai.yaml +220 -0
  9. package/bundled/ai/standards/error-codes.ai.yaml +37 -2
  10. package/bundled/ai/standards/git-worktree.ai.yaml +77 -0
  11. package/bundled/ai/standards/logging.ai.yaml +21 -2
  12. package/bundled/ai/standards/model-selection.ai.yaml +81 -0
  13. package/bundled/ai/standards/pipeline-integration-standards.ai.yaml +184 -0
  14. package/bundled/ai/standards/systematic-debugging.ai.yaml +73 -0
  15. package/bundled/ai/standards/verification-evidence.ai.yaml +84 -0
  16. package/bundled/ai/standards/workflow-enforcement.ai.yaml +253 -0
  17. package/bundled/core/acceptance-criteria-traceability.md +293 -0
  18. package/bundled/core/agent-dispatch.md +149 -0
  19. package/bundled/core/ai-command-behavior.md +239 -0
  20. package/bundled/core/api-design-standards.md +938 -0
  21. package/bundled/core/branch-completion.md +158 -0
  22. package/bundled/core/change-batching-standards.md +257 -0
  23. package/bundled/core/checkin-standards.md +43 -6
  24. package/bundled/core/database-standards.md +828 -0
  25. package/bundled/core/error-code-standards.md +228 -2
  26. package/bundled/core/forward-derivation-standards.md +54 -2
  27. package/bundled/core/git-worktree.md +131 -0
  28. package/bundled/core/model-selection.md +153 -0
  29. package/bundled/core/pipeline-integration-standards.md +230 -0
  30. package/bundled/core/systematic-debugging.md +156 -0
  31. package/bundled/core/testing-standards.md +49 -39
  32. package/bundled/core/verification-evidence.md +172 -0
  33. package/bundled/core/workflow-enforcement.md +132 -0
  34. package/bundled/locales/zh-CN/CLAUDE.md +2 -2
  35. package/bundled/locales/zh-CN/README.md +4 -4
  36. package/bundled/locales/zh-CN/SECURITY.md +92 -0
  37. package/bundled/locales/zh-CN/core/acceptance-criteria-traceability.md +301 -0
  38. package/bundled/locales/zh-CN/core/acceptance-test-driven-development.md +47 -0
  39. package/bundled/locales/zh-CN/core/accessibility-standards.md +124 -0
  40. package/bundled/locales/zh-CN/core/agent-dispatch.md +113 -0
  41. package/bundled/locales/zh-CN/core/ai-agreement-standards.md +103 -0
  42. package/bundled/locales/zh-CN/core/ai-command-behavior.md +247 -0
  43. package/bundled/locales/zh-CN/core/api-design-standards.md +946 -0
  44. package/bundled/locales/zh-CN/core/behavior-driven-development.md +48 -0
  45. package/bundled/locales/zh-CN/core/branch-completion.md +112 -0
  46. package/bundled/locales/zh-CN/core/change-batching-standards.md +265 -0
  47. package/bundled/locales/zh-CN/core/checkin-standards.md +43 -5
  48. package/bundled/locales/zh-CN/core/context-aware-loading.md +106 -0
  49. package/bundled/locales/zh-CN/core/database-standards.md +836 -0
  50. package/bundled/locales/zh-CN/core/deployment-standards.md +80 -0
  51. package/bundled/locales/zh-CN/core/error-code-standards.md +2 -2
  52. package/bundled/locales/zh-CN/core/forward-derivation-standards.md +493 -0
  53. package/bundled/locales/zh-CN/core/git-worktree.md +101 -0
  54. package/bundled/locales/zh-CN/core/model-selection.md +112 -0
  55. package/bundled/locales/zh-CN/core/performance-standards.md +104 -0
  56. package/bundled/locales/zh-CN/core/pipeline-integration-standards.md +238 -0
  57. package/bundled/locales/zh-CN/core/project-context-memory.md +124 -0
  58. package/bundled/locales/zh-CN/core/requirement-engineering.md +49 -0
  59. package/bundled/locales/zh-CN/core/security-standards.md +100 -0
  60. package/bundled/locales/zh-CN/core/systematic-debugging.md +106 -0
  61. package/bundled/locales/zh-CN/core/test-governance.md +116 -0
  62. package/bundled/locales/zh-CN/core/testing-standards.md +392 -156
  63. package/bundled/locales/zh-CN/core/verification-evidence.md +118 -0
  64. package/bundled/locales/zh-CN/core/virtual-organization-standards.md +104 -0
  65. package/bundled/locales/zh-CN/core/workflow-enforcement.md +132 -0
  66. package/bundled/locales/zh-CN/docs/CHEATSHEET.md +27 -1
  67. package/bundled/locales/zh-CN/docs/CLI-INIT-OPTIONS.md +9 -1
  68. package/bundled/locales/zh-CN/docs/FEATURE-REFERENCE.md +37 -9
  69. package/bundled/locales/zh-CN/docs/USER-MANUAL.md +652 -0
  70. package/bundled/locales/zh-CN/integrations/github-copilot/copilot-instructions.md +1 -1
  71. package/bundled/locales/zh-CN/integrations/openspec/AGENTS.md +29 -4
  72. package/bundled/locales/zh-CN/integrations/spec-kit/AGENTS.md +143 -72
  73. package/bundled/locales/zh-CN/skills/ac-coverage-assistant/SKILL.md +126 -0
  74. package/bundled/locales/zh-CN/skills/api-design-assistant/SKILL.md +100 -0
  75. package/bundled/locales/zh-CN/skills/brainstorm-assistant/SKILL.md +119 -0
  76. package/bundled/locales/zh-CN/skills/ci-cd-assistant/SKILL.md +82 -0
  77. package/bundled/locales/zh-CN/skills/commands/ac-coverage.md +97 -0
  78. package/bundled/locales/zh-CN/skills/commands/api-design.md +94 -0
  79. package/bundled/locales/zh-CN/skills/commands/atdd.md +163 -0
  80. package/bundled/locales/zh-CN/skills/commands/audit.md +77 -0
  81. package/bundled/locales/zh-CN/skills/commands/bdd.md +1 -1
  82. package/bundled/locales/zh-CN/skills/commands/brainstorm.md +87 -0
  83. package/bundled/locales/zh-CN/skills/commands/changelog.md +63 -0
  84. package/bundled/locales/zh-CN/skills/commands/check.md +219 -0
  85. package/bundled/locales/zh-CN/skills/commands/checkin.md +61 -0
  86. package/bundled/locales/zh-CN/skills/commands/ci-cd.md +77 -0
  87. package/bundled/locales/zh-CN/skills/commands/commit.md +81 -0
  88. package/bundled/locales/zh-CN/skills/commands/config.md +207 -0
  89. package/bundled/locales/zh-CN/skills/commands/coverage.md +74 -0
  90. package/bundled/locales/zh-CN/skills/commands/database.md +78 -0
  91. package/bundled/locales/zh-CN/skills/commands/derive-all.md +58 -0
  92. package/bundled/locales/zh-CN/skills/commands/derive-atdd.md +54 -0
  93. package/bundled/locales/zh-CN/skills/commands/derive-bdd.md +53 -0
  94. package/bundled/locales/zh-CN/skills/commands/derive-tdd.md +54 -0
  95. package/bundled/locales/zh-CN/skills/commands/derive.md +78 -0
  96. package/bundled/locales/zh-CN/skills/commands/dev-workflow.md +119 -0
  97. package/bundled/locales/zh-CN/skills/commands/discover.md +86 -0
  98. package/bundled/locales/zh-CN/skills/commands/docgen.md +67 -0
  99. package/bundled/locales/zh-CN/skills/commands/docs.md +65 -0
  100. package/bundled/locales/zh-CN/skills/commands/durable.md +87 -0
  101. package/bundled/locales/zh-CN/skills/commands/guide.md +52 -0
  102. package/bundled/locales/zh-CN/skills/commands/incident.md +92 -0
  103. package/bundled/locales/zh-CN/skills/commands/init.md +272 -0
  104. package/bundled/locales/zh-CN/skills/commands/methodology.md +1 -1
  105. package/bundled/locales/zh-CN/skills/commands/metrics.md +73 -0
  106. package/bundled/locales/zh-CN/skills/commands/migrate.md +92 -0
  107. package/bundled/locales/zh-CN/skills/commands/pr.md +80 -0
  108. package/bundled/locales/zh-CN/skills/commands/refactor.md +1 -1
  109. package/bundled/locales/zh-CN/skills/commands/release.md +62 -0
  110. package/bundled/locales/zh-CN/skills/commands/requirement.md +54 -0
  111. package/bundled/locales/zh-CN/skills/commands/reverse-bdd.md +47 -0
  112. package/bundled/locales/zh-CN/skills/commands/reverse-sdd.md +51 -0
  113. package/bundled/locales/zh-CN/skills/commands/reverse-tdd.md +51 -0
  114. package/bundled/locales/zh-CN/skills/commands/reverse.md +63 -0
  115. package/bundled/locales/zh-CN/skills/commands/review.md +50 -0
  116. package/bundled/locales/zh-CN/skills/commands/scan.md +76 -0
  117. package/bundled/locales/zh-CN/skills/commands/sdd-retro.md +40 -0
  118. package/bundled/locales/zh-CN/skills/commands/sdd.md +379 -0
  119. package/bundled/locales/zh-CN/skills/commands/security.md +75 -0
  120. package/bundled/locales/zh-CN/skills/commands/tdd.md +111 -0
  121. package/bundled/locales/zh-CN/skills/commands/update.md +337 -0
  122. package/bundled/locales/zh-CN/skills/commit-standards/SKILL.md +1 -2
  123. package/bundled/locales/zh-CN/skills/database-assistant/SKILL.md +97 -0
  124. package/bundled/locales/zh-CN/skills/dev-workflow-guide/SKILL.md +145 -0
  125. package/bundled/locales/zh-CN/skills/durable-execution-assistant/SKILL.md +84 -0
  126. package/bundled/locales/zh-CN/skills/incident-response-assistant/SKILL.md +107 -0
  127. package/bundled/locales/zh-CN/skills/metrics-dashboard-assistant/SKILL.md +67 -0
  128. package/bundled/locales/zh-CN/skills/migration-assistant/SKILL.md +77 -0
  129. package/bundled/locales/zh-CN/skills/pr-automation-assistant/SKILL.md +90 -0
  130. package/bundled/locales/zh-CN/skills/security-assistant/SKILL.md +79 -0
  131. package/bundled/locales/zh-CN/skills/security-scan-assistant/SKILL.md +72 -0
  132. package/bundled/locales/zh-CN/skills/spec-driven-dev/SKILL.md +73 -10
  133. package/bundled/locales/zh-CN/skills/spec-driven-dev/guide.md +267 -122
  134. package/bundled/locales/zh-TW/CLAUDE.md +2 -2
  135. package/bundled/locales/zh-TW/README.md +4 -4
  136. package/bundled/locales/zh-TW/SECURITY.md +92 -0
  137. package/bundled/locales/zh-TW/core/acceptance-criteria-traceability.md +301 -0
  138. package/bundled/locales/zh-TW/core/acceptance-test-driven-development.md +47 -0
  139. package/bundled/locales/zh-TW/core/accessibility-standards.md +84 -0
  140. package/bundled/locales/zh-TW/core/agent-dispatch.md +89 -0
  141. package/bundled/locales/zh-TW/core/ai-agreement-standards.md +87 -0
  142. package/bundled/locales/zh-TW/core/ai-command-behavior.md +247 -0
  143. package/bundled/locales/zh-TW/core/api-design-standards.md +946 -0
  144. package/bundled/locales/zh-TW/core/behavior-driven-development.md +63 -0
  145. package/bundled/locales/zh-TW/core/branch-completion.md +76 -0
  146. package/bundled/locales/zh-TW/core/change-batching-standards.md +265 -0
  147. package/bundled/locales/zh-TW/core/checkin-standards.md +39 -5
  148. package/bundled/locales/zh-TW/core/context-aware-loading.md +86 -0
  149. package/bundled/locales/zh-TW/core/database-standards.md +836 -0
  150. package/bundled/locales/zh-TW/core/deployment-standards.md +66 -0
  151. package/bundled/locales/zh-TW/core/error-code-standards.md +230 -4
  152. package/bundled/locales/zh-TW/core/forward-derivation-standards.md +62 -2
  153. package/bundled/locales/zh-TW/core/git-worktree.md +104 -0
  154. package/bundled/locales/zh-TW/core/model-selection.md +83 -0
  155. package/bundled/locales/zh-TW/core/performance-standards.md +84 -0
  156. package/bundled/locales/zh-TW/core/pipeline-integration-standards.md +238 -0
  157. package/bundled/locales/zh-TW/core/project-context-memory.md +79 -0
  158. package/bundled/locales/zh-TW/core/requirement-engineering.md +79 -0
  159. package/bundled/locales/zh-TW/core/security-standards.md +74 -0
  160. package/bundled/locales/zh-TW/core/systematic-debugging.md +95 -0
  161. package/bundled/locales/zh-TW/core/test-governance.md +88 -0
  162. package/bundled/locales/zh-TW/core/testing-standards.md +309 -86
  163. package/bundled/locales/zh-TW/core/verification-evidence.md +94 -0
  164. package/bundled/locales/zh-TW/core/virtual-organization-standards.md +88 -0
  165. package/bundled/locales/zh-TW/core/workflow-enforcement.md +132 -0
  166. package/bundled/locales/zh-TW/docs/CHEATSHEET.md +27 -1
  167. package/bundled/locales/zh-TW/docs/CLI-INIT-OPTIONS.md +9 -1
  168. package/bundled/locales/zh-TW/docs/FEATURE-REFERENCE.md +37 -9
  169. package/bundled/locales/zh-TW/docs/USER-MANUAL.md +652 -0
  170. package/bundled/locales/zh-TW/integrations/github-copilot/copilot-instructions.md +1 -1
  171. package/bundled/locales/zh-TW/integrations/openspec/AGENTS.md +29 -4
  172. package/bundled/locales/zh-TW/integrations/spec-kit/AGENTS.md +142 -71
  173. package/bundled/locales/zh-TW/skills/ac-coverage-assistant/SKILL.md +127 -0
  174. package/bundled/locales/zh-TW/skills/ai-friendly-architecture/SKILL.md +1 -4
  175. package/bundled/locales/zh-TW/skills/ai-instruction-standards/SKILL.md +1 -4
  176. package/bundled/locales/zh-TW/skills/api-design-assistant/SKILL.md +97 -0
  177. package/bundled/locales/zh-TW/skills/atdd-assistant/SKILL.md +1 -4
  178. package/bundled/locales/zh-TW/skills/audit-assistant/SKILL.md +1 -4
  179. package/bundled/locales/zh-TW/skills/bdd-assistant/SKILL.md +1 -4
  180. package/bundled/locales/zh-TW/skills/brainstorm-assistant/SKILL.md +1 -4
  181. package/bundled/locales/zh-TW/skills/changelog-guide/SKILL.md +1 -4
  182. package/bundled/locales/zh-TW/skills/checkin-assistant/SKILL.md +1 -4
  183. package/bundled/locales/zh-TW/skills/ci-cd-assistant/SKILL.md +79 -0
  184. package/bundled/locales/zh-TW/skills/code-review-assistant/SKILL.md +1 -4
  185. package/bundled/locales/zh-TW/skills/commands/ac-coverage.md +95 -0
  186. package/bundled/locales/zh-TW/skills/commands/api-design.md +92 -0
  187. package/bundled/locales/zh-TW/skills/commands/atdd.md +167 -0
  188. package/bundled/locales/zh-TW/skills/commands/audit.md +75 -0
  189. package/bundled/locales/zh-TW/skills/commands/bdd.md +1 -1
  190. package/bundled/locales/zh-TW/skills/commands/brainstorm.md +91 -0
  191. package/bundled/locales/zh-TW/skills/commands/changelog.md +67 -0
  192. package/bundled/locales/zh-TW/skills/commands/check.md +223 -0
  193. package/bundled/locales/zh-TW/skills/commands/checkin.md +65 -0
  194. package/bundled/locales/zh-TW/skills/commands/ci-cd.md +75 -0
  195. package/bundled/locales/zh-TW/skills/commands/commit.md +85 -0
  196. package/bundled/locales/zh-TW/skills/commands/config.md +211 -0
  197. package/bundled/locales/zh-TW/skills/commands/coverage.md +78 -0
  198. package/bundled/locales/zh-TW/skills/commands/database.md +76 -0
  199. package/bundled/locales/zh-TW/skills/commands/derive-all.md +62 -0
  200. package/bundled/locales/zh-TW/skills/commands/derive-atdd.md +58 -0
  201. package/bundled/locales/zh-TW/skills/commands/derive-bdd.md +54 -0
  202. package/bundled/locales/zh-TW/skills/commands/derive-tdd.md +55 -0
  203. package/bundled/locales/zh-TW/skills/commands/derive.md +79 -0
  204. package/bundled/locales/zh-TW/skills/commands/dev-workflow.md +120 -0
  205. package/bundled/locales/zh-TW/skills/commands/discover.md +87 -0
  206. package/bundled/locales/zh-TW/skills/commands/docgen.md +68 -0
  207. package/bundled/locales/zh-TW/skills/commands/docs.md +66 -0
  208. package/bundled/locales/zh-TW/skills/commands/durable.md +85 -0
  209. package/bundled/locales/zh-TW/skills/commands/guide.md +51 -0
  210. package/bundled/locales/zh-TW/skills/commands/incident.md +90 -0
  211. package/bundled/locales/zh-TW/skills/commands/init.md +273 -0
  212. package/bundled/locales/zh-TW/skills/commands/methodology.md +1 -1
  213. package/bundled/locales/zh-TW/skills/commands/metrics.md +71 -0
  214. package/bundled/locales/zh-TW/skills/commands/migrate.md +90 -0
  215. package/bundled/locales/zh-TW/skills/commands/pr.md +78 -0
  216. package/bundled/locales/zh-TW/skills/commands/refactor.md +1 -1
  217. package/bundled/locales/zh-TW/skills/commands/release.md +63 -0
  218. package/bundled/locales/zh-TW/skills/commands/requirement.md +61 -0
  219. package/bundled/locales/zh-TW/skills/commands/reverse-bdd.md +54 -0
  220. package/bundled/locales/zh-TW/skills/commands/reverse-sdd.md +58 -0
  221. package/bundled/locales/zh-TW/skills/commands/reverse-tdd.md +58 -0
  222. package/bundled/locales/zh-TW/skills/commands/reverse.md +70 -0
  223. package/bundled/locales/zh-TW/skills/commands/review.md +57 -0
  224. package/bundled/locales/zh-TW/skills/commands/scan.md +74 -0
  225. package/bundled/locales/zh-TW/skills/commands/sdd-retro.md +47 -0
  226. package/bundled/locales/zh-TW/skills/commands/sdd.md +362 -0
  227. package/bundled/locales/zh-TW/skills/commands/security.md +73 -0
  228. package/bundled/locales/zh-TW/skills/commands/tdd.md +115 -0
  229. package/bundled/locales/zh-TW/skills/commands/update.md +326 -0
  230. package/bundled/locales/zh-TW/skills/commit-standards/SKILL.md +2 -6
  231. package/bundled/locales/zh-TW/skills/database-assistant/SKILL.md +94 -0
  232. package/bundled/locales/zh-TW/skills/dev-workflow-guide/SKILL.md +140 -0
  233. package/bundled/locales/zh-TW/skills/docs-generator/SKILL.md +1 -4
  234. package/bundled/locales/zh-TW/skills/documentation-guide/SKILL.md +1 -4
  235. package/bundled/locales/zh-TW/skills/durable-execution-assistant/SKILL.md +81 -0
  236. package/bundled/locales/zh-TW/skills/error-code-guide/SKILL.md +1 -4
  237. package/bundled/locales/zh-TW/skills/forward-derivation/SKILL.md +1 -4
  238. package/bundled/locales/zh-TW/skills/git-workflow-guide/SKILL.md +1 -4
  239. package/bundled/locales/zh-TW/skills/incident-response-assistant/SKILL.md +104 -0
  240. package/bundled/locales/zh-TW/skills/logging-guide/SKILL.md +1 -4
  241. package/bundled/locales/zh-TW/skills/methodology-system/SKILL.md +1 -4
  242. package/bundled/locales/zh-TW/skills/metrics-dashboard-assistant/SKILL.md +64 -0
  243. package/bundled/locales/zh-TW/skills/migration-assistant/SKILL.md +74 -0
  244. package/bundled/locales/zh-TW/skills/pr-automation-assistant/SKILL.md +87 -0
  245. package/bundled/locales/zh-TW/skills/project-discovery/SKILL.md +1 -4
  246. package/bundled/locales/zh-TW/skills/refactoring-assistant/SKILL.md +1 -4
  247. package/bundled/locales/zh-TW/skills/release-standards/SKILL.md +1 -4
  248. package/bundled/locales/zh-TW/skills/requirement-assistant/SKILL.md +1 -4
  249. package/bundled/locales/zh-TW/skills/reverse-engineer/SKILL.md +1 -4
  250. package/bundled/locales/zh-TW/skills/security-assistant/SKILL.md +76 -0
  251. package/bundled/locales/zh-TW/skills/security-scan-assistant/SKILL.md +69 -0
  252. package/bundled/locales/zh-TW/skills/spec-driven-dev/SKILL.md +74 -14
  253. package/bundled/locales/zh-TW/skills/spec-driven-dev/guide.md +243 -98
  254. package/bundled/locales/zh-TW/skills/tdd-assistant/SKILL.md +1 -4
  255. package/bundled/locales/zh-TW/skills/test-coverage-assistant/SKILL.md +1 -4
  256. package/bundled/locales/zh-TW/skills/testing-guide/SKILL.md +1 -5
  257. package/bundled/skills/README.md +11 -0
  258. package/bundled/skills/ac-coverage-assistant/SKILL.md +127 -0
  259. package/bundled/skills/ai-collaboration-standards/SKILL.md +10 -0
  260. package/bundled/skills/ai-friendly-architecture/SKILL.md +10 -0
  261. package/bundled/skills/ai-instruction-standards/SKILL.md +10 -0
  262. package/bundled/skills/api-design-assistant/SKILL.md +119 -0
  263. package/bundled/skills/atdd-assistant/SKILL.md +7 -0
  264. package/bundled/skills/bdd-assistant/SKILL.md +7 -0
  265. package/bundled/skills/brainstorm-assistant/SKILL.md +7 -0
  266. package/bundled/skills/checkin-assistant/SKILL.md +7 -0
  267. package/bundled/skills/ci-cd-assistant/SKILL.md +97 -0
  268. package/bundled/skills/code-review-assistant/SKILL.md +7 -0
  269. package/bundled/skills/commands/README.md +70 -0
  270. package/bundled/skills/commands/ac-coverage.md +135 -0
  271. package/bundled/skills/commands/api-design.md +86 -0
  272. package/bundled/skills/commands/atdd.md +69 -0
  273. package/bundled/skills/commands/audit.md +69 -0
  274. package/bundled/skills/commands/bdd.md +101 -0
  275. package/bundled/skills/commands/brainstorm.md +45 -0
  276. package/bundled/skills/commands/changelog.md +34 -0
  277. package/bundled/skills/commands/check.md +52 -1
  278. package/bundled/skills/commands/checkin.md +46 -0
  279. package/bundled/skills/commands/ci-cd.md +69 -0
  280. package/bundled/skills/commands/commit.md +79 -0
  281. package/bundled/skills/commands/config.md +48 -0
  282. package/bundled/skills/commands/coverage.md +53 -0
  283. package/bundled/skills/commands/database.md +70 -0
  284. package/bundled/skills/commands/derive-all.md +40 -0
  285. package/bundled/skills/commands/derive-atdd.md +33 -0
  286. package/bundled/skills/commands/derive-bdd.md +39 -0
  287. package/bundled/skills/commands/derive-tdd.md +40 -0
  288. package/bundled/skills/commands/derive.md +47 -0
  289. package/bundled/skills/commands/dev-workflow.md +104 -7
  290. package/bundled/skills/commands/discover.md +39 -0
  291. package/bundled/skills/commands/docgen.md +35 -0
  292. package/bundled/skills/commands/docs.md +40 -0
  293. package/bundled/skills/commands/durable.md +79 -0
  294. package/bundled/skills/commands/incident.md +84 -0
  295. package/bundled/skills/commands/init.md +55 -0
  296. package/bundled/skills/commands/methodology.md +72 -0
  297. package/bundled/skills/commands/metrics.md +65 -0
  298. package/bundled/skills/commands/migrate.md +84 -0
  299. package/bundled/skills/commands/pr.md +72 -0
  300. package/bundled/skills/commands/refactor.md +51 -0
  301. package/bundled/skills/commands/release.md +60 -0
  302. package/bundled/skills/commands/requirement.md +38 -0
  303. package/bundled/skills/commands/reverse-bdd.md +34 -0
  304. package/bundled/skills/commands/reverse-sdd.md +42 -0
  305. package/bundled/skills/commands/reverse-tdd.md +40 -0
  306. package/bundled/skills/commands/reverse.md +41 -0
  307. package/bundled/skills/commands/review.md +39 -0
  308. package/bundled/skills/commands/scan.md +68 -0
  309. package/bundled/skills/commands/sdd-retro.md +48 -0
  310. package/bundled/skills/commands/sdd.md +220 -0
  311. package/bundled/skills/commands/security.md +67 -0
  312. package/bundled/skills/commands/tdd.md +101 -0
  313. package/bundled/skills/commands/update.md +61 -0
  314. package/bundled/skills/commit-standards/SKILL.md +8 -2
  315. package/bundled/skills/database-assistant/SKILL.md +118 -0
  316. package/bundled/skills/dev-workflow-guide/SKILL.md +53 -7
  317. package/bundled/skills/dev-workflow-guide/workflow-phases.md +24 -0
  318. package/bundled/skills/durable-execution-assistant/SKILL.md +116 -0
  319. package/bundled/skills/forward-derivation/SKILL.md +7 -0
  320. package/bundled/skills/incident-response-assistant/SKILL.md +132 -0
  321. package/bundled/skills/methodology-system/SKILL.md +24 -2
  322. package/bundled/skills/metrics-dashboard-assistant/SKILL.md +109 -0
  323. package/bundled/skills/migration-assistant/SKILL.md +119 -0
  324. package/bundled/skills/pr-automation-assistant/SKILL.md +114 -0
  325. package/bundled/skills/project-discovery/SKILL.md +7 -0
  326. package/bundled/skills/refactoring-assistant/SKILL.md +7 -0
  327. package/bundled/skills/release-standards/SKILL.md +7 -0
  328. package/bundled/skills/requirement-assistant/SKILL.md +7 -0
  329. package/bundled/skills/reverse-engineer/SKILL.md +7 -0
  330. package/bundled/skills/security-assistant/SKILL.md +105 -0
  331. package/bundled/skills/security-scan-assistant/SKILL.md +96 -0
  332. package/bundled/skills/spec-driven-dev/SKILL.md +84 -4
  333. package/bundled/skills/spec-driven-dev/guide.md +156 -22
  334. package/bundled/skills/tdd-assistant/SKILL.md +7 -0
  335. package/bundled/skills/test-coverage-assistant/SKILL.md +11 -0
  336. package/bundled/skills/testing-guide/SKILL.md +23 -0
  337. package/package.json +1 -1
  338. package/src/commands/check.js +154 -8
  339. package/src/commands/config.js +231 -104
  340. package/src/commands/init.js +23 -3
  341. package/src/commands/update.js +250 -25
  342. package/src/config/ai-agent-paths.js +16 -0
  343. package/src/config/workflow-definitions.js +184 -0
  344. package/src/core/constants.js +6 -0
  345. package/src/flows/init-flow.js +23 -6
  346. package/src/i18n/messages.js +51 -3
  347. package/src/installers/integration-installer.js +67 -2
  348. package/src/installers/manifest-installer.js +1 -0
  349. package/src/installers/standards-installer.js +3 -2
  350. package/src/prompts/init.js +50 -3
  351. package/src/reconciler/manifest-migrator.js +2 -2
  352. package/src/reconciler/plan-executor.js +11 -0
  353. package/src/utils/integration-generator.js +327 -14
  354. package/src/utils/workflow-gate.js +292 -0
  355. package/standards-registry.json +160 -5
@@ -0,0 +1,54 @@
1
+ ---
2
+ source: ../../../../skills/commands/reverse-bdd.md
3
+ source_version: 1.0.0
4
+ translation_version: 1.0.0
5
+ last_synced: 2026-03-19
6
+ ---
7
+
8
+ ---
9
+ description: [UDS] Transform SDD acceptance criteria to BDD scenarios
10
+ allowed-tools: Read, Grep, Glob, Write
11
+ argument-hint: "[spec file or source directory | 規格檔案或原始碼目錄]"
12
+ ---
13
+
14
+ # /reverse-bdd — 擷取 BDD 場景
15
+
16
+ > **Language**: [English](../../../../skills/commands/reverse-bdd.md) | 繁體中文
17
+
18
+ 將現有程式碼或 SDD 驗收條件轉換為 BDD Gherkin 場景。
19
+
20
+ ## 工作流程
21
+
22
+ ```
23
+ Source/Spec ──► Analyze Behaviors ──► Generate .feature ──► Review
24
+ ```
25
+
26
+ 1. **分析**原始碼或規格中的行為模式
27
+ 2. **擷取**隱含的 Given-When-Then 流程
28
+ 3. **產生** Gherkin `.feature` 檔案
29
+ 4. **標記**確定性標籤:`[Confirmed]`、`[Inferred]`
30
+
31
+ ## 輸出格式
32
+
33
+ ```gherkin
34
+ # [Source: src/auth/login.js:45]
35
+ Feature: User Login [Inferred]
36
+
37
+ # [Confirmed] from test/auth.test.js:12
38
+ Scenario: Successful login
39
+ Given a registered user exists
40
+ When they submit valid credentials
41
+ Then they receive an auth token
42
+ ```
43
+
44
+ ## 使用方式
45
+
46
+ | 指令 | 用途 |
47
+ |------|------|
48
+ | `/reverse-bdd src/auth/` | 從 auth 模組擷取 BDD |
49
+ | `/reverse-bdd specs/SPEC-001.md` | 將規格 AC 轉為 BDD |
50
+
51
+ ## 參考
52
+
53
+ - 上層指令:[/reverse](../reverse-engineer/SKILL.md)
54
+ - 核心規範:[reverse-engineering-standards.md](../../core/reverse-engineering-standards.md)
@@ -0,0 +1,58 @@
1
+ ---
2
+ source: ../../../../skills/commands/reverse-sdd.md
3
+ source_version: 1.0.0
4
+ translation_version: 1.0.0
5
+ last_synced: 2026-03-19
6
+ ---
7
+
8
+ ---
9
+ description: [UDS] Reverse engineer code into SDD specification document
10
+ allowed-tools: Read, Grep, Glob, Write
11
+ argument-hint: "[source file or directory | 原始檔案或目錄]"
12
+ ---
13
+
14
+ # /reverse-sdd — 反向工程為 SDD 規格
15
+
16
+ > **Language**: [English](../../../../skills/commands/reverse-sdd.md) | 繁體中文
17
+
18
+ 將現有程式碼反向工程為結構化的 SDD 規格文件。
19
+
20
+ ## 工作流程
21
+
22
+ ```
23
+ Source Code ──► Analyze ──► Extract Requirements ──► Generate SPEC-XXX.md
24
+ ```
25
+
26
+ 1. **掃描**原始碼結構和相依性
27
+ 2. **擷取**隱含的需求、API 合約、商業邏輯
28
+ 3. **分類**每項發現的確定性:`[Confirmed]`、`[Inferred]`、`[Assumption]`
29
+ 4. **產生**符合 SDD 規範的規格文件
30
+ 5. **審查**產生的規格以確認準確性
31
+
32
+ ## 輸出格式
33
+
34
+ ```markdown
35
+ # [SPEC-XXX] Feature: [Reverse-Engineered Name]
36
+
37
+ ## Overview
38
+ [Inferred] Based on analysis of src/auth/...
39
+
40
+ ## Requirements
41
+ - REQ-001: [Confirmed] User authentication via OAuth2
42
+ - REQ-002: [Inferred] Session timeout after 30 minutes
43
+
44
+ ## Acceptance Criteria
45
+ - AC-1: [Confirmed] Given valid credentials, when login, then session created
46
+ ```
47
+
48
+ ## 使用方式
49
+
50
+ | 指令 | 用途 |
51
+ |------|------|
52
+ | `/reverse-sdd src/auth/` | 反向工程 auth 模組 |
53
+ | `/reverse-sdd` | 互動式 — 詢問目標 |
54
+
55
+ ## 參考
56
+
57
+ - 上層指令:[/reverse](../reverse-engineer/SKILL.md)
58
+ - 核心規範:[reverse-engineering-standards.md](../../core/reverse-engineering-standards.md)
@@ -0,0 +1,58 @@
1
+ ---
2
+ source: ../../../../skills/commands/reverse-tdd.md
3
+ source_version: 1.0.0
4
+ translation_version: 1.0.0
5
+ last_synced: 2026-03-19
6
+ ---
7
+
8
+ ---
9
+ description: [UDS] Analyze BDD-TDD coverage gaps
10
+ allowed-tools: Read, Grep, Glob, Write
11
+ argument-hint: "[feature file or test directory | Feature 檔案或測試目錄]"
12
+ ---
13
+
14
+ # /reverse-tdd — 分析 BDD-TDD 覆蓋差距
15
+
16
+ > **Language**: [English](../../../../skills/commands/reverse-tdd.md) | 繁體中文
17
+
18
+ 分析 BDD 場景與 TDD 測試覆蓋之間的差距。
19
+
20
+ ## 工作流程
21
+
22
+ ```
23
+ .feature + tests/ ──► Map Scenarios ──► Find Gaps ──► Report
24
+ ```
25
+
26
+ 1. **解析**現有 `.feature` 檔案中的場景
27
+ 2. **掃描**測試檔案中對應的單元測試
28
+ 3. **對應** BDD 場景與 TDD 測試覆蓋
29
+ 4. **識別**覆蓋差距(沒有單元測試的場景)
30
+ 5. **產生**差距報告並附帶建議
31
+
32
+ ## 輸出格式
33
+
34
+ ```markdown
35
+ # BDD-TDD Coverage Gap Analysis
36
+
37
+ ## Coverage Summary
38
+ - Total BDD Scenarios: 12
39
+ - Covered by TDD: 9 (75%)
40
+ - Gaps Found: 3
41
+
42
+ ## Gaps
43
+ | Scenario | Feature File | Missing TDD |
44
+ |----------|-------------|-------------|
45
+ | Password reset | auth.feature:15 | No unit test for token validation |
46
+ ```
47
+
48
+ ## 使用方式
49
+
50
+ | 指令 | 用途 |
51
+ |------|------|
52
+ | `/reverse-tdd features/` | 分析所有 feature 檔案 |
53
+ | `/reverse-tdd features/auth.feature` | 分析特定 feature |
54
+
55
+ ## 參考
56
+
57
+ - 上層指令:[/reverse](../reverse-engineer/SKILL.md)
58
+ - 核心規範:[reverse-engineering-standards.md](../../core/reverse-engineering-standards.md)
@@ -0,0 +1,70 @@
1
+ ---
2
+ source: ../../../../skills/commands/reverse.md
3
+ source_version: 1.0.0
4
+ translation_version: 1.0.0
5
+ last_synced: 2026-03-19
6
+ ---
7
+
8
+ ---
9
+ name: reverse
10
+ description: [UDS] Reverse engineer code to Specs, BDD, or TDD coverage.
11
+ argument-hint: "[spec|bdd|tdd] <input> [--output <file>]"
12
+ ---
13
+
14
+ # 反向工程
15
+
16
+ > **Language**: [English](../../../../skills/commands/reverse.md) | 繁體中文
17
+
18
+ 將現有程式碼或測試反向工程為規格和場景。
19
+
20
+ ## 用法
21
+
22
+ ```bash
23
+ /reverse [subcommand] <input> [options]
24
+ ```
25
+
26
+ ### 子命令
27
+
28
+ | 子命令 | 輸入 | 輸出 | 說明 |
29
+ |--------|------|------|------|
30
+ | `spec` | 程式碼檔案/目錄 | `SPEC-XXX.md` | 從程式碼建立 SDD 規格 |
31
+ | `bdd` | `SPEC-XXX.md` | `.feature` | 將規格 AC 轉為 Gherkin |
32
+ | `tdd` | `.feature` | 覆蓋報告 | 分析 feature 的 TDD 覆蓋率 |
33
+
34
+ ### 選項
35
+
36
+ | 選項 | 說明 |
37
+ |------|------|
38
+ | `--output` | 輸出檔案路徑 |
39
+ | `--include-tests` | 在分析中包含測試檔案(用於 `spec`)|
40
+ | `--review` | 產生後觸發審查 |
41
+
42
+ ## 工作流程
43
+
44
+ ### 1. Code to Spec(舊版程式碼復原)
45
+ ```bash
46
+ /reverse spec src/auth/ --output specs/SPEC-AUTH.md
47
+ ```
48
+ 分析程式碼邏輯以建立功能規格。
49
+
50
+ ### 2. Spec to BDD(場景產生)
51
+ ```bash
52
+ /reverse bdd specs/SPEC-AUTH.md --output features/auth.feature
53
+ ```
54
+ 將規格中的驗收標準轉換為 Gherkin 場景。
55
+
56
+ ### 3. BDD to TDD(覆蓋分析)
57
+ ```bash
58
+ /reverse tdd features/auth.feature
59
+ ```
60
+ 檢查 feature 檔案中的場景是否有對應的單元測試。
61
+
62
+ ## 防幻覺
63
+
64
+ * **確定性標記**:在輸出中使用 `[Confirmed]`、`[Inferred]`、`[Unknown]` 標記。
65
+ * **來源標註**:為所有反向推導的邏輯標註 `file:line`。
66
+
67
+ ## 參考
68
+
69
+ * [反向工程技能](../reverse-engineer/SKILL.md)
70
+ * [核心規範](../../core/reverse-engineering-standards.md)
@@ -0,0 +1,57 @@
1
+ ---
2
+ source: ../../../../skills/commands/review.md
3
+ source_version: 1.0.0
4
+ translation_version: 1.0.0
5
+ last_synced: 2026-03-19
6
+ ---
7
+
8
+ ---
9
+ description: [UDS] Perform systematic code review with checklist
10
+ allowed-tools: Read, Grep, Glob, Bash(git diff:*), Bash(git log:*), Bash(git show:*)
11
+ argument-hint: "[file path or branch | 檔案路徑或分支名稱]"
12
+ ---
13
+
14
+ # 程式碼審查助手
15
+
16
+ > **Language**: [English](../../../../skills/commands/review.md) | 繁體中文
17
+
18
+ 執行系統性的程式碼審查,使用標準化的檢查清單和評論前綴。
19
+
20
+ ## 工作流程
21
+
22
+ 1. **識別變更** - 取得要審查的檔案 diff
23
+ 2. **套用檢查清單** - 系統性地檢查每個類別
24
+ 3. **產生報告** - 使用標準前綴輸出發現
25
+ 4. **總結** - 提供整體評估
26
+
27
+ ## 審查類別
28
+
29
+ 1. **功能性** - 是否正確運作?
30
+ 2. **設計** - 架構是否適當?
31
+ 3. **品質** - 程式碼是否乾淨且可維護?
32
+ 4. **可讀性** - 是否容易理解?
33
+ 5. **測試** - 測試覆蓋率是否足夠?
34
+ 6. **安全性** - 是否有弱點?
35
+ 7. **效能** - 是否有效率?
36
+ 8. **錯誤處理** - 錯誤是否有正確處理?
37
+
38
+ ## 評論前綴
39
+
40
+ | 前綴 | 意義 | 動作 |
41
+ |------|------|------|
42
+ | **BLOCKING** | 合併前必須修復 | 必要 |
43
+ | **IMPORTANT** | 應該修復 | 建議 |
44
+ | **SUGGESTION** | 錦上添花 | 可選 |
45
+ | **QUESTION** | 需要釐清 | 討論 |
46
+ | **NOTE** | 資訊性質 | 供參考 |
47
+
48
+ ## 使用方式
49
+
50
+ - `/review` - 審查目前分支的所有變更
51
+ - `/review src/auth.js` - 審查特定檔案
52
+ - `/review feature/login` - 審查特定分支
53
+
54
+ ## 參考
55
+
56
+ - 完整標準:[code-review-assistant](../code-review-assistant/SKILL.md)
57
+ - 核心指南:[code-review-checklist](../../core/code-review-checklist.md)
@@ -0,0 +1,74 @@
1
+ ---
2
+ source: ../../../../skills/commands/scan.md
3
+ source_version: 1.0.0
4
+ translation_version: 1.0.0
5
+ last_synced: 2026-03-25
6
+ status: current
7
+ ---
8
+
9
+ ---
10
+ description: "[UDS] Guide automated security scanning, dependency auditing and secret detection"
11
+ allowed-tools: Read, Grep, Glob, Bash(npm:audit, npx:*)
12
+ argument-hint: "[scan type or target | 掃描類型或目標]"
13
+ ---
14
+
15
+ # 安全掃描助手
16
+
17
+ 引導自動化安全掃描、相依套件審計和機密偵測。
18
+
19
+ ## 工作流程
20
+
21
+ ```
22
+ SCAN ──► TRIAGE ──► PRIORITIZE ──► FIX ──► VERIFY
23
+ ```
24
+
25
+ ## 使用方式
26
+
27
+ - `/scan` - 執行所有安全掃描
28
+ - `/scan --deps` - 相依套件漏洞掃描
29
+ - `/scan --secrets` - 機密偵測掃描
30
+ - `/scan --license` - 授權合規檢查
31
+
32
+ ## AI Agent Behavior | AI 代理行為
33
+
34
+ > 遵循 [AI Command Behavior Standards](../../core/ai-command-behavior.md)
35
+
36
+ ### Entry Router | 進入路由
37
+
38
+ | 輸入 | AI 動作 |
39
+ |------|---------|
40
+ | `/scan` | 執行所有掃描類型 |
41
+ | `/scan --deps` | 僅執行相依套件漏洞掃描 |
42
+ | `/scan --secrets` | 僅執行機密偵測 |
43
+ | `/scan --license` | 僅執行授權合規檢查 |
44
+
45
+ ### Interaction Script | 互動腳本
46
+
47
+ 1. 執行指定類型的掃描
48
+ 2. 收集結果,依嚴重程度分類
49
+ 3. 展示分類報告
50
+
51
+ **決策:掃描結果**
52
+ - IF 發現 Critical/High → 列出 SLA 修復時限,建議立即處理
53
+ - IF 僅 Medium/Low → 列入報告,建議排程處理
54
+ - IF 發現機密洩漏 → 立即警告,建議輪換金鑰
55
+
56
+ 🛑 **STOP**: 報告展示後等待使用者決定修復優先順序
57
+
58
+ ### Stop Points | 停止點
59
+
60
+ | 停止點 | 等待內容 |
61
+ |--------|---------|
62
+ | 掃描報告展示後 | 使用者決定修復項目 |
63
+ | 修復建議展示後 | 確認套用修復 |
64
+
65
+ ### Error Handling | 錯誤處理
66
+
67
+ | 錯誤條件 | AI 動作 |
68
+ |----------|---------|
69
+ | 掃描工具未安裝 | 建議安裝(npm audit 通常內建) |
70
+ | 無 package.json 或 lock 檔 | 告知無法執行相依掃描 |
71
+
72
+ ## 參考
73
+
74
+ - 完整標準:[security-scan-assistant](../security-scan-assistant/SKILL.md)
@@ -0,0 +1,47 @@
1
+ ---
2
+ source: ../../../../skills/commands/sdd-retro.md
3
+ source_version: 1.0.0
4
+ translation_version: 1.0.0
5
+ last_synced: 2026-03-19
6
+ ---
7
+
8
+ ---
9
+ description: [UDS] Create retroactive specs for untracked feat/fix commits
10
+ allowed-tools: Read, Write, Grep, Glob, Bash(git log:*), Bash(git show:*), Bash(git diff:*), Bash(mkdir:*)
11
+ argument-hint: "[--since=<date> | --last=<N> | 自動掃描]"
12
+ ---
13
+
14
+ # 追溯 Spec 產生器
15
+
16
+ > **Language**: [English](../../../../skills/commands/sdd-retro.md) | 繁體中文
17
+
18
+ 為過去未追蹤 spec 的已提交變更,建立輕量規格文件。
19
+
20
+ ## 工作流程
21
+
22
+ 1. **掃描** — 搜尋 `git log` 中訊息不含 `Refs:` 的 `feat`/`fix` commits
23
+ 2. **分組** — 依 scope 將相關 commits 聚類
24
+ 3. **產生** — 使用標準 SDD 格式建立追溯規格,`Status: Draft`
25
+ 4. **確認** — 在寫入 `docs/specs/` 前呈現給使用者審查
26
+
27
+ ## 選項
28
+
29
+ | 選項 | 說明 |
30
+ |------|------|
31
+ | `--since=2026-01-01` | 僅掃描指定日期後的 commits |
32
+ | `--last=20` | 僅掃描最近 N 筆 commits |
33
+ | (無引數) | 掃描所有 feat/fix commits |
34
+
35
+ ## 使用方式
36
+
37
+ ```
38
+ /sdd-retro # 掃描所有未追蹤的 commits
39
+ /sdd-retro --since=2026-01-01
40
+ /sdd-retro --last=10
41
+ ```
42
+
43
+ ## 參考
44
+
45
+ - SDD 工作流程:[sdd 指令](sdd.md)
46
+ - Commit 規範:[commit 指令](commit.md)
47
+ - 規格:[SPEC-011](../../docs/specs/cli/shared/SPEC-011-retroactive-spec-tracking.md)