universal-dev-standards 6.14.0-beta.1 → 6.14.0-beta.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (688) hide show
  1. package/README.md +13 -3
  2. package/bin/uds.js +75 -3
  3. package/bundled/ai/options/code-review/pr-review.ai.yaml +20 -1
  4. package/bundled/ai/options/commit-message/traditional-chinese.ai.yaml +69 -67
  5. package/bundled/ai/standards/ai-response-navigation.ai.yaml +43 -3
  6. package/bundled/ai/standards/checkin-standards.ai.yaml +25 -6
  7. package/bundled/ai/standards/code-review.ai.yaml +15 -2
  8. package/bundled/ai/standards/commit-message.ai.yaml +18 -4
  9. package/bundled/ai/standards/developer-memory.ai.yaml +12 -2
  10. package/bundled/ai/standards/full-coverage-testing.ai.yaml +86 -7
  11. package/bundled/ai/standards/open-work-tracking.ai.yaml +196 -11
  12. package/bundled/ai/standards/pipeline-security-gates.ai.yaml +53 -4
  13. package/bundled/ai/standards/project-context-memory.ai.yaml +12 -2
  14. package/bundled/core/ai-response-navigation.md +128 -12
  15. package/bundled/core/code-review-checklist.md +20 -2
  16. package/bundled/core/commit-message-guide.md +22 -19
  17. package/bundled/core/developer-memory.md +12 -2
  18. package/bundled/core/full-coverage-testing.md +99 -5
  19. package/bundled/core/open-work-tracking.md +157 -17
  20. package/bundled/core/pipeline-security-gates.md +63 -0
  21. package/bundled/core/project-context-memory.md +10 -2
  22. package/bundled/extensions/frameworks/fat-free-patterns.md +937 -0
  23. package/bundled/extensions/languages/csharp-style.md +464 -0
  24. package/bundled/extensions/languages/php-style.md +700 -0
  25. package/bundled/extensions/locales/zh-cn.md +717 -0
  26. package/bundled/extensions/locales/zh-tw.md +717 -0
  27. package/bundled/hooks/turn-completion/locales/en.mjs +54 -5
  28. package/bundled/hooks/turn-completion/locales/zh-TW.mjs +37 -6
  29. package/bundled/locales/COVERAGE.md +5 -4
  30. package/bundled/locales/zh-CN/CHANGELOG.md +199 -3
  31. package/bundled/locales/zh-CN/README.md +3 -3
  32. package/bundled/locales/zh-CN/SECURITY.md +3 -2
  33. package/bundled/locales/zh-CN/STANDARDS-MAPPING.md +103 -6
  34. package/bundled/locales/zh-CN/adoption/ADOPTION-GUIDE.md +81 -101
  35. package/bundled/locales/zh-CN/adoption/DAILY-WORKFLOW-GUIDE.md +2 -1
  36. package/bundled/locales/zh-CN/adoption/STATIC-DYNAMIC-GUIDE.md +14 -9
  37. package/bundled/locales/zh-CN/adoption/checklists/enterprise.md +88 -81
  38. package/bundled/locales/zh-CN/adoption/checklists/minimal.md +31 -17
  39. package/bundled/locales/zh-CN/adoption/checklists/recommended.md +56 -47
  40. package/bundled/locales/zh-CN/ai/MAINTENANCE.md +44 -9
  41. package/bundled/locales/zh-CN/ai/options/commit-message/traditional-chinese.ai.yaml +63 -55
  42. package/bundled/locales/zh-CN/core/acceptance-criteria-traceability.md +61 -14
  43. package/bundled/locales/zh-CN/core/acceptance-test-driven-development.md +2 -1
  44. package/bundled/locales/zh-CN/core/adr-standards.md +155 -32
  45. package/bundled/locales/zh-CN/core/agent-communication-protocol.md +2 -1
  46. package/bundled/locales/zh-CN/core/agent-dispatch.md +68 -33
  47. package/bundled/locales/zh-CN/core/ai-agreement-standards.md +23 -22
  48. package/bundled/locales/zh-CN/core/ai-command-behavior.md +2 -1
  49. package/bundled/locales/zh-CN/core/ai-instruction-standards.md +71 -49
  50. package/bundled/locales/zh-CN/core/ai-response-navigation.md +111 -12
  51. package/bundled/locales/zh-CN/core/anti-sycophancy-prompting.md +34 -33
  52. package/bundled/locales/zh-CN/core/api-design-standards.md +144 -58
  53. package/bundled/locales/zh-CN/core/behavior-driven-development.md +2 -1
  54. package/bundled/locales/zh-CN/core/branch-completion.md +75 -20
  55. package/bundled/locales/zh-CN/core/capability-declaration.md +44 -94
  56. package/bundled/locales/zh-CN/core/change-batching-standards.md +2 -1
  57. package/bundled/locales/zh-CN/core/checkin-standards.md +176 -116
  58. package/bundled/locales/zh-CN/core/circuit-breaker.md +43 -77
  59. package/bundled/locales/zh-CN/core/code-review-checklist.md +54 -23
  60. package/bundled/locales/zh-CN/core/context-aware-loading.md +103 -29
  61. package/bundled/locales/zh-CN/core/database-standards.md +115 -114
  62. package/bundled/locales/zh-CN/core/developer-memory.md +159 -60
  63. package/bundled/locales/zh-CN/core/documentation-lifecycle.md +20 -16
  64. package/bundled/locales/zh-CN/core/dual-phase-output.md +37 -70
  65. package/bundled/locales/zh-CN/core/execution-history.md +2 -1
  66. package/bundled/locales/zh-CN/core/failure-source-taxonomy.md +71 -84
  67. package/bundled/locales/zh-CN/core/full-coverage-testing.md +103 -9
  68. package/bundled/locales/zh-CN/core/git-workflow.md +148 -262
  69. package/bundled/locales/zh-CN/core/git-worktree.md +59 -26
  70. package/bundled/locales/zh-CN/core/guides/file-placement-guide.md +132 -48
  71. package/bundled/locales/zh-CN/core/guides/performance-guide.md +61 -59
  72. package/bundled/locales/zh-CN/core/guides/security-guide.md +2 -0
  73. package/bundled/locales/zh-CN/core/health-check-standards.md +46 -104
  74. package/bundled/locales/zh-CN/core/immutability-first.md +83 -60
  75. package/bundled/locales/zh-CN/core/knowledge-transfer-standards.md +94 -31
  76. package/bundled/locales/zh-CN/core/pipeline-integration-standards.md +2 -1
  77. package/bundled/locales/zh-CN/core/pipeline-security-gates.md +64 -4
  78. package/bundled/locales/zh-CN/core/project-context-memory.md +5 -0
  79. package/bundled/locales/zh-CN/core/recovery-recipe-registry.md +54 -114
  80. package/bundled/locales/zh-CN/core/refactoring-standards.md +141 -556
  81. package/bundled/locales/zh-CN/core/requirement-engineering.md +7 -6
  82. package/bundled/locales/zh-CN/core/retry-standards.md +46 -101
  83. package/bundled/locales/zh-CN/core/security-decision.md +45 -70
  84. package/bundled/locales/zh-CN/core/skill-standard-alignment-check.md +105 -71
  85. package/bundled/locales/zh-CN/core/standard-admission-criteria.md +25 -31
  86. package/bundled/locales/zh-CN/core/standard-lifecycle-management.md +49 -57
  87. package/bundled/locales/zh-CN/core/structured-task-definition.md +2 -1
  88. package/bundled/locales/zh-CN/core/systematic-debugging.md +87 -42
  89. package/bundled/locales/zh-CN/core/test-completeness-dimensions.md +262 -190
  90. package/bundled/locales/zh-CN/core/test-driven-development.md +21 -1022
  91. package/bundled/locales/zh-CN/core/test-governance.md +94 -43
  92. package/bundled/locales/zh-CN/core/testing-standards.md +83 -37
  93. package/bundled/locales/zh-CN/core/timeout-standards.md +45 -85
  94. package/bundled/locales/zh-CN/core/token-budget.md +44 -80
  95. package/bundled/locales/zh-CN/core/translation-lifecycle-standards.md +48 -36
  96. package/bundled/locales/zh-CN/core/verification-evidence.md +44 -22
  97. package/bundled/locales/zh-CN/core/virtual-organization-standards.md +30 -29
  98. package/bundled/locales/zh-CN/core/workflow-enforcement.md +9 -8
  99. package/bundled/locales/zh-CN/core/workflow-state-protocol.md +9 -8
  100. package/bundled/locales/zh-CN/docs/AVAILABLE-STANDARDS.md +70 -0
  101. package/bundled/locales/zh-CN/docs/CHEATSHEET.md +9 -3
  102. package/bundled/locales/zh-CN/docs/CLI-FLOW.md +2 -1
  103. package/bundled/locales/zh-CN/docs/CLI-INIT-OPTIONS.md +68 -33
  104. package/bundled/locales/zh-CN/docs/FEATURE-REFERENCE.md +29 -15
  105. package/bundled/locales/zh-CN/docs/STANDARDS-REFERENCE.md +2 -1
  106. package/bundled/locales/zh-CN/docs/USAGE-MODES-COMPARISON.md +139 -138
  107. package/bundled/locales/zh-CN/docs/USER-MANUAL.md +11 -3
  108. package/bundled/locales/zh-CN/docs/WINDOWS-GUIDE.md +12 -3
  109. package/bundled/locales/zh-CN/docs/specs/system/memory-adoption-strategy.md +2 -0
  110. package/bundled/locales/zh-CN/docs/user/FAQ.md +2 -0
  111. package/bundled/locales/zh-CN/docs/user/GETTING-STARTED.md +46 -0
  112. package/bundled/locales/zh-CN/docs/user/GLOSSARY.md +2 -0
  113. package/bundled/locales/zh-CN/docs/user/README.md +4 -2
  114. package/bundled/locales/zh-CN/docs/user/TROUBLESHOOTING.md +2 -0
  115. package/bundled/locales/zh-CN/integrations/codex/AGENTS.md +136 -2
  116. package/bundled/locales/zh-CN/integrations/codex/README.md +62 -10
  117. package/bundled/locales/zh-CN/integrations/gemini-cli/GEMINI.md +59 -1
  118. package/bundled/locales/zh-CN/integrations/gemini-cli/README.md +9 -2
  119. package/bundled/locales/zh-CN/integrations/github-copilot/COPILOT-CHAT-REFERENCE.md +7 -1
  120. package/bundled/locales/zh-CN/integrations/github-copilot/README.md +8 -2
  121. package/bundled/locales/zh-CN/integrations/github-copilot/copilot-instructions.md +146 -12
  122. package/bundled/locales/zh-CN/integrations/github-copilot/skills-mapping.md +7 -1
  123. package/bundled/locales/zh-CN/integrations/google-antigravity/AGENTS.md +110 -3
  124. package/bundled/locales/zh-CN/integrations/google-antigravity/README.md +7 -1
  125. package/bundled/locales/zh-CN/integrations/opencode/AGENTS.md +140 -2
  126. package/bundled/locales/zh-CN/integrations/opencode/README.md +7 -1
  127. package/bundled/locales/zh-CN/integrations/opencode/skills-mapping.md +8 -2
  128. package/bundled/locales/zh-CN/integrations/openspec/AGENTS.md +46 -1
  129. package/bundled/locales/zh-CN/integrations/openspec/README.md +7 -1
  130. package/bundled/locales/zh-CN/integrations/spec-kit/AGENTS.md +20 -2
  131. package/bundled/locales/zh-CN/integrations/spec-kit/README.md +7 -1
  132. package/bundled/locales/zh-CN/options/changelog/auto-generated.md +2 -0
  133. package/bundled/locales/zh-CN/options/changelog/keep-a-changelog.md +2 -0
  134. package/bundled/locales/zh-CN/options/code-review/automated-review.md +2 -0
  135. package/bundled/locales/zh-CN/options/code-review/pair-programming.md +2 -0
  136. package/bundled/locales/zh-CN/options/code-review/pr-review.md +13 -2
  137. package/bundled/locales/zh-CN/options/commit-message/bilingual.md +139 -50
  138. package/bundled/locales/zh-CN/options/commit-message/english.md +159 -42
  139. package/bundled/locales/zh-CN/options/commit-message/traditional-chinese.md +156 -75
  140. package/bundled/locales/zh-CN/options/documentation/api-docs.md +3 -1
  141. package/bundled/locales/zh-CN/options/documentation/markdown-docs.md +2 -0
  142. package/bundled/locales/zh-CN/options/documentation/wiki-style.md +2 -0
  143. package/bundled/locales/zh-CN/options/git-workflow/gitflow.md +105 -77
  144. package/bundled/locales/zh-CN/options/git-workflow/github-flow.md +75 -57
  145. package/bundled/locales/zh-CN/options/git-workflow/merge-commit.md +155 -44
  146. package/bundled/locales/zh-CN/options/git-workflow/rebase-ff.md +168 -53
  147. package/bundled/locales/zh-CN/options/git-workflow/squash-merge.md +122 -37
  148. package/bundled/locales/zh-CN/options/git-workflow/trunk-based.md +108 -61
  149. package/bundled/locales/zh-CN/options/project-structure/dotnet.md +266 -47
  150. package/bundled/locales/zh-CN/options/project-structure/go.md +301 -43
  151. package/bundled/locales/zh-CN/options/project-structure/java.md +268 -48
  152. package/bundled/locales/zh-CN/options/project-structure/kotlin.md +2 -0
  153. package/bundled/locales/zh-CN/options/project-structure/nodejs.md +168 -51
  154. package/bundled/locales/zh-CN/options/project-structure/php.md +2 -0
  155. package/bundled/locales/zh-CN/options/project-structure/python.md +210 -52
  156. package/bundled/locales/zh-CN/options/project-structure/ruby.md +2 -0
  157. package/bundled/locales/zh-CN/options/project-structure/rust.md +2 -0
  158. package/bundled/locales/zh-CN/options/project-structure/swift.md +2 -0
  159. package/bundled/locales/zh-CN/options/testing/contract-testing.md +2 -0
  160. package/bundled/locales/zh-CN/options/testing/e2e-testing.md +227 -66
  161. package/bundled/locales/zh-CN/options/testing/industry-pyramid.md +2 -0
  162. package/bundled/locales/zh-CN/options/testing/integration-testing.md +185 -73
  163. package/bundled/locales/zh-CN/options/testing/istqb-framework.md +2 -0
  164. package/bundled/locales/zh-CN/options/testing/performance-testing.md +2 -0
  165. package/bundled/locales/zh-CN/options/testing/security-testing.md +2 -0
  166. package/bundled/locales/zh-CN/options/testing/system-testing.md +270 -96
  167. package/bundled/locales/zh-CN/options/testing/unit-testing.md +185 -71
  168. package/bundled/locales/zh-CN/skills/CONTRIBUTING.template.md +43 -42
  169. package/bundled/locales/zh-CN/skills/INTEGRATION-GUIDE.md +2 -1
  170. package/bundled/locales/zh-CN/skills/README.md +3 -1
  171. package/bundled/locales/zh-CN/skills/_shared/README.md +2 -1
  172. package/bundled/locales/zh-CN/skills/adr-assistant/guide.md +240 -4
  173. package/bundled/locales/zh-CN/skills/agents/README.md +180 -82
  174. package/bundled/locales/zh-CN/skills/agents/code-architect.md +3 -1
  175. package/bundled/locales/zh-CN/skills/agents/doc-writer.md +3 -1
  176. package/bundled/locales/zh-CN/skills/agents/reviewer.md +4 -2
  177. package/bundled/locales/zh-CN/skills/agents/spec-analyst.md +3 -1
  178. package/bundled/locales/zh-CN/skills/agents/test-specialist.md +3 -1
  179. package/bundled/locales/zh-CN/skills/ai-collaboration-standards/SKILL.md +91 -81
  180. package/bundled/locales/zh-CN/skills/ai-collaboration-standards/anti-hallucination.md +79 -59
  181. package/bundled/locales/zh-CN/skills/ai-collaboration-standards/certainty-labels.md +66 -40
  182. package/bundled/locales/zh-CN/skills/ai-friendly-architecture/SKILL.md +23 -36
  183. package/bundled/locales/zh-CN/skills/api-design-assistant/SKILL.md +13 -2
  184. package/bundled/locales/zh-CN/skills/atdd-assistant/SKILL.md +16 -2
  185. package/bundled/locales/zh-CN/skills/atdd-assistant/acceptance-criteria-guide.md +2 -1
  186. package/bundled/locales/zh-CN/skills/atdd-assistant/atdd-workflow.md +98 -1
  187. package/bundled/locales/zh-CN/skills/audit-assistant/SKILL.md +5 -2
  188. package/bundled/locales/zh-CN/skills/bdd-assistant/SKILL.md +16 -2
  189. package/bundled/locales/zh-CN/skills/bdd-assistant/bdd-workflow.md +2 -1
  190. package/bundled/locales/zh-CN/skills/bdd-assistant/gherkin-guide.md +2 -1
  191. package/bundled/locales/zh-CN/skills/changelog-guide/SKILL.md +9 -2
  192. package/bundled/locales/zh-CN/skills/checkin-assistant/SKILL.md +12 -2
  193. package/bundled/locales/zh-CN/skills/ci-cd-assistant/SKILL.md +14 -2
  194. package/bundled/locales/zh-CN/skills/code-review-assistant/SKILL.md +12 -2
  195. package/bundled/locales/zh-CN/skills/code-review-assistant/checkin-checklist.md +79 -78
  196. package/bundled/locales/zh-CN/skills/code-review-assistant/review-checklist.md +89 -88
  197. package/bundled/locales/zh-CN/skills/commands/ac-coverage.md +43 -1
  198. package/bundled/locales/zh-CN/skills/commands/api-design.md +2 -1
  199. package/bundled/locales/zh-CN/skills/commands/atdd.md +71 -1
  200. package/bundled/locales/zh-CN/skills/commands/audit.md +2 -1
  201. package/bundled/locales/zh-CN/skills/commands/bdd.md +160 -62
  202. package/bundled/locales/zh-CN/skills/commands/changelog.md +36 -1
  203. package/bundled/locales/zh-CN/skills/commands/check.md +53 -1
  204. package/bundled/locales/zh-CN/skills/commands/checkin.md +45 -1
  205. package/bundled/locales/zh-CN/skills/commands/ci-cd.md +3 -2
  206. package/bundled/locales/zh-CN/skills/commands/code-review.md +41 -1
  207. package/bundled/locales/zh-CN/skills/commands/commit.md +56 -1
  208. package/bundled/locales/zh-CN/skills/commands/config.md +50 -1
  209. package/bundled/locales/zh-CN/skills/commands/coverage.md +43 -1
  210. package/bundled/locales/zh-CN/skills/commands/database.md +4 -3
  211. package/bundled/locales/zh-CN/skills/commands/derive-all.md +42 -1
  212. package/bundled/locales/zh-CN/skills/commands/derive-atdd.md +35 -1
  213. package/bundled/locales/zh-CN/skills/commands/derive-bdd.md +41 -1
  214. package/bundled/locales/zh-CN/skills/commands/derive-tdd.md +42 -1
  215. package/bundled/locales/zh-CN/skills/commands/derive.md +60 -4
  216. package/bundled/locales/zh-CN/skills/commands/dev-workflow.md +58 -8
  217. package/bundled/locales/zh-CN/skills/commands/discover.md +41 -1
  218. package/bundled/locales/zh-CN/skills/commands/docgen.md +37 -1
  219. package/bundled/locales/zh-CN/skills/commands/docs.md +136 -5
  220. package/bundled/locales/zh-CN/skills/commands/durable.md +4 -3
  221. package/bundled/locales/zh-CN/skills/commands/e2e.md +85 -1
  222. package/bundled/locales/zh-CN/skills/commands/guide.md +2 -1
  223. package/bundled/locales/zh-CN/skills/commands/incident.md +5 -4
  224. package/bundled/locales/zh-CN/skills/commands/init.md +57 -1
  225. package/bundled/locales/zh-CN/skills/commands/methodology.md +166 -77
  226. package/bundled/locales/zh-CN/skills/commands/metrics.md +3 -2
  227. package/bundled/locales/zh-CN/skills/commands/migrate.md +5 -4
  228. package/bundled/locales/zh-CN/skills/commands/observability.md +48 -3
  229. package/bundled/locales/zh-CN/skills/commands/pr.md +4 -3
  230. package/bundled/locales/zh-CN/skills/commands/refactor.md +76 -38
  231. package/bundled/locales/zh-CN/skills/commands/release.md +82 -1
  232. package/bundled/locales/zh-CN/skills/commands/requirement.md +40 -1
  233. package/bundled/locales/zh-CN/skills/commands/reverse-bdd.md +36 -1
  234. package/bundled/locales/zh-CN/skills/commands/reverse-sdd.md +44 -1
  235. package/bundled/locales/zh-CN/skills/commands/reverse-tdd.md +42 -1
  236. package/bundled/locales/zh-CN/skills/commands/reverse.md +43 -1
  237. package/bundled/locales/zh-CN/skills/commands/runbook.md +50 -3
  238. package/bundled/locales/zh-CN/skills/commands/scan.md +3 -2
  239. package/bundled/locales/zh-CN/skills/commands/sdd-retro.md +50 -1
  240. package/bundled/locales/zh-CN/skills/commands/sdd.md +182 -1
  241. package/bundled/locales/zh-CN/skills/commands/security.md +3 -2
  242. package/bundled/locales/zh-CN/skills/commands/slo.md +51 -3
  243. package/bundled/locales/zh-CN/skills/commands/tdd.md +74 -5
  244. package/bundled/locales/zh-CN/skills/commands/update.md +70 -8
  245. package/bundled/locales/zh-CN/skills/commit-standards/SKILL.md +2 -2
  246. package/bundled/locales/zh-CN/skills/commit-standards/conventional-commits.md +45 -44
  247. package/bundled/locales/zh-CN/skills/commit-standards/language-options.md +50 -47
  248. package/bundled/locales/zh-CN/skills/comprehension-ladder/SKILL.md +289 -0
  249. package/bundled/locales/zh-CN/skills/comprehension-ladder/eval-cases.md +261 -0
  250. package/bundled/locales/zh-CN/skills/contract-test-assistant/guide.md +76 -1
  251. package/bundled/locales/zh-CN/skills/database-assistant/SKILL.md +18 -5
  252. package/bundled/locales/zh-CN/skills/dev-methodology/create-methodology.md +2 -0
  253. package/bundled/locales/zh-CN/skills/dev-methodology/runtime.md +2 -0
  254. package/bundled/locales/zh-CN/skills/docs-generator/SKILL.md +16 -2
  255. package/bundled/locales/zh-CN/skills/documentation-guide/SKILL.md +209 -184
  256. package/bundled/locales/zh-CN/skills/documentation-guide/documentation-structure.md +73 -72
  257. package/bundled/locales/zh-CN/skills/documentation-guide/readme-template.md +37 -36
  258. package/bundled/locales/zh-CN/skills/durable-execution-assistant/SKILL.md +28 -2
  259. package/bundled/locales/zh-CN/skills/e2e-assistant/SKILL.md +21 -6
  260. package/bundled/locales/zh-CN/skills/error-code-guide/SKILL.md +76 -95
  261. package/bundled/locales/zh-CN/skills/git-workflow-guide/SKILL.md +80 -87
  262. package/bundled/locales/zh-CN/skills/git-workflow-guide/branch-naming.md +44 -43
  263. package/bundled/locales/zh-CN/skills/git-workflow-guide/git-workflow.md +66 -65
  264. package/bundled/locales/zh-CN/skills/incident-response-assistant/SKILL.md +31 -13
  265. package/bundled/locales/zh-CN/skills/metrics-dashboard-assistant/SKILL.md +38 -2
  266. package/bundled/locales/zh-CN/skills/observability-assistant/SKILL.md +75 -1
  267. package/bundled/locales/zh-CN/skills/pr-automation-assistant/SKILL.md +32 -6
  268. package/bundled/locales/zh-CN/skills/project-discovery/SKILL.md +8 -2
  269. package/bundled/locales/zh-CN/skills/project-structure-guide/SKILL.md +49 -46
  270. package/bundled/locales/zh-CN/skills/project-structure-guide/language-patterns.md +8 -7
  271. package/bundled/locales/zh-CN/skills/refactoring-assistant/SKILL.md +22 -2
  272. package/bundled/locales/zh-CN/skills/release-standards/SKILL.md +66 -23
  273. package/bundled/locales/zh-CN/skills/release-standards/changelog-format.md +42 -41
  274. package/bundled/locales/zh-CN/skills/release-standards/release-workflow.md +131 -95
  275. package/bundled/locales/zh-CN/skills/release-standards/semantic-versioning.md +62 -61
  276. package/bundled/locales/zh-CN/skills/requirement-assistant/SKILL.md +24 -15
  277. package/bundled/locales/zh-CN/skills/requirement-assistant/requirement-checklist.md +128 -127
  278. package/bundled/locales/zh-CN/skills/requirement-assistant/requirement-writing.md +121 -120
  279. package/bundled/locales/zh-CN/skills/retrospective-assistant/guide.md +206 -2
  280. package/bundled/locales/zh-CN/skills/reverse-engineer/bdd-extraction.md +2 -1
  281. package/bundled/locales/zh-CN/skills/reverse-engineer/tdd-analysis.md +2 -1
  282. package/bundled/locales/zh-CN/skills/reverse-engineer/workflow.md +2 -1
  283. package/bundled/locales/zh-CN/skills/runbook-assistant/SKILL.md +9 -2
  284. package/bundled/locales/zh-CN/skills/security-assistant/SKILL.md +24 -6
  285. package/bundled/locales/zh-CN/skills/security-scan-assistant/SKILL.md +34 -10
  286. package/bundled/locales/zh-CN/skills/slo-assistant/SKILL.md +2 -1
  287. package/bundled/locales/zh-CN/skills/spec-driven-dev/guide.md +38 -6
  288. package/bundled/locales/zh-CN/skills/tdd-assistant/SKILL.md +16 -3
  289. package/bundled/locales/zh-CN/skills/tdd-assistant/language-examples.md +727 -82
  290. package/bundled/locales/zh-CN/skills/tdd-assistant/tdd-workflow.md +396 -214
  291. package/bundled/locales/zh-CN/skills/test-coverage-assistant/SKILL.md +14 -5
  292. package/bundled/locales/zh-CN/skills/testing-guide/testing-pyramid.md +99 -98
  293. package/bundled/locales/zh-CN/skills/testing-guide/testing-theory.md +3 -1
  294. package/bundled/locales/zh-CN/skills/tools/cline/README.md +2 -1
  295. package/bundled/locales/zh-CN/skills/tools/copilot/README.md +65 -18
  296. package/bundled/locales/zh-CN/skills/tools/copilot/copilot-instructions.md +2 -1
  297. package/bundled/locales/zh-CN/skills/tools/cursor/README.md +2 -1
  298. package/bundled/locales/zh-CN/skills/tools/windsurf/README.md +2 -1
  299. package/bundled/locales/zh-CN/skills/workflows/README.md +4 -2
  300. package/bundled/locales/zh-CN/templates/reverse-spec-template.md +50 -1
  301. package/bundled/locales/zh-TW/CHANGELOG.md +199 -3
  302. package/bundled/locales/zh-TW/README.md +3 -3
  303. package/bundled/locales/zh-TW/SECURITY.md +3 -2
  304. package/bundled/locales/zh-TW/STANDARDS-MAPPING.md +103 -6
  305. package/bundled/locales/zh-TW/adoption/ADOPTION-GUIDE.md +59 -97
  306. package/bundled/locales/zh-TW/adoption/DAILY-WORKFLOW-GUIDE.md +2 -1
  307. package/bundled/locales/zh-TW/adoption/STATIC-DYNAMIC-GUIDE.md +10 -2
  308. package/bundled/locales/zh-TW/adoption/checklists/enterprise.md +17 -10
  309. package/bundled/locales/zh-TW/adoption/checklists/minimal.md +19 -5
  310. package/bundled/locales/zh-TW/adoption/checklists/recommended.md +14 -5
  311. package/bundled/locales/zh-TW/ai/MAINTENANCE.md +34 -14
  312. package/bundled/locales/zh-TW/ai/options/commit-message/traditional-chinese.ai.yaml +48 -40
  313. package/bundled/locales/zh-TW/core/acceptance-criteria-traceability.md +56 -10
  314. package/bundled/locales/zh-TW/core/acceptance-test-driven-development.md +2 -1
  315. package/bundled/locales/zh-TW/core/adr-standards.md +2 -1
  316. package/bundled/locales/zh-TW/core/agent-communication-protocol.md +2 -1
  317. package/bundled/locales/zh-TW/core/ai-command-behavior.md +2 -1
  318. package/bundled/locales/zh-TW/core/ai-instruction-standards.md +16 -13
  319. package/bundled/locales/zh-TW/core/ai-response-navigation.md +111 -13
  320. package/bundled/locales/zh-TW/core/anti-sycophancy-prompting.md +2 -1
  321. package/bundled/locales/zh-TW/core/api-design-standards.md +2 -1
  322. package/bundled/locales/zh-TW/core/behavior-driven-development.md +3 -17
  323. package/bundled/locales/zh-TW/core/capability-declaration.md +41 -79
  324. package/bundled/locales/zh-TW/core/change-batching-standards.md +2 -1
  325. package/bundled/locales/zh-TW/core/changelog-standards.md +14 -9
  326. package/bundled/locales/zh-TW/core/checkin-standards.md +84 -26
  327. package/bundled/locales/zh-TW/core/circuit-breaker.md +48 -87
  328. package/bundled/locales/zh-TW/core/code-review-checklist.md +36 -7
  329. package/bundled/locales/zh-TW/core/commit-message-guide.md +218 -87
  330. package/bundled/locales/zh-TW/core/database-standards.md +2 -1
  331. package/bundled/locales/zh-TW/core/developer-memory.md +111 -12
  332. package/bundled/locales/zh-TW/core/documentation-lifecycle.md +2 -1
  333. package/bundled/locales/zh-TW/core/documentation-structure.md +17 -8
  334. package/bundled/locales/zh-TW/core/dual-phase-output.md +28 -90
  335. package/bundled/locales/zh-TW/core/error-code-standards.md +17 -6
  336. package/bundled/locales/zh-TW/core/execution-history.md +2 -1
  337. package/bundled/locales/zh-TW/core/failure-source-taxonomy.md +59 -117
  338. package/bundled/locales/zh-TW/core/frontend-design-standards.md +120 -8
  339. package/bundled/locales/zh-TW/core/full-coverage-testing.md +103 -9
  340. package/bundled/locales/zh-TW/core/git-workflow.md +197 -37
  341. package/bundled/locales/zh-TW/core/git-worktree.md +79 -49
  342. package/bundled/locales/zh-TW/core/guides/file-placement-guide.md +86 -2
  343. package/bundled/locales/zh-TW/core/guides/performance-guide.md +2 -0
  344. package/bundled/locales/zh-TW/core/guides/security-guide.md +2 -0
  345. package/bundled/locales/zh-TW/core/health-check-standards.md +46 -104
  346. package/bundled/locales/zh-TW/core/immutability-first.md +45 -85
  347. package/bundled/locales/zh-TW/core/knowledge-graph-memory.md +2 -1
  348. package/bundled/locales/zh-TW/core/knowledge-transfer-standards.md +103 -40
  349. package/bundled/locales/zh-TW/core/open-work-tracking.md +92 -16
  350. package/bundled/locales/zh-TW/core/pipeline-integration-standards.md +2 -1
  351. package/bundled/locales/zh-TW/core/pipeline-security-gates.md +64 -4
  352. package/bundled/locales/zh-TW/core/privacy-standards.md +153 -46
  353. package/bundled/locales/zh-TW/core/project-context-memory.md +215 -31
  354. package/bundled/locales/zh-TW/core/project-structure.md +240 -19
  355. package/bundled/locales/zh-TW/core/recovery-recipe-registry.md +54 -114
  356. package/bundled/locales/zh-TW/core/refactoring-standards.md +153 -48
  357. package/bundled/locales/zh-TW/core/requirement-engineering.md +8 -37
  358. package/bundled/locales/zh-TW/core/retrospective-standards.md +127 -7
  359. package/bundled/locales/zh-TW/core/retry-standards.md +41 -105
  360. package/bundled/locales/zh-TW/core/reverse-engineering-standards.md +5 -1
  361. package/bundled/locales/zh-TW/core/security-decision.md +43 -84
  362. package/bundled/locales/zh-TW/core/security-standards.md +204 -25
  363. package/bundled/locales/zh-TW/core/self-review-protocol.md +2 -1
  364. package/bundled/locales/zh-TW/core/skill-standard-alignment-check.md +103 -69
  365. package/bundled/locales/zh-TW/core/standard-admission-criteria.md +22 -28
  366. package/bundled/locales/zh-TW/core/standard-lifecycle-management.md +40 -48
  367. package/bundled/locales/zh-TW/core/structured-task-definition.md +2 -1
  368. package/bundled/locales/zh-TW/core/supply-chain-security-standards.md +137 -10
  369. package/bundled/locales/zh-TW/core/systematic-debugging.md +94 -38
  370. package/bundled/locales/zh-TW/core/tech-debt-standards.md +170 -54
  371. package/bundled/locales/zh-TW/core/test-completeness-dimensions.md +101 -12
  372. package/bundled/locales/zh-TW/core/test-data-standards.md +245 -23
  373. package/bundled/locales/zh-TW/core/test-driven-development.md +4 -1
  374. package/bundled/locales/zh-TW/core/test-governance.md +92 -32
  375. package/bundled/locales/zh-TW/core/testing-standards.md +61 -14
  376. package/bundled/locales/zh-TW/core/timeout-standards.md +45 -85
  377. package/bundled/locales/zh-TW/core/token-budget.md +41 -112
  378. package/bundled/locales/zh-TW/core/translation-lifecycle-standards.md +28 -16
  379. package/bundled/locales/zh-TW/core/verification-evidence.md +2 -1
  380. package/bundled/locales/zh-TW/core/versioning.md +6 -2
  381. package/bundled/locales/zh-TW/core/virtual-organization-standards.md +42 -36
  382. package/bundled/locales/zh-TW/core/workflow-enforcement.md +2 -1
  383. package/bundled/locales/zh-TW/core/workflow-state-protocol.md +2 -1
  384. package/bundled/locales/zh-TW/docs/AVAILABLE-STANDARDS.md +70 -0
  385. package/bundled/locales/zh-TW/docs/CHEATSHEET.md +9 -3
  386. package/bundled/locales/zh-TW/docs/CLI-FLOW.md +2 -1
  387. package/bundled/locales/zh-TW/docs/CLI-INIT-OPTIONS.md +61 -26
  388. package/bundled/locales/zh-TW/docs/DEV-WORKFLOW-MAPPING.md +2 -1
  389. package/bundled/locales/zh-TW/docs/FEATURE-REFERENCE.md +29 -15
  390. package/bundled/locales/zh-TW/docs/STANDARDS-REFERENCE.md +2 -1
  391. package/bundled/locales/zh-TW/docs/USAGE-MODES-COMPARISON.md +8 -7
  392. package/bundled/locales/zh-TW/docs/USER-MANUAL.md +9 -1
  393. package/bundled/locales/zh-TW/docs/WINDOWS-GUIDE.md +11 -2
  394. package/bundled/locales/zh-TW/docs/specs/system/memory-adoption-strategy.md +2 -0
  395. package/bundled/locales/zh-TW/docs/user/FAQ.md +2 -0
  396. package/bundled/locales/zh-TW/docs/user/GETTING-STARTED.md +46 -0
  397. package/bundled/locales/zh-TW/docs/user/GLOSSARY.md +2 -0
  398. package/bundled/locales/zh-TW/docs/user/README.md +2 -0
  399. package/bundled/locales/zh-TW/docs/user/TROUBLESHOOTING.md +2 -0
  400. package/bundled/locales/zh-TW/integrations/claude-code/README.md +2 -1
  401. package/bundled/locales/zh-TW/integrations/codex/AGENTS.md +136 -2
  402. package/bundled/locales/zh-TW/integrations/codex/README.md +7 -1
  403. package/bundled/locales/zh-TW/integrations/gemini-cli/GEMINI.md +59 -1
  404. package/bundled/locales/zh-TW/integrations/gemini-cli/README.md +8 -1
  405. package/bundled/locales/zh-TW/integrations/github-copilot/COPILOT-CHAT-REFERENCE.md +7 -1
  406. package/bundled/locales/zh-TW/integrations/github-copilot/README.md +9 -3
  407. package/bundled/locales/zh-TW/integrations/github-copilot/copilot-instructions.md +146 -12
  408. package/bundled/locales/zh-TW/integrations/github-copilot/skills-mapping.md +7 -1
  409. package/bundled/locales/zh-TW/integrations/google-antigravity/AGENTS.md +110 -3
  410. package/bundled/locales/zh-TW/integrations/google-antigravity/README.md +7 -1
  411. package/bundled/locales/zh-TW/integrations/opencode/AGENTS.md +140 -2
  412. package/bundled/locales/zh-TW/integrations/opencode/README.md +7 -1
  413. package/bundled/locales/zh-TW/integrations/opencode/skills-mapping.md +8 -2
  414. package/bundled/locales/zh-TW/integrations/openspec/AGENTS.md +46 -1
  415. package/bundled/locales/zh-TW/integrations/openspec/README.md +7 -1
  416. package/bundled/locales/zh-TW/integrations/spec-kit/AGENTS.md +20 -2
  417. package/bundled/locales/zh-TW/integrations/spec-kit/README.md +7 -1
  418. package/bundled/locales/zh-TW/options/changelog/auto-generated.md +2 -0
  419. package/bundled/locales/zh-TW/options/changelog/keep-a-changelog.md +2 -0
  420. package/bundled/locales/zh-TW/options/code-review/automated-review.md +2 -0
  421. package/bundled/locales/zh-TW/options/code-review/pair-programming.md +2 -0
  422. package/bundled/locales/zh-TW/options/code-review/pr-review.md +13 -2
  423. package/bundled/locales/zh-TW/options/commit-message/bilingual.md +93 -5
  424. package/bundled/locales/zh-TW/options/commit-message/english.md +118 -1
  425. package/bundled/locales/zh-TW/options/commit-message/traditional-chinese.md +82 -1
  426. package/bundled/locales/zh-TW/options/documentation/api-docs.md +2 -0
  427. package/bundled/locales/zh-TW/options/documentation/markdown-docs.md +2 -0
  428. package/bundled/locales/zh-TW/options/documentation/wiki-style.md +2 -0
  429. package/bundled/locales/zh-TW/options/git-workflow/gitflow.md +99 -71
  430. package/bundled/locales/zh-TW/options/git-workflow/github-flow.md +68 -50
  431. package/bundled/locales/zh-TW/options/git-workflow/merge-commit.md +131 -20
  432. package/bundled/locales/zh-TW/options/git-workflow/rebase-ff.md +142 -27
  433. package/bundled/locales/zh-TW/options/git-workflow/squash-merge.md +100 -15
  434. package/bundled/locales/zh-TW/options/git-workflow/trunk-based.md +103 -56
  435. package/bundled/locales/zh-TW/options/project-structure/dotnet.md +233 -14
  436. package/bundled/locales/zh-TW/options/project-structure/go.md +270 -12
  437. package/bundled/locales/zh-TW/options/project-structure/java.md +235 -15
  438. package/bundled/locales/zh-TW/options/project-structure/kotlin.md +2 -0
  439. package/bundled/locales/zh-TW/options/project-structure/nodejs.md +136 -19
  440. package/bundled/locales/zh-TW/options/project-structure/php.md +2 -0
  441. package/bundled/locales/zh-TW/options/project-structure/python.md +177 -19
  442. package/bundled/locales/zh-TW/options/project-structure/ruby.md +2 -0
  443. package/bundled/locales/zh-TW/options/project-structure/rust.md +2 -0
  444. package/bundled/locales/zh-TW/options/project-structure/swift.md +2 -0
  445. package/bundled/locales/zh-TW/options/testing/contract-testing.md +2 -0
  446. package/bundled/locales/zh-TW/options/testing/e2e-testing.md +182 -21
  447. package/bundled/locales/zh-TW/options/testing/industry-pyramid.md +2 -0
  448. package/bundled/locales/zh-TW/options/testing/integration-testing.md +134 -22
  449. package/bundled/locales/zh-TW/options/testing/istqb-framework.md +2 -0
  450. package/bundled/locales/zh-TW/options/testing/performance-testing.md +2 -0
  451. package/bundled/locales/zh-TW/options/testing/security-testing.md +2 -0
  452. package/bundled/locales/zh-TW/options/testing/system-testing.md +175 -1
  453. package/bundled/locales/zh-TW/options/testing/unit-testing.md +123 -9
  454. package/bundled/locales/zh-TW/skills/CONTRIBUTING.template.md +3 -2
  455. package/bundled/locales/zh-TW/skills/INTEGRATION-GUIDE.md +2 -1
  456. package/bundled/locales/zh-TW/skills/README.md +3 -1
  457. package/bundled/locales/zh-TW/skills/_shared/README.md +2 -1
  458. package/bundled/locales/zh-TW/skills/ac-coverage/SKILL.md +15 -4
  459. package/bundled/locales/zh-TW/skills/adr-assistant/guide.md +123 -3
  460. package/bundled/locales/zh-TW/skills/agents/README.md +99 -1
  461. package/bundled/locales/zh-TW/skills/agents/code-architect.md +2 -0
  462. package/bundled/locales/zh-TW/skills/agents/doc-writer.md +2 -0
  463. package/bundled/locales/zh-TW/skills/agents/reviewer.md +3 -1
  464. package/bundled/locales/zh-TW/skills/agents/spec-analyst.md +2 -0
  465. package/bundled/locales/zh-TW/skills/agents/test-specialist.md +2 -0
  466. package/bundled/locales/zh-TW/skills/ai-collaboration-standards/SKILL.md +48 -37
  467. package/bundled/locales/zh-TW/skills/ai-collaboration-standards/anti-hallucination.md +22 -2
  468. package/bundled/locales/zh-TW/skills/ai-collaboration-standards/certainty-labels.md +29 -3
  469. package/bundled/locales/zh-TW/skills/ai-friendly-architecture/SKILL.md +23 -36
  470. package/bundled/locales/zh-TW/skills/ai-instruction-standards/SKILL.md +12 -36
  471. package/bundled/locales/zh-TW/skills/api-design-assistant/SKILL.md +21 -5
  472. package/bundled/locales/zh-TW/skills/atdd-assistant/SKILL.md +40 -15
  473. package/bundled/locales/zh-TW/skills/atdd-assistant/acceptance-criteria-guide.md +2 -1
  474. package/bundled/locales/zh-TW/skills/atdd-assistant/atdd-workflow.md +98 -1
  475. package/bundled/locales/zh-TW/skills/atdd-assistant/guide.md +24 -8
  476. package/bundled/locales/zh-TW/skills/audit-assistant/SKILL.md +8 -2
  477. package/bundled/locales/zh-TW/skills/bdd-assistant/SKILL.md +29 -6
  478. package/bundled/locales/zh-TW/skills/bdd-assistant/bdd-workflow.md +2 -1
  479. package/bundled/locales/zh-TW/skills/bdd-assistant/gherkin-guide.md +2 -1
  480. package/bundled/locales/zh-TW/skills/bdd-assistant/guide.md +9 -8
  481. package/bundled/locales/zh-TW/skills/changelog-guide/SKILL.md +12 -3
  482. package/bundled/locales/zh-TW/skills/changelog-guide/guide.md +11 -7
  483. package/bundled/locales/zh-TW/skills/checkin-assistant/SKILL.md +19 -3
  484. package/bundled/locales/zh-TW/skills/checkin-assistant/guide.md +5 -3
  485. package/bundled/locales/zh-TW/skills/ci-cd-assistant/SKILL.md +35 -16
  486. package/bundled/locales/zh-TW/skills/code-review-assistant/SKILL.md +19 -2
  487. package/bundled/locales/zh-TW/skills/code-review-assistant/checkin-checklist.md +2 -1
  488. package/bundled/locales/zh-TW/skills/code-review-assistant/guide.md +81 -6
  489. package/bundled/locales/zh-TW/skills/code-review-assistant/review-checklist.md +2 -1
  490. package/bundled/locales/zh-TW/skills/commands/ac-coverage.md +47 -2
  491. package/bundled/locales/zh-TW/skills/commands/api-design.md +3 -2
  492. package/bundled/locales/zh-TW/skills/commands/atdd.md +80 -10
  493. package/bundled/locales/zh-TW/skills/commands/audit.md +3 -2
  494. package/bundled/locales/zh-TW/skills/commands/bdd.md +114 -16
  495. package/bundled/locales/zh-TW/skills/commands/changelog.md +45 -9
  496. package/bundled/locales/zh-TW/skills/commands/check.md +74 -21
  497. package/bundled/locales/zh-TW/skills/commands/checkin.md +56 -11
  498. package/bundled/locales/zh-TW/skills/commands/ci-cd.md +2 -1
  499. package/bundled/locales/zh-TW/skills/commands/code-review.md +43 -2
  500. package/bundled/locales/zh-TW/skills/commands/commit.md +58 -4
  501. package/bundled/locales/zh-TW/skills/commands/config.md +52 -4
  502. package/bundled/locales/zh-TW/skills/commands/coverage.md +45 -4
  503. package/bundled/locales/zh-TW/skills/commands/database.md +3 -2
  504. package/bundled/locales/zh-TW/skills/commands/derive-all.md +44 -2
  505. package/bundled/locales/zh-TW/skills/commands/derive-atdd.md +37 -2
  506. package/bundled/locales/zh-TW/skills/commands/derive-bdd.md +44 -3
  507. package/bundled/locales/zh-TW/skills/commands/derive-tdd.md +45 -3
  508. package/bundled/locales/zh-TW/skills/commands/derive.md +62 -5
  509. package/bundled/locales/zh-TW/skills/commands/dev-workflow.md +60 -9
  510. package/bundled/locales/zh-TW/skills/commands/discover.md +43 -2
  511. package/bundled/locales/zh-TW/skills/commands/docgen.md +39 -2
  512. package/bundled/locales/zh-TW/skills/commands/docs.md +139 -7
  513. package/bundled/locales/zh-TW/skills/commands/durable.md +3 -2
  514. package/bundled/locales/zh-TW/skills/commands/e2e.md +86 -3
  515. package/bundled/locales/zh-TW/skills/commands/guide.md +4 -2
  516. package/bundled/locales/zh-TW/skills/commands/incident.md +3 -2
  517. package/bundled/locales/zh-TW/skills/commands/init.md +72 -15
  518. package/bundled/locales/zh-TW/skills/commands/methodology.md +117 -28
  519. package/bundled/locales/zh-TW/skills/commands/metrics.md +2 -1
  520. package/bundled/locales/zh-TW/skills/commands/migrate.md +2 -1
  521. package/bundled/locales/zh-TW/skills/commands/observability.md +45 -2
  522. package/bundled/locales/zh-TW/skills/commands/pr.md +2 -1
  523. package/bundled/locales/zh-TW/skills/commands/refactor.md +54 -13
  524. package/bundled/locales/zh-TW/skills/commands/release.md +83 -2
  525. package/bundled/locales/zh-TW/skills/commands/requirement.md +41 -2
  526. package/bundled/locales/zh-TW/skills/commands/reverse-bdd.md +37 -2
  527. package/bundled/locales/zh-TW/skills/commands/reverse-sdd.md +45 -2
  528. package/bundled/locales/zh-TW/skills/commands/reverse-tdd.md +43 -2
  529. package/bundled/locales/zh-TW/skills/commands/reverse.md +44 -2
  530. package/bundled/locales/zh-TW/skills/commands/runbook.md +47 -2
  531. package/bundled/locales/zh-TW/skills/commands/scan.md +3 -2
  532. package/bundled/locales/zh-TW/skills/commands/sdd-retro.md +52 -3
  533. package/bundled/locales/zh-TW/skills/commands/sdd.md +209 -28
  534. package/bundled/locales/zh-TW/skills/commands/security.md +3 -2
  535. package/bundled/locales/zh-TW/skills/commands/slo.md +48 -2
  536. package/bundled/locales/zh-TW/skills/commands/tdd.md +71 -2
  537. package/bundled/locales/zh-TW/skills/commands/update.md +64 -2
  538. package/bundled/locales/zh-TW/skills/commit-standards/SKILL.md +2 -2
  539. package/bundled/locales/zh-TW/skills/commit-standards/conventional-commits.md +2 -1
  540. package/bundled/locales/zh-TW/skills/commit-standards/language-options.md +21 -18
  541. package/bundled/locales/zh-TW/skills/comprehension-ladder/SKILL.md +289 -0
  542. package/bundled/locales/zh-TW/skills/comprehension-ladder/eval-cases.md +261 -0
  543. package/bundled/locales/zh-TW/skills/contract-test-assistant/guide.md +81 -1
  544. package/bundled/locales/zh-TW/skills/database-assistant/SKILL.md +21 -5
  545. package/bundled/locales/zh-TW/skills/deploy-assistant/SKILL.md +2 -1
  546. package/bundled/locales/zh-TW/skills/dev-methodology/SKILL.md +4 -1
  547. package/bundled/locales/zh-TW/skills/dev-methodology/create-methodology.md +2 -0
  548. package/bundled/locales/zh-TW/skills/dev-methodology/runtime.md +2 -0
  549. package/bundled/locales/zh-TW/skills/docs-generator/SKILL.md +19 -2
  550. package/bundled/locales/zh-TW/skills/documentation-guide/SKILL.md +67 -42
  551. package/bundled/locales/zh-TW/skills/documentation-guide/documentation-structure.md +2 -1
  552. package/bundled/locales/zh-TW/skills/documentation-guide/readme-template.md +2 -1
  553. package/bundled/locales/zh-TW/skills/durable-execution-assistant/SKILL.md +32 -3
  554. package/bundled/locales/zh-TW/skills/e2e-assistant/SKILL.md +25 -7
  555. package/bundled/locales/zh-TW/skills/error-code-guide/SKILL.md +17 -34
  556. package/bundled/locales/zh-TW/skills/git-workflow-guide/SKILL.md +33 -38
  557. package/bundled/locales/zh-TW/skills/git-workflow-guide/branch-naming.md +2 -1
  558. package/bundled/locales/zh-TW/skills/git-workflow-guide/git-workflow.md +2 -1
  559. package/bundled/locales/zh-TW/skills/incident-response-assistant/SKILL.md +35 -14
  560. package/bundled/locales/zh-TW/skills/journey-test-assistant/SKILL.md +2 -14
  561. package/bundled/locales/zh-TW/skills/knowledge-graph/SKILL.md +6 -2
  562. package/bundled/locales/zh-TW/skills/metrics-dashboard-assistant/SKILL.md +42 -3
  563. package/bundled/locales/zh-TW/skills/pr-automation-assistant/SKILL.md +27 -3
  564. package/bundled/locales/zh-TW/skills/project-discovery/SKILL.md +11 -3
  565. package/bundled/locales/zh-TW/skills/project-discovery/guide.md +5 -3
  566. package/bundled/locales/zh-TW/skills/project-discovery/workflow.md +2 -1
  567. package/bundled/locales/zh-TW/skills/project-structure-guide/SKILL.md +19 -16
  568. package/bundled/locales/zh-TW/skills/project-structure-guide/language-patterns.md +2 -1
  569. package/bundled/locales/zh-TW/skills/refactoring-assistant/SKILL.md +26 -3
  570. package/bundled/locales/zh-TW/skills/refactoring-assistant/guide.md +4 -2
  571. package/bundled/locales/zh-TW/skills/release-standards/changelog-format.md +4 -3
  572. package/bundled/locales/zh-TW/skills/release-standards/guide.md +14 -5
  573. package/bundled/locales/zh-TW/skills/release-standards/release-workflow.md +5 -1
  574. package/bundled/locales/zh-TW/skills/release-standards/semantic-versioning.md +2 -1
  575. package/bundled/locales/zh-TW/skills/requirement-assistant/SKILL.md +15 -6
  576. package/bundled/locales/zh-TW/skills/requirement-assistant/guide.md +18 -8
  577. package/bundled/locales/zh-TW/skills/requirement-assistant/requirement-checklist.md +2 -1
  578. package/bundled/locales/zh-TW/skills/requirement-assistant/requirement-writing.md +2 -1
  579. package/bundled/locales/zh-TW/skills/retrospective-assistant/guide.md +200 -6
  580. package/bundled/locales/zh-TW/skills/reverse-engineer/bdd-extraction.md +2 -1
  581. package/bundled/locales/zh-TW/skills/reverse-engineer/guide.md +161 -36
  582. package/bundled/locales/zh-TW/skills/reverse-engineer/tdd-analysis.md +2 -1
  583. package/bundled/locales/zh-TW/skills/reverse-engineer/workflow.md +2 -1
  584. package/bundled/locales/zh-TW/skills/runbook-assistant/SKILL.md +9 -1
  585. package/bundled/locales/zh-TW/skills/security-assistant/SKILL.md +25 -5
  586. package/bundled/locales/zh-TW/skills/security-scan-assistant/SKILL.md +34 -8
  587. package/bundled/locales/zh-TW/skills/skill-builder/SKILL.md +3 -21
  588. package/bundled/locales/zh-TW/skills/slo-assistant/SKILL.md +3 -1
  589. package/bundled/locales/zh-TW/skills/spec-derivation/SKILL.md +2 -1
  590. package/bundled/locales/zh-TW/skills/spec-driven-dev/guide.md +35 -2
  591. package/bundled/locales/zh-TW/skills/sweep/SKILL.md +2 -1
  592. package/bundled/locales/zh-TW/skills/tdd-assistant/SKILL.md +10 -2
  593. package/bundled/locales/zh-TW/skills/tdd-assistant/guide.md +68 -9
  594. package/bundled/locales/zh-TW/skills/tdd-assistant/tdd-workflow.md +183 -1
  595. package/bundled/locales/zh-TW/skills/test-coverage-assistant/SKILL.md +15 -5
  596. package/bundled/locales/zh-TW/skills/test-coverage-assistant/guide.md +26 -13
  597. package/bundled/locales/zh-TW/skills/testing-guide/testing-pyramid.md +2 -1
  598. package/bundled/locales/zh-TW/skills/testing-guide/testing-theory.md +3 -1
  599. package/bundled/locales/zh-TW/skills/tools/cline/README.md +2 -1
  600. package/bundled/locales/zh-TW/skills/tools/copilot/README.md +65 -18
  601. package/bundled/locales/zh-TW/skills/tools/copilot/copilot-instructions.md +2 -1
  602. package/bundled/locales/zh-TW/skills/tools/cursor/README.md +2 -1
  603. package/bundled/locales/zh-TW/skills/tools/windsurf/README.md +2 -1
  604. package/bundled/locales/zh-TW/skills/workflows/README.md +11 -9
  605. package/bundled/locales/zh-TW/templates/reverse-spec-template.md +50 -1
  606. package/bundled/skills/README.md +1 -0
  607. package/bundled/skills/SKILL_NAMING.md +9 -0
  608. package/bundled/skills/commit-standards/SKILL.md +2 -2
  609. package/bundled/skills/commit-standards/guide.md +3 -2
  610. package/bundled/skills/commit-standards/language-options.md +19 -17
  611. package/bundled/skills/comprehension-ladder/SKILL.md +283 -0
  612. package/bundled/skills/comprehension-ladder/eval-cases.md +255 -0
  613. package/bundled/templates/gates/check-anti-fake-tests.mjs +1291 -0
  614. package/bundled/templates/gates/check-stubs.mjs +644 -0
  615. package/package.json +5 -3
  616. package/src/commands/audit.js +20 -2
  617. package/src/commands/check.js +155 -28
  618. package/src/commands/deps.js +31 -1
  619. package/src/commands/hitl.js +3 -0
  620. package/src/commands/init.js +159 -48
  621. package/src/commands/list.js +12 -3
  622. package/src/commands/mcp.js +2 -3
  623. package/src/commands/open-work.js +123 -0
  624. package/src/commands/quickstart.js +29 -13
  625. package/src/commands/release.js +102 -19
  626. package/src/commands/run-intent.js +10 -0
  627. package/src/commands/simulate.js +20 -8
  628. package/src/commands/skills.js +59 -33
  629. package/src/commands/spec-split.js +30 -17
  630. package/src/commands/spec.js +55 -21
  631. package/src/commands/uninstall.js +146 -32
  632. package/src/commands/update.js +471 -93
  633. package/src/core/install-records.js +192 -0
  634. package/src/core/manifest.js +12 -10
  635. package/src/core/marketplace-sentinel.js +5 -0
  636. package/src/core/open-work-config.js +122 -0
  637. package/src/core/project-config.js +92 -38
  638. package/src/flows/init-flow.js +10 -0
  639. package/src/hitl/manager.js +4 -2
  640. package/src/i18n/messages.js +413 -78
  641. package/src/installers/hooks-installer.js +236 -27
  642. package/src/installers/integration-installer.js +5 -1
  643. package/src/installers/skills-installer.js +3 -1
  644. package/src/installers/standards-installer.js +16 -23
  645. package/src/mcp/__tests__/server.test.js +0 -1
  646. package/src/mcp/server.js +16 -4
  647. package/src/prompts/init.js +148 -13
  648. package/src/reconciler/backup-locations.js +80 -0
  649. package/src/reconciler/backup-manager.js +451 -123
  650. package/src/reconciler/index.js +86 -10
  651. package/src/reconciler/install-roots.js +90 -0
  652. package/src/reconciler/plan-executor.js +37 -15
  653. package/src/uninstallers/hook-uninstaller.js +220 -33
  654. package/src/uninstallers/integration-uninstaller.js +35 -5
  655. package/src/uninstallers/skills-uninstaller.js +95 -16
  656. package/src/uninstallers/standards-uninstaller.js +56 -7
  657. package/src/utils/agents-installer.js +10 -17
  658. package/src/utils/available-standards-report.js +144 -0
  659. package/src/utils/available-standards.js +216 -0
  660. package/src/utils/command-hash-ownership.js +103 -0
  661. package/src/utils/commit-message-judge.js +155 -0
  662. package/src/utils/copier.js +80 -2
  663. package/src/utils/deps-applicability.js +25 -0
  664. package/src/utils/detector.js +46 -1
  665. package/src/utils/friction-detector.js +27 -0
  666. package/src/utils/gate-scripts.js +141 -0
  667. package/src/utils/git-hooks.js +139 -7
  668. package/src/utils/hasher.js +36 -0
  669. package/src/utils/health-scorer.js +10 -7
  670. package/src/utils/installed-names-ownership.js +114 -0
  671. package/src/utils/integration-generator.js +36 -24
  672. package/src/utils/legacy-hook-migration.js +112 -0
  673. package/src/utils/locale.js +19 -0
  674. package/src/utils/open-work-tracking.mjs +1754 -0
  675. package/src/utils/prompt-closed.js +18 -0
  676. package/src/utils/sdd-header.js +66 -0
  677. package/src/utils/skill-frontmatter.js +102 -0
  678. package/src/utils/skill-hash-ownership.js +64 -0
  679. package/src/utils/skill-name-collision.js +169 -0
  680. package/src/utils/skills-install-paths.js +114 -0
  681. package/src/utils/skills-installer.js +75 -106
  682. package/src/utils/standard-validator.js +98 -27
  683. package/src/utils/test-change-check.js +160 -0
  684. package/src/utils/test-policy.js +214 -0
  685. package/src/utils/transient-fs.js +113 -0
  686. package/src/utils/update-summary.js +29 -0
  687. package/src/vibe/micro-spec.js +15 -0
  688. package/standards-registry.json +48 -9
@@ -22,6 +22,29 @@ export const messages = {
22
22
  disableHint: 'Set UDS_NO_UPDATE_CHECK=1 to disable'
23
23
  },
24
24
 
25
+ // XSPEC-458: standards UDS ships that this project does not have
26
+ availableStandards: {
27
+ title: 'Available upstream, not installed ({count})',
28
+ none: 'Available upstream, not installed: none. Every standard UDS installs by default is already in this project.',
29
+ categoryLine: '{category} ({count})',
30
+ installHint: 'Install one: uds update --apply --add-standard <id> (repeat the flag for several; add --plan to preview first)',
31
+ othersLine: 'Not listed above: {count} more standard(s) in categories `uds init` never installs ({breakdown}). Any of them can still be installed by id with --add-standard.',
32
+ applySummary: '{count} standard(s) UDS ships are not installed in this project (no file was changed for them).',
33
+ applyHint: 'See them: uds update --plan Install one: uds update --apply --add-standard <id>',
34
+ checkLine: '{count} upstream standard(s) not installed — run `uds update --plan` to see them',
35
+ checkNone: 'Upstream standards not installed: none',
36
+ addUnknown: 'Unknown standard id "{id}": it is not in the registry. Closest ids:',
37
+ addAlreadyInstalled: '"{id}" is already installed; nothing to add.',
38
+ addOtherMeans: '"{id}" is a {category} entry, not a standard file under .standards/; --add-standard does not install it (language, integration and template choices do).',
39
+ addNoSource: '"{id}" has no source file in this project\'s format ({format}), so it cannot be installed.',
40
+ addNothingDone: 'Nothing was changed. Run `uds update --plan` to see the rest of the plan.',
41
+ addNeedsMode: '--add-standard needs --plan or --apply. Example: uds update --apply --add-standard <id>',
42
+ addCannotCombine: '--add-standard cannot be combined with {flag}.',
43
+ reportHeldBack: 'Nothing to send: the "available standards" finding above is for you to act on, not feedback for the UDS maintainers.',
44
+ frictionStandard: '{count} available standard(s) not installed',
45
+ frictionSuggestion: 'Run `uds update --plan` to see them; install one with `uds update --apply --add-standard <id>`'
46
+ },
47
+
25
48
  // Sweep Command
26
49
  sweep: {
27
50
  title: 'Auto-Sweep: Code Cleanup',
@@ -65,6 +88,7 @@ export const messages = {
65
88
  error: 'Failed to generate spec',
66
89
  listTitle: 'Micro-Specs',
67
90
  noSpecs: 'No micro-specs found.',
91
+ statusUnparsed: 'format: SDD (status not parsed)',
68
92
  createHint: 'Create one with: uds spec create "your intent"',
69
93
  total: 'Total',
70
94
  noId: 'Error: Please provide a spec ID.',
@@ -364,7 +388,7 @@ export const messages = {
364
388
  installCount: 'Will install Skills to {count} location(s)',
365
389
  gitSharingHint: 'Tip: Commit .claude/skills/ to Git to share with your team',
366
390
  choices: {
367
- marketplace: 'Auto-updates, easy version management',
391
+ marketplace: 'Skills then come from the plugin and none are written to this project',
368
392
  userLevel: 'User Level',
369
393
  projectLevel: 'Project Level',
370
394
  user: 'Shared across all projects',
@@ -372,7 +396,7 @@ export const messages = {
372
396
  none: 'No Skills installation'
373
397
  },
374
398
  explanations: {
375
- marketplace: ' → Automatic updates when new versions are released\n → Easy install/uninstall via Claude Code Plugin system\n → Run: /plugin install universal-dev-standards@asia-ostrich',
399
+ marketplace: ' → Claude Code only, English skill texts only, stable releases only\n → Puts no files in the project\n → Run: /plugin install universal-dev-standards@asia-ostrich',
376
400
  user: ' → Skills available in all your projects',
377
401
  project: ' → Consider adding .claude/skills/ to .gitignore',
378
402
  none: ' → Full standards will be copied to .standards/'
@@ -384,7 +408,7 @@ export const messages = {
384
408
 
385
409
  // Marketplace Installation Guide
386
410
  marketplaceInstall: {
387
- claudeCodeTip: 'Claude Code can be installed via Marketplace:',
411
+ claudeCodeTip: 'Pre-selected below: install the skills into this project (the main path). Claude Code also has a plugin, an alternative with limits (Claude Code only, English skill texts only, stable releases only, no files in the project). To use the plugin, deselect everything below, then run:',
388
412
  guide: 'Please run the following command in Claude Code:',
389
413
  note: 'After installation, Skills will auto-load and stay updated.',
390
414
  alreadyInstalled: 'Marketplace plugin already installed.',
@@ -672,6 +696,11 @@ export const messages = {
672
696
  commands: {
673
697
  // Common messages used across commands
674
698
  common: {
699
+ localePackMissingTitle: 'The {locale} skill texts are not in this copy of UDS, so the skills were installed in English.',
700
+ localePackMissingLines: [
701
+ 'The Traditional and Simplified Chinese texts ship inside the UDS npm package (the locales/ folder), so this is not about your network: this copy of UDS is incomplete or damaged.',
702
+ 'To get the {locale} texts, reinstall UDS (npm install -g universal-dev-standards), then run: uds update --apply --skills --locale {localeLower}'
703
+ ],
675
704
  notInitialized: '✗ Standards not initialized in this project.',
676
705
  runInit: 'Run `uds init` to initialize.',
677
706
  couldNotReadManifest: '✗ Could not read manifest file.',
@@ -699,7 +728,7 @@ export const messages = {
699
728
  errorLevelRange: 'Error: Level must be 1, 2, or 3',
700
729
  showingLevel: 'Showing Level',
701
730
  errorUnknownCategory: 'Error: Unknown category',
702
- validCategories: 'Valid categories: skill, reference, extension, integration, template',
731
+ validCategories: 'Valid categories:',
703
732
  category: 'Category',
704
733
  appliesTo: 'Applies to',
705
734
  totalSummary: 'standards',
@@ -709,25 +738,53 @@ export const messages = {
709
738
  seeGuide: 'See: https://github.com/AsiaOstrich/universal-dev-standards/blob/main/adoption/ADOPTION-GUIDE.md'
710
739
  },
711
740
 
741
+ // deps command (XSPEC-456 R6)
742
+ deps: {
743
+ notApplicableNoPackageJson: 'Not applicable: there is no package.json, so nothing was checked',
744
+ notApplicableNoRuntimeDeps: 'Not applicable: this package declares no runtime dependencies, so nothing was checked'
745
+ },
746
+
712
747
  // skills command
713
748
  skills: {
714
749
  title: 'Universal Dev Standards - Installed Skills',
715
750
  noSkillsInstalled: 'No Universal Dev Standards skills installed.',
716
- installViaMarketplace: 'Install via Plugin Marketplace:',
717
- orManually: 'Or install manually:',
718
- recommended: '(recommended)',
719
751
  legacyMarketplaceWarning: '⚠ Legacy marketplace detected.',
720
752
  legacyMarketplaceHint: 'Consider upgrading to Plugin Marketplace for automatic updates.',
721
- manualInstallDeprecated: '⚠ Manual installation is deprecated.',
722
- manualInstallHint: 'Consider migrating to Plugin Marketplace.',
723
753
  totalUniqueSkills: 'Total unique skills',
724
- recommendation: 'Recommendation: Migrate to Plugin Marketplace',
725
- benefits: 'Benefits: Automatic updates, better integration',
726
- migrateCommand: 'To migrate, run:'
754
+ skillFilesTracked: '`uds check` tracks {files} skill files for these skills (it counts files across every tool, not skills).',
755
+ // XSPEC-462 R1: the two ways to install, side by side, each with its limits.
756
+ installPaths: {
757
+ title: 'Two ways to install UDS skills',
758
+ projectTitle: 'Into the project (the main path)',
759
+ projectCommands: [
760
+ 'uds init --skills-location project (new project)',
761
+ 'uds update --apply --skills (project already set up)'
762
+ ],
763
+ projectPoints: [
764
+ 'Works with many AI tools: Claude Code, OpenCode, Cursor, Codex, Copilot, Windsurf and more.',
765
+ 'Has Traditional and Simplified Chinese skill texts (a missing one falls back to English with a warning).',
766
+ 'Follows the UDS version you installed, beta releases included.',
767
+ 'You update it yourself: run the same command again after upgrading UDS.'
768
+ ],
769
+ pluginTitle: 'Claude Code plugin marketplace (an alternative, with limits)',
770
+ pluginPoints: [
771
+ 'Claude Code only.',
772
+ 'English skill texts only: the plugin settings have no language choice.',
773
+ 'Follows stable releases only, so a beta of UDS gets no beta skills.',
774
+ 'Puts no files in the project, so `uds check` cannot compare them file by file.'
775
+ ],
776
+ bothNote: 'Installing both lists every skill twice in Claude Code (for example /commit and /universal-dev-standards:commit). Pick one; `uds check` warns when it finds both.'
777
+ }
727
778
  },
728
779
 
729
780
  // check command
730
781
  check: {
782
+ errorExitGate: {
783
+ missing: ' ⚠ [error-exit] No single-exit check for error messages (scripts/check-error-exit.mjs).',
784
+ why1: ' This gate stops every caller from turning an error response into its own human-readable string —',
785
+ why2: ' the first one is the implementation; from the second on they drift apart, and the screen shows only "Bad Request".',
786
+ howTo: ' To install it: `uds update` shows its content and asks before writing it.',
787
+ },
731
788
  title: 'Universal Documentation Standards - Check',
732
789
  // Basic status
733
790
  standardsInitialized: '✓ Standards initialized',
@@ -781,9 +838,12 @@ export const messages = {
781
838
  // Diff display
782
839
  couldNotReadFile: 'Could not read current file.',
783
840
  couldNotDetermineSource2: 'Could not determine original source path.',
784
- fetchingOriginal: 'Fetching original from GitHub...',
785
- couldNotFetchOriginal: 'Could not fetch original content.',
786
- rateLimited: 'GitHub API rate limit exceeded. Please wait a few minutes and try again.',
841
+ // XSPEC-453 R1: the original is the copy inside the installed package; nothing is downloaded.
842
+ diffBaseline: 'Comparing against the original files in the installed UDS package (version {version}); no network is used. To see what UDS itself changed since, run `uds update --plan`.',
843
+ diffBaselineVersionDiffers: 'Note: these standards were installed from UDS {installed}, but the package now installed is {version}. A file UDS changed between the two shows up below as a difference even if you did not touch it; `uds update --plan` lists those.',
844
+ diffNone: 'No modified files, so there is nothing to diff.',
845
+ noOriginalInPackage: 'This version of the package has no original for {file} (expected {source} in UDS {version}), so it cannot be compared. Nothing was downloaded; reinstall or upgrade universal-dev-standards.',
846
+ couldNotReadOriginal: 'Could not read the packaged original of {file}.',
787
847
  diffOriginal: '--- Original',
788
848
  diffCurrent: '+++ Current',
789
849
  diffTruncated: '... (diff truncated, showing first 20 changes)',
@@ -807,11 +867,7 @@ export const messages = {
807
867
  skillsProject: 'Project',
808
868
  compatible: 'Compatible',
809
869
  openCodeNote: 'Note: OpenCode auto-detects .claude/skills/',
810
- considerMigrating: '⚠ Consider migrating to Plugin Marketplace',
811
- marketplaceAutoUpdates: 'Marketplace provides automatic updates and easier management.',
812
- toMigrate: 'To migrate:',
813
870
  skillsMarkedNotFound: '⚠ Skills marked as installed but not found',
814
- recommendedInstall: 'Recommended: Install via Plugin Marketplace',
815
871
  skillsNotInstalled: 'Skills not installed (using reference documents only)',
816
872
  // Coverage
817
873
  coverageSummary: 'Coverage Summary:',
@@ -862,6 +918,26 @@ export const messages = {
862
918
  // Final status
863
919
  projectCompliant: '✓ Project is compliant with standards',
864
920
  issuesDetected: '⚠ Some issues detected. Review above for details.',
921
+ skillsIntegrityFix: ' Skill files listed above are missing or were changed: run `uds update --apply --skills` to reinstall them.',
922
+ // XSPEC-462 R2: project skills and the UDS plugin are both installed. Information only.
923
+ skillsTwiceTitle: '⚠ UDS skills are installed twice: {count} in this project (.claude/skills/) and the plugin {plugin}.',
924
+ skillsTwiceNames: 'Claude Code runs plugin skills as /<plugin>:<skill> and project skills as /<skill>, so each skill shows up twice (for example /commit and /universal-dev-standards:commit).',
925
+ skillsTwiceContext: 'Every skill\'s name and description is put into context on every turn, so the duplicate takes that space twice.',
926
+ skillsTwiceChoose: 'Keep one:',
927
+ skillsTwiceKeepProject: 'Keep the project copy: in Claude Code run /plugin uninstall {plugin}',
928
+ skillsTwiceKeepPlugin: 'Keep the plugin: delete the UDS skill folders under .claude/skills/ (`uds uninstall --skills-only` removes the skills and commands of every tool in this project).',
929
+ // XSPEC-465 R1: a personal skill has the same name as a UDS skill installed in the project. Information only.
930
+ skillNameCollisionTitle: '⚠ {count} UDS skill(s) installed in this project share a name with a personal skill, and Claude Code runs the personal one without any error:',
931
+ skillNameCollisionItem: '{command}: your {personal} replaces the UDS skill {uds}',
932
+ skillNameCollisionEffect: 'Personal skills rank above project skills, so the UDS skill is never run under that name.',
933
+ skillNameCollisionChoose: 'Pick one:',
934
+ skillNameCollisionRename: 'Keep both: rename your personal skill (its folder name, and `name:` in its SKILL.md).',
935
+ skillNameCollisionDrop: 'Keep yours only: delete the UDS skill folder under .claude/skills/ (`uds uninstall --skills-only` removes the skills and commands of every tool in this project).',
936
+ skillNameCollisionLimits: 'This check does not see skills your organization deploys at enterprise level (they rank above personal skills), or personal skills added after this run. No warning is not proof of no collision; `uds check` looks again every time.',
937
+ commandsIntegrityFix: ' Command files listed above are missing or were changed: run `uds update --apply --commands` to reinstall them.',
938
+ commandsStaleRecordsIgnored: ' {count} command record(s) ignored: they describe commands UDS does not ship.',
939
+ commandsElsewhereIgnored: ' {count} command record(s) ignored: those commands are installed at user level, shared by every project, so this project\'s check does not vouch for them.',
940
+ skillsStaleRecordsIgnored: ' {count} skill record(s) ignored: they describe files UDS did not install (e.g. your own skills, or folders an old UDS copied in and later removed).',
865
941
  // Installation prompts
866
942
  offerSkillsInstallation: 'Skills Installation',
867
943
  offerCommandsInstallation: 'Commands Installation',
@@ -875,7 +951,7 @@ export const messages = {
875
951
  // Pre-commit hook wiring (XSPEC: uds init writes a hook but never
876
952
  // confirmed git would run it — this reports the gap, read-only)
877
953
  hookNotWiredTitle: '⚠ [pre-commit] {file} was installed, but git will not run it.',
878
- hookNotWiredOverride: ' git core.hooksPath is set to "{path}" — UDS will not override it. Confirm the hook there also runs `npx uds check`, or switch it yourself: git config --local core.hooksPath .husky',
954
+ hookNotWiredOverride: ' git core.hooksPath is set to "{path}" — UDS will not override it. Confirm the hook there also runs `universal-dev-standards check` (the installed CLI — not the short name "uds", which on the npm registry is an unrelated package), or switch it yourself: git config --local core.hooksPath .husky',
879
955
  hookNotWiredUnwired: ' git core.hooksPath is not set, and {file} is not on git\'s default hook path.',
880
956
  hookNotWiredFix: ' Fix (per-clone — not committed, teammates must repeat it): git config --local core.hooksPath .husky',
881
957
  hookNotWiredFixNative: ' Fix: point core.hooksPath back to the default (git config --local --unset core.hooksPath), or add `uds check` under "{path}" instead.',
@@ -892,6 +968,8 @@ export const messages = {
892
968
  // file or directory". Measured 2026-09-27 in CI (windows-latest).
893
969
  hookMissingShebangTitle: '⚠ [pre-commit] {file} has no shebang line — git cannot run it on Windows.',
894
970
  hookMissingShebangFix: ' Fix: add a `#!/bin/sh` shebang as the very first line of {file} (a husky-managed hook gets this automatically the next time `uds init` touches it), or re-run `uds init`.',
971
+ hookBareUdsTitle: '⚠ [pre-commit] {file} asks npm to run the bare name "uds", which on the npm registry is an unrelated package (not this project).',
972
+ hookBareUdsFix: ' Fix: run `uds update` — it replaces the line UDS itself wrote with one that only runs the installed UDS CLI. A line you wrote or edited yourself is left alone; change it to `universal-dev-standards check`.',
895
973
  // Summary mode (--summary)
896
974
  summary_mode: {
897
975
  title: 'UDS Status Summary',
@@ -918,6 +996,8 @@ export const messages = {
918
996
  userCommentsPrompt: 'Additional comments (optional):',
919
997
  reportTitle: 'UDS Audit Feedback',
920
998
  dryRunNotice: 'Dry run — no issue created',
999
+ offlineNoSubmit: 'Offline mode: the report is not submitted.',
1000
+ offlineDryRunHint: ' Use --dry-run to preview it, or run again without --offline to submit.',
921
1001
  ghNotFound: 'gh CLI not found, using browser deeplink',
922
1002
  copiedToClipboard: 'Full report copied to clipboard',
923
1003
  urlTruncated: 'Report too long for URL, summary used. Full report on clipboard.',
@@ -930,6 +1010,7 @@ export const messages = {
930
1010
  title: 'Universal Development Standards - Initialize',
931
1011
  alreadyInitialized: '⚠ Standards already initialized in this project.',
932
1012
  useUpdateOrDelete: 'Use `uds update` to update, or delete .standards/ to reinitialize.',
1013
+ useUpdateWithHooks: 'To add enforcement hooks to this project (including for tools UDS began supporting after you initialized), run `uds update --with-hooks`.',
933
1014
  // Detection
934
1015
  detectingProject: 'Detecting project characteristics...',
935
1016
  analysisComplete: 'Project analysis complete',
@@ -962,6 +1043,13 @@ export const messages = {
962
1043
  integrations: 'Generated Configs',
963
1044
  skillsLabel: 'Skills',
964
1045
  skillsMarketplace: 'Plugin Marketplace (managed by Claude Code)',
1046
+ skillsFromPluginTitle: 'Skills: provided by the Claude Code plugin (no skill file was written to this project).',
1047
+ skillsSkippedTitle: 'Skills: none will be installed into this project.',
1048
+ skillsFromPluginLines: [
1049
+ 'Install the plugin in Claude Code: /plugin marketplace add AsiaOstrich/universal-dev-standards, then /plugin install universal-dev-standards@asia-ostrich',
1050
+ 'The plugin works in Claude Code only, loads English skill texts only, follows stable releases only, and puts no files in the project.',
1051
+ 'To put the skills into this project instead (many AI tools, Chinese texts): uds config --type skills --ai-tool claude-code --skills-location project --yes'
1052
+ ],
965
1053
  skillsInstallTo: 'install/update to {location}',
966
1054
  skillsUsingExisting: 'using existing ({location})',
967
1055
  skillsInstalledToCount: '{count} locations',
@@ -1017,6 +1105,18 @@ export const messages = {
1017
1105
 
1018
1106
  // update command
1019
1107
  update: {
1108
+ errorExitOffer: {
1109
+ title: ' Single exit for error messages (gate)',
1110
+ guards: ' It guards against: every caller turning an error response into its own human-readable string.',
1111
+ drift: ' The first one is the implementation; from the second on they drift apart, and the screen shows only "Bad Request".',
1112
+ willWrite: ' Will write: scripts/check-error-exit.mjs (plain Node, no dependencies, {kb}KB)',
1113
+ exit2a: ' Once written it exits 2 until you fill in its CONFIG — on purpose:',
1114
+ exit2b: ' a gate that quietly passes in a new repo cannot be told apart from one that is not installed.',
1115
+ question: 'Write this gate to scripts/check-error-exit.mjs?',
1116
+ skipped: ' Skipped. `uds check` will remind you again, but will not write it by itself.',
1117
+ written: ' ✓ Wrote scripts/check-error-exit.mjs',
1118
+ next: ' Next: fill in the CONFIG at the top of the file, then wire it into your CI or pre-commit.',
1119
+ },
1020
1120
  title: 'Universal Documentation Standards - Update',
1021
1121
  // CLI update
1022
1122
  cliUpdateAvailable: '⚡ New CLI version available!',
@@ -1037,6 +1137,11 @@ export const messages = {
1037
1137
  currentVersion: 'Current version',
1038
1138
  latestVersion: 'Latest version',
1039
1139
  upToDate: '✓ Standards are up to date.',
1140
+ // Pre-commit hook migration (bare-name `uds` on the npm registry is not this project)
1141
+ hookMigrated: '✓ .husky/pre-commit: replaced the line an older UDS wrote (it asked npm to resolve the bare name "uds", which is not this project) with one that runs only the installed UDS CLI.',
1142
+ hookWouldMigrate: '+ .husky/pre-commit: would replace the line an older UDS wrote (it asks npm to resolve the bare name "uds", which is not this project) with one that runs only the installed UDS CLI.',
1143
+ hookLegacyKept: '⚠ .husky/pre-commit line {line} ("{text}") asks npm to resolve the bare name "uds", which on the npm registry is an unrelated package. UDS did not write this exact line, so it was left alone. Change it to "universal-dev-standards check" — it needs the UDS CLI installed in this project or on PATH.',
1144
+ hookMigrateFailed: '⚠ Could not rewrite .husky/pre-commit: {error}. The line that asks npm for the bare name "uds" is still there — change it to "universal-dev-standards check".',
1040
1145
  newerVersion: '(You have a newer version than the registry: {version})',
1041
1146
  updateAvailable: 'Update available: {current} → {latest}',
1042
1147
  // Files
@@ -1051,6 +1156,9 @@ export const messages = {
1051
1156
  syncedIntegrations: 'Synced {count} integration files',
1052
1157
  prunedOrphanedBlockHashes: 'Pruned {count} orphaned integration hash(es): {files}',
1053
1158
  droppedRetiredHashes: 'Dropped {count} manifest record(s) for files UDS no longer ships and that are already gone:',
1159
+ droppedForeignSkillHashes: 'Dropped {count} skill record(s) that do not describe files UDS installed.',
1160
+ droppedForeignCommandHashes: 'Dropped {count} command record(s) for commands UDS does not ship.',
1161
+ droppedForeignNames: 'Dropped {count} skill/command name(s) from the manifest that UDS does not ship or that are not installed.',
1054
1162
  // Success
1055
1163
  updateSuccess: '✓ Standards updated successfully!',
1056
1164
  versionUpdated: 'Version: {current} → {latest}',
@@ -1062,10 +1170,8 @@ export const messages = {
1062
1170
  skillsLatest: 'Latest',
1063
1171
  updateViaMarketplace: 'Update via Plugin Marketplace:',
1064
1172
  autoUpdate: 'Auto-update: Restart Claude Code (updates on startup)',
1065
- manualUpdate: 'Manual: Run /plugin marketplace update anthropic-agent-skills',
1066
- manualInstallDeprecated: '⚠️ Manual installation is deprecated',
1067
- recommendedMigrate: 'Recommended: Migrate to Plugin Marketplace',
1068
- orUpdateManually: 'Or update manually:',
1173
+ manualUpdate: 'Manual: Run /plugin marketplace update asia-ostrich',
1174
+ skillsUpdateCommand: 'Update them with: uds update --apply --skills',
1069
1175
  // Integrations only
1070
1176
  updatingIntegrationsOnly: 'Updating integration files only...',
1071
1177
  noAiToolsConfigured: '⚠ No AI tools configured in manifest.',
@@ -1128,9 +1234,12 @@ export const messages = {
1128
1234
  skillsUpdatedWithErrors: 'Updated Skills with {errors} errors',
1129
1235
  updatingCommands: 'Updating Commands...',
1130
1236
  commandsUpdated: 'Updated Commands for {count} AI tools',
1237
+ // XSPEC-454 R4: the number of tools and the number of commands are different numbers and need different slots.
1238
+ // `commandsUpdated` above counts TOOLS; feeding it the command count printed "51 AI tools" for one tool.
1239
+ commandsUpdatedCounts: 'Updated {commands} commands for {tools} AI tool(s): {locations}',
1131
1240
  commandsUpdatedWithErrors: 'Updated Commands with {errors} errors',
1132
1241
  // New standards detection
1133
- newStandardsFound: '{count} new standard(s) available for your level:',
1242
+ newStandardsFound: '{count} new standard(s) available (upstream has them, this project does not):',
1134
1243
  installNewStandards: 'Install these new standards?',
1135
1244
  installingNewStandards: 'Installing new standards...',
1136
1245
  newStandardsInstalled: 'Installed {count} new standard(s)',
@@ -1263,7 +1372,11 @@ export const messages = {
1263
1372
  uninstallPartial: '⚠ Uninstall completed with errors.',
1264
1373
  removed: 'Removed',
1265
1374
  skippedLabel: 'Skipped',
1266
- errorsLabel: 'Errors'
1375
+ errorsLabel: 'Errors',
1376
+ cannotPrompt: 'Cannot ask for confirmation: nothing is attached to answer the prompt (non-interactive shell, CI, or a pipe).',
1377
+ cannotPromptHint: 'Nothing has been changed. Re-run with --yes to confirm up front, or with --dry-run to preview the changes.',
1378
+ promptClosed: 'The prompt was closed before an answer was given. Nothing has been changed.',
1379
+ promptClosedMidRun: 'A prompt was closed part-way through. Steps already completed stay done; run `uds uninstall` again to finish.'
1267
1380
  }
1268
1381
  }
1269
1382
  },
@@ -1282,6 +1395,29 @@ export const messages = {
1282
1395
  disableHint: '設定 UDS_NO_UPDATE_CHECK=1 可關閉'
1283
1396
  },
1284
1397
 
1398
+ // XSPEC-458:UDS 有出貨、這個專案沒有的標準
1399
+ availableStandards: {
1400
+ title: '上游有、專案沒裝({count} 個)',
1401
+ none: '上游有、專案沒裝:沒有。UDS 預設安裝的標準,這個專案都已經有了。',
1402
+ categoryLine: '{category}({count})',
1403
+ installHint: '要裝其中一個:uds update --apply --add-standard <id>(可重複旗標裝多個;先加 --plan 預覽)',
1404
+ othersLine: '上面沒列出的另有 {count} 個標準,屬於 `uds init` 從不安裝的類別({breakdown});它們仍可用 --add-standard 指名安裝。',
1405
+ applySummary: '上游有 {count} 個標準沒裝在這個專案(沒有為它們改動任何檔案)。',
1406
+ applyHint: '查看:uds update --plan 安裝其中一個:uds update --apply --add-standard <id>',
1407
+ checkLine: '上游有 {count} 個標準未安裝 — 執行 `uds update --plan` 查看',
1408
+ checkNone: '上游有、專案沒裝的標準:沒有',
1409
+ addUnknown: '未知的標準 id「{id}」:不在登記表裡。最相近的 id:',
1410
+ addAlreadyInstalled: '「{id}」已安裝,不需要再加。',
1411
+ addOtherMeans: '「{id}」屬於 {category} 類,不是 .standards/ 裡的標準檔,--add-standard 不安裝它(它由語言、整合、範本的選項安裝)。',
1412
+ addNoSource: '「{id}」在這個專案的格式({format})下沒有來源檔,無法安裝。',
1413
+ addNothingDone: '沒有改動任何東西。執行 `uds update --plan` 看計畫的其餘部分。',
1414
+ addNeedsMode: '--add-standard 要搭配 --plan 或 --apply。例:uds update --apply --add-standard <id>',
1415
+ addCannotCombine: '--add-standard 不能與 {flag} 同時使用。',
1416
+ reportHeldBack: '沒有要送出的內容:上面「可用標準未安裝」那一項是給你自己處理的,不是給 UDS 維護者的回饋。',
1417
+ frictionStandard: '{count} 個可用標準未安裝',
1418
+ frictionSuggestion: '執行 `uds update --plan` 查看;用 `uds update --apply --add-standard <id>` 安裝其中一個'
1419
+ },
1420
+
1285
1421
  // Sweep Command
1286
1422
  sweep: {
1287
1423
  title: '自動清理:程式碼整理',
@@ -1325,6 +1461,7 @@ export const messages = {
1325
1461
  error: '生成規格失敗',
1326
1462
  listTitle: '微規格列表',
1327
1463
  noSpecs: '沒有找到微規格。',
1464
+ statusUnparsed: '格式:SDD(狀態未解析)',
1328
1465
  createHint: '使用以下命令建立:uds spec create "您的意圖"',
1329
1466
  total: '總計',
1330
1467
  noId: '錯誤:請提供規格 ID。',
@@ -1624,7 +1761,7 @@ export const messages = {
1624
1761
  installCount: '將安裝 Skills 到 {count} 個位置',
1625
1762
  gitSharingHint: '提示:將 .claude/skills/ 加入版控,即可與團隊共享',
1626
1763
  choices: {
1627
- marketplace: '自動更新、輕鬆管理版本',
1764
+ marketplace: '技能改由外掛提供,這個專案不會寫入任何技能檔',
1628
1765
  userLevel: '使用者層級',
1629
1766
  projectLevel: '專案層級',
1630
1767
  user: '跨專案共享',
@@ -1632,7 +1769,7 @@ export const messages = {
1632
1769
  none: '不安裝 Skills'
1633
1770
  },
1634
1771
  explanations: {
1635
- marketplace: ' → 新版本發布時自動更新\n → 透過 Claude Code 外掛系統輕鬆安裝/移除\n → 執行: /plugin install universal-dev-standards@asia-ostrich',
1772
+ marketplace: ' → 只支援 Claude Code、只有英文技能文字、只跟正式版\n → 專案內不放檔案\n → 執行: /plugin install universal-dev-standards@asia-ostrich',
1636
1773
  user: ' → Skills 可在所有專案中使用',
1637
1774
  project: ' → 建議將 .claude/skills/ 加入 .gitignore',
1638
1775
  none: ' → 完整標準將複製到 .standards/'
@@ -1644,7 +1781,7 @@ export const messages = {
1644
1781
 
1645
1782
  // Marketplace Installation Guide
1646
1783
  marketplaceInstall: {
1647
- claudeCodeTip: 'Claude Code 可透過 Marketplace 安裝:',
1784
+ claudeCodeTip: '下方已預先勾選:把技能裝進這個專案(主要路徑)。Claude Code 另有外掛,是有限制的替代方式(只支援 Claude Code、只有英文技能文字、只跟正式版、專案內不放檔案)。要用外掛,請取消下方所有勾選,再執行:',
1648
1785
  guide: '請在 Claude Code 中執行以下指令:',
1649
1786
  note: '安裝完成後,Skills 將自動載入並保持更新。',
1650
1787
  alreadyInstalled: 'Marketplace 外掛已安裝。',
@@ -1932,6 +2069,11 @@ export const messages = {
1932
2069
  commands: {
1933
2070
  // Common messages used across commands
1934
2071
  common: {
2072
+ localePackMissingTitle: '這份 UDS 裡沒有 {locale} 的技能文字,所以技能裝的是英文版。',
2073
+ localePackMissingLines: [
2074
+ '繁體與簡體中文文字都放在 UDS 的 npm 套件內(locales/ 資料夾),所以這不是網路問題:這份 UDS 不完整或已損毀。',
2075
+ '要取得 {locale} 文字,請重新安裝 UDS(npm install -g universal-dev-standards),再執行:uds update --apply --skills --locale {localeLower}'
2076
+ ],
1935
2077
  notInitialized: '✗ 此專案尚未初始化標準。',
1936
2078
  runInit: '執行 `uds init` 進行初始化。',
1937
2079
  couldNotReadManifest: '✗ 無法讀取 manifest 檔案。',
@@ -1959,7 +2101,7 @@ export const messages = {
1959
2101
  errorLevelRange: '錯誤:等級必須是 1、2 或 3',
1960
2102
  showingLevel: '顯示等級',
1961
2103
  errorUnknownCategory: '錯誤:未知類別',
1962
- validCategories: '有效類別:skill, reference, extension, integration, template',
2104
+ validCategories: '有效類別:',
1963
2105
  category: '類別',
1964
2106
  appliesTo: '適用於',
1965
2107
  totalSummary: '項標準',
@@ -1969,25 +2111,53 @@ export const messages = {
1969
2111
  seeGuide: '參閱:https://github.com/AsiaOstrich/universal-dev-standards/blob/main/adoption/ADOPTION-GUIDE.md'
1970
2112
  },
1971
2113
 
2114
+ // deps command (XSPEC-456 R6)
2115
+ deps: {
2116
+ notApplicableNoPackageJson: '不適用:沒有 package.json,未檢查任何東西',
2117
+ notApplicableNoRuntimeDeps: '不適用:這個套件沒有宣告執行期相依,未檢查任何東西'
2118
+ },
2119
+
1972
2120
  // skills command
1973
2121
  skills: {
1974
2122
  title: '通用開發標準 - 已安裝的 Skills',
1975
2123
  noSkillsInstalled: '未安裝任何通用開發標準 Skills。',
1976
- installViaMarketplace: '透過 Plugin Marketplace 安裝:',
1977
- orManually: '或手動安裝:',
1978
- recommended: '(推薦)',
1979
2124
  legacyMarketplaceWarning: '⚠ 偵測到舊版 marketplace。',
1980
2125
  legacyMarketplaceHint: '建議升級到 Plugin Marketplace 以獲得自動更新。',
1981
- manualInstallDeprecated: '⚠ 手動安裝已棄用。',
1982
- manualInstallHint: '建議遷移到 Plugin Marketplace。',
1983
2126
  totalUniqueSkills: '唯一 Skills 總數',
1984
- recommendation: '建議:遷移到 Plugin Marketplace',
1985
- benefits: '好處:自動更新、更好的整合',
1986
- migrateCommand: '遷移指令:'
2127
+ skillFilesTracked: '`uds check` 追蹤這些技能的 {files} 個技能檔案(它計的是所有工具的檔案數,不是技能數)。',
2128
+ // XSPEC-462 R1:兩種裝法並列,各自寫明限制。
2129
+ installPaths: {
2130
+ title: '安裝 UDS 技能的兩種方式',
2131
+ projectTitle: '裝進專案(主要路徑)',
2132
+ projectCommands: [
2133
+ 'uds init --skills-location project (新專案)',
2134
+ 'uds update --apply --skills (已設定過的專案)'
2135
+ ],
2136
+ projectPoints: [
2137
+ '支援多種 AI 工具:Claude Code、OpenCode、Cursor、Codex、Copilot、Windsurf 等。',
2138
+ '有繁體中文與簡體中文的技能文字(缺的會警告並退回英文)。',
2139
+ '跟著你裝的 UDS 版本走,包含測試版。',
2140
+ '由你自己更新:升級 UDS 後再跑一次同一個指令。'
2141
+ ],
2142
+ pluginTitle: 'Claude Code 外掛市集(替代方式,有限制)',
2143
+ pluginPoints: [
2144
+ '只支援 Claude Code。',
2145
+ '只有英文技能文字:外掛設定沒有語系選擇。',
2146
+ '只跟正式版:UDS 的測試版不會有測試版技能。',
2147
+ '專案內不放檔案,所以 `uds check` 無法逐檔比對。'
2148
+ ],
2149
+ bothNote: '兩種都裝,Claude Code 會把每個技能列出兩次(例如 /commit 與 /universal-dev-standards:commit)。請擇一;`uds check` 發現兩者並存時會警告。'
2150
+ }
1987
2151
  },
1988
2152
 
1989
2153
  // check command
1990
2154
  check: {
2155
+ errorExitGate: {
2156
+ missing: ' ⚠ [error-exit] 沒有錯誤訊息單一出口檢查(scripts/check-error-exit.mjs)。',
2157
+ why1: ' 這道閘門防的是「每個呼叫端各自把錯誤回應拼成給人看的字串」——',
2158
+ why2: ' 第一處是實作,第二處開始就會各寫各的,而畫面上只剩一句 Bad Request。',
2159
+ howTo: ' 要裝的話:`uds update` 會顯示內容並徵求同意後寫入。',
2160
+ },
1991
2161
  title: '通用文件標準 - 檢查',
1992
2162
  // Basic status
1993
2163
  standardsInitialized: '✓ 標準已初始化',
@@ -2041,9 +2211,12 @@ export const messages = {
2041
2211
  // Diff display
2042
2212
  couldNotReadFile: '無法讀取目前檔案。',
2043
2213
  couldNotDetermineSource2: '無法判斷原始來源路徑。',
2044
- fetchingOriginal: '從 GitHub 取得原始檔案...',
2045
- couldNotFetchOriginal: '無法取得原始內容。',
2046
- rateLimited: 'GitHub API 請求頻率超過限制,請稍候幾分鐘後再試。',
2214
+ // XSPEC-453 R1:原稿取自所裝套件內的檔,不下載。
2215
+ diffBaseline: '比對基準:已安裝的 UDS 套件內的原始檔(版本 {version}),不連網。要看 UDS 之後改了什麼,請執行 `uds update --plan`。',
2216
+ diffBaselineVersionDiffers: '注意:這些標準是從 UDS {installed} 安裝的,但目前安裝的套件是 {version}。兩版之間 UDS 自己改過的檔,即使你沒動,也會在下方列成差異;`uds update --plan` 可列出這些。',
2217
+ diffNone: '沒有被修改的檔案,因此沒有差異可顯示。',
2218
+ noOriginalInPackage: '此版本的套件沒有 {file} 的原稿(預期是 UDS {version} 內的 {source}),因此無法比對。未下載任何東西;請重新安裝或升級 universal-dev-standards。',
2219
+ couldNotReadOriginal: '無法讀取 {file} 的套件內原稿。',
2047
2220
  diffOriginal: '--- 原始',
2048
2221
  diffCurrent: '+++ 目前',
2049
2222
  diffTruncated: '...(差異已截斷,僅顯示前 20 個變更)',
@@ -2067,11 +2240,7 @@ export const messages = {
2067
2240
  skillsProject: '專案',
2068
2241
  compatible: '相容',
2069
2242
  openCodeNote: '注意:OpenCode 自動偵測 .claude/skills/',
2070
- considerMigrating: '⚠ 建議遷移到 Plugin Marketplace',
2071
- marketplaceAutoUpdates: 'Marketplace 提供自動更新和更簡易的管理。',
2072
- toMigrate: '遷移步驟:',
2073
2243
  skillsMarkedNotFound: '⚠ Skills 標記為已安裝但找不到',
2074
- recommendedInstall: '建議:透過 Plugin Marketplace 安裝',
2075
2244
  skillsNotInstalled: 'Skills 未安裝(僅使用參考文件)',
2076
2245
  // Coverage
2077
2246
  coverageSummary: '覆蓋率摘要:',
@@ -2122,6 +2291,26 @@ export const messages = {
2122
2291
  // Final status
2123
2292
  projectCompliant: '✓ 專案符合標準',
2124
2293
  issuesDetected: '⚠ 偵測到一些問題。請檢視上方詳情。',
2294
+ skillsIntegrityFix: ' 上方列出的技能檔遺失或被改過:執行 `uds update --apply --skills` 重新安裝。',
2295
+ // XSPEC-462 R2:專案層與 UDS 外掛都裝了。純資訊。
2296
+ skillsTwiceTitle: '⚠ UDS 技能裝了兩次:本專案(.claude/skills/)有 {count} 個,外掛 {plugin} 也已安裝。',
2297
+ skillsTwiceNames: 'Claude Code 執行外掛技能是 /<外掛名>:<技能名>,執行專案技能是 /<技能名>,所以每個技能會出現兩次(例如 /commit 與 /universal-dev-standards:commit)。',
2298
+ skillsTwiceContext: '每個技能的名稱與描述每回合都會放進脈絡,重複裝等於重複占用。',
2299
+ skillsTwiceChoose: '二擇一:',
2300
+ skillsTwiceKeepProject: '留專案這份:在 Claude Code 執行 /plugin uninstall {plugin}',
2301
+ skillsTwiceKeepPlugin: '留外掛:刪掉 .claude/skills/ 底下的 UDS 技能資料夾(`uds uninstall --skills-only` 會移除本專案所有工具的技能與命令)。',
2302
+ // XSPEC-465 R1:個人層技能與專案裡裝的 UDS 技能同名。純資訊。
2303
+ skillNameCollisionTitle: '⚠ 本專案裝的 UDS 技能有 {count} 個與個人技能同名,Claude Code 會執行你的個人技能,而且不會報任何錯:',
2304
+ skillNameCollisionItem: '{command}:你的 {personal} 蓋掉了 UDS 技能 {uds}',
2305
+ skillNameCollisionEffect: '個人層的優先序高於專案層,所以這個名稱下 UDS 技能永遠不會被執行。',
2306
+ skillNameCollisionChoose: '二擇一:',
2307
+ skillNameCollisionRename: '兩個都留:把你的個人技能改名(資料夾名稱,以及 SKILL.md 裡的 `name:`)。',
2308
+ skillNameCollisionDrop: '只留你的:刪掉 .claude/skills/ 底下那個 UDS 技能資料夾(`uds uninstall --skills-only` 會移除本專案所有工具的技能與命令)。',
2309
+ skillNameCollisionLimits: '這項檢查看不到組織以企業層下發的技能(優先序高於個人層),也看不到這次執行之後才新增的個人技能。沒有警告不等於沒有撞名;`uds check` 每次都會重查。',
2310
+ commandsIntegrityFix: ' 上方列出的斜線命令檔遺失或被改過:執行 `uds update --apply --commands` 重新安裝。',
2311
+ commandsStaleRecordsIgnored: ' 已忽略 {count} 筆命令紀錄:它們描述的是 UDS 不出貨的命令。',
2312
+ commandsElsewhereIgnored: ' 已忽略 {count} 筆命令紀錄:這些命令裝在使用者層級(所有專案共用),本專案的檢查不為它們背書。',
2313
+ skillsStaleRecordsIgnored: ' 已忽略 {count} 筆技能紀錄:它們描述的不是 UDS 安裝的檔案(例如你自己的技能,或舊版 UDS 誤拷入、後來已移除的資料夾)。',
2125
2314
  // Installation prompts
2126
2315
  offerSkillsInstallation: 'Skills 安裝',
2127
2316
  offerCommandsInstallation: '斜線命令安裝',
@@ -2134,7 +2323,7 @@ export const messages = {
2134
2323
  missingSkillsHint: '提示:執行 `uds update` 安裝缺少的 Skills/斜線命令',
2135
2324
  // 提交前檢查是否真的會被 git 執行(uds init 寫了檢查檔,卻沒確認 git 會跑它——這裡只回報,不寫入)
2136
2325
  hookNotWiredTitle: '⚠ [pre-commit] {file} 已安裝,但 git 實際不會執行它。',
2137
- hookNotWiredOverride: ' git core.hooksPath 已設定為「{path}」——UDS 不會覆蓋它。請確認該路徑下的檔案也會執行 `npx uds check`,或自行改用:git config --local core.hooksPath .husky',
2326
+ hookNotWiredOverride: ' git core.hooksPath 已設定為「{path}」——UDS 不會覆蓋它。請確認該路徑下的檔案也會執行 `universal-dev-standards check`(要用已安裝的 CLI——不要用短名稱 uds,它在 npm registry 上是不相干的套件),或自行改用:git config --local core.hooksPath .husky',
2138
2327
  hookNotWiredUnwired: ' git core.hooksPath 未設定,而 {file} 也不在 git 預設會讀取的路徑上。',
2139
2328
  hookNotWiredFix: ' 修復方式(僅對此 clone 生效,不會進版控,其他人 clone 後要自己再跑一次):git config --local core.hooksPath .husky',
2140
2329
  hookNotWiredFixNative: ' 修復方式:把 core.hooksPath 改回預設(git config --local --unset core.hooksPath),或改在「{path}」底下也加上 `uds check`。',
@@ -2150,6 +2339,8 @@ export const messages = {
2150
2339
  // 2026-09-27 於 CI(windows-latest)實測。
2151
2340
  hookMissingShebangTitle: '⚠ [pre-commit] {file} 沒有 shebang 行——在 Windows 上 git 無法執行它。',
2152
2341
  hookMissingShebangFix: ' 修復方式:在 {file} 的第一行加上 shebang `#!/bin/sh`(由 husky 管理的 hook,下次 `uds init` 動到它時會自動處理),或重新執行 `uds init`。',
2342
+ hookBareUdsTitle: '⚠ [pre-commit] {file} 會請 npm 執行裸名稱 uds,而它在 npm registry 上是不相干的套件(不是本專案)。',
2343
+ hookBareUdsFix: ' 修復方式:執行 `uds update`——它會把 UDS 自己寫入的那一行換成只執行已安裝 UDS CLI 的寫法。你自己寫或改過的那一行不會被動,請自行改成 `universal-dev-standards check`。',
2153
2344
  // Summary mode (--summary)
2154
2345
  summary_mode: {
2155
2346
  title: 'UDS 狀態摘要',
@@ -2176,6 +2367,8 @@ export const messages = {
2176
2367
  userCommentsPrompt: '補充說明(選填):',
2177
2368
  reportTitle: 'UDS 審計回饋',
2178
2369
  dryRunNotice: '預覽模式 — 未建立 issue',
2370
+ offlineNoSubmit: '離線模式:不提交回報。',
2371
+ offlineDryRunHint: ' 要預覽內容請加 --dry-run;要提交請拿掉 --offline 再執行。',
2179
2372
  ghNotFound: '未找到 gh CLI,使用瀏覽器連結',
2180
2373
  copiedToClipboard: '完整報告已複製至剪貼簿',
2181
2374
  urlTruncated: '報告過長無法放入 URL,已使用摘要。完整報告已複製至剪貼簿。',
@@ -2188,6 +2381,7 @@ export const messages = {
2188
2381
  title: '通用開發標準 - 初始化',
2189
2382
  alreadyInitialized: '⚠ 此專案已初始化標準。',
2190
2383
  useUpdateOrDelete: '使用 `uds update` 更新,或刪除 .standards/ 重新初始化。',
2384
+ useUpdateWithHooks: '要為這個專案補裝執行關卡(含 UDS 在你初始化之後才支援的工具),請執行 `uds update --with-hooks`。',
2191
2385
  // Detection
2192
2386
  detectingProject: '正在偵測專案特性...',
2193
2387
  analysisComplete: '專案分析完成',
@@ -2220,6 +2414,13 @@ export const messages = {
2220
2414
  integrations: '整合配置檔',
2221
2415
  skillsLabel: 'Skills',
2222
2416
  skillsMarketplace: 'Plugin Marketplace(由 Claude Code 管理)',
2417
+ skillsFromPluginTitle: '技能:由 Claude Code 外掛提供(這個專案沒有寫入任何技能檔)。',
2418
+ skillsSkippedTitle: '技能:不會把任何技能裝進這個專案。',
2419
+ skillsFromPluginLines: [
2420
+ '在 Claude Code 安裝外掛:/plugin marketplace add AsiaOstrich/universal-dev-standards,再執行 /plugin install universal-dev-standards@asia-ostrich',
2421
+ '外掛只支援 Claude Code,只載入英文技能文字,只跟正式版,專案內不放檔案。',
2422
+ '想改成把技能裝進這個專案(多種 AI 工具、有中文文字):uds config --type skills --ai-tool claude-code --skills-location project --yes'
2423
+ ],
2223
2424
  skillsInstallTo: '安裝/更新到 {location}',
2224
2425
  skillsUsingExisting: '使用現有({location})',
2225
2426
  skillsInstalledToCount: '已安裝到 {count} 個位置',
@@ -2272,6 +2473,18 @@ export const messages = {
2272
2473
 
2273
2474
  // update command
2274
2475
  update: {
2476
+ errorExitOffer: {
2477
+ title: ' 錯誤訊息單一出口閘門',
2478
+ guards: ' 防的是:每個呼叫端各自把錯誤回應拼成給人看的字串。',
2479
+ drift: ' 第一處是實作,第二處開始就會各寫各的,而畫面上只剩一句 Bad Request。',
2480
+ willWrite: ' 要寫入:scripts/check-error-exit.mjs(純 Node、零相依、{kb}KB)',
2481
+ exit2a: ' 寫入後它會 exit 2 直到你填好 CONFIG——那是刻意的,',
2482
+ exit2b: ' 一支在新 repo 裡靜靜回綠的閘門跟一支沒裝的無從分辨。',
2483
+ question: '要把這道閘門寫進 scripts/check-error-exit.mjs 嗎?',
2484
+ skipped: ' 跳過。`uds check` 之後會再提醒,但不會自己寫進去。',
2485
+ written: ' ✓ 已寫入 scripts/check-error-exit.mjs',
2486
+ next: ' 下一步:填好檔頭的 CONFIG,然後把它接進你的 CI 或 pre-commit。',
2487
+ },
2275
2488
  title: '通用文件標準 - 更新',
2276
2489
  // CLI update
2277
2490
  cliUpdateAvailable: '⚡ 有新的 CLI 版本可用!',
@@ -2292,6 +2505,11 @@ export const messages = {
2292
2505
  currentVersion: '目前版本',
2293
2506
  latestVersion: '最新版本',
2294
2507
  upToDate: '✓ 標準已是最新版本。',
2508
+ // pre-commit hook 遷移(npm registry 上的裸名稱 uds 不是本專案)
2509
+ hookMigrated: '✓ .husky/pre-commit:已把舊版 UDS 寫入的那一行(它會請 npm 解析裸名稱 uds,而那不是本專案)換成只執行已安裝 UDS CLI 的寫法。',
2510
+ hookWouldMigrate: '+ .husky/pre-commit:將把舊版 UDS 寫入的那一行(它會請 npm 解析裸名稱 uds,而那不是本專案)換成只執行已安裝 UDS CLI 的寫法。',
2511
+ hookLegacyKept: '⚠ .husky/pre-commit 第 {line} 行(「{text}」)會請 npm 解析裸名稱 uds,而它在 npm registry 上是不相干的套件。這一行不是 UDS 寫入的原樣,所以沒有動它。請自行改成 universal-dev-standards check——需要在本專案或 PATH 上已安裝 UDS CLI。',
2512
+ hookMigrateFailed: '⚠ 無法改寫 .husky/pre-commit:{error}。請 npm 解析裸名稱 uds 的那一行仍在,請自行改成 universal-dev-standards check。',
2295
2513
  newerVersion: '(你的版本比登錄庫更新:{version})',
2296
2514
  updateAvailable: '有可用更新:{current} → {latest}',
2297
2515
  // Files
@@ -2306,6 +2524,9 @@ export const messages = {
2306
2524
  syncedIntegrations: '已同步 {count} 個整合檔案',
2307
2525
  prunedOrphanedBlockHashes: '已清除 {count} 個孤兒整合雜湊:{files}',
2308
2526
  droppedRetiredHashes: '已清掉 {count} 筆 manifest 紀錄——這些檔案 UDS 已不再出貨,而且本來就已經不在了:',
2527
+ droppedForeignSkillHashes: '已清掉 {count} 筆技能紀錄——它們描述的不是 UDS 安裝的檔案。',
2528
+ droppedForeignCommandHashes: '已清掉 {count} 筆命令紀錄——UDS 不出貨這些命令。',
2529
+ droppedForeignNames: '已從 manifest 清掉 {count} 個技能/命令名稱——UDS 不出貨,或並未安裝。',
2309
2530
  // Success
2310
2531
  updateSuccess: '✓ 標準更新成功!',
2311
2532
  versionUpdated: '版本:{current} → {latest}',
@@ -2317,10 +2538,8 @@ export const messages = {
2317
2538
  skillsLatest: '最新',
2318
2539
  updateViaMarketplace: '透過 Plugin Marketplace 更新:',
2319
2540
  autoUpdate: '自動更新:重新啟動 Claude Code(啟動時更新)',
2320
- manualUpdate: '手動:執行 /plugin marketplace update anthropic-agent-skills',
2321
- manualInstallDeprecated: '⚠️ 手動安裝已棄用',
2322
- recommendedMigrate: '建議:遷移到 Plugin Marketplace',
2323
- orUpdateManually: '或手動更新:',
2541
+ manualUpdate: '手動:執行 /plugin marketplace update asia-ostrich',
2542
+ skillsUpdateCommand: '更新方式:uds update --apply --skills',
2324
2543
  // Integrations only
2325
2544
  updatingIntegrationsOnly: '僅更新整合檔案中...',
2326
2545
  noAiToolsConfigured: '⚠ manifest 中未設定任何 AI 工具。',
@@ -2383,9 +2602,10 @@ export const messages = {
2383
2602
  skillsUpdatedWithErrors: '更新 Skills 時發生 {errors} 個錯誤',
2384
2603
  updatingCommands: '更新斜線命令中...',
2385
2604
  commandsUpdated: '已為 {count} 個 AI 工具更新斜線命令',
2605
+ commandsUpdatedCounts: '已為 {tools} 個 AI 工具更新 {commands} 個斜線命令:{locations}',
2386
2606
  commandsUpdatedWithErrors: '更新斜線命令時發生 {errors} 個錯誤',
2387
2607
  // New standards detection
2388
- newStandardsFound: '有 {count} 個新標準可供您的等級使用:',
2608
+ newStandardsFound: '有 {count} 個新標準可用(上游有、這個專案沒有):',
2389
2609
  installNewStandards: '是否安裝這些新標準?',
2390
2610
  installingNewStandards: '安裝新標準中...',
2391
2611
  newStandardsInstalled: '已安裝 {count} 個新標準',
@@ -2518,7 +2738,11 @@ export const messages = {
2518
2738
  uninstallPartial: '⚠ 解除安裝完成但有錯誤。',
2519
2739
  removed: '已移除',
2520
2740
  skippedLabel: '已跳過',
2521
- errorsLabel: '錯誤'
2741
+ errorsLabel: '錯誤',
2742
+ cannotPrompt: '無法詢問確認:目前沒有可回答提示的終端機(非互動 shell、CI 或管線)。',
2743
+ cannotPromptHint: '尚未變更任何檔案。請加上 --yes 事先確認,或加上 --dry-run 預覽變更。',
2744
+ promptClosed: '提示在回答前被關閉。尚未變更任何檔案。',
2745
+ promptClosedMidRun: '執行途中提示被關閉。已完成的步驟維持完成;請再執行一次 `uds uninstall` 完成其餘部分。'
2522
2746
  }
2523
2747
  }
2524
2748
  },
@@ -2537,6 +2761,29 @@ export const messages = {
2537
2761
  disableHint: '设置 UDS_NO_UPDATE_CHECK=1 可关闭'
2538
2762
  },
2539
2763
 
2764
+ // XSPEC-458:UDS 有发布、这个项目没有的标准
2765
+ availableStandards: {
2766
+ title: '上游有、项目没装({count} 个)',
2767
+ none: '上游有、项目没装:没有。UDS 默认安装的标准,这个项目都已经有了。',
2768
+ categoryLine: '{category}({count})',
2769
+ installHint: '要装其中一个:uds update --apply --add-standard <id>(可重复该选项装多个;先加 --plan 预览)',
2770
+ othersLine: '上面没列出的另有 {count} 个标准,属于 `uds init` 从不安装的类别({breakdown});它们仍可用 --add-standard 指名安装。',
2771
+ applySummary: '上游有 {count} 个标准没装在这个项目(没有为它们改动任何文件)。',
2772
+ applyHint: '查看:uds update --plan 安装其中一个:uds update --apply --add-standard <id>',
2773
+ checkLine: '上游有 {count} 个标准未安装 — 执行 `uds update --plan` 查看',
2774
+ checkNone: '上游有、项目没装的标准:没有',
2775
+ addUnknown: '未知的标准 id“{id}”:不在登记表里。最相近的 id:',
2776
+ addAlreadyInstalled: '“{id}”已安装,不需要再加。',
2777
+ addOtherMeans: '“{id}”属于 {category} 类,不是 .standards/ 里的标准文件,--add-standard 不安装它(它由语言、集成、模板的选项安装)。',
2778
+ addNoSource: '“{id}”在这个项目的格式({format})下没有来源文件,无法安装。',
2779
+ addNothingDone: '没有改动任何东西。执行 `uds update --plan` 查看计划的其余部分。',
2780
+ addNeedsMode: '--add-standard 要搭配 --plan 或 --apply。例:uds update --apply --add-standard <id>',
2781
+ addCannotCombine: '--add-standard 不能与 {flag} 同时使用。',
2782
+ reportHeldBack: '没有要发送的内容:上面“可用标准未安装”那一项是给你自己处理的,不是给 UDS 维护者的反馈。',
2783
+ frictionStandard: '{count} 个可用标准未安装',
2784
+ frictionSuggestion: '执行 `uds update --plan` 查看;用 `uds update --apply --add-standard <id>` 安装其中一个'
2785
+ },
2786
+
2540
2787
  // Sweep Command
2541
2788
  sweep: {
2542
2789
  title: '自动清理:代码整理',
@@ -2580,6 +2827,7 @@ export const messages = {
2580
2827
  error: '生成规格失败',
2581
2828
  listTitle: '微规格列表',
2582
2829
  noSpecs: '没有找到微规格。',
2830
+ statusUnparsed: '格式:SDD(状态未解析)',
2583
2831
  createHint: '使用以下命令创建:uds spec create "您的意图"',
2584
2832
  total: '总计',
2585
2833
  noId: '错误:请提供规格 ID。',
@@ -2879,7 +3127,7 @@ export const messages = {
2879
3127
  installCount: '将安装 Skills 到 {count} 个位置',
2880
3128
  gitSharingHint: '提示:将 .claude/skills/ 加入版本控制,即可与团队共享',
2881
3129
  choices: {
2882
- marketplace: '自动更新、轻松管理版本',
3130
+ marketplace: '技能改由插件提供,这个项目不会写入任何技能文件',
2883
3131
  userLevel: '用户层级',
2884
3132
  projectLevel: '项目层级',
2885
3133
  user: '跨项目共享',
@@ -2887,7 +3135,7 @@ export const messages = {
2887
3135
  none: '不安装 Skills'
2888
3136
  },
2889
3137
  explanations: {
2890
- marketplace: ' → 新版本发布时自动更新\n → 通过 Claude Code 插件系统轻松安装/移除\n → 执行: /plugin install universal-dev-standards@asia-ostrich',
3138
+ marketplace: ' → 只支持 Claude Code、只有英文技能文本、只跟正式版\n → 项目内不放文件\n → 执行: /plugin install universal-dev-standards@asia-ostrich',
2891
3139
  user: ' → Skills 可在所有项目中使用',
2892
3140
  project: ' → 建议将 .claude/skills/ 加入 .gitignore',
2893
3141
  none: ' → 完整标准将复制到 .standards/'
@@ -2899,7 +3147,7 @@ export const messages = {
2899
3147
 
2900
3148
  // Marketplace Installation Guide
2901
3149
  marketplaceInstall: {
2902
- claudeCodeTip: 'Claude Code 可通过 Marketplace 安装:',
3150
+ claudeCodeTip: '下方已预先勾选:把技能装进这个项目(主要路径)。Claude Code 另有插件,是有限制的替代方式(只支持 Claude Code、只有英文技能文本、只跟正式版、项目内不放文件)。要用插件,请取消下方所有勾选,再执行:',
2903
3151
  guide: '请在 Claude Code 中执行以下指令:',
2904
3152
  note: '安装完成后,Skills 将自动加载并保持更新。',
2905
3153
  alreadyInstalled: 'Marketplace 插件已安装。',
@@ -3116,6 +3364,11 @@ export const messages = {
3116
3364
  commands: {
3117
3365
  // Common messages used across commands
3118
3366
  common: {
3367
+ localePackMissingTitle: '这份 UDS 里没有 {locale} 的技能文本,所以技能装的是英文版。',
3368
+ localePackMissingLines: [
3369
+ '繁体与简体中文文本都放在 UDS 的 npm 包内(locales/ 文件夹),所以这不是网络问题:这份 UDS 不完整或已损坏。',
3370
+ '要获取 {locale} 文本,请重新安装 UDS(npm install -g universal-dev-standards),再执行:uds update --apply --skills --locale {localeLower}'
3371
+ ],
3119
3372
  notInitialized: '✗ 此项目尚未初始化标准。',
3120
3373
  runInit: '执行 `uds init` 进行初始化。',
3121
3374
  couldNotReadManifest: '✗ 无法读取 manifest 文件。',
@@ -3143,7 +3396,7 @@ export const messages = {
3143
3396
  errorLevelRange: '错误:等级必须是 1、2 或 3',
3144
3397
  showingLevel: '显示等级',
3145
3398
  errorUnknownCategory: '错误:未知类别',
3146
- validCategories: '有效类别:skill, reference, extension, integration, template',
3399
+ validCategories: '有效类别:',
3147
3400
  category: '类别',
3148
3401
  appliesTo: '适用于',
3149
3402
  totalSummary: '项标准',
@@ -3158,6 +3411,7 @@ export const messages = {
3158
3411
  title: '通用开发标准 - 初始化',
3159
3412
  alreadyInitialized: '⚠ 此项目已初始化标准。',
3160
3413
  useUpdateOrDelete: '使用 `uds update` 更新,或删除 .standards/ 重新初始化。',
3414
+ useUpdateWithHooks: '要为这个项目补装执行关卡(含 UDS 在你初始化之后才支持的工具),请执行 `uds update --with-hooks`。',
3161
3415
  // Detection
3162
3416
  detectingProject: '正在检测项目特性...',
3163
3417
  analysisComplete: '项目分析完成',
@@ -3190,6 +3444,13 @@ export const messages = {
3190
3444
  integrations: '集成配置文件',
3191
3445
  skillsLabel: 'Skills',
3192
3446
  skillsMarketplace: 'Plugin Marketplace(由 Claude Code 管理)',
3447
+ skillsFromPluginTitle: '技能:由 Claude Code 插件提供(这个项目没有写入任何技能文件)。',
3448
+ skillsSkippedTitle: '技能:不会把任何技能装进这个项目。',
3449
+ skillsFromPluginLines: [
3450
+ '在 Claude Code 安装插件:/plugin marketplace add AsiaOstrich/universal-dev-standards,再执行 /plugin install universal-dev-standards@asia-ostrich',
3451
+ '插件只支持 Claude Code,只加载英文技能文本,只跟正式版,项目内不放文件。',
3452
+ '想改成把技能装进这个项目(多种 AI 工具、有中文文本):uds config --type skills --ai-tool claude-code --skills-location project --yes'
3453
+ ],
3193
3454
  skillsInstallTo: '安装/更新到 {location}',
3194
3455
  skillsUsingExisting: '使用现有({location})',
3195
3456
  skillsInstalledToCount: '已安装到 {count} 个位置',
@@ -3239,25 +3500,53 @@ export const messages = {
3239
3500
  runCheck: '执行 `uds check` 验证采用状态'
3240
3501
  },
3241
3502
 
3503
+ // deps command (XSPEC-456 R6)
3504
+ deps: {
3505
+ notApplicableNoPackageJson: '不适用:没有 package.json,未检查任何东西',
3506
+ notApplicableNoRuntimeDeps: '不适用:这个包没有声明运行时依赖,未检查任何东西'
3507
+ },
3508
+
3242
3509
  // skills command
3243
3510
  skills: {
3244
3511
  title: '通用开发标准 - 已安装的 Skills',
3245
3512
  noSkillsInstalled: '未安装任何通用开发标准 Skills。',
3246
- installViaMarketplace: '通过 Plugin Marketplace 安装:',
3247
- orManually: '或手动安装:',
3248
- recommended: '(推荐)',
3249
3513
  legacyMarketplaceWarning: '⚠ 检测到旧版 marketplace。',
3250
3514
  legacyMarketplaceHint: '建议升级到 Plugin Marketplace 获得自动更新。',
3251
- manualInstallDeprecated: '⚠ 手动安装已弃用。',
3252
- manualInstallHint: '建议迁移到 Plugin Marketplace。',
3253
3515
  totalUniqueSkills: '唯一 Skills 总数',
3254
- recommendation: '建议:迁移到 Plugin Marketplace',
3255
- benefits: '好处:自动更新、更好的集成',
3256
- migrateCommand: '迁移指令:'
3516
+ skillFilesTracked: '`uds check` 跟踪这些技能的 {files} 个技能文件(它计的是所有工具的文件数,不是技能数)。',
3517
+ // XSPEC-462 R1:两种装法并列,各自写明限制。
3518
+ installPaths: {
3519
+ title: '安装 UDS 技能的两种方式',
3520
+ projectTitle: '装进项目(主要路径)',
3521
+ projectCommands: [
3522
+ 'uds init --skills-location project (新项目)',
3523
+ 'uds update --apply --skills (已设置过的项目)'
3524
+ ],
3525
+ projectPoints: [
3526
+ '支持多种 AI 工具:Claude Code、OpenCode、Cursor、Codex、Copilot、Windsurf 等。',
3527
+ '有繁体中文与简体中文的技能文本(缺失的会警告并退回英文)。',
3528
+ '跟随你安装的 UDS 版本,包含测试版。',
3529
+ '由你自己更新:升级 UDS 后再运行一次同一个指令。'
3530
+ ],
3531
+ pluginTitle: 'Claude Code 插件市场(替代方式,有限制)',
3532
+ pluginPoints: [
3533
+ '只支持 Claude Code。',
3534
+ '只有英文技能文本:插件设置没有语言选项。',
3535
+ '只跟正式版:UDS 的测试版不会有测试版技能。',
3536
+ '项目内不放文件,所以 `uds check` 无法逐文件比对。'
3537
+ ],
3538
+ bothNote: '两种都装,Claude Code 会把每个技能列出两次(例如 /commit 与 /universal-dev-standards:commit)。请择一;`uds check` 发现两者并存时会警告。'
3539
+ }
3257
3540
  },
3258
3541
 
3259
3542
  // check command
3260
3543
  check: {
3544
+ errorExitGate: {
3545
+ missing: ' ⚠ [error-exit] 没有错误信息单一出口检查(scripts/check-error-exit.mjs)。',
3546
+ why1: ' 这道闸门防的是「每个调用端各自把错误响应拼成给人看的字符串」——',
3547
+ why2: ' 第一处是实现,第二处开始就会各写各的,而界面上只剩一句 Bad Request。',
3548
+ howTo: ' 要装的话:`uds update` 会显示内容并征求同意后写入。',
3549
+ },
3261
3550
  title: '通用文档标准 - 检查',
3262
3551
  // Basic status
3263
3552
  standardsInitialized: '✓ 标准已初始化',
@@ -3311,9 +3600,12 @@ export const messages = {
3311
3600
  // Diff display
3312
3601
  couldNotReadFile: '无法读取当前文件。',
3313
3602
  couldNotDetermineSource2: '无法确定原始源路径。',
3314
- fetchingOriginal: '从 GitHub 获取原始文件...',
3315
- couldNotFetchOriginal: '无法获取原始内容。',
3316
- rateLimited: 'GitHub API 请求频率超过限制,请稍候几分钟后再试。',
3603
+ // XSPEC-453 R1:原稿取自所装包内的文件,不下载。
3604
+ diffBaseline: '比对基准:已安装的 UDS 包内的原始文件(版本 {version}),不联网。要查看 UDS 之后改了什么,请执行 `uds update --plan`。',
3605
+ diffBaselineVersionDiffers: '注意:这些标准是从 UDS {installed} 安装的,但当前安装的包是 {version}。两个版本之间 UDS 自己改过的文件,即使你没动,也会在下方列为差异;`uds update --plan` 可列出这些。',
3606
+ diffNone: '没有被修改的文件,因此没有差异可显示。',
3607
+ noOriginalInPackage: '此版本的包没有 {file} 的原稿(预期是 UDS {version} 内的 {source}),因此无法比对。未下载任何内容;请重新安装或升级 universal-dev-standards。',
3608
+ couldNotReadOriginal: '无法读取 {file} 的包内原稿。',
3317
3609
  diffOriginal: '--- 原始',
3318
3610
  diffCurrent: '+++ 当前',
3319
3611
  diffTruncated: '...(差异已截断,显示前 20 处更改)',
@@ -3337,11 +3629,7 @@ export const messages = {
3337
3629
  skillsProject: '项目',
3338
3630
  compatible: '兼容',
3339
3631
  openCodeNote: '注意:OpenCode 自动检测 .claude/skills/',
3340
- considerMigrating: '⚠ 考虑迁移到 Plugin Marketplace',
3341
- marketplaceAutoUpdates: 'Marketplace 提供自动更新和更简便的管理。',
3342
- toMigrate: '要迁移:',
3343
3632
  skillsMarkedNotFound: '⚠ Skills 标记为已安装但未找到',
3344
- recommendedInstall: '建议:通过 Plugin Marketplace 安装',
3345
3633
  skillsNotInstalled: 'Skills 未安装(仅使用参考文档)',
3346
3634
  // Coverage
3347
3635
  coverageSummary: '覆盖率摘要:',
@@ -3392,6 +3680,26 @@ export const messages = {
3392
3680
  // Final status
3393
3681
  projectCompliant: '✓ 项目符合标准',
3394
3682
  issuesDetected: '⚠ 检测到一些问题。详情请查看上文。',
3683
+ skillsIntegrityFix: ' 上方列出的技能文件缺失或被改过:运行 `uds update --apply --skills` 重新安装。',
3684
+ // XSPEC-462 R2:项目层与 UDS 插件都装了。纯信息。
3685
+ skillsTwiceTitle: '⚠ UDS 技能装了两次:本项目(.claude/skills/)有 {count} 个,插件 {plugin} 也已安装。',
3686
+ skillsTwiceNames: 'Claude Code 执行插件技能是 /<插件名>:<技能名>,执行项目技能是 /<技能名>,所以每个技能会出现两次(例如 /commit 与 /universal-dev-standards:commit)。',
3687
+ skillsTwiceContext: '每个技能的名称与描述每回合都会放进上下文,重复装等于重复占用。',
3688
+ skillsTwiceChoose: '二选一:',
3689
+ skillsTwiceKeepProject: '留项目这份:在 Claude Code 执行 /plugin uninstall {plugin}',
3690
+ skillsTwiceKeepPlugin: '留插件:删掉 .claude/skills/ 下的 UDS 技能文件夹(`uds uninstall --skills-only` 会移除本项目所有工具的技能与命令)。',
3691
+ // XSPEC-465 R1:个人层技能与项目里装的 UDS 技能同名。纯信息。
3692
+ skillNameCollisionTitle: '⚠ 本项目装的 UDS 技能有 {count} 个与个人技能同名,Claude Code 会执行你的个人技能,而且不会报任何错:',
3693
+ skillNameCollisionItem: '{command}:你的 {personal} 盖掉了 UDS 技能 {uds}',
3694
+ skillNameCollisionEffect: '个人层的优先级高于项目层,所以这个名称下 UDS 技能永远不会被执行。',
3695
+ skillNameCollisionChoose: '二选一:',
3696
+ skillNameCollisionRename: '两个都留:把你的个人技能改名(文件夹名称,以及 SKILL.md 里的 `name:`)。',
3697
+ skillNameCollisionDrop: '只留你的:删掉 .claude/skills/ 下那个 UDS 技能文件夹(`uds uninstall --skills-only` 会移除本项目所有工具的技能与命令)。',
3698
+ skillNameCollisionLimits: '这项检查看不到组织以企业层下发的技能(优先级高于个人层),也看不到这次运行之后才新增的个人技能。没有警告不等于没有撞名;`uds check` 每次都会重查。',
3699
+ commandsIntegrityFix: ' 上方列出的斜杠命令文件缺失或被改过:运行 `uds update --apply --commands` 重新安装。',
3700
+ commandsStaleRecordsIgnored: ' 已忽略 {count} 条命令记录:它们描述的是 UDS 不发布的命令。',
3701
+ commandsElsewhereIgnored: ' 已忽略 {count} 条命令记录:这些命令装在用户级(所有项目共用),本项目的检查不为它们背书。',
3702
+ skillsStaleRecordsIgnored: ' 已忽略 {count} 条技能记录:它们描述的不是 UDS 安装的文件(例如你自己的技能,或旧版 UDS 误拷入、后来已移除的文件夹)。',
3395
3703
  // Installation prompts
3396
3704
  offerSkillsInstallation: 'Skills 安装',
3397
3705
  offerCommandsInstallation: '斜线命令安装',
@@ -3404,7 +3712,7 @@ export const messages = {
3404
3712
  missingSkillsHint: '提示:执行 `uds update` 安装缺少的 Skills/斜线命令',
3405
3713
  // 提交前检查是否真的会被 git 执行(uds init 写了检查文件,却没确认 git 会跑它——这里只回报,不写入)
3406
3714
  hookNotWiredTitle: '⚠ [pre-commit] {file} 已安装,但 git 实际不会执行它。',
3407
- hookNotWiredOverride: ' git core.hooksPath 已设定为“{path}”——UDS 不会覆盖它。请确认该路径下的文件也会执行 `npx uds check`,或自行改用:git config --local core.hooksPath .husky',
3715
+ hookNotWiredOverride: ' git core.hooksPath 已设定为“{path}”——UDS 不会覆盖它。请确认该路径下的文件也会执行 `universal-dev-standards check`(要用已安装的 CLI——不要用短名称 uds,它在 npm registry 上是不相干的包),或自行改用:git config --local core.hooksPath .husky',
3408
3716
  hookNotWiredUnwired: ' git core.hooksPath 未设定,而 {file} 也不在 git 默认会读取的路径上。',
3409
3717
  hookNotWiredFix: ' 修复方式(仅对此 clone 生效,不会进版控,其他人 clone 后要自己再跑一次):git config --local core.hooksPath .husky',
3410
3718
  hookNotWiredFixNative: ' 修复方式:把 core.hooksPath 改回默认(git config --local --unset core.hooksPath),或改在“{path}”下也加上 `uds check`。',
@@ -3416,6 +3724,8 @@ export const messages = {
3416
3724
  // 2026-09-27 于 CI(windows-latest)实测。
3417
3725
  hookMissingShebangTitle: '⚠ [pre-commit] {file} 没有 shebang 行——在 Windows 上 git 无法执行它。',
3418
3726
  hookMissingShebangFix: ' 修复方式:在 {file} 的第一行加上 shebang `#!/bin/sh`(由 husky 管理的 hook,下次 `uds init` 动到它时会自动处理),或重新运行 `uds init`。',
3727
+ hookBareUdsTitle: '⚠ [pre-commit] {file} 会请 npm 执行裸名称 uds,而它在 npm registry 上是不相干的包(不是本项目)。',
3728
+ hookBareUdsFix: ' 修复方式:运行 `uds update`——它会把 UDS 自己写入的那一行换成只执行已安装 UDS CLI 的写法。你自己写或改过的那一行不会被动,请自行改成 `universal-dev-standards check`。',
3419
3729
  // Summary mode (--summary)
3420
3730
  summary_mode: {
3421
3731
  title: 'UDS 状态摘要',
@@ -3442,6 +3752,8 @@ export const messages = {
3442
3752
  userCommentsPrompt: '补充说明(选填):',
3443
3753
  reportTitle: 'UDS 审计反馈',
3444
3754
  dryRunNotice: '预览模式 — 未创建 issue',
3755
+ offlineNoSubmit: '离线模式:不提交回报。',
3756
+ offlineDryRunHint: ' 要预览内容请加 --dry-run;要提交请去掉 --offline 再运行。',
3445
3757
  ghNotFound: '未找到 gh CLI,使用浏览器链接',
3446
3758
  copiedToClipboard: '完整报告已复制到剪贴板',
3447
3759
  urlTruncated: '报告过长无法放入 URL,已使用摘要。完整报告已复制到剪贴板。',
@@ -3451,6 +3763,18 @@ export const messages = {
3451
3763
 
3452
3764
  // update command
3453
3765
  update: {
3766
+ errorExitOffer: {
3767
+ title: ' 错误信息单一出口闸门',
3768
+ guards: ' 防的是:每个调用端各自把错误响应拼成给人看的字符串。',
3769
+ drift: ' 第一处是实现,第二处开始就会各写各的,而界面上只剩一句 Bad Request。',
3770
+ willWrite: ' 要写入:scripts/check-error-exit.mjs(纯 Node、零依赖、{kb}KB)',
3771
+ exit2a: ' 写入后它会 exit 2 直到你填好 CONFIG——那是刻意的,',
3772
+ exit2b: ' 一支在新 repo 里静静回绿的闸门跟一支没装的无从分辨。',
3773
+ question: '要把这道闸门写进 scripts/check-error-exit.mjs 吗?',
3774
+ skipped: ' 跳过。`uds check` 之后会再提醒,但不会自己写进去。',
3775
+ written: ' ✓ 已写入 scripts/check-error-exit.mjs',
3776
+ next: ' 下一步:填好文件头的 CONFIG,然后把它接进你的 CI 或 pre-commit。',
3777
+ },
3454
3778
  title: '通用文档标准 - 更新',
3455
3779
  // CLI update
3456
3780
  cliUpdateAvailable: '⚡ 新 CLI 版本可用!',
@@ -3471,6 +3795,11 @@ export const messages = {
3471
3795
  currentVersion: '当前版本',
3472
3796
  latestVersion: '最新版本',
3473
3797
  upToDate: '✓ 标准是最新的。',
3798
+ // pre-commit hook 迁移(npm registry 上的裸名称 uds 不是本项目)
3799
+ hookMigrated: '✓ .husky/pre-commit:已把旧版 UDS 写入的那一行(它会请 npm 解析裸名称 uds,而那不是本项目)换成只执行已安装 UDS CLI 的写法。',
3800
+ hookWouldMigrate: '+ .husky/pre-commit:将把旧版 UDS 写入的那一行(它会请 npm 解析裸名称 uds,而那不是本项目)换成只执行已安装 UDS CLI 的写法。',
3801
+ hookLegacyKept: '⚠ .husky/pre-commit 第 {line} 行(“{text}”)会请 npm 解析裸名称 uds,而它在 npm registry 上是不相干的包。这一行不是 UDS 写入的原样,所以没有动它。请自行改成 universal-dev-standards check——需要在本项目或 PATH 上已安装 UDS CLI。',
3802
+ hookMigrateFailed: '⚠ 无法改写 .husky/pre-commit:{error}。请 npm 解析裸名称 uds 的那一行仍在,请自行改成 universal-dev-standards check。',
3474
3803
  newerVersion: '(您有比注册表更新的版本:{version})',
3475
3804
  updateAvailable: '有可用更新:{current} → {latest}',
3476
3805
  // Files
@@ -3485,6 +3814,9 @@ export const messages = {
3485
3814
  syncedIntegrations: '已同步 {count} 个集成文件',
3486
3815
  prunedOrphanedBlockHashes: '已清除 {count} 个孤儿集成哈希:{files}',
3487
3816
  droppedRetiredHashes: '已清掉 {count} 笔 manifest 记录——这些文件 UDS 已不再发布,而且本来就已经不在了:',
3817
+ droppedForeignSkillHashes: '已清掉 {count} 条技能记录——它们描述的不是 UDS 安装的文件。',
3818
+ droppedForeignCommandHashes: '已清掉 {count} 条命令记录——UDS 不发布这些命令。',
3819
+ droppedForeignNames: '已从 manifest 清掉 {count} 个技能/命令名称——UDS 不发布,或并未安装。',
3488
3820
  // Success
3489
3821
  updateSuccess: '✓ 标准更新成功!',
3490
3822
  versionUpdated: '版本:{current} → {latest}',
@@ -3496,10 +3828,8 @@ export const messages = {
3496
3828
  skillsLatest: '最新',
3497
3829
  updateViaMarketplace: '通过 Plugin Marketplace 更新:',
3498
3830
  autoUpdate: '自动更新:重启 Claude Code(启动时更新)',
3499
- manualUpdate: '手动:运行 /plugin marketplace update anthropic-agent-skills',
3500
- manualInstallDeprecated: '⚠️ 手动安装已弃用',
3501
- recommendedMigrate: '建议:迁移到 Plugin Marketplace',
3502
- orUpdateManually: '或手动更新:',
3831
+ manualUpdate: '手动:运行 /plugin marketplace update asia-ostrich',
3832
+ skillsUpdateCommand: '更新方式:uds update --apply --skills',
3503
3833
  // Integrations only
3504
3834
  updatingIntegrationsOnly: '仅更新集成文件...',
3505
3835
  noAiToolsConfigured: '⚠ manifest 中未配置 AI 工具。',
@@ -3562,9 +3892,10 @@ export const messages = {
3562
3892
  skillsUpdatedWithErrors: '更新 Skills 时发生 {errors} 个错误',
3563
3893
  updatingCommands: '正在更新斜线命令...',
3564
3894
  commandsUpdated: '已为 {count} 个 AI 工具更新斜线命令',
3895
+ commandsUpdatedCounts: '已为 {tools} 个 AI 工具更新 {commands} 个斜线命令:{locations}',
3565
3896
  commandsUpdatedWithErrors: '更新斜线命令时发生 {errors} 个错误',
3566
3897
  // New standards detection
3567
- newStandardsFound: '有 {count} 个新标准可用于您的级别:',
3898
+ newStandardsFound: '有 {count} 个新标准可用(上游有、这个项目没有):',
3568
3899
  installNewStandards: '是否安装这些新标准?',
3569
3900
  installingNewStandards: '正在安装新标准...',
3570
3901
  newStandardsInstalled: '已安装 {count} 个新标准',
@@ -3697,7 +4028,11 @@ export const messages = {
3697
4028
  uninstallPartial: '⚠ 卸载完成但有错误。',
3698
4029
  removed: '已移除',
3699
4030
  skippedLabel: '已跳过',
3700
- errorsLabel: '错误'
4031
+ errorsLabel: '错误',
4032
+ cannotPrompt: '无法询问确认:当前没有可回答提示的终端(非交互 shell、CI 或管道)。',
4033
+ cannotPromptHint: '尚未更改任何文件。请加上 --yes 提前确认,或加上 --dry-run 预览变更。',
4034
+ promptClosed: '提示在回答前被关闭。尚未更改任何文件。',
4035
+ promptClosedMidRun: '执行途中提示被关闭。已完成的步骤保持完成;请再运行一次 `uds uninstall` 完成其余部分。'
3701
4036
  }
3702
4037
  }
3703
4038
  }