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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (542) hide show
  1. package/README.md +3 -3
  2. package/bin/uds.js +165 -5
  3. package/bundled/core/acceptance-test-driven-development.md +19 -721
  4. package/bundled/core/accessibility-standards.md +862 -0
  5. package/bundled/core/ai-agreement-standards.md +95 -0
  6. package/bundled/core/ai-friendly-architecture.md +2 -0
  7. package/bundled/core/ai-instruction-standards.md +2 -0
  8. package/bundled/core/anti-hallucination.md +90 -637
  9. package/bundled/core/behavior-driven-development.md +20 -735
  10. package/bundled/core/changelog-standards.md +4 -0
  11. package/bundled/core/checkin-standards.md +21 -4
  12. package/bundled/core/code-review-checklist.md +3 -0
  13. package/bundled/core/commit-message-guide.md +14 -3
  14. package/bundled/core/deployment-standards.md +296 -0
  15. package/bundled/core/developer-memory.md +568 -0
  16. package/bundled/core/documentation-structure.md +114 -18
  17. package/bundled/core/documentation-writing-standards.md +272 -2
  18. package/bundled/core/error-code-standards.md +3 -0
  19. package/bundled/core/forward-derivation-standards.md +134 -8
  20. package/bundled/core/git-workflow.md +72 -686
  21. package/bundled/core/guides/anti-hallucination-guide.md +517 -0
  22. package/bundled/core/guides/git-workflow-guide.md +954 -0
  23. package/bundled/core/guides/performance-guide.md +508 -0
  24. package/bundled/core/guides/refactoring-guide.md +608 -0
  25. package/bundled/core/guides/security-guide.md +485 -0
  26. package/bundled/core/logging-standards.md +337 -2
  27. package/bundled/core/performance-standards.md +231 -0
  28. package/bundled/core/project-context-memory.md +180 -0
  29. package/bundled/core/project-structure.md +315 -2
  30. package/bundled/core/refactoring-standards.md +81 -761
  31. package/bundled/core/requirement-engineering.md +39 -0
  32. package/bundled/core/reverse-engineering-standards.md +6 -4
  33. package/bundled/core/security-standards.md +244 -0
  34. package/bundled/core/spec-driven-development.md +20 -319
  35. package/bundled/core/test-completeness-dimensions.md +213 -11
  36. package/bundled/core/test-driven-development.md +22 -978
  37. package/bundled/core/testing-standards.md +222 -2903
  38. package/bundled/core/versioning.md +16 -55
  39. package/bundled/core/virtual-organization-standards.md +85 -0
  40. package/bundled/locales/README.md +4 -4
  41. package/bundled/locales/zh-CN/CHANGELOG.md +18 -18
  42. package/bundled/locales/zh-CN/CLAUDE.md +3 -3
  43. package/bundled/locales/zh-CN/MAINTENANCE.md +7 -7
  44. package/bundled/locales/zh-CN/README.md +2 -2
  45. package/bundled/locales/zh-CN/STANDARDS-MAPPING.md +1 -1
  46. package/bundled/locales/zh-CN/adoption/ADOPTION-GUIDE.md +3 -3
  47. package/bundled/locales/zh-CN/adoption/DAILY-WORKFLOW-GUIDE.md +66 -7
  48. package/bundled/locales/zh-CN/adoption/STATIC-DYNAMIC-GUIDE.md +22 -22
  49. package/bundled/locales/zh-CN/adoption/checklists/enterprise.md +5 -5
  50. package/bundled/locales/zh-CN/adoption/checklists/minimal.md +4 -4
  51. package/bundled/locales/zh-CN/adoption/checklists/recommended.md +5 -5
  52. package/bundled/locales/zh-CN/ai/MAINTENANCE.md +13 -13
  53. package/bundled/locales/zh-CN/core/ai-instruction-standards.md +1 -1
  54. package/bundled/locales/zh-CN/core/anti-hallucination.md +39 -3
  55. package/bundled/locales/zh-CN/core/checkin-standards.md +18 -5
  56. package/bundled/locales/zh-CN/core/commit-message-guide.md +1 -1
  57. package/bundled/locales/zh-CN/core/developer-memory.md +576 -0
  58. package/bundled/locales/zh-CN/core/documentation-structure.md +43 -5
  59. package/bundled/locales/zh-CN/core/documentation-writing-standards.md +146 -5
  60. package/bundled/locales/zh-CN/core/git-workflow.md +179 -4
  61. package/bundled/locales/zh-CN/core/logging-standards.md +177 -4
  62. package/bundled/locales/zh-CN/core/project-structure.md +117 -5
  63. package/bundled/locales/zh-CN/core/refactoring-standards.md +3 -3
  64. package/bundled/locales/zh-CN/core/reverse-engineering-standards.md +6 -6
  65. package/bundled/locales/zh-CN/core/spec-driven-development.md +516 -14
  66. package/bundled/locales/zh-CN/core/test-completeness-dimensions.md +155 -24
  67. package/bundled/locales/zh-CN/core/test-driven-development.md +71 -20
  68. package/bundled/locales/zh-CN/core/testing-standards.md +4 -4
  69. package/bundled/locales/zh-CN/core/versioning.md +1 -1
  70. package/bundled/locales/zh-CN/docs/AI-AGENT-ROADMAP.md +90 -51
  71. package/bundled/locales/zh-CN/docs/CHEATSHEET.md +184 -0
  72. package/bundled/locales/zh-CN/docs/CLI-FLOW.md +239 -0
  73. package/bundled/locales/zh-CN/docs/FEATURE-REFERENCE.md +320 -0
  74. package/bundled/locales/zh-CN/docs/OPERATION-WORKFLOW.md +43 -43
  75. package/bundled/locales/zh-CN/docs/STANDARDS-REFERENCE.md +440 -0
  76. package/bundled/locales/zh-CN/docs/USAGE-MODES-COMPARISON.md +1 -1
  77. package/bundled/locales/zh-CN/docs/WINDOWS-GUIDE.md +1 -1
  78. package/bundled/locales/zh-CN/integrations/codex/README.md +3 -3
  79. package/bundled/locales/zh-CN/integrations/gemini-cli/README.md +3 -3
  80. package/bundled/locales/zh-CN/integrations/github-copilot/README.md +5 -5
  81. package/bundled/locales/zh-CN/integrations/github-copilot/copilot-instructions.md +9 -9
  82. package/bundled/locales/zh-CN/integrations/github-copilot/skills-mapping.md +18 -6
  83. package/bundled/locales/zh-CN/integrations/google-antigravity/README.md +2 -2
  84. package/bundled/locales/zh-CN/integrations/opencode/README.md +3 -3
  85. package/bundled/locales/zh-CN/integrations/opencode/skills-mapping.md +22 -10
  86. package/bundled/locales/zh-CN/integrations/openspec/README.md +1 -1
  87. package/bundled/locales/zh-CN/integrations/spec-kit/AGENTS.md +3 -3
  88. package/bundled/locales/zh-CN/integrations/spec-kit/README.md +1 -1
  89. package/bundled/locales/zh-CN/options/commit-message/bilingual.md +1 -1
  90. package/bundled/locales/zh-CN/options/commit-message/english.md +1 -1
  91. package/bundled/locales/zh-CN/options/commit-message/traditional-chinese.md +1 -1
  92. package/bundled/locales/zh-CN/options/git-workflow/gitflow.md +1 -1
  93. package/bundled/locales/zh-CN/options/git-workflow/github-flow.md +1 -1
  94. package/bundled/locales/zh-CN/options/git-workflow/merge-commit.md +1 -1
  95. package/bundled/locales/zh-CN/options/git-workflow/rebase-ff.md +1 -1
  96. package/bundled/locales/zh-CN/options/git-workflow/squash-merge.md +1 -1
  97. package/bundled/locales/zh-CN/options/git-workflow/trunk-based.md +1 -1
  98. package/bundled/locales/zh-CN/options/project-structure/dotnet.md +1 -1
  99. package/bundled/locales/zh-CN/options/project-structure/go.md +1 -1
  100. package/bundled/locales/zh-CN/options/project-structure/java.md +1 -1
  101. package/bundled/locales/zh-CN/options/project-structure/nodejs.md +1 -1
  102. package/bundled/locales/zh-CN/options/project-structure/python.md +1 -1
  103. package/bundled/locales/zh-CN/options/testing/e2e-testing.md +1 -1
  104. package/bundled/locales/zh-CN/options/testing/integration-testing.md +1 -1
  105. package/bundled/locales/zh-CN/options/testing/system-testing.md +1 -1
  106. package/bundled/locales/zh-CN/options/testing/unit-testing.md +1 -1
  107. package/bundled/locales/zh-CN/skills/{claude-code/CONTRIBUTING.template.md → CONTRIBUTING.template.md} +2 -2
  108. package/bundled/locales/zh-CN/skills/README.md +131 -81
  109. package/bundled/locales/zh-CN/skills/agents/README.md +281 -0
  110. package/bundled/locales/zh-CN/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/SKILL.md +10 -10
  111. package/bundled/locales/zh-CN/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/anti-hallucination.md +8 -8
  112. package/bundled/locales/zh-CN/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/certainty-labels.md +8 -8
  113. package/bundled/locales/zh-CN/skills/ai-friendly-architecture/SKILL.md +221 -0
  114. package/bundled/locales/zh-CN/skills/ai-instruction-standards/SKILL.md +214 -0
  115. package/bundled/locales/zh-CN/skills/atdd-assistant/SKILL.md +71 -0
  116. package/bundled/locales/zh-CN/skills/atdd-assistant/acceptance-criteria-guide.md +428 -0
  117. package/bundled/locales/zh-CN/skills/atdd-assistant/atdd-workflow.md +484 -0
  118. package/bundled/locales/zh-CN/skills/atdd-assistant/guide.md +368 -0
  119. package/bundled/locales/zh-CN/skills/bdd-assistant/SKILL.md +68 -0
  120. package/bundled/locales/zh-CN/skills/bdd-assistant/bdd-workflow.md +406 -0
  121. package/bundled/locales/zh-CN/skills/bdd-assistant/gherkin-guide.md +454 -0
  122. package/bundled/locales/zh-CN/skills/bdd-assistant/guide.md +324 -0
  123. package/bundled/locales/zh-CN/skills/changelog-guide/SKILL.md +64 -0
  124. package/bundled/locales/zh-CN/skills/{claude-code/changelog-guide/SKILL.md → changelog-guide/guide.md} +6 -7
  125. package/bundled/locales/zh-CN/skills/checkin-assistant/SKILL.md +56 -0
  126. package/bundled/locales/zh-CN/skills/{claude-code/checkin-assistant/SKILL.md → checkin-assistant/guide.md} +6 -7
  127. package/bundled/locales/zh-CN/skills/code-review-assistant/SKILL.md +56 -0
  128. package/bundled/locales/zh-CN/skills/{claude-code/code-review-assistant → code-review-assistant}/checkin-checklist.md +4 -4
  129. package/bundled/locales/zh-CN/skills/{claude-code/code-review-assistant/SKILL.md → code-review-assistant/guide.md} +5 -6
  130. package/bundled/locales/zh-CN/skills/{claude-code/code-review-assistant → code-review-assistant}/review-checklist.md +4 -4
  131. package/bundled/locales/zh-CN/skills/{claude-code/commands → commands}/bdd.md +2 -2
  132. package/bundled/locales/zh-CN/skills/{claude-code/commands → commands}/methodology.md +3 -3
  133. package/bundled/locales/zh-CN/skills/{claude-code/commands → commands}/refactor.md +3 -3
  134. package/bundled/locales/zh-CN/skills/commit-standards/SKILL.md +61 -0
  135. package/bundled/locales/zh-CN/skills/{claude-code/commit-standards → commit-standards}/conventional-commits.md +4 -4
  136. package/bundled/locales/zh-CN/skills/{claude-code/commit-standards/SKILL.md → commit-standards/guide.md} +5 -6
  137. package/bundled/locales/zh-CN/skills/{claude-code/commit-standards → commit-standards}/language-options.md +3 -3
  138. package/bundled/locales/zh-CN/skills/docs-generator/SKILL.md +59 -0
  139. package/bundled/locales/zh-CN/skills/docs-generator/guide.md +262 -0
  140. package/bundled/locales/zh-CN/skills/{claude-code/documentation-guide → documentation-guide}/SKILL.md +7 -8
  141. package/bundled/locales/zh-CN/skills/{claude-code/documentation-guide → documentation-guide}/documentation-structure.md +4 -4
  142. package/bundled/locales/zh-CN/skills/{claude-code/documentation-guide → documentation-guide}/readme-template.md +3 -3
  143. package/bundled/locales/zh-CN/skills/{claude-code/error-code-guide → error-code-guide}/SKILL.md +6 -6
  144. package/bundled/locales/zh-CN/skills/forward-derivation/SKILL.md +62 -0
  145. package/bundled/locales/zh-CN/skills/forward-derivation/guide.md +130 -0
  146. package/bundled/locales/zh-CN/skills/{claude-code/git-workflow-guide → git-workflow-guide}/SKILL.md +6 -6
  147. package/bundled/locales/zh-CN/skills/{claude-code/git-workflow-guide → git-workflow-guide}/branch-naming.md +3 -3
  148. package/bundled/locales/zh-CN/skills/{claude-code/git-workflow-guide → git-workflow-guide}/git-workflow.md +4 -4
  149. package/bundled/locales/zh-CN/skills/{claude-code/logging-guide → logging-guide}/SKILL.md +6 -6
  150. package/bundled/locales/zh-CN/skills/methodology-system/SKILL.md +78 -0
  151. package/bundled/locales/zh-CN/skills/{claude-code/methodology-system → methodology-system}/create-methodology.md +2 -2
  152. package/bundled/locales/zh-CN/skills/{claude-code/methodology-system/SKILL.md → methodology-system/guide.md} +2 -2
  153. package/bundled/locales/zh-CN/skills/{claude-code/methodology-system → methodology-system}/runtime.md +3 -3
  154. package/bundled/locales/zh-CN/skills/project-discovery/SKILL.md +66 -0
  155. package/bundled/locales/zh-CN/skills/project-discovery/guide.md +371 -0
  156. package/bundled/locales/zh-CN/skills/{claude-code/project-structure-guide → project-structure-guide}/SKILL.md +4 -4
  157. package/bundled/locales/zh-CN/skills/{claude-code/project-structure-guide → project-structure-guide}/language-patterns.md +1 -1
  158. package/bundled/locales/zh-CN/skills/refactoring-assistant/SKILL.md +67 -0
  159. package/bundled/locales/zh-CN/skills/{claude-code/refactoring-assistant/SKILL.md → refactoring-assistant/guide.md} +7 -8
  160. package/bundled/locales/zh-CN/skills/release-standards/SKILL.md +64 -0
  161. package/bundled/locales/zh-CN/skills/{claude-code/release-standards → release-standards}/changelog-format.md +3 -3
  162. package/bundled/locales/zh-CN/skills/{claude-code/release-standards/SKILL.md → release-standards/guide.md} +5 -6
  163. package/bundled/locales/zh-CN/skills/{claude-code/release-standards → release-standards}/release-workflow.md +7 -7
  164. package/bundled/locales/zh-CN/skills/{claude-code/release-standards → release-standards}/semantic-versioning.md +3 -3
  165. package/bundled/locales/zh-CN/skills/requirement-assistant/SKILL.md +67 -0
  166. package/bundled/locales/zh-CN/skills/{claude-code/requirement-assistant/SKILL.md → requirement-assistant/guide.md} +4 -5
  167. package/bundled/locales/zh-CN/skills/{claude-code/requirement-assistant → requirement-assistant}/requirement-checklist.md +3 -3
  168. package/bundled/locales/zh-CN/skills/{claude-code/requirement-assistant → requirement-assistant}/requirement-writing.md +3 -3
  169. package/bundled/locales/zh-CN/skills/reverse-engineer/SKILL.md +67 -0
  170. package/bundled/locales/zh-CN/skills/{claude-code/reverse-engineer → reverse-engineer}/bdd-extraction.md +2 -2
  171. package/bundled/locales/zh-CN/skills/{claude-code/reverse-engineer/SKILL.md → reverse-engineer/guide.md} +17 -18
  172. package/bundled/locales/zh-CN/skills/{claude-code/reverse-engineer → reverse-engineer}/tdd-analysis.md +2 -2
  173. package/bundled/locales/zh-CN/skills/{claude-code/reverse-engineer → reverse-engineer}/workflow.md +3 -3
  174. package/bundled/locales/zh-CN/skills/spec-driven-dev/SKILL.md +75 -0
  175. package/bundled/locales/zh-CN/skills/{claude-code/spec-driven-dev/SKILL.md → spec-driven-dev/guide.md} +10 -11
  176. package/bundled/locales/zh-CN/skills/tdd-assistant/SKILL.md +66 -0
  177. package/bundled/locales/zh-CN/skills/{claude-code/tdd-assistant/SKILL.md → tdd-assistant/guide.md} +12 -16
  178. package/bundled/locales/zh-CN/skills/{claude-code/tdd-assistant → tdd-assistant}/language-examples.md +3 -3
  179. package/bundled/locales/zh-CN/skills/{claude-code/tdd-assistant → tdd-assistant}/tdd-workflow.md +3 -3
  180. package/bundled/locales/zh-CN/skills/test-coverage-assistant/SKILL.md +65 -0
  181. package/bundled/locales/zh-CN/skills/test-coverage-assistant/guide.md +284 -0
  182. package/bundled/locales/zh-CN/skills/{claude-code/testing-guide → testing-guide}/SKILL.md +8 -8
  183. package/bundled/locales/zh-CN/skills/{claude-code/testing-guide → testing-guide}/testing-pyramid.md +4 -4
  184. package/bundled/locales/zh-CN/skills/{cline → tools/cline}/README.md +1 -1
  185. package/bundled/locales/zh-CN/skills/{copilot → tools/copilot}/README.md +1 -1
  186. package/bundled/locales/zh-CN/skills/{copilot → tools/copilot}/copilot-instructions.md +1 -1
  187. package/bundled/locales/zh-CN/skills/{cursor → tools/cursor}/README.md +1 -1
  188. package/bundled/locales/zh-CN/skills/{windsurf → tools/windsurf}/README.md +1 -1
  189. package/bundled/locales/zh-TW/CHANGELOG.md +16 -16
  190. package/bundled/locales/zh-TW/CLAUDE.md +3 -3
  191. package/bundled/locales/zh-TW/MAINTENANCE.md +7 -7
  192. package/bundled/locales/zh-TW/README.md +13 -7
  193. package/bundled/locales/zh-TW/STANDARDS-MAPPING.md +1 -1
  194. package/bundled/locales/zh-TW/adoption/ADOPTION-GUIDE.md +4 -4
  195. package/bundled/locales/zh-TW/adoption/DAILY-WORKFLOW-GUIDE.md +66 -7
  196. package/bundled/locales/zh-TW/adoption/STATIC-DYNAMIC-GUIDE.md +22 -22
  197. package/bundled/locales/zh-TW/adoption/checklists/enterprise.md +5 -5
  198. package/bundled/locales/zh-TW/adoption/checklists/minimal.md +4 -4
  199. package/bundled/locales/zh-TW/adoption/checklists/recommended.md +5 -5
  200. package/bundled/locales/zh-TW/ai/MAINTENANCE.md +13 -13
  201. package/bundled/locales/zh-TW/ai/standards/anti-hallucination.ai.yaml +3 -2
  202. package/bundled/locales/zh-TW/ai/standards/git-workflow.ai.yaml +4 -3
  203. package/bundled/locales/zh-TW/ai/standards/spec-driven-development.ai.yaml +3 -3
  204. package/bundled/locales/zh-TW/ai/standards/testing.ai.yaml +1 -0
  205. package/bundled/locales/zh-TW/core/ai-instruction-standards.md +1 -1
  206. package/bundled/locales/zh-TW/core/anti-hallucination.md +38 -701
  207. package/bundled/locales/zh-TW/core/changelog-standards.md +1 -1
  208. package/bundled/locales/zh-TW/core/checkin-standards.md +18 -5
  209. package/bundled/locales/zh-TW/core/code-review-checklist.md +1 -1
  210. package/bundled/locales/zh-TW/core/commit-message-guide.md +1 -1
  211. package/bundled/locales/zh-TW/core/developer-memory.md +576 -0
  212. package/bundled/locales/zh-TW/core/documentation-structure.md +115 -22
  213. package/bundled/locales/zh-TW/core/documentation-writing-standards.md +126 -5
  214. package/bundled/locales/zh-TW/core/forward-derivation-standards.md +2 -2
  215. package/bundled/locales/zh-TW/core/git-workflow.md +38 -812
  216. package/bundled/locales/zh-TW/core/guides/anti-hallucination-guide.md +779 -0
  217. package/bundled/locales/zh-TW/core/guides/git-workflow-guide.md +1016 -0
  218. package/bundled/locales/zh-TW/core/guides/refactoring-guide.md +864 -0
  219. package/bundled/locales/zh-TW/core/guides/testing-guide.md +2280 -0
  220. package/bundled/locales/zh-TW/core/logging-standards.md +159 -4
  221. package/bundled/locales/zh-TW/core/project-structure.md +102 -9
  222. package/bundled/locales/zh-TW/core/refactoring-standards.md +37 -823
  223. package/bundled/locales/zh-TW/core/reverse-engineering-standards.md +6 -6
  224. package/bundled/locales/zh-TW/core/spec-driven-development.md +17 -268
  225. package/bundled/locales/zh-TW/core/test-completeness-dimensions.md +128 -14
  226. package/bundled/locales/zh-TW/core/test-driven-development.md +20 -983
  227. package/bundled/locales/zh-TW/core/testing-standards.md +120 -2105
  228. package/bundled/locales/zh-TW/core/versioning.md +13 -55
  229. package/bundled/locales/zh-TW/docs/AI-AGENT-ROADMAP.md +90 -51
  230. package/bundled/locales/zh-TW/docs/CHEATSHEET.md +184 -0
  231. package/bundled/locales/zh-TW/docs/CLI-FLOW.md +239 -0
  232. package/bundled/locales/zh-TW/docs/FEATURE-REFERENCE.md +320 -0
  233. package/bundled/locales/zh-TW/docs/MIGRATION-V5.md +71 -0
  234. package/bundled/locales/zh-TW/docs/OPERATION-WORKFLOW.md +42 -42
  235. package/bundled/locales/zh-TW/docs/STANDARDS-REFERENCE.md +440 -0
  236. package/bundled/locales/zh-TW/docs/USAGE-MODES-COMPARISON.md +1 -1
  237. package/bundled/locales/zh-TW/docs/WINDOWS-GUIDE.md +1 -1
  238. package/bundled/locales/zh-TW/integrations/claude-code/README.md +44 -0
  239. package/bundled/locales/zh-TW/integrations/github-copilot/copilot-instructions.md +3 -3
  240. package/bundled/locales/zh-TW/integrations/github-copilot/skills-mapping.md +18 -6
  241. package/bundled/locales/zh-TW/integrations/opencode/skills-mapping.md +22 -10
  242. package/bundled/locales/zh-TW/methodologies/guides/sdd-guide.md +338 -0
  243. package/bundled/locales/zh-TW/methodologies/guides/tdd-guide.md +1055 -0
  244. package/bundled/locales/zh-TW/options/commit-message/bilingual.md +1 -1
  245. package/bundled/locales/zh-TW/options/commit-message/english.md +1 -1
  246. package/bundled/locales/zh-TW/options/commit-message/traditional-chinese.md +1 -1
  247. package/bundled/locales/zh-TW/options/git-workflow/gitflow.md +1 -1
  248. package/bundled/locales/zh-TW/options/git-workflow/github-flow.md +1 -1
  249. package/bundled/locales/zh-TW/options/git-workflow/merge-commit.md +1 -1
  250. package/bundled/locales/zh-TW/options/git-workflow/rebase-ff.md +1 -1
  251. package/bundled/locales/zh-TW/options/git-workflow/squash-merge.md +1 -1
  252. package/bundled/locales/zh-TW/options/git-workflow/trunk-based.md +1 -1
  253. package/bundled/locales/zh-TW/options/project-structure/dotnet.md +1 -1
  254. package/bundled/locales/zh-TW/options/project-structure/go.md +1 -1
  255. package/bundled/locales/zh-TW/options/project-structure/java.md +1 -1
  256. package/bundled/locales/zh-TW/options/project-structure/nodejs.md +1 -1
  257. package/bundled/locales/zh-TW/options/project-structure/python.md +1 -1
  258. package/bundled/locales/zh-TW/options/testing/e2e-testing.md +1 -1
  259. package/bundled/locales/zh-TW/options/testing/integration-testing.md +1 -1
  260. package/bundled/locales/zh-TW/options/testing/system-testing.md +1 -1
  261. package/bundled/locales/zh-TW/options/testing/unit-testing.md +1 -1
  262. package/bundled/locales/zh-TW/skills/{claude-code/CONTRIBUTING.template.md → CONTRIBUTING.template.md} +2 -2
  263. package/bundled/locales/zh-TW/skills/README.md +131 -79
  264. package/bundled/locales/zh-TW/skills/agents/README.md +281 -0
  265. package/bundled/locales/zh-TW/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/SKILL.md +7 -7
  266. package/bundled/locales/zh-TW/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/anti-hallucination.md +8 -8
  267. package/bundled/locales/zh-TW/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/certainty-labels.md +8 -8
  268. package/bundled/locales/zh-TW/skills/ai-friendly-architecture/SKILL.md +221 -0
  269. package/bundled/locales/zh-TW/skills/ai-instruction-standards/SKILL.md +214 -0
  270. package/bundled/locales/zh-TW/skills/atdd-assistant/SKILL.md +71 -0
  271. package/bundled/locales/zh-TW/skills/atdd-assistant/acceptance-criteria-guide.md +428 -0
  272. package/bundled/locales/zh-TW/skills/atdd-assistant/atdd-workflow.md +484 -0
  273. package/bundled/locales/zh-TW/skills/atdd-assistant/guide.md +368 -0
  274. package/bundled/locales/zh-TW/skills/bdd-assistant/SKILL.md +68 -0
  275. package/bundled/locales/zh-TW/skills/bdd-assistant/bdd-workflow.md +406 -0
  276. package/bundled/locales/zh-TW/skills/bdd-assistant/gherkin-guide.md +454 -0
  277. package/bundled/locales/zh-TW/skills/bdd-assistant/guide.md +324 -0
  278. package/bundled/locales/zh-TW/skills/changelog-guide/SKILL.md +64 -0
  279. package/bundled/locales/zh-TW/skills/{claude-code/changelog-guide/SKILL.md → changelog-guide/guide.md} +6 -7
  280. package/bundled/locales/zh-TW/skills/checkin-assistant/SKILL.md +56 -0
  281. package/bundled/locales/zh-TW/skills/{claude-code/checkin-assistant/SKILL.md → checkin-assistant/guide.md} +6 -7
  282. package/bundled/locales/zh-TW/skills/code-review-assistant/SKILL.md +56 -0
  283. package/bundled/locales/zh-TW/skills/{claude-code/code-review-assistant → code-review-assistant}/checkin-checklist.md +4 -4
  284. package/bundled/locales/zh-TW/skills/{claude-code/code-review-assistant/SKILL.md → code-review-assistant/guide.md} +2 -3
  285. package/bundled/locales/zh-TW/skills/{claude-code/code-review-assistant → code-review-assistant}/review-checklist.md +4 -4
  286. package/bundled/locales/zh-TW/skills/{claude-code/commands → commands}/bdd.md +2 -2
  287. package/bundled/locales/zh-TW/skills/{claude-code/commands → commands}/methodology.md +3 -3
  288. package/bundled/locales/zh-TW/skills/{claude-code/commands → commands}/refactor.md +3 -3
  289. package/bundled/locales/zh-TW/skills/commit-standards/SKILL.md +61 -0
  290. package/bundled/locales/zh-TW/skills/{claude-code/commit-standards → commit-standards}/conventional-commits.md +4 -4
  291. package/bundled/locales/zh-TW/skills/{claude-code/commit-standards/SKILL.md → commit-standards/guide.md} +5 -6
  292. package/bundled/locales/zh-TW/skills/{claude-code/commit-standards → commit-standards}/language-options.md +3 -3
  293. package/bundled/locales/zh-TW/skills/docs-generator/SKILL.md +59 -0
  294. package/bundled/locales/zh-TW/skills/docs-generator/guide.md +262 -0
  295. package/bundled/locales/zh-TW/skills/{claude-code/documentation-guide → documentation-guide}/SKILL.md +7 -8
  296. package/bundled/locales/zh-TW/skills/{claude-code/documentation-guide → documentation-guide}/documentation-structure.md +4 -4
  297. package/bundled/locales/zh-TW/skills/{claude-code/documentation-guide → documentation-guide}/readme-template.md +3 -3
  298. package/bundled/locales/zh-TW/skills/{claude-code/error-code-guide → error-code-guide}/SKILL.md +6 -6
  299. package/bundled/locales/zh-TW/skills/forward-derivation/SKILL.md +62 -0
  300. package/bundled/locales/zh-TW/skills/{claude-code/forward-derivation/SKILL.md → forward-derivation/guide.md} +24 -19
  301. package/bundled/locales/zh-TW/skills/{claude-code/git-workflow-guide → git-workflow-guide}/SKILL.md +3 -3
  302. package/bundled/locales/zh-TW/skills/{claude-code/git-workflow-guide → git-workflow-guide}/branch-naming.md +3 -3
  303. package/bundled/locales/zh-TW/skills/{claude-code/git-workflow-guide → git-workflow-guide}/git-workflow.md +4 -4
  304. package/bundled/locales/zh-TW/skills/{claude-code/logging-guide → logging-guide}/SKILL.md +6 -6
  305. package/bundled/locales/zh-TW/skills/methodology-system/SKILL.md +78 -0
  306. package/bundled/locales/zh-TW/skills/{claude-code/methodology-system → methodology-system}/create-methodology.md +2 -2
  307. package/bundled/locales/zh-TW/skills/{claude-code/methodology-system/SKILL.md → methodology-system/guide.md} +2 -2
  308. package/bundled/locales/zh-TW/skills/{claude-code/methodology-system → methodology-system}/runtime.md +3 -3
  309. package/bundled/locales/zh-TW/skills/project-discovery/SKILL.md +66 -0
  310. package/bundled/locales/zh-TW/skills/project-discovery/guide.md +371 -0
  311. package/bundled/locales/zh-TW/skills/project-discovery/workflow.md +574 -0
  312. package/bundled/locales/zh-TW/skills/{claude-code/project-structure-guide → project-structure-guide}/SKILL.md +4 -4
  313. package/bundled/locales/zh-TW/skills/{claude-code/project-structure-guide → project-structure-guide}/language-patterns.md +1 -1
  314. package/bundled/locales/zh-TW/skills/refactoring-assistant/SKILL.md +67 -0
  315. package/bundled/locales/zh-TW/skills/{claude-code/refactoring-assistant/SKILL.md → refactoring-assistant/guide.md} +7 -8
  316. package/bundled/locales/zh-TW/skills/release-standards/SKILL.md +64 -0
  317. package/bundled/locales/zh-TW/skills/{claude-code/release-standards → release-standards}/changelog-format.md +3 -3
  318. package/bundled/locales/zh-TW/skills/{claude-code/release-standards/SKILL.md → release-standards/guide.md} +2 -3
  319. package/bundled/locales/zh-TW/skills/{claude-code/release-standards → release-standards}/release-workflow.md +60 -28
  320. package/bundled/locales/zh-TW/skills/{claude-code/release-standards → release-standards}/semantic-versioning.md +3 -3
  321. package/bundled/locales/zh-TW/skills/requirement-assistant/SKILL.md +67 -0
  322. package/bundled/locales/zh-TW/skills/{claude-code/requirement-assistant/SKILL.md → requirement-assistant/guide.md} +2 -3
  323. package/bundled/locales/zh-TW/skills/{claude-code/requirement-assistant → requirement-assistant}/requirement-checklist.md +3 -3
  324. package/bundled/locales/zh-TW/skills/{claude-code/requirement-assistant → requirement-assistant}/requirement-writing.md +3 -3
  325. package/bundled/locales/zh-TW/skills/reverse-engineer/SKILL.md +67 -0
  326. package/bundled/locales/zh-TW/skills/{claude-code/reverse-engineer → reverse-engineer}/bdd-extraction.md +2 -2
  327. package/bundled/locales/zh-TW/skills/{claude-code/reverse-engineer/SKILL.md → reverse-engineer/guide.md} +17 -18
  328. package/bundled/locales/zh-TW/skills/{claude-code/reverse-engineer → reverse-engineer}/tdd-analysis.md +2 -2
  329. package/bundled/locales/zh-TW/skills/{claude-code/reverse-engineer → reverse-engineer}/workflow.md +3 -3
  330. package/bundled/locales/zh-TW/skills/spec-driven-dev/SKILL.md +75 -0
  331. package/bundled/locales/zh-TW/skills/{claude-code/spec-driven-dev/SKILL.md → spec-driven-dev/guide.md} +9 -10
  332. package/bundled/locales/zh-TW/skills/tdd-assistant/SKILL.md +66 -0
  333. package/bundled/locales/zh-TW/skills/{claude-code/tdd-assistant/SKILL.md → tdd-assistant/guide.md} +9 -10
  334. package/bundled/locales/zh-TW/skills/{claude-code/tdd-assistant → tdd-assistant}/language-examples.md +3 -3
  335. package/bundled/locales/zh-TW/skills/{claude-code/tdd-assistant → tdd-assistant}/tdd-workflow.md +3 -3
  336. package/bundled/locales/zh-TW/skills/test-coverage-assistant/SKILL.md +65 -0
  337. package/bundled/locales/zh-TW/skills/{claude-code/test-coverage-assistant/SKILL.md → test-coverage-assistant/guide.md} +27 -24
  338. package/bundled/locales/zh-TW/skills/{claude-code/testing-guide → testing-guide}/SKILL.md +6 -6
  339. package/bundled/locales/zh-TW/skills/{claude-code/testing-guide → testing-guide}/testing-pyramid.md +4 -4
  340. package/bundled/locales/zh-TW/skills/{cline → tools/cline}/README.md +1 -1
  341. package/bundled/locales/zh-TW/skills/{copilot → tools/copilot}/README.md +1 -1
  342. package/bundled/locales/zh-TW/skills/{copilot → tools/copilot}/copilot-instructions.md +1 -1
  343. package/bundled/locales/zh-TW/skills/{cursor → tools/cursor}/README.md +1 -1
  344. package/bundled/locales/zh-TW/skills/{windsurf → tools/windsurf}/README.md +1 -1
  345. package/bundled/skills/INTEGRATION-GUIDE.md +210 -0
  346. package/bundled/skills/README.md +95 -0
  347. package/bundled/skills/_shared/README.md +60 -0
  348. package/bundled/skills/{claude-code/agents → agents}/README.md +2 -2
  349. package/bundled/skills/{claude-code/agents → agents}/code-architect.md +1 -1
  350. package/bundled/skills/{claude-code/agents → agents}/doc-writer.md +1 -1
  351. package/bundled/skills/{claude-code/agents → agents}/reviewer.md +1 -1
  352. package/bundled/skills/{claude-code/agents → agents}/spec-analyst.md +1 -1
  353. package/bundled/skills/{claude-code/agents → agents}/test-specialist.md +1 -1
  354. package/bundled/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/SKILL.md +28 -5
  355. package/bundled/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/anti-hallucination.md +24 -5
  356. package/bundled/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/certainty-labels.md +31 -6
  357. package/bundled/skills/ai-friendly-architecture/SKILL.md +216 -0
  358. package/bundled/skills/ai-instruction-standards/SKILL.md +209 -0
  359. package/bundled/skills/atdd-assistant/SKILL.md +74 -0
  360. package/bundled/skills/{claude-code/atdd-assistant → atdd-assistant}/acceptance-criteria-guide.md +1 -1
  361. package/bundled/skills/{claude-code/atdd-assistant → atdd-assistant}/atdd-workflow.md +1 -1
  362. package/bundled/skills/{claude-code/atdd-assistant/SKILL.md → atdd-assistant/guide.md} +11 -11
  363. package/bundled/skills/bdd-assistant/SKILL.md +70 -0
  364. package/bundled/skills/{claude-code/bdd-assistant → bdd-assistant}/bdd-workflow.md +1 -1
  365. package/bundled/skills/{claude-code/bdd-assistant → bdd-assistant}/gherkin-guide.md +1 -1
  366. package/bundled/skills/{claude-code/bdd-assistant/SKILL.md → bdd-assistant/guide.md} +11 -11
  367. package/bundled/skills/changelog-guide/SKILL.md +66 -0
  368. package/bundled/skills/{claude-code/changelog-guide/SKILL.md → changelog-guide/guide.md} +8 -6
  369. package/bundled/skills/checkin-assistant/SKILL.md +52 -0
  370. package/bundled/skills/{claude-code/checkin-assistant/SKILL.md → checkin-assistant/guide.md} +6 -6
  371. package/bundled/skills/code-review-assistant/SKILL.md +53 -0
  372. package/bundled/skills/{claude-code/code-review-assistant → code-review-assistant}/checkin-checklist.md +3 -3
  373. package/bundled/skills/{claude-code/code-review-assistant/SKILL.md → code-review-assistant/guide.md} +7 -5
  374. package/bundled/skills/{claude-code/code-review-assistant → code-review-assistant}/review-checklist.md +3 -3
  375. package/bundled/skills/commands/COMMAND-FAMILY-OVERVIEW.md +290 -0
  376. package/bundled/skills/{claude-code/commands → commands}/README.md +13 -3
  377. package/bundled/skills/{claude-code/commands → commands}/atdd.md +3 -3
  378. package/bundled/skills/{claude-code/commands → commands}/bdd.md +2 -2
  379. package/bundled/skills/commands/changelog.md +58 -0
  380. package/bundled/skills/{claude-code/commands → commands}/check.md +1 -1
  381. package/bundled/skills/commands/checkin.md +53 -0
  382. package/bundled/skills/{claude-code/commands → commands}/commit.md +3 -3
  383. package/bundled/skills/{claude-code/commands → commands}/config.md +1 -1
  384. package/bundled/skills/{claude-code/commands → commands}/coverage.md +5 -4
  385. package/bundled/skills/commands/derive-all.md +53 -0
  386. package/bundled/skills/commands/derive-atdd.md +49 -0
  387. package/bundled/skills/commands/derive-bdd.md +47 -0
  388. package/bundled/skills/commands/derive-tdd.md +48 -0
  389. package/bundled/skills/commands/derive.md +72 -0
  390. package/bundled/skills/commands/discover.md +80 -0
  391. package/bundled/skills/commands/docgen.md +61 -0
  392. package/bundled/skills/commands/docs.md +59 -0
  393. package/bundled/skills/commands/guide.md +44 -0
  394. package/bundled/skills/{claude-code/commands → commands}/init.md +2 -2
  395. package/bundled/skills/{claude-code/commands → commands}/methodology.md +32 -16
  396. package/bundled/skills/{claude-code/commands → commands}/refactor.md +2 -2
  397. package/bundled/skills/commands/release.md +56 -0
  398. package/bundled/skills/{claude-code/commands → commands}/requirement.md +3 -3
  399. package/bundled/skills/commands/reverse-bdd.md +47 -0
  400. package/bundled/skills/commands/reverse-sdd.md +51 -0
  401. package/bundled/skills/commands/reverse-tdd.md +51 -0
  402. package/bundled/skills/commands/reverse.md +63 -0
  403. package/bundled/skills/{claude-code/commands → commands}/review.md +3 -3
  404. package/bundled/skills/commands/sdd.md +135 -0
  405. package/bundled/skills/{claude-code/commands → commands}/tdd.md +3 -3
  406. package/bundled/skills/{claude-code/commands → commands}/update.md +2 -2
  407. package/bundled/skills/commit-standards/SKILL.md +60 -0
  408. package/bundled/skills/{claude-code/commit-standards → commit-standards}/conventional-commits.md +3 -3
  409. package/bundled/skills/{claude-code/commit-standards/SKILL.md → commit-standards/guide.md} +17 -5
  410. package/bundled/skills/{claude-code/commit-standards → commit-standards}/language-options.md +2 -2
  411. package/bundled/skills/docs-generator/SKILL.md +69 -0
  412. package/bundled/skills/docs-generator/guide.md +258 -0
  413. package/bundled/skills/{claude-code/documentation-guide → documentation-guide}/SKILL.md +7 -7
  414. package/bundled/skills/{claude-code/documentation-guide → documentation-guide}/documentation-structure.md +3 -3
  415. package/bundled/skills/{claude-code/documentation-guide → documentation-guide}/readme-template.md +2 -2
  416. package/bundled/skills/{claude-code/error-code-guide → error-code-guide}/SKILL.md +7 -5
  417. package/bundled/skills/forward-derivation/SKILL.md +61 -0
  418. package/bundled/skills/{claude-code/forward-derivation/SKILL.md → forward-derivation/guide.md} +44 -29
  419. package/bundled/skills/{claude-code/git-workflow-guide → git-workflow-guide}/SKILL.md +7 -5
  420. package/bundled/skills/{claude-code/git-workflow-guide → git-workflow-guide}/branch-naming.md +2 -2
  421. package/bundled/skills/{claude-code/git-workflow-guide → git-workflow-guide}/git-workflow.md +3 -3
  422. package/bundled/skills/{claude-code/logging-guide → logging-guide}/SKILL.md +7 -5
  423. package/bundled/skills/methodology-system/SKILL.md +75 -0
  424. package/bundled/skills/{claude-code/methodology-system → methodology-system}/create-methodology.md +1 -1
  425. package/bundled/skills/{claude-code/methodology-system/SKILL.md → methodology-system/guide.md} +51 -16
  426. package/bundled/skills/methodology-system/integrated-flow.md +454 -0
  427. package/bundled/skills/{claude-code/methodology-system → methodology-system}/runtime.md +2 -2
  428. package/bundled/skills/project-discovery/SKILL.md +63 -0
  429. package/bundled/skills/project-discovery/guide.md +367 -0
  430. package/bundled/skills/project-discovery/workflow.md +566 -0
  431. package/bundled/skills/{claude-code/project-structure-guide → project-structure-guide}/SKILL.md +14 -4
  432. package/bundled/skills/refactoring-assistant/SKILL.md +78 -0
  433. package/bundled/skills/{claude-code/refactoring-assistant/SKILL.md → refactoring-assistant/guide.md} +7 -7
  434. package/bundled/skills/release-standards/SKILL.md +61 -0
  435. package/bundled/skills/{claude-code/release-standards → release-standards}/changelog-format.md +2 -2
  436. package/bundled/skills/{claude-code/release-standards/SKILL.md → release-standards/guide.md} +7 -5
  437. package/bundled/skills/{claude-code/release-standards → release-standards}/release-workflow.md +59 -24
  438. package/bundled/skills/{claude-code/release-standards → release-standards}/semantic-versioning.md +2 -2
  439. package/bundled/skills/requirement-assistant/SKILL.md +66 -0
  440. package/bundled/skills/{claude-code/requirement-assistant/SKILL.md → requirement-assistant/guide.md} +14 -6
  441. package/bundled/skills/{claude-code/requirement-assistant → requirement-assistant}/requirement-checklist.md +2 -2
  442. package/bundled/skills/{claude-code/requirement-assistant → requirement-assistant}/requirement-writing.md +2 -2
  443. package/bundled/skills/reverse-engineer/SKILL.md +64 -0
  444. package/bundled/skills/{claude-code/reverse-engineer → reverse-engineer}/bdd-extraction.md +1 -1
  445. package/bundled/skills/{claude-code/reverse-engineer/SKILL.md → reverse-engineer/guide.md} +21 -18
  446. package/bundled/skills/{claude-code/reverse-engineer → reverse-engineer}/tdd-analysis.md +1 -1
  447. package/bundled/skills/{claude-code/reverse-engineer → reverse-engineer}/workflow.md +2 -2
  448. package/bundled/skills/spec-driven-dev/SKILL.md +80 -0
  449. package/bundled/skills/{claude-code/spec-driven-dev/SKILL.md → spec-driven-dev/guide.md} +50 -8
  450. package/bundled/skills/tdd-assistant/SKILL.md +65 -0
  451. package/bundled/skills/{claude-code/tdd-assistant/SKILL.md → tdd-assistant/guide.md} +10 -10
  452. package/bundled/skills/{claude-code/tdd-assistant → tdd-assistant}/language-examples.md +3 -3
  453. package/bundled/skills/{claude-code/tdd-assistant → tdd-assistant}/tdd-workflow.md +2 -2
  454. package/bundled/skills/test-coverage-assistant/SKILL.md +63 -0
  455. package/bundled/skills/{claude-code/test-coverage-assistant/SKILL.md → test-coverage-assistant/guide.md} +39 -24
  456. package/bundled/skills/{claude-code/testing-guide → testing-guide}/SKILL.md +12 -7
  457. package/bundled/skills/{claude-code/testing-guide → testing-guide}/testing-pyramid.md +3 -3
  458. package/bundled/skills/testing-guide/testing-theory.md +2291 -0
  459. package/bundled/skills/tools/cline/.clinerules +79 -0
  460. package/bundled/skills/tools/cline/README.md +50 -0
  461. package/bundled/skills/tools/copilot/README.md +99 -0
  462. package/bundled/skills/tools/copilot/copilot-instructions.md +71 -0
  463. package/bundled/skills/tools/cursor/.cursorrules +101 -0
  464. package/bundled/skills/tools/cursor/README.md +50 -0
  465. package/bundled/skills/tools/windsurf/.windsurfrules +76 -0
  466. package/bundled/skills/tools/windsurf/README.md +51 -0
  467. package/bundled/skills/{claude-code/workflows → workflows}/README.md +1 -1
  468. package/bundled/skills/workflows/release.workflow.yaml +893 -0
  469. package/package.json +4 -1
  470. package/src/commands/check.js +195 -130
  471. package/src/commands/config.js +1262 -0
  472. package/src/commands/configure.js +3 -950
  473. package/src/commands/fix.js +53 -0
  474. package/src/commands/hitl.js +19 -0
  475. package/src/commands/init.js +320 -1030
  476. package/src/commands/list.js +1 -1
  477. package/src/commands/simulate.js +61 -0
  478. package/src/commands/spec.js +288 -0
  479. package/src/commands/start.js +373 -0
  480. package/src/commands/sweep.js +142 -0
  481. package/src/commands/update.js +136 -19
  482. package/src/commands/workflow.js +265 -1
  483. package/src/config/ai-agent-paths.js +89 -29
  484. package/src/core/constants.js +7 -1
  485. package/src/core/manifest.js +1 -0
  486. package/src/flows/init-flow.js +243 -0
  487. package/src/hitl/checkpoint.js +80 -0
  488. package/src/hitl/classifier.js +54 -0
  489. package/src/hitl/manager.js +88 -0
  490. package/src/i18n/messages.js +907 -99
  491. package/src/index.js +1 -0
  492. package/src/installers/integration-installer.js +237 -0
  493. package/src/installers/manifest-installer.js +131 -0
  494. package/src/installers/skills-installer.js +286 -0
  495. package/src/installers/standards-installer.js +193 -0
  496. package/src/missions/MissionManager.js +501 -0
  497. package/src/prompts/init.js +228 -130
  498. package/src/prompts/integrations.js +13 -1
  499. package/src/schemas/standard.schema.json +117 -0
  500. package/src/utils/agents-installer.js +2 -2
  501. package/src/utils/config-loader.js +47 -0
  502. package/src/utils/config-manager.js +108 -0
  503. package/src/utils/config-merger.js +47 -0
  504. package/src/utils/github.js +22 -18
  505. package/src/utils/inquirer-patch.js +98 -0
  506. package/src/utils/integration-generator.js +392 -58
  507. package/src/utils/reference-sync.js +69 -19
  508. package/src/utils/skills-installer.js +6 -3
  509. package/src/utils/standard-fixer.js +141 -0
  510. package/src/utils/standard-validator.js +329 -0
  511. package/src/utils/workflow-executor.js +886 -0
  512. package/src/utils/workflow-state.js +404 -0
  513. package/src/utils/workflows-installer.js +2 -2
  514. package/src/vibe/auto-sweep.js +349 -0
  515. package/src/vibe/micro-spec.js +428 -0
  516. package/standards-registry.json +278 -102
  517. package/bundled/locales/zh-CN/skills/claude-code/README.md +0 -174
  518. package/bundled/locales/zh-CN/skills/claude-code/test-coverage-assistant/SKILL.md +0 -282
  519. package/bundled/locales/zh-TW/skills/claude-code/README.md +0 -174
  520. package/bundled/skills/claude-code/README.md +0 -215
  521. package/bundled/skills/claude-code/commands/changelog.md +0 -57
  522. package/bundled/skills/claude-code/commands/derive-all.md +0 -214
  523. package/bundled/skills/claude-code/commands/derive-atdd.md +0 -177
  524. package/bundled/skills/claude-code/commands/derive-bdd.md +0 -158
  525. package/bundled/skills/claude-code/commands/derive-tdd.md +0 -259
  526. package/bundled/skills/claude-code/commands/docs.md +0 -75
  527. package/bundled/skills/claude-code/commands/release.md +0 -50
  528. package/bundled/skills/claude-code/commands/reverse-bdd.md +0 -264
  529. package/bundled/skills/claude-code/commands/reverse-spec.md +0 -185
  530. package/bundled/skills/claude-code/commands/reverse-tdd.md +0 -351
  531. package/bundled/skills/claude-code/commands/spec.md +0 -69
  532. package/bundled/skills/claude-code/methodology-system/integrated-flow.md +0 -322
  533. /package/bundled/skills/{claude-code/CONTRIBUTING.template.md → CONTRIBUTING.template.md} +0 -0
  534. /package/bundled/skills/{claude-code/ai → ai}/standards/checkin.ai.yaml +0 -0
  535. /package/bundled/skills/{claude-code/ai → ai}/standards/commit.ai.yaml +0 -0
  536. /package/bundled/skills/{claude-code/ai → ai}/standards/refactoring.ai.yaml +0 -0
  537. /package/bundled/skills/{claude-code/ai → ai}/standards/testing.ai.yaml +0 -0
  538. /package/bundled/skills/{claude-code/project-structure-guide → project-structure-guide}/language-patterns.md +0 -0
  539. /package/bundled/skills/{claude-code/workflows → workflows}/code-review.workflow.yaml +0 -0
  540. /package/bundled/skills/{claude-code/workflows → workflows}/feature-dev.workflow.yaml +0 -0
  541. /package/bundled/skills/{claude-code/workflows → workflows}/integrated-flow.workflow.yaml +0 -0
  542. /package/bundled/skills/{claude-code/workflows → workflows}/large-codebase-analysis.workflow.yaml +0 -0
@@ -0,0 +1,574 @@
1
+ ---
2
+ source: ../../../../skills/project-discovery/workflow.md
3
+ source_version: 1.0.0
4
+ translation_version: 1.0.0
5
+ last_synced: 2026-02-09
6
+ status: current
7
+ ---
8
+
9
+ # 專案現況評估工作流程指南
10
+
11
+ > **語言**: [English](../../../../skills/project-discovery/workflow.md) | 繁體中文
12
+
13
+ **版本**: 1.0.0
14
+ **最後更新**: 2026-02-09
15
+
16
+ ---
17
+
18
+ ## 概覽
19
+
20
+ 本指南提供 Phase 0 現況評估工作流程每個步驟的詳細執行說明。請搭配[專案現況評估技能](./SKILL.md)使用。
21
+
22
+ ```
23
+ ┌─────────────────────────────────────────────────────────────────┐
24
+ │ Phase 0:現況評估流程 │
25
+ │ │
26
+ │ 輸入:既有程式碼 + 預計功能區域 │
27
+ │ │
28
+ │ ┌──────────┐ ┌──────────┐ ┌──────────┐ │
29
+ │ │ 0.1 程碼 │→│ 0.2 架構 │→│ 0.3 文件 │ │
30
+ │ │ 健康度 │ │ 審查 │ │ 盤點 │ │
31
+ │ └──────────┘ └──────────┘ └──────────┘ │
32
+ │ │ │ │ │
33
+ │ ▼ ▼ ▼ │
34
+ │ ┌──────────┐ ┌──────────┐ ┌──────────┐ │
35
+ │ │ 0.4 程碼 │→│ 0.5 依賴 │→│ 0.6 影響 │ │
36
+ │ │ 審查 │ │ 安全 │ │ 範圍 │ │
37
+ │ └──────────┘ └──────────┘ └──────────┘ │
38
+ │ │ │ │ │
39
+ │ └──────────────┴──────────────┘ │
40
+ │ │ │
41
+ │ ▼ │
42
+ │ 現況評估報告 │
43
+ │ (通過 / 不通過 / 有條件通過) │
44
+ └─────────────────────────────────────────────────────────────────┘
45
+ ```
46
+
47
+ ---
48
+
49
+ ## 步驟 0.1:程式碼健康度檢查
50
+
51
+ ### 目標
52
+
53
+ 建立程式碼目前品質的量化基準。
54
+
55
+ ### 程序
56
+
57
+ #### 0.1.1 執行測試套件
58
+
59
+ ```bash
60
+ # 範例指令(依據你的專案調整)
61
+ npm test # Node.js
62
+ pytest --cov # Python
63
+ dotnet test # .NET
64
+ ./gradlew test # Java/Kotlin
65
+ ```
66
+
67
+ 記錄:
68
+ - 測試總數、通過、失敗、跳過
69
+ - 覆蓋率百分比(行覆蓋、分支覆蓋若有的話)
70
+ - 執行時間
71
+
72
+ #### 0.1.2 執行 Linter
73
+
74
+ ```bash
75
+ # 範例指令
76
+ npm run lint # ESLint
77
+ flake8 . # Python
78
+ dotnet format --verify-no-changes # .NET
79
+ ```
80
+
81
+ 記錄:
82
+ - 錯誤數
83
+ - 警告數
84
+ - 最常違反的規則
85
+
86
+ #### 0.1.3 識別程式碼異味
87
+
88
+ 尋找:
89
+ - 超過 50 行的函式
90
+ - 超過 500 行的檔案
91
+ - 巢狀深度 > 4 層
92
+ - 重複的程式碼區塊
93
+ - 神級類別 / 職責過多的模組
94
+
95
+ #### 0.1.4 檢查死碼
96
+
97
+ - 未使用的匯出
98
+ - 不可達的程式碼路徑
99
+ - 被註解掉的程式碼區塊
100
+ - 仍存在的已棄用函式
101
+
102
+ ### 輸出範本
103
+
104
+ ```markdown
105
+ ### 步驟 0.1 結果:程式碼健康度
106
+
107
+ | 指標 | 值 | 門檻 | 狀態 |
108
+ |------|-----|------|------|
109
+ | 測試通過 | X/Y | 100% | ✅/⚠️/❌ |
110
+ | 測試覆蓋率 | X% | ≥ 60% | ✅/⚠️/❌ |
111
+ | Lint 錯誤 | X | 0 | ✅/⚠️/❌ |
112
+ | Lint 警告 | X | < 20 | ✅/⚠️/❌ |
113
+ | 主要程式碼異味 | X | < 5 | ✅/⚠️/❌ |
114
+ | 死碼檔案 | X | 0 | ✅/⚠️/❌ |
115
+
116
+ **健康度分數**: [良好 / 需要關注 / 嚴重]
117
+ ```
118
+
119
+ ### 品質閘門
120
+
121
+ | 條件 | 行動 |
122
+ |------|------|
123
+ | 測試通過率 < 70% | ❌ 標記為高風險。建議先修復測試。 |
124
+ | 覆蓋率 < 30% | ⚠️ 建議在新增功能前先補測試。 |
125
+ | 嚴重的 lint 錯誤 | ⚠️ 繼續前先處理。 |
126
+
127
+ ### 引用規範
128
+
129
+ - [測試標準](../../core/testing-standards.md) — 覆蓋率目標、測試金字塔
130
+ - [反向工程標準](../../core/reverse-engineering-standards.md) — 程式碼掃描方法論
131
+
132
+ ---
133
+
134
+ ## 步驟 0.2:架構理解
135
+
136
+ ### 目標
137
+
138
+ 繪製系統結構、識別模式並評估可維護性。
139
+
140
+ ### 程序
141
+
142
+ #### 0.2.1 識別進入點
143
+
144
+ - 主應用程式檔案(如 `index.ts`、`main.py`、`Program.cs`)
145
+ - API 路由定義
146
+ - 事件處理器 / 訊息消費者
147
+ - 排程任務 / cron 任務
148
+ - CLI 進入點
149
+
150
+ #### 0.2.2 繪製模組依賴
151
+
152
+ 追蹤依賴圖:
153
+ ```
154
+ 進入點 → 路由 → 控制器 → 服務 → 儲存庫 → 資料庫
155
+ → 外部 API
156
+ → 訊息佇列
157
+ ```
158
+
159
+ 尋找:
160
+ - 循環依賴
161
+ - 過度廣泛的匯入
162
+ - 不相關模組之間的緊耦合
163
+
164
+ #### 0.2.3 識別架構模式
165
+
166
+ | 模式 | 指標 |
167
+ |------|------|
168
+ | MVC | controllers/、models/、views/ 目錄 |
169
+ | DDD | domain/、application/、infrastructure/ 目錄 |
170
+ | 微服務 | 多個服務目錄、API 閘道 |
171
+ | 單體式 | 單一大型應用程式目錄 |
172
+ | 六角形架構 | ports/、adapters/ 目錄 |
173
+ | 事件驅動 | 事件處理器、訊息佇列、發布/訂閱 |
174
+
175
+ #### 0.2.4 評估 AI 友善度
176
+
177
+ 對照 [AI 友善架構](../../core/ai-friendly-architecture.md) 檢查:
178
+ - 模組邊界清晰嗎?
179
+ - 專案結構可發現嗎?
180
+ - 命名慣例一致嗎?
181
+ - 介面有文件化嗎?
182
+
183
+ ### 輸出範本
184
+
185
+ ```markdown
186
+ ### 步驟 0.2 結果:架構
187
+
188
+ **已識別模式**: [模式名稱] [Confirmed/Inferred]
189
+ **模組數**: X 個模組橫跨 Y 個套件
190
+ **進入點**: [清單]
191
+
192
+ #### 依賴概覽
193
+ [簡化依賴圖]
194
+
195
+ #### 問題
196
+ - [Confirmed/Inferred] [描述附來源:file:line]
197
+
198
+ #### AI 友善度分數
199
+ | 維度 | 評分 | 備註 |
200
+ |------|------|------|
201
+ | 可發現性 | ✅/⚠️/❌ | ... |
202
+ | 模組邊界 | ✅/⚠️/❌ | ... |
203
+ | 命名一致性 | ✅/⚠️/❌ | ... |
204
+ | 介面清晰度 | ✅/⚠️/❌ | ... |
205
+ ```
206
+
207
+ ### 品質閘門
208
+
209
+ | 條件 | 行動 |
210
+ |------|------|
211
+ | 無清晰模組邊界 | ⚠️ 建議制定架構重構計畫。 |
212
+ | 循環依賴 | ⚠️ 記錄並規劃解決方案。 |
213
+ | 無法辨識模式 | 標記為 [Unknown] — 需要利害關係人確認。 |
214
+
215
+ ### 引用規範
216
+
217
+ - [AI 友善架構](../../core/ai-friendly-architecture.md)
218
+ - [反向工程標準](../../core/reverse-engineering-standards.md)
219
+
220
+ ---
221
+
222
+ ## 步驟 0.3:文件盤點
223
+
224
+ ### 目標
225
+
226
+ 評估現有文件、其完整性和新鮮度。
227
+
228
+ ### 程序
229
+
230
+ #### 0.3.1 檢查標準文件
231
+
232
+ | 文件 | 檢查項目 |
233
+ |------|----------|
234
+ | README.md | 存在?安裝說明?是否最新? |
235
+ | CONTRIBUTING.md | 存在?涵蓋工作流程? |
236
+ | CHANGELOG.md | 存在?格式?最後一筆? |
237
+ | LICENSE | 存在?正確? |
238
+ | API 文件 | 存在?自動生成?是否最新? |
239
+ | ADR(架構決策記錄) | 存在?有組織? |
240
+
241
+ #### 0.3.2 評估內嵌文件
242
+
243
+ - 函式/方法 JSDoc/docstring 覆蓋率
244
+ - 模組級文件
245
+ - 複雜演算法說明
246
+ - TODO/FIXME/HACK 註解數量
247
+
248
+ #### 0.3.3 評估文件新鮮度
249
+
250
+ 比較文件日期與近期程式碼變更:
251
+ - 如果文件超過 6 個月未更新但程式碼有重大變更 → 過期
252
+ - 如果文件引用已移除的功能或舊 API → 已過時
253
+
254
+ ### 輸出範本
255
+
256
+ ```markdown
257
+ ### 步驟 0.3 結果:文件
258
+
259
+ | 文件 | 存在 | 最後更新 | 狀態 |
260
+ |------|------|----------|------|
261
+ | README.md | ✅/❌ | YYYY-MM-DD | ✅ 最新 / ⚠️ 過期 / ❌ 遺失 |
262
+ | CONTRIBUTING.md | ✅/❌ | ... | ... |
263
+ | CHANGELOG.md | ✅/❌ | ... | ... |
264
+ | API 文件 | ✅/❌ | ... | ... |
265
+ | ADR | ✅/❌ | ... | ... |
266
+ | 內嵌文件 | ⚠️ 部分 | ... | ... |
267
+
268
+ **文件分數**: [良好 / 需要關注 / 嚴重]
269
+ **TODO/FIXME 數量**: X
270
+ ```
271
+
272
+ ### 品質閘門
273
+
274
+ | 條件 | 行動 |
275
+ |------|------|
276
+ | 無 README | ❌ 繼續前先建立 README。 |
277
+ | 文件嚴重過期(> 1 年) | ⚠️ 標記為文件債。 |
278
+ | 無 CHANGELOG | ⚠️ 建議新增變更日誌追蹤。 |
279
+
280
+ ### 引用規範
281
+
282
+ - [文件結構](../../core/documentation-structure.md)
283
+ - [變更日誌標準](../../core/changelog-standards.md)
284
+
285
+ ---
286
+
287
+ ## 步驟 0.4:程式碼審查快照
288
+
289
+ ### 目標
290
+
291
+ 對最關鍵的程式碼路徑進行定向品質稽核。
292
+
293
+ ### 程序
294
+
295
+ #### 0.4.1 識別關鍵路徑
296
+
297
+ 根據以下條件選擇 3-5 條路徑:
298
+ - 業務關鍵度(認證、支付、資料存取)
299
+ - 複雜度(最複雜的模組)
300
+ - 變更頻率(最常修改的檔案)
301
+ - 與計畫功能開發的相關性
302
+
303
+ #### 0.4.2 套用程式碼審查清單
304
+
305
+ 對每條關鍵路徑評估:
306
+
307
+ | 類別 | 檢查項目 |
308
+ |------|----------|
309
+ | 功能 | 運作正確嗎?邊界情況已處理? |
310
+ | 安全性 | 輸入驗證?SQL 注入?XSS?認證檢查? |
311
+ | 錯誤處理 | try/catch?優雅降級?錯誤日誌? |
312
+ | 可讀性 | 命名清晰?函式長度合理? |
313
+ | 效能 | 明顯瓶頸?N+1 查詢?記憶體洩漏? |
314
+
315
+ #### 0.4.3 套用反幻覺標籤
316
+
317
+ **重要**:只報告你實際讀過的內容。
318
+
319
+ - `[Confirmed]` — 從程式碼中直接驗證
320
+ - `[Inferred]` — 從模式進行邏輯推斷
321
+ - `[Unknown]` — 未驗證,需要調查
322
+
323
+ ### 輸出範本
324
+
325
+ ```markdown
326
+ ### 步驟 0.4 結果:程式碼審查快照
327
+
328
+ #### 關鍵路徑 1:[名稱]
329
+ [Confirmed] 已審查:[檔案清單附行號範圍]
330
+
331
+ | 面向 | 評分 | 備註 |
332
+ |------|------|------|
333
+ | 功能 | ✅/⚠️/❌ | ... |
334
+ | 安全性 | ✅/⚠️/❌ | ... |
335
+ | 錯誤處理 | ✅/⚠️/❌ | ... |
336
+ | 可讀性 | ✅/⚠️/❌ | ... |
337
+ | 效能 | ✅/⚠️/❌ | ... |
338
+
339
+ **發現**: [附確定性標籤的清單]
340
+ ```
341
+
342
+ ### 品質閘門
343
+
344
+ | 條件 | 行動 |
345
+ |------|------|
346
+ | 發現安全漏洞 | ❌ 必須在新增功能前修復。 |
347
+ | 關鍵錯誤處理缺口 | ⚠️ 繼續前先處理。 |
348
+
349
+ ### 引用規範
350
+
351
+ - [反幻覺指南](../../core/anti-hallucination.md)
352
+ - [程式碼審查清單](../../core/code-review-checklist.md)
353
+
354
+ ---
355
+
356
+ ## 步驟 0.5:依賴與安全檢查
357
+
358
+ ### 目標
359
+
360
+ 識別有漏洞、過期或不必要的依賴。
361
+
362
+ ### 程序
363
+
364
+ #### 0.5.1 執行安全稽核
365
+
366
+ ```bash
367
+ # Node.js
368
+ npm audit
369
+
370
+ # Python
371
+ pip-audit
372
+ safety check
373
+
374
+ # .NET
375
+ dotnet list package --vulnerable
376
+
377
+ # Go
378
+ govulncheck ./...
379
+ ```
380
+
381
+ #### 0.5.2 檢查過期套件
382
+
383
+ ```bash
384
+ # Node.js
385
+ npm outdated
386
+
387
+ # Python
388
+ pip list --outdated
389
+
390
+ # .NET
391
+ dotnet list package --outdated
392
+ ```
393
+
394
+ #### 0.5.3 識別未使用依賴
395
+
396
+ ```bash
397
+ # Node.js
398
+ npx depcheck
399
+
400
+ # Python
401
+ pip-extra-reqs --requirements-file=requirements.txt .
402
+ ```
403
+
404
+ #### 0.5.4 評估授權合規
405
+
406
+ 檢查依賴樹中是否有不相容的授權。
407
+
408
+ ### 輸出範本
409
+
410
+ ```markdown
411
+ ### 步驟 0.5 結果:依賴
412
+
413
+ | 類別 | 數量 | 詳情 |
414
+ |------|------|------|
415
+ | 嚴重漏洞 | X | [列出 CVE 編號] |
416
+ | 高風險漏洞 | X | ... |
417
+ | 過期(主要版本) | X | ... |
418
+ | 過期(次要/修補) | X | ... |
419
+ | 未使用依賴 | X | [列出套件名稱] |
420
+ | 授權疑慮 | X | ... |
421
+
422
+ **安全分數**: [良好 / 需要關注 / 嚴重]
423
+ ```
424
+
425
+ ### 品質閘門
426
+
427
+ | 條件 | 行動 |
428
+ |------|------|
429
+ | 嚴重 CVE | ❌ 必須在新增功能前修補。 |
430
+ | > 5 個高風險漏洞 | ⚠️ 規劃修復衝刺。 |
431
+ | 未使用依賴 | ℹ️ 清理以降低攻擊面。 |
432
+
433
+ ### 引用規範
434
+
435
+ - [安全標準](../../../../core/security-standards.md)
436
+ - [簽入標準](../../core/checkin-standards.md)
437
+
438
+ ---
439
+
440
+ ## 步驟 0.6:影響範圍分析
441
+
442
+ ### 目標
443
+
444
+ 繪製提議變更在系統中的傳播方式並評估風險。
445
+
446
+ ### 程序
447
+
448
+ #### 0.6.1 定義變更目標
449
+
450
+ 明確陳述:
451
+ - 要修改什麼功能區域?
452
+ - 會直接觸及哪些模組?
453
+ - 預期的變更類型是什麼(新增、修改、重構)?
454
+
455
+ #### 0.6.2 追蹤依賴
456
+
457
+ 對每個直接修改的模組:
458
+ 1. 列出匯入/依賴它的模組
459
+ 2. 列出它匯入/依賴的模組
460
+ 3. 統計總影響模組數(直接 + 間接)
461
+
462
+ #### 0.6.3 建構風險矩陣
463
+
464
+ | 風險 | 可能性 | 影響 | 緩解措施 |
465
+ |------|--------|------|----------|
466
+ | [描述] | 低/中/高 | 低/中/高/嚴重 | [行動] |
467
+
468
+ 可能性因素:
469
+ - 受影響區域的程式碼複雜度
470
+ - 受影響區域的測試覆蓋率
471
+ - 觸及的模組數量
472
+
473
+ 影響因素:
474
+ - 受影響功能的業務關鍵度
475
+ - 面向使用者 vs. 內部
476
+ - 資料完整性影響
477
+
478
+ #### 0.6.4 決定判定
479
+
480
+ | 爆炸半徑 | 建議 |
481
+ |----------|------|
482
+ | < 10% 模組 | ✅ 通過 — 低風險,正常進行 |
483
+ | 10-30% 模組 | ⚠️ 有條件通過 — 先新增整合測試 |
484
+ | > 30% 模組 | ❌ 不通過 — 拆分為較小的變更 |
485
+
486
+ ### 輸出範本
487
+
488
+ ```markdown
489
+ ### 步驟 0.6 結果:影響範圍
490
+
491
+ **變更目標**: [功能/模組名稱]
492
+ **爆炸半徑**: X 個模組直接,Y 個間接(佔總數的 Z%)
493
+
494
+ #### 風險矩陣
495
+
496
+ | 風險 | 可能性 | 影響 | 緩解措施 |
497
+ |------|--------|------|----------|
498
+ | ... | ... | ... | ... |
499
+
500
+ **判定**: [通過 / 有條件通過 / 不通過]
501
+ **理由**: [1-2 句]
502
+ ```
503
+
504
+ ### 引用規範
505
+
506
+ - [需求工程](../../../../core/requirement-engineering.md)
507
+
508
+ ---
509
+
510
+ ## 彙整現況評估報告
511
+
512
+ 完成全部 6 個步驟後,將發現合併為單一報告。
513
+
514
+ ### 報告結構
515
+
516
+ ```markdown
517
+ # 現況評估報告:[專案名稱]
518
+
519
+ **日期**: YYYY-MM-DD
520
+ **評估者**: [AI 助手 / 開發者姓名]
521
+ **範圍**: [功能區域或完整專案]
522
+
523
+ ## 執行摘要
524
+ [2-3 句:整體健康度、主要風險、建議]
525
+
526
+ ## 判定:[通過 / 不通過 / 有條件通過]
527
+
528
+ ## 分數摘要
529
+
530
+ | 區域 | 分數 | 嚴重問題數 |
531
+ |------|------|-----------|
532
+ | 程式碼健康度 (0.1) | ✅/⚠️/❌ | X |
533
+ | 架構 (0.2) | ✅/⚠️/❌ | X |
534
+ | 文件 (0.3) | ✅/⚠️/❌ | X |
535
+ | 程式碼品質 (0.4) | ✅/⚠️/❌ | X |
536
+ | 依賴 (0.5) | ✅/⚠️/❌ | X |
537
+ | 影響範圍 (0.6) | ✅/⚠️/❌ | X |
538
+
539
+ ## 阻塞項目
540
+ [列出繼續前必須解決的項目]
541
+
542
+ ## 建議
543
+ [按優先順序排列]
544
+
545
+ ## 後續步驟
546
+ - [ ] 處理阻塞項目
547
+ - [ ] /reverse — 若舊程式碼需要 SDD 規格
548
+ - [ ] /sdd — 為新功能撰寫規格
549
+ - [ ] 開始實作
550
+ ```
551
+
552
+ ### 判定決策矩陣
553
+
554
+ | 阻塞項目 | 高風險 | 判定 |
555
+ |----------|--------|------|
556
+ | 0 | 0-2 | ✅ 通過 |
557
+ | 0 | 3+ | ⚠️ 有條件通過 — 先處理風險 |
558
+ | 1+ | 任意 | ❌ 不通過 — 解決阻塞項目 |
559
+
560
+ ---
561
+
562
+ ## 版本歷史
563
+
564
+ | 版本 | 日期 | 變更 |
565
+ |------|------|------|
566
+ | 1.0.0 | 2026-02-09 | 初始發布 |
567
+
568
+ ---
569
+
570
+ ## 授權
571
+
572
+ 本指南採用 [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) 授權。
573
+
574
+ **來源**: [universal-dev-standards](https://github.com/AsiaOstrich/universal-dev-standards)
@@ -1,5 +1,5 @@
1
1
  ---
2
- source: ../../../../../skills/claude-code/project-structure-guide/SKILL.md
2
+ source: ../../../../skills/project-structure-guide/SKILL.md
3
3
  source_version: 1.0.0
4
4
  translation_version: 1.0.0
5
5
  last_synced: 2025-12-30
@@ -8,7 +8,7 @@ status: current
8
8
 
9
9
  # 專案結構指南
10
10
 
11
- > **Language**: [English](../../../../../skills/claude-code/project-structure-guide/SKILL.md) | 繁體中文
11
+ > **Language**: [English](../../../../skills/project-structure-guide/SKILL.md) | 繁體中文
12
12
 
13
13
  **版本**:1.0.0
14
14
  **最後更新**:2025-12-30
@@ -139,5 +139,5 @@ project/
139
139
 
140
140
  ## 相關標準
141
141
 
142
- - [核心:專案結構](../../../core/project-structure.md)
143
- - [AI:專案結構選項](../../../ai/options/project-structure/)
142
+ - [核心:專案結構](../../core/project-structure.md)
143
+ - [AI:專案結構選項](../../../../options/project-structure/)
@@ -1,5 +1,5 @@
1
1
  ---
2
- source: ../../../../../skills/claude-code/project-structure-guide/language-patterns.md
2
+ source: ../../../../skills/project-structure-guide/language-patterns.md
3
3
  source_version: 1.0.0
4
4
  translation_version: 1.0.0
5
5
  last_synced: 2025-12-30
@@ -0,0 +1,67 @@
1
+ ---
2
+ source: ../../../../skills/refactoring-assistant/SKILL.md
3
+ source_version: 2.0.0
4
+ translation_version: 2.0.0
5
+ last_synced: 2026-02-10
6
+ status: current
7
+ description: |
8
+ 引導重構決策、推薦策略,並提供逐步執行工作流程。
9
+ 使用時機:重構程式碼、評估重構 vs 重寫、處理遺留程式碼。
10
+ 關鍵字:refactor, strategy, legacy, technical debt, 重構, 策略, 遺留程式碼, 技術債。
11
+ ---
12
+
13
+ # 重構助手
14
+
15
+ > **語言**: [English](../../../../skills/refactoring-assistant/SKILL.md) | 繁體中文
16
+
17
+ 引導重構決策、推薦策略,並提供逐步執行工作流程。
18
+
19
+ ## 使用方式
20
+
21
+ | 命令 | 用途 |
22
+ |------|------|
23
+ | `/refactor` | 啟動互動式重構引導 |
24
+ | `/refactor decide` | 執行重構 vs 重寫決策樹 |
25
+ | `/refactor tactical` | 建議戰術性(日常)策略 |
26
+ | `/refactor strategic` | 引導戰略性/架構重構 |
27
+ | `/refactor legacy` | 遺留程式碼安全策略 |
28
+ | `/refactor debt` | 技術債評估 |
29
+
30
+ ## 策略快速參考
31
+
32
+ ### 戰術性策略(日常)
33
+
34
+ | 策略 | 使用時機 |
35
+ |------|---------|
36
+ | **準備式重構** | 新增被阻擋的功能之前 |
37
+ | **童子軍法則** | 任何維護工作中 |
38
+ | **紅-綠-重構** | TDD 開發循環 |
39
+
40
+ ### 戰略性策略(架構)
41
+
42
+ | 策略 | 使用時機 |
43
+ |------|---------|
44
+ | **絞殺者無花果** | 逐步替換整個系統 |
45
+ | **防腐層** | 與遺留系統整合 |
46
+ | **抽象分支** | 在主幹上重構共享程式碼 |
47
+
48
+ ### 安全防護策略(遺留程式碼)
49
+
50
+ | 策略 | 使用時機 |
51
+ |------|---------|
52
+ | **特徵化測試** | 任何遺留程式碼重構之前 |
53
+ | **草稿式重構** | 理解黑盒程式碼 |
54
+ | **尋找接縫** | 在遺留程式碼中注入測試替身 |
55
+
56
+ ## 工作流程
57
+
58
+ 1. **評估** - 識別要重構的程式碼,評估測試覆蓋率
59
+ 2. **決策** - 需要時執行決策樹(重構 vs 重寫)
60
+ 3. **選擇策略** - 根據範圍和風險選擇適當策略
61
+ 4. **執行** - 遵循逐步工作流程,包含安全檢查
62
+ 5. **驗證** - 執行測試以確認行為未被改變
63
+
64
+ ## 參考
65
+
66
+ - 詳細指南:[guide.md](./guide.md)
67
+ - 核心規範:[refactoring-standards.md](../../../../core/refactoring-standards.md)
@@ -1,10 +1,9 @@
1
1
  ---
2
- source: skills/claude-code/refactoring-assistant/SKILL.md
2
+ source: ../../../../skills/refactoring-assistant/SKILL.md
3
3
  source_version: 2.0.0
4
4
  translation_version: 2.0.0
5
5
  last_synced: 2026-01-21
6
6
  status: current
7
- name: refactoring-assistant
8
7
  description: |
9
8
  引導重構決策和大規模程式碼改進。
10
9
  使用時機:重構程式碼、遺留系統現代化、技術債、重寫決策。
@@ -13,7 +12,7 @@ description: |
13
12
 
14
13
  # 重構助手
15
14
 
16
- > **語言**: [English](../../../../../skills/claude-code/refactoring-assistant/SKILL.md) | 繁體中文
15
+ > **語言**: [English](../../../../skills/refactoring-assistant/SKILL.md) | 繁體中文
17
16
 
18
17
  **版本**: 2.0.0
19
18
  **最後更新**: 2026-01-21
@@ -278,16 +277,16 @@ selection_guide:
278
277
  ## 詳細指南
279
278
 
280
279
  完整標準請參閱:
281
- - [重構標準](../../../core/refactoring-standards.md)
280
+ - [重構標準](../../core/refactoring-standards.md)
282
281
 
283
282
  ---
284
283
 
285
284
  ## 相關標準
286
285
 
287
- - [重構標準](../../../core/refactoring-standards.md) - 核心標準
288
- - [測試驅動開發](../../../core/test-driven-development.md) - TDD 重構階段
289
- - [程式碼審查檢查清單](../../../core/code-review-checklist.md) - 重構 PR 審查
290
- - [簽入標準](../../../core/checkin-standards.md) - 提交前要求
286
+ - [重構標準](../../core/refactoring-standards.md) - 核心標準
287
+ - [測試驅動開發](../../core/test-driven-development.md) - TDD 重構階段
288
+ - [程式碼審查檢查清單](../../core/code-review-checklist.md) - 重構 PR 審查
289
+ - [簽入標準](../../core/checkin-standards.md) - 提交前要求
291
290
  - [TDD 助手](../tdd-assistant/SKILL.md) - TDD 工作流程
292
291
 
293
292
  ---