moai-adk 0.9.1__py3-none-any.whl β†’ 0.11.0__py3-none-any.whl

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.

Potentially problematic release.


This version of moai-adk might be problematic. Click here for more details.

Files changed (260) hide show
  1. moai_adk/core/project/phase_executor.py +4 -0
  2. moai_adk/core/tags/ci_validator.py +33 -3
  3. moai_adk/core/template_engine.py +6 -2
  4. moai_adk/templates/.git-hooks/pre-push +143 -0
  5. moai_adk/templates/.github/workflows/moai-gitflow.yml +6 -1
  6. moai_adk/templates/.github/workflows/release.yml +6 -2
  7. moai_adk/templates/.github/workflows/tag-validation.yml +57 -8
  8. moai_adk/templates/CLAUDE.md +477 -28
  9. moai_adk/templates/README.md +256 -0
  10. {moai_adk-0.9.1.dist-info β†’ moai_adk-0.11.0.dist-info}/METADATA +740 -90
  11. moai_adk-0.11.0.dist-info/RECORD +77 -0
  12. moai_adk/templates/.claude/agents/alfred/cc-manager.md +0 -316
  13. moai_adk/templates/.claude/agents/alfred/debug-helper.md +0 -208
  14. moai_adk/templates/.claude/agents/alfred/doc-syncer.md +0 -214
  15. moai_adk/templates/.claude/agents/alfred/git-manager.md +0 -406
  16. moai_adk/templates/.claude/agents/alfred/implementation-planner.md +0 -350
  17. moai_adk/templates/.claude/agents/alfred/project-manager.md +0 -273
  18. moai_adk/templates/.claude/agents/alfred/quality-gate.md +0 -343
  19. moai_adk/templates/.claude/agents/alfred/skill-factory.md +0 -865
  20. moai_adk/templates/.claude/agents/alfred/spec-builder.md +0 -287
  21. moai_adk/templates/.claude/agents/alfred/tag-agent.md +0 -287
  22. moai_adk/templates/.claude/agents/alfred/tdd-implementer.md +0 -326
  23. moai_adk/templates/.claude/agents/alfred/trust-checker.md +0 -375
  24. moai_adk/templates/.claude/commands/alfred/0-project.md +0 -1189
  25. moai_adk/templates/.claude/commands/alfred/1-plan.md +0 -728
  26. moai_adk/templates/.claude/commands/alfred/2-run.md +0 -545
  27. moai_adk/templates/.claude/commands/alfred/3-sync.md +0 -683
  28. moai_adk/templates/.claude/commands/alfred/9-feedback.md +0 -149
  29. moai_adk/templates/.claude/hooks/alfred/.moai/cache/version-check.json +0 -9
  30. moai_adk/templates/.claude/hooks/alfred/README.md +0 -343
  31. moai_adk/templates/.claude/hooks/alfred/TROUBLESHOOTING.md +0 -471
  32. moai_adk/templates/.claude/hooks/alfred/alfred_hooks.py +0 -209
  33. moai_adk/templates/.claude/hooks/alfred/core/version_cache.py +0 -198
  34. moai_adk/templates/.claude/hooks/alfred/notification__handle_events.py +0 -102
  35. moai_adk/templates/.claude/hooks/alfred/post_tool__log_changes.py +0 -102
  36. moai_adk/templates/.claude/hooks/alfred/pre_tool__auto_checkpoint.py +0 -108
  37. moai_adk/templates/.claude/hooks/alfred/session_end__cleanup.py +0 -102
  38. moai_adk/templates/.claude/hooks/alfred/session_start__show_project_info.py +0 -102
  39. moai_adk/templates/.claude/hooks/alfred/shared/core/__init__.py +0 -170
  40. moai_adk/templates/.claude/hooks/alfred/shared/core/checkpoint.py +0 -271
  41. moai_adk/templates/.claude/hooks/alfred/shared/core/context.py +0 -67
  42. moai_adk/templates/.claude/hooks/alfred/shared/core/project.py +0 -683
  43. moai_adk/templates/.claude/hooks/alfred/shared/core/tags.py +0 -198
  44. moai_adk/templates/.claude/hooks/alfred/shared/core/version_cache.py +0 -198
  45. moai_adk/templates/.claude/hooks/alfred/shared/handlers/__init__.py +0 -21
  46. moai_adk/templates/.claude/hooks/alfred/shared/handlers/notification.py +0 -25
  47. moai_adk/templates/.claude/hooks/alfred/shared/handlers/session.py +0 -175
  48. moai_adk/templates/.claude/hooks/alfred/shared/handlers/tool.py +0 -90
  49. moai_adk/templates/.claude/hooks/alfred/shared/handlers/user.py +0 -61
  50. moai_adk/templates/.claude/hooks/alfred/stop__handle_interrupt.py +0 -102
  51. moai_adk/templates/.claude/hooks/alfred/subagent_stop__handle_subagent_end.py +0 -102
  52. moai_adk/templates/.claude/hooks/alfred/user_prompt__jit_load_docs.py +0 -120
  53. moai_adk/templates/.claude/output-styles/alfred/agentic-coding.md +0 -640
  54. moai_adk/templates/.claude/output-styles/alfred/moai-adk-learning.md +0 -696
  55. moai_adk/templates/.claude/output-styles/alfred/study-with-alfred.md +0 -474
  56. moai_adk/templates/.claude/settings.json +0 -144
  57. moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/SKILL.md +0 -113
  58. moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/examples.md +0 -29
  59. moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/reference.md +0 -28
  60. moai_adk/templates/.claude/skills/moai-alfred-git-workflow/SKILL.md +0 -122
  61. moai_adk/templates/.claude/skills/moai-alfred-git-workflow/examples.md +0 -29
  62. moai_adk/templates/.claude/skills/moai-alfred-git-workflow/reference.md +0 -29
  63. moai_adk/templates/.claude/skills/moai-alfred-interactive-questions/SKILL.md +0 -237
  64. moai_adk/templates/.claude/skills/moai-alfred-interactive-questions/examples.md +0 -615
  65. moai_adk/templates/.claude/skills/moai-alfred-interactive-questions/reference.md +0 -653
  66. moai_adk/templates/.claude/skills/moai-alfred-language-detection/SKILL.md +0 -113
  67. moai_adk/templates/.claude/skills/moai-alfred-language-detection/examples.md +0 -29
  68. moai_adk/templates/.claude/skills/moai-alfred-language-detection/reference.md +0 -28
  69. moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/SKILL.md +0 -113
  70. moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/examples.md +0 -29
  71. moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/reference.md +0 -28
  72. moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/SKILL.md +0 -113
  73. moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/examples.md +0 -29
  74. moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/reference.md +0 -28
  75. moai_adk/templates/.claude/skills/moai-alfred-trust-validation/SKILL.md +0 -113
  76. moai_adk/templates/.claude/skills/moai-alfred-trust-validation/examples.md +0 -29
  77. moai_adk/templates/.claude/skills/moai-alfred-trust-validation/reference.md +0 -28
  78. moai_adk/templates/.claude/skills/moai-cc-agents/SKILL.md +0 -269
  79. moai_adk/templates/.claude/skills/moai-cc-agents/templates/agent-template.md +0 -32
  80. moai_adk/templates/.claude/skills/moai-cc-claude-md/SKILL.md +0 -298
  81. moai_adk/templates/.claude/skills/moai-cc-claude-md/templates/CLAUDE-template.md +0 -26
  82. moai_adk/templates/.claude/skills/moai-cc-commands/SKILL.md +0 -307
  83. moai_adk/templates/.claude/skills/moai-cc-commands/templates/command-template.md +0 -21
  84. moai_adk/templates/.claude/skills/moai-cc-hooks/SKILL.md +0 -252
  85. moai_adk/templates/.claude/skills/moai-cc-hooks/scripts/pre-bash-check.sh +0 -19
  86. moai_adk/templates/.claude/skills/moai-cc-hooks/scripts/preserve-permissions.sh +0 -19
  87. moai_adk/templates/.claude/skills/moai-cc-hooks/scripts/validate-bash-command.py +0 -24
  88. moai_adk/templates/.claude/skills/moai-cc-mcp-plugins/SKILL.md +0 -199
  89. moai_adk/templates/.claude/skills/moai-cc-mcp-plugins/templates/settings-mcp-template.json +0 -39
  90. moai_adk/templates/.claude/skills/moai-cc-memory/SKILL.md +0 -316
  91. moai_adk/templates/.claude/skills/moai-cc-memory/templates/session-summary-template.md +0 -18
  92. moai_adk/templates/.claude/skills/moai-cc-settings/SKILL.md +0 -263
  93. moai_adk/templates/.claude/skills/moai-cc-settings/templates/settings-complete-template.json +0 -30
  94. moai_adk/templates/.claude/skills/moai-cc-skills/SKILL.md +0 -291
  95. moai_adk/templates/.claude/skills/moai-cc-skills/templates/SKILL-template.md +0 -15
  96. moai_adk/templates/.claude/skills/moai-domain-backend/SKILL.md +0 -290
  97. moai_adk/templates/.claude/skills/moai-domain-backend/examples.md +0 -1633
  98. moai_adk/templates/.claude/skills/moai-domain-backend/reference.md +0 -660
  99. moai_adk/templates/.claude/skills/moai-domain-cli-tool/SKILL.md +0 -123
  100. moai_adk/templates/.claude/skills/moai-domain-cli-tool/examples.md +0 -29
  101. moai_adk/templates/.claude/skills/moai-domain-cli-tool/reference.md +0 -30
  102. moai_adk/templates/.claude/skills/moai-domain-data-science/SKILL.md +0 -123
  103. moai_adk/templates/.claude/skills/moai-domain-data-science/examples.md +0 -29
  104. moai_adk/templates/.claude/skills/moai-domain-data-science/reference.md +0 -30
  105. moai_adk/templates/.claude/skills/moai-domain-database/SKILL.md +0 -123
  106. moai_adk/templates/.claude/skills/moai-domain-database/examples.md +0 -29
  107. moai_adk/templates/.claude/skills/moai-domain-database/reference.md +0 -30
  108. moai_adk/templates/.claude/skills/moai-domain-devops/SKILL.md +0 -124
  109. moai_adk/templates/.claude/skills/moai-domain-devops/examples.md +0 -29
  110. moai_adk/templates/.claude/skills/moai-domain-devops/reference.md +0 -31
  111. moai_adk/templates/.claude/skills/moai-domain-frontend/SKILL.md +0 -124
  112. moai_adk/templates/.claude/skills/moai-domain-frontend/examples.md +0 -29
  113. moai_adk/templates/.claude/skills/moai-domain-frontend/reference.md +0 -31
  114. moai_adk/templates/.claude/skills/moai-domain-ml/SKILL.md +0 -123
  115. moai_adk/templates/.claude/skills/moai-domain-ml/examples.md +0 -29
  116. moai_adk/templates/.claude/skills/moai-domain-ml/reference.md +0 -30
  117. moai_adk/templates/.claude/skills/moai-domain-mobile-app/SKILL.md +0 -123
  118. moai_adk/templates/.claude/skills/moai-domain-mobile-app/examples.md +0 -29
  119. moai_adk/templates/.claude/skills/moai-domain-mobile-app/reference.md +0 -30
  120. moai_adk/templates/.claude/skills/moai-domain-security/SKILL.md +0 -123
  121. moai_adk/templates/.claude/skills/moai-domain-security/examples.md +0 -29
  122. moai_adk/templates/.claude/skills/moai-domain-security/reference.md +0 -30
  123. moai_adk/templates/.claude/skills/moai-domain-web-api/SKILL.md +0 -123
  124. moai_adk/templates/.claude/skills/moai-domain-web-api/examples.md +0 -29
  125. moai_adk/templates/.claude/skills/moai-domain-web-api/reference.md +0 -30
  126. moai_adk/templates/.claude/skills/moai-essentials-debug/SKILL.md +0 -303
  127. moai_adk/templates/.claude/skills/moai-essentials-debug/examples.md +0 -1064
  128. moai_adk/templates/.claude/skills/moai-essentials-debug/reference.md +0 -1047
  129. moai_adk/templates/.claude/skills/moai-essentials-perf/SKILL.md +0 -113
  130. moai_adk/templates/.claude/skills/moai-essentials-perf/examples.md +0 -29
  131. moai_adk/templates/.claude/skills/moai-essentials-perf/reference.md +0 -28
  132. moai_adk/templates/.claude/skills/moai-essentials-refactor/SKILL.md +0 -113
  133. moai_adk/templates/.claude/skills/moai-essentials-refactor/examples.md +0 -29
  134. moai_adk/templates/.claude/skills/moai-essentials-refactor/reference.md +0 -28
  135. moai_adk/templates/.claude/skills/moai-essentials-review/SKILL.md +0 -113
  136. moai_adk/templates/.claude/skills/moai-essentials-review/examples.md +0 -29
  137. moai_adk/templates/.claude/skills/moai-essentials-review/reference.md +0 -28
  138. moai_adk/templates/.claude/skills/moai-foundation-ears/SKILL.md +0 -116
  139. moai_adk/templates/.claude/skills/moai-foundation-ears/examples.md +0 -29
  140. moai_adk/templates/.claude/skills/moai-foundation-ears/reference.md +0 -28
  141. moai_adk/templates/.claude/skills/moai-foundation-git/SKILL.md +0 -122
  142. moai_adk/templates/.claude/skills/moai-foundation-git/examples.md +0 -29
  143. moai_adk/templates/.claude/skills/moai-foundation-git/reference.md +0 -29
  144. moai_adk/templates/.claude/skills/moai-foundation-langs/SKILL.md +0 -113
  145. moai_adk/templates/.claude/skills/moai-foundation-langs/examples.md +0 -29
  146. moai_adk/templates/.claude/skills/moai-foundation-langs/reference.md +0 -28
  147. moai_adk/templates/.claude/skills/moai-foundation-specs/SKILL.md +0 -113
  148. moai_adk/templates/.claude/skills/moai-foundation-specs/examples.md +0 -29
  149. moai_adk/templates/.claude/skills/moai-foundation-specs/reference.md +0 -28
  150. moai_adk/templates/.claude/skills/moai-foundation-tags/SKILL.md +0 -113
  151. moai_adk/templates/.claude/skills/moai-foundation-tags/examples.md +0 -29
  152. moai_adk/templates/.claude/skills/moai-foundation-tags/reference.md +0 -28
  153. moai_adk/templates/.claude/skills/moai-foundation-trust/SKILL.md +0 -307
  154. moai_adk/templates/.claude/skills/moai-foundation-trust/examples.md +0 -0
  155. moai_adk/templates/.claude/skills/moai-foundation-trust/reference.md +0 -1099
  156. moai_adk/templates/.claude/skills/moai-lang-c/SKILL.md +0 -124
  157. moai_adk/templates/.claude/skills/moai-lang-c/examples.md +0 -29
  158. moai_adk/templates/.claude/skills/moai-lang-c/reference.md +0 -31
  159. moai_adk/templates/.claude/skills/moai-lang-cpp/SKILL.md +0 -124
  160. moai_adk/templates/.claude/skills/moai-lang-cpp/examples.md +0 -29
  161. moai_adk/templates/.claude/skills/moai-lang-cpp/reference.md +0 -31
  162. moai_adk/templates/.claude/skills/moai-lang-csharp/SKILL.md +0 -123
  163. moai_adk/templates/.claude/skills/moai-lang-csharp/examples.md +0 -29
  164. moai_adk/templates/.claude/skills/moai-lang-csharp/reference.md +0 -30
  165. moai_adk/templates/.claude/skills/moai-lang-dart/SKILL.md +0 -123
  166. moai_adk/templates/.claude/skills/moai-lang-dart/examples.md +0 -29
  167. moai_adk/templates/.claude/skills/moai-lang-dart/reference.md +0 -30
  168. moai_adk/templates/.claude/skills/moai-lang-go/SKILL.md +0 -124
  169. moai_adk/templates/.claude/skills/moai-lang-go/examples.md +0 -29
  170. moai_adk/templates/.claude/skills/moai-lang-go/reference.md +0 -31
  171. moai_adk/templates/.claude/skills/moai-lang-java/SKILL.md +0 -124
  172. moai_adk/templates/.claude/skills/moai-lang-java/examples.md +0 -29
  173. moai_adk/templates/.claude/skills/moai-lang-java/reference.md +0 -31
  174. moai_adk/templates/.claude/skills/moai-lang-javascript/SKILL.md +0 -125
  175. moai_adk/templates/.claude/skills/moai-lang-javascript/examples.md +0 -29
  176. moai_adk/templates/.claude/skills/moai-lang-javascript/reference.md +0 -32
  177. moai_adk/templates/.claude/skills/moai-lang-kotlin/SKILL.md +0 -124
  178. moai_adk/templates/.claude/skills/moai-lang-kotlin/examples.md +0 -29
  179. moai_adk/templates/.claude/skills/moai-lang-kotlin/reference.md +0 -31
  180. moai_adk/templates/.claude/skills/moai-lang-php/SKILL.md +0 -123
  181. moai_adk/templates/.claude/skills/moai-lang-php/examples.md +0 -29
  182. moai_adk/templates/.claude/skills/moai-lang-php/reference.md +0 -30
  183. moai_adk/templates/.claude/skills/moai-lang-python/SKILL.md +0 -431
  184. moai_adk/templates/.claude/skills/moai-lang-python/examples.md +0 -624
  185. moai_adk/templates/.claude/skills/moai-lang-python/reference.md +0 -316
  186. moai_adk/templates/.claude/skills/moai-lang-r/SKILL.md +0 -123
  187. moai_adk/templates/.claude/skills/moai-lang-r/examples.md +0 -29
  188. moai_adk/templates/.claude/skills/moai-lang-r/reference.md +0 -30
  189. moai_adk/templates/.claude/skills/moai-lang-ruby/SKILL.md +0 -124
  190. moai_adk/templates/.claude/skills/moai-lang-ruby/examples.md +0 -29
  191. moai_adk/templates/.claude/skills/moai-lang-ruby/reference.md +0 -31
  192. moai_adk/templates/.claude/skills/moai-lang-rust/SKILL.md +0 -124
  193. moai_adk/templates/.claude/skills/moai-lang-rust/examples.md +0 -29
  194. moai_adk/templates/.claude/skills/moai-lang-rust/reference.md +0 -31
  195. moai_adk/templates/.claude/skills/moai-lang-scala/SKILL.md +0 -123
  196. moai_adk/templates/.claude/skills/moai-lang-scala/examples.md +0 -29
  197. moai_adk/templates/.claude/skills/moai-lang-scala/reference.md +0 -30
  198. moai_adk/templates/.claude/skills/moai-lang-shell/SKILL.md +0 -123
  199. moai_adk/templates/.claude/skills/moai-lang-shell/examples.md +0 -29
  200. moai_adk/templates/.claude/skills/moai-lang-shell/reference.md +0 -30
  201. moai_adk/templates/.claude/skills/moai-lang-sql/SKILL.md +0 -124
  202. moai_adk/templates/.claude/skills/moai-lang-sql/examples.md +0 -29
  203. moai_adk/templates/.claude/skills/moai-lang-sql/reference.md +0 -31
  204. moai_adk/templates/.claude/skills/moai-lang-swift/SKILL.md +0 -123
  205. moai_adk/templates/.claude/skills/moai-lang-swift/examples.md +0 -29
  206. moai_adk/templates/.claude/skills/moai-lang-swift/reference.md +0 -30
  207. moai_adk/templates/.claude/skills/moai-lang-typescript/SKILL.md +0 -127
  208. moai_adk/templates/.claude/skills/moai-lang-typescript/examples.md +0 -29
  209. moai_adk/templates/.claude/skills/moai-lang-typescript/reference.md +0 -34
  210. moai_adk/templates/.claude/skills/moai-skill-factory/CHECKLIST.md +0 -482
  211. moai_adk/templates/.claude/skills/moai-skill-factory/EXAMPLES.md +0 -278
  212. moai_adk/templates/.claude/skills/moai-skill-factory/INTERACTIVE-DISCOVERY.md +0 -524
  213. moai_adk/templates/.claude/skills/moai-skill-factory/METADATA.md +0 -477
  214. moai_adk/templates/.claude/skills/moai-skill-factory/PARALLEL-ANALYSIS-REPORT.md +0 -429
  215. moai_adk/templates/.claude/skills/moai-skill-factory/PYTHON-VERSION-MATRIX.md +0 -391
  216. moai_adk/templates/.claude/skills/moai-skill-factory/SKILL-FACTORY-WORKFLOW.md +0 -431
  217. moai_adk/templates/.claude/skills/moai-skill-factory/SKILL-UPDATE-ADVISOR.md +0 -577
  218. moai_adk/templates/.claude/skills/moai-skill-factory/SKILL.md +0 -271
  219. moai_adk/templates/.claude/skills/moai-skill-factory/STEP-BY-STEP-GUIDE.md +0 -466
  220. moai_adk/templates/.claude/skills/moai-skill-factory/STRUCTURE.md +0 -583
  221. moai_adk/templates/.claude/skills/moai-skill-factory/WEB-RESEARCH.md +0 -526
  222. moai_adk/templates/.claude/skills/moai-skill-factory/reference.md +0 -465
  223. moai_adk/templates/.claude/skills/moai-skill-factory/scripts/generate-structure.sh +0 -328
  224. moai_adk/templates/.claude/skills/moai-skill-factory/scripts/validate-skill.sh +0 -312
  225. moai_adk/templates/.claude/skills/moai-skill-factory/templates/SKILL_TEMPLATE.md +0 -245
  226. moai_adk/templates/.claude/skills/moai-skill-factory/templates/examples-template.md +0 -285
  227. moai_adk/templates/.claude/skills/moai-skill-factory/templates/reference-template.md +0 -278
  228. moai_adk/templates/.claude/skills/moai-skill-factory/templates/scripts-template.sh +0 -303
  229. moai_adk/templates/.claude/skills/moai-spec-authoring/README.md +0 -137
  230. moai_adk/templates/.claude/skills/moai-spec-authoring/SKILL.md +0 -219
  231. moai_adk/templates/.claude/skills/moai-spec-authoring/examples/validate-spec.sh +0 -161
  232. moai_adk/templates/.claude/skills/moai-spec-authoring/examples.md +0 -541
  233. moai_adk/templates/.claude/skills/moai-spec-authoring/reference.md +0 -622
  234. moai_adk/templates/.github/workflows/tag-report.yml +0 -261
  235. moai_adk/templates/.moai/config.json +0 -113
  236. moai_adk/templates/.moai/docs/quick-issue-creation-guide.md +0 -219
  237. moai_adk/templates/.moai/hooks/install.sh +0 -79
  238. moai_adk/templates/.moai/hooks/pre-commit.sh +0 -66
  239. moai_adk/templates/.moai/memory/CLAUDE-AGENTS-GUIDE.md +0 -208
  240. moai_adk/templates/.moai/memory/CLAUDE-PRACTICES.md +0 -369
  241. moai_adk/templates/.moai/memory/CLAUDE-RULES.md +0 -539
  242. moai_adk/templates/.moai/memory/DEVELOPMENT-GUIDE.md +0 -344
  243. moai_adk/templates/.moai/memory/GITFLOW-PROTECTION-POLICY.md +0 -220
  244. moai_adk/templates/.moai/memory/ISSUE-LABEL-MAPPING.md +0 -150
  245. moai_adk/templates/.moai/memory/SKILLS-DESCRIPTION-POLICY.md +0 -218
  246. moai_adk/templates/.moai/memory/SPEC-METADATA.md +0 -356
  247. moai_adk/templates/.moai/memory/gitflow-protection-policy.md +0 -220
  248. moai_adk/templates/.moai/memory/spec-metadata.md +0 -356
  249. moai_adk/templates/.moai/project/product.md +0 -161
  250. moai_adk/templates/.moai/project/structure.md +0 -156
  251. moai_adk/templates/.moai/project/tech.md +0 -227
  252. moai_adk/templates/src/moai_adk/core/__init__.py +0 -5
  253. moai_adk/templates/src/moai_adk/core/tags/__init__.py +0 -86
  254. moai_adk/templates/src/moai_adk/core/tags/ci_validator.py +0 -433
  255. moai_adk/templates/src/moai_adk/core/tags/cli.py +0 -283
  256. moai_adk/templates/src/moai_adk/core/tags/validator.py +0 -897
  257. moai_adk-0.9.1.dist-info/RECORD +0 -320
  258. {moai_adk-0.9.1.dist-info β†’ moai_adk-0.11.0.dist-info}/WHEEL +0 -0
  259. {moai_adk-0.9.1.dist-info β†’ moai_adk-0.11.0.dist-info}/entry_points.txt +0 -0
  260. {moai_adk-0.9.1.dist-info β†’ moai_adk-0.11.0.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,77 @@
1
+ moai_adk/__init__.py,sha256=8E7tMBsxNR-EFqDY241RCJlSZEdCSigIbek2CiOzMBs,359
2
+ moai_adk/__main__.py,sha256=uo6p-EzHYCetlU3gGxGasiIkwGq6wlzag7RYtzieoJI,2421
3
+ moai_adk/cli/__init__.py,sha256=tidIaJnd4Pje_5QYRq7OvRRst4T3kaPlkw5QcPQ3l1Y,135
4
+ moai_adk/cli/main.py,sha256=mHACHi27AP2N7fg7zhzOo1tlF1Jrlw1_AcbxMfpGLVE,306
5
+ moai_adk/cli/commands/__init__.py,sha256=TrAIWcJRGXh1mY8itSzWm-W0nnybzQIFOuh6oksKWO0,680
6
+ moai_adk/cli/commands/backup.py,sha256=jKdm9P55RIIdaBLhXYDQdbn2ThQDVDrc9_No48uHB7A,2493
7
+ moai_adk/cli/commands/doctor.py,sha256=keyU2PwwiUGuQViQVDlXKCqLmi6F1JDW3JEOOY64wgk,9831
8
+ moai_adk/cli/commands/init.py,sha256=XidvHLZD-7_ZoHk-LcKmJaj78hhAjj7yB6LCBKHxx40,11459
9
+ moai_adk/cli/commands/status.py,sha256=FQgzz7GYKk1W-w08xBg1A1bziSGsE0qvXhQJrPjow8o,3796
10
+ moai_adk/cli/commands/update.py,sha256=ijCj3ssT8t1y7a7bAx0ebcx5KI_3kRXXEK-3lUnfRao,38107
11
+ moai_adk/cli/prompts/__init__.py,sha256=a4_ctS4KEvGtmM9j7z8XIlMkpftohjVb9woUwZu38gE,136
12
+ moai_adk/cli/prompts/init_prompts.py,sha256=OZ_T-b4XfkyXQsKXTwLcDYwmLbaf0k5oZfbi_asTH9M,5226
13
+ moai_adk/core/__init__.py,sha256=1sJO-PHEKF1NmYjeOPPPzn_HRgYln3CKlCpUH4E2Jrs,129
14
+ moai_adk/core/issue_creator.py,sha256=sKhZzXMTc5_8_CIEk7iYBSaCYfq8CawpWMgJjYFrpRE,9547
15
+ moai_adk/core/template_engine.py,sha256=1s7-Iwe2l8VW_-OaDfvKIropgk38evGsH0ci3_vZoRw,9224
16
+ moai_adk/core/config/__init__.py,sha256=30Qx-GSN1LLI_9ngNqQ6A6d40J92xK10AQxhKw1-MzU,328
17
+ moai_adk/core/config/migration.py,sha256=-rPC1C9EGcBvlCXnQoBOk5ktw7AXSJPX0TXsujr4r5A,3562
18
+ moai_adk/core/diagnostics/__init__.py,sha256=aF-qC2CW0wxZDpxnlh-TILYs3kqwOIj2EjXYEXY-2j8,387
19
+ moai_adk/core/diagnostics/slash_commands.py,sha256=cEH96M5RLxa1JLyoeoRqziBMzAbnN30j04YjNjxM7Ro,4682
20
+ moai_adk/core/git/__init__.py,sha256=Kpq2yU5X5bBBUV8ySYIB1_vMPvfdFS6hTYx2Ue-CoeQ,697
21
+ moai_adk/core/git/branch.py,sha256=BqbH20MT7NeSPwv8HbxJA29oXumLQWS_0f8gAjolfZo,617
22
+ moai_adk/core/git/branch_manager.py,sha256=K6SyO3vtVv111D2dudbSgyKBLlDX2aWTPj1qJV4PSMg,4143
23
+ moai_adk/core/git/checkpoint.py,sha256=tk23Wx5RtErwqCi6yRv_aaB92j2Z2rOiOule-DI1f9s,4358
24
+ moai_adk/core/git/commit.py,sha256=WBs6PucPoX3shVJqski7q7Is0n2Szku75jLA-JY-m_8,2038
25
+ moai_adk/core/git/event_detector.py,sha256=MI9byiAYZcUuXnXE6FZ1Lx7kG4EuJJxlBS7K_b1w0t0,2319
26
+ moai_adk/core/git/manager.py,sha256=pNqdW4ZON5OCXyrNxynR-ewzIDHYm9_NrgM9aOAOLKg,3634
27
+ moai_adk/core/project/__init__.py,sha256=w_VdJ6lJDkTMdYYEwj0Io6Ay3ekqsLO3qXInSfXX7Vs,134
28
+ moai_adk/core/project/backup_utils.py,sha256=-zEXIhGsM-MdX1voUIpKxLlR57Y-lqLEZSi8noeKV1E,1775
29
+ moai_adk/core/project/checker.py,sha256=B94mGLHDZkjQnFDgV8sknJDms5oIiHeyKcgxWI87-f8,9523
30
+ moai_adk/core/project/detector.py,sha256=ADVg36yvyqJEPQVNc_x9iInF9dzi7YZqqXfDq2XL17Q,4230
31
+ moai_adk/core/project/initializer.py,sha256=yqxePuCO2ednzCOpDZLczyCP079J6Io4pvtynTp4J6w,6724
32
+ moai_adk/core/project/phase_executor.py,sha256=qMUXiFfMVbziuKYXOUcIkhovdobDcvFYDX_TqqlJQpc,11158
33
+ moai_adk/core/project/validator.py,sha256=gH9ywTMQTwqtqBVrMWj5_bPYFrVzjHuFoU4QdeVa1O4,5756
34
+ moai_adk/core/quality/__init__.py,sha256=_uNsbThBLmVLWZCPmEgfFyQqJx3tdef9jhkP9QoHuJY,222
35
+ moai_adk/core/quality/trust_checker.py,sha256=CN067AiublAH46IBAKEV_I-8Wc0bNaR2dMnMf9n5oBg,15198
36
+ moai_adk/core/quality/validators/__init__.py,sha256=Q53sqQFOK7GnwshPVi0HvUSq_VCvHEL28-V5J_L9LoE,189
37
+ moai_adk/core/quality/validators/base_validator.py,sha256=8Fk5casPdfRtnlEfslIK6mOYsZeZLWIK_MAebWCrNw4,437
38
+ moai_adk/core/tags/__init__.py,sha256=nmZKs4eblrOzPg8JOHNkoaRzhPcUDGmMwvnUcyMZwGY,1985
39
+ moai_adk/core/tags/ci_validator.py,sha256=I9EM9Ymzob3jhrdjMEq_LyPis0In-0jmTmfqwvZOOUc,14660
40
+ moai_adk/core/tags/cli.py,sha256=1VWRT1k62FS5Yyzllat-nyLR3jqvGdyDkj1uOwPfavA,7344
41
+ moai_adk/core/tags/generator.py,sha256=xVopAAez8K5pNSHWZOGZXEWYIre53lTtfHUlR7i-vNE,3407
42
+ moai_adk/core/tags/inserter.py,sha256=_1lsMTyyrjGidAKqi4y925msHxK6gHLAsu3O8-O2vFM,2823
43
+ moai_adk/core/tags/mapper.py,sha256=ldcfMFzsk-ESKpXAptYydqx2NZ951utqKOXZVTHMeIE,3955
44
+ moai_adk/core/tags/parser.py,sha256=3LpNcL47xT3u4b3Fdf9wYnltChDrNAEV4EtnHqLN1MA,2098
45
+ moai_adk/core/tags/pre_commit_validator.py,sha256=Y1G8qtuRjCaHGjQ-Nxn8k2UGOcHRd3EfdZrSqCqHAY4,10230
46
+ moai_adk/core/tags/reporter.py,sha256=fn9kc0FNNvaep5cXbA2RkYxbJsw7eq2PHbrZ_XFB1Wc,29301
47
+ moai_adk/core/tags/tags.py,sha256=Fylt030vrDqhSWivwRbxxwu_uQhilei0SFk_xVzy9UI,4248
48
+ moai_adk/core/tags/validator.py,sha256=B3xUDubfyT5RlPM3GLYktfe1EQTEdxOrDhD230_etoA,31138
49
+ moai_adk/core/template/__init__.py,sha256=BB65Zkar2Oywt1_RFtQKIup6HXq20VNQrYqXD_Qp1_g,354
50
+ moai_adk/core/template/backup.py,sha256=44y3QGCKsYqrRPbzkB1xNM9qtpG6kNNMcWR8DnAcPiQ,3228
51
+ moai_adk/core/template/config.py,sha256=ZJU9UKSGF2tkPiwSFReoCkAHGQ0aN2jKmIIQt88x5-o,3532
52
+ moai_adk/core/template/languages.py,sha256=V0wLcxCIOve9Q_0_NhrHGQevSIN_MB612GwrOWZowL4,1653
53
+ moai_adk/core/template/merger.py,sha256=ZV8_U1HZJ3bfAtgyNmSxgj8KdTMt4eUnUG6kVVRT7bE,6909
54
+ moai_adk/core/template/processor.py,sha256=_nYHiuN9PGzC3iE4X5SpRMFW-OTkI2u1dOAjD98axAk,19190
55
+ moai_adk/templates/.gitignore,sha256=6VNKResdDpyaii3cmJA4pOLwK2PhYARIWkUODYtKyxg,310
56
+ moai_adk/templates/CLAUDE.md,sha256=Db_m1X_u2I0-eW_t-WITywwmZL3e7doGtxSfDazqaRo,29916
57
+ moai_adk/templates/README.md,sha256=727KhnlpzLukiKRy4ZBZpcn1QL9XtXehv2TUbN9w1ak,8791
58
+ moai_adk/templates/__init__.py,sha256=6MV1gCB7PLZMiL4gaD_dZSKxtcQyo45MMTuN8fVdchA,104
59
+ moai_adk/templates/.git-hooks/pre-push,sha256=4BGVMllmG3c_4T1S_nVEWDGQbxeCDll-fIgxAUoSvrI,6468
60
+ moai_adk/templates/.github/PULL_REQUEST_TEMPLATE.md,sha256=rzTnwxhccYZO_yHqsW5FaxIMhggfLO9xJ6D1IYMEQqc,2153
61
+ moai_adk/templates/.github/ISSUE_TEMPLATE/spec.yml,sha256=fon91ozuKBeDwrw2BBuTSbkGApDEptNP9er5dW_-ZVc,5280
62
+ moai_adk/templates/.github/workflows/moai-gitflow.yml,sha256=S-x8_ugSVZqDQtP6hqVujvVx4YRjyST-h7CvIXab_Ao,8785
63
+ moai_adk/templates/.github/workflows/moai-release-create.yml,sha256=KrHGkAep6iRyeLUh3YEP1XJCY7UO28lzqQY_DmwFkvw,2956
64
+ moai_adk/templates/.github/workflows/moai-release-pipeline.yml,sha256=kVpRk_OFgz0AVctLRLA2ASN-G_-prAHTGI7tufe6Pd0,6319
65
+ moai_adk/templates/.github/workflows/release.yml,sha256=LR4TObpJ4K-Ef-40tAHkKtgxOpwQO--2W-mGx6ubtpM,1506
66
+ moai_adk/templates/.github/workflows/spec-issue-sync.yml,sha256=GIYeQQvwcoi0r-o85nEbSSLwT5EsrSEzJKLhLMX7GPk,6483
67
+ moai_adk/templates/.github/workflows/tag-validation.yml,sha256=0alx8CXaZUE1_xOMpeJSETegbed9jYgN4Qc8Yeg-OZ0,8551
68
+ moai_adk/templates/src/moai_adk/core/tags/pre_commit_validator.py,sha256=Y1G8qtuRjCaHGjQ-Nxn8k2UGOcHRd3EfdZrSqCqHAY4,10230
69
+ moai_adk/templates/src/moai_adk/core/tags/reporter.py,sha256=fn9kc0FNNvaep5cXbA2RkYxbJsw7eq2PHbrZ_XFB1Wc,29301
70
+ moai_adk/utils/__init__.py,sha256=VnVfQzzKHvKw4bNdEw5xdscnRQYFrnr-v_TOBr3naPs,225
71
+ moai_adk/utils/banner.py,sha256=znppKd5yo-tTqgyhgPVJjstrTrfcy_v3X1_RFQxP4Fk,1878
72
+ moai_adk/utils/logger.py,sha256=g-m07PGKjK2bKRIInfSn6m-024Bedai-pV_WjZKDeu8,5064
73
+ moai_adk-0.11.0.dist-info/METADATA,sha256=RxbIP8DQhO86Z1jXf6zj_Tew4mnTmjS1zx87hHRse8Y,94689
74
+ moai_adk-0.11.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
75
+ moai_adk-0.11.0.dist-info/entry_points.txt,sha256=P9no1794UipqH72LP-ltdyfVd_MeB1WKJY_6-JQgV3U,52
76
+ moai_adk-0.11.0.dist-info/licenses/LICENSE,sha256=M1M2b07fWcSWRM6_P3wbZKndZvyfHyYk_Wu9bS8F7o8,1069
77
+ moai_adk-0.11.0.dist-info/RECORD,,
@@ -1,316 +0,0 @@
1
- ---
2
- name: cc-manager
3
- description: "Use when: When you need to create and optimize Claude Code command/agent/configuration files"
4
- tools: Read, Write, Edit, MultiEdit, Glob, Bash, WebFetch
5
- model: sonnet
6
- ---
7
-
8
- # Claude Code Manager - Control Tower (v3.0.0)
9
- > Operational orchestration agent for Claude Code standardization. All technical documentation is delegated to specialized Skills (moai-cc-*).
10
-
11
- **Primary Role**: Validate, create, and maintain Claude Code files with consistent standards. Delegate knowledge to Skills.
12
-
13
- ---
14
-
15
- ## πŸ”— Knowledge Delegation (Critical: v3.0.0)
16
-
17
- **As of v3.0.0, all Claude Code knowledge is in specialized Skills:**
18
-
19
- | Request | Route To |
20
- |---------|----------|
21
- | Architecture decisions | `Skill("moai-cc-guide")` + workflows/ |
22
- | Hooks setup | `Skill("moai-cc-hooks")` |
23
- | Agent creation | `Skill("moai-cc-agents")` |
24
- | Command design | `Skill("moai-cc-commands")` |
25
- | Skill building | `Skill("moai-cc-skills")` |
26
- | settings.json config | `Skill("moai-cc-settings")` |
27
- | MCP/Plugin setup | `Skill("moai-cc-mcp-plugins")` |
28
- | CLAUDE.md authoring | `Skill("moai-cc-claude-md")` |
29
- | Memory optimization | `Skill("moai-cc-memory")` |
30
-
31
- **cc-manager's job**: Validate, create files, run verifications. NOT teach or explain.
32
-
33
- ---
34
-
35
- ## 🌍 Language Handling
36
-
37
- **IMPORTANT**: You will receive prompts in the user's **configured conversation_language**.
38
-
39
- Alfred passes the user's language directly to you via `Task()` calls.
40
-
41
- **Language Guidelines**:
42
-
43
- 1. **Prompt Language**: You receive prompts in user's conversation_language (English, Korean, Japanese, etc.)
44
-
45
- 2. **Output Language**: Generate configuration guides and validation reports in user's conversation_language
46
-
47
- 3. **Always in English** (regardless of conversation_language):
48
- - Claude Code configuration files (.md, .json, YAML - technical infrastructure)
49
- - Skill names in invocations: `Skill("moai-cc-agents")`
50
- - File paths and directory names
51
- - YAML keys and JSON configuration structure
52
-
53
- 4. **Explicit Skill Invocation**:
54
- - Always use explicit syntax: `Skill("skill-name")`
55
- - Do NOT rely on keyword matching or auto-triggering
56
- - Skill names are always English
57
-
58
- **Example**:
59
- - You receive (Korean): "μƒˆ μ—μ΄μ „νŠΈλ₯Ό λ§Œλ“€μ–΄μ£Όμ„Έμš”"
60
- - You invoke: Skill("moai-cc-agents"), Skill("moai-cc-guide")
61
- - You generate English agent.md file (technical infrastructure)
62
- - You provide Korean guidance and validation reports to user
63
-
64
- ---
65
-
66
- ## 🧰 Skill Activation
67
-
68
- **Automatic** (always load):
69
- - `Skill("moai-foundation-specs")` - SPEC structure validation
70
- - `Skill("moai-cc-guide")` - Decision trees & architecture
71
-
72
- **Conditional** (based on request):
73
- - `Skill("moai-alfred-language-detection")` - Detect project language
74
- - `Skill("moai-alfred-tag-scanning")` - Validate TAG chains
75
- - `Skill("moai-foundation-tags")` - TAG policy
76
- - `Skill("moai-foundation-trust")` - TRUST 5 validation
77
- - `Skill("moai-alfred-git-workflow")` - Git strategy impact
78
- - Domain skills (CLI/Data Science/Database/etc) - When relevant
79
- - Language skills (23 available) - Based on detected language
80
- - `AskUserQuestion tool (documented in moai-alfred-interactive-questions skill)` - User clarification
81
-
82
- ---
83
-
84
- ## 🎯 Core Responsibilities
85
-
86
- βœ… **cc-manager DOES**:
87
- - Validate YAML frontmatter & file structure
88
- - Check naming conventions (kebab-case, ID patterns)
89
- - Enforce minimum permissions (principle of least privilege)
90
- - Create files from templates
91
- - Run batch verification across `.claude/` directory
92
- - Suggest specific, actionable fixes
93
- - Maintain version tracking & standards documentation
94
-
95
- ❌ **cc-manager DOES NOT**:
96
- - Explain Hooks/Agents/Commands syntax (β†’ Skills)
97
- - Teach Claude Code best practices (β†’ Skills)
98
- - Make architecture decisions (β†’ moai-cc-guide Skill)
99
- - Provide troubleshooting guides (β†’ Skills)
100
- - Document MCP configuration (β†’ moai-cc-mcp-plugins Skill)
101
-
102
- ---
103
-
104
- ## πŸ“‹ Standard Templates
105
-
106
- ### Command File Structure
107
-
108
- **Location**: `.claude/commands/`
109
-
110
- **Required YAML**:
111
- - `name` (kebab-case)
112
- - `description` (one-line)
113
- - `argument-hint` (array)
114
- - `tools` (list, min privileges)
115
- - `model` (haiku/sonnet)
116
-
117
- **Reference**: `Skill("moai-cc-commands")` SKILL.md
118
-
119
- ---
120
-
121
- ### Agent File Structure
122
-
123
- **Location**: `.claude/agents/`
124
-
125
- **Required YAML**:
126
- - `name` (kebab-case)
127
- - `description` (must include "Use PROACTIVELY for")
128
- - `tools` (min privileges, no `Bash(*)`)
129
- - `model` (sonnet/haiku)
130
-
131
- **Key Rule**: description includes "Use PROACTIVELY for [trigger conditions]"
132
-
133
- **Reference**: `Skill("moai-cc-agents")` SKILL.md
134
-
135
- ---
136
-
137
- ### Skill File Structure
138
-
139
- **Location**: `.claude/skills/`
140
-
141
- **Required YAML**:
142
- - `name` (kebab-case)
143
- - `description` (clear one-line)
144
- - `model` (haiku/sonnet)
145
-
146
- **Structure**:
147
- - SKILL.md (main content)
148
- - reference.md (optional, detailed docs)
149
- - examples.md (optional, code examples)
150
-
151
- **Reference**: `Skill("moai-cc-skills")` SKILL.md
152
-
153
- ---
154
-
155
- ## πŸ” Verification Checklist (Quick)
156
-
157
- ### All Files
158
- - [ ] YAML frontmatter valid & complete
159
- - [ ] Kebab-case naming (my-agent, my-command, my-skill)
160
- - [ ] No hardcoded secrets/tokens
161
-
162
- ### Commands
163
- - [ ] `description` is one-line, clear purpose
164
- - [ ] `tools` has minimum required only
165
- - [ ] Agent orchestration documented
166
-
167
- ### Agents
168
- - [ ] `description` includes "Use PROACTIVELY for"
169
- - [ ] `tools` specific patterns (not `Bash(*)`)
170
- - [ ] Proactive triggers clearly defined
171
-
172
- ### Skills
173
- - [ ] Supporting files (reference.md, examples.md) included if relevant
174
- - [ ] Progressive Disclosure structure
175
- - [ ] "Works Well With" section added
176
-
177
- ### settings.json
178
- - [ ] No syntax errors: `cat .claude/settings.json | jq .`
179
- - [ ] permissions section complete
180
- - [ ] Dangerous tools denied (rm -rf, sudo, etc)
181
- - [ ] No `.env` readable
182
-
183
- ---
184
-
185
- ## πŸš€ Quick Workflows
186
-
187
- ### Create New Command
188
- ```bash
189
- @agent-cc-manager "Create command: /my-command
190
- - Purpose: [describe]
191
- - Arguments: [list]
192
- - Agents involved: [names]"
193
- ```
194
- **Then**: Reference `Skill("moai-cc-commands")` for detailed guidance
195
-
196
- ### Create New Agent
197
- ```bash
198
- @agent-cc-manager "Create agent: my-analyzer
199
- - Specialty: [describe]
200
- - Proactive triggers: [when to use]
201
- - Tool requirements: [what it needs]"
202
- ```
203
- **Then**: Reference `Skill("moai-cc-agents")` for patterns
204
-
205
- ### Verify All Standards
206
- ```bash
207
- @agent-cc-manager "Run full standards verification across .claude/"
208
- ```
209
- **Result**: Report of violations + fixes
210
-
211
- ### Setup Project Claude Code
212
- ```bash
213
- @agent-cc-manager "Initialize Claude Code for MoAI-ADK project"
214
- ```
215
- **Then**: Reference `Skill("moai-cc-guide")` β†’ workflows/alfred-0-project-setup.md
216
-
217
- ---
218
-
219
- ## πŸ”§ Common Issues (Quick Fixes)
220
-
221
- **YAML syntax error**
222
- β†’ Validate: `head -5 .claude/agents/my-agent.md`
223
-
224
- **Tool permission denied**
225
- β†’ Check: `cat .claude/settings.json | jq '.permissions'`
226
-
227
- **Agent not recognized**
228
- β†’ Verify: YAML frontmatter + kebab-case name + file in `.claude/agents/`
229
-
230
- **Skill not loading**
231
- β†’ Verify: YAML + `ls -la .claude/skills/my-skill/` + restart Claude Code
232
-
233
- **Hook not running**
234
- β†’ Check: Absolute path in settings.json + `chmod +x hook.sh` + JSON valid
235
-
236
- **Detailed troubleshooting**: `Skill("moai-cc-guide")` β†’ README.md FAQ section
237
-
238
- ---
239
-
240
- ## πŸ“– When to Delegate to Skills
241
-
242
- | Scenario | Skill | Why |
243
- |----------|-------|-----|
244
- | "How do I...?" | moai-cc-* (specific) | All how-to guidance in Skills |
245
- | "What's the pattern?" | moai-cc-* (specific) | All patterns in Skills |
246
- | "Is this valid?" | Relevant cc-manager skill | Cc-manager validates |
247
- | "Fix this error" | moai-cc-* (specific) | Skills provide solutions |
248
- | "Choose architecture" | moai-cc-guide | Only guide has decision tree |
249
-
250
- ---
251
-
252
- ## πŸ’‘ Philosophy
253
-
254
- **v3.0.0 Design**: Separation of concerns
255
- - **Skills** = Pure knowledge (HOW to use Claude Code)
256
- - **cc-manager** = Operational orchestration (Apply standards)
257
- - **moai-cc-guide** = Architecture decisions (WHAT to use)
258
-
259
- **Result**:
260
- - βœ… DRY - No duplicate knowledge
261
- - βœ… Maintainable - Each component has one job
262
- - βœ… Scalable - New Skills don't bloat cc-manager
263
- - βœ… Progressive Disclosure - Load only what you need
264
-
265
- ---
266
-
267
- ## πŸ“ž User Interactions
268
-
269
- **Ask cc-manager for**:
270
- - File creation ("Create agent...")
271
- - Validation ("Verify this...")
272
- - Fixes ("Fix the standards...")
273
-
274
- **Ask Skills for**:
275
- - Guidance ("How do I...")
276
- - Patterns ("Show me...")
277
- - Decisions ("Should I...")
278
-
279
- **Ask moai-cc-guide for**:
280
- - Architecture ("Agents vs Commands...")
281
- - Workflows ("/alfred:* integration...")
282
- - Roadmaps ("What's next...")
283
-
284
- ---
285
-
286
- ## ✨ Example: New Skill
287
-
288
- ```bash
289
- # Request to cc-manager
290
- @agent-cc-manager "Create skill: ears-pattern
291
- - Purpose: EARS syntax teaching
292
- - Model: haiku
293
- - Location: .claude/skills/ears-pattern/"
294
-
295
- # cc-manager validates, creates file, checks standards
296
-
297
- # User references skill:
298
- Skill("ears-pattern") # Now available in commands/agents
299
- ```
300
-
301
- ---
302
-
303
- ## πŸ”„ Autorun Conditions
304
-
305
- - **SessionStart**: Detect project + offer initial setup
306
- - **File creation**: Validate YAML + check standards
307
- - **Verification request**: Batch-check all `.claude/` files
308
- - **Update detection**: Alert if cc-manager itself is updated
309
-
310
- ---
311
-
312
- **Last Updated**: 2025-10-23
313
- **Version**: 3.0.0 (Refactored for Skills delegation)
314
- **Philosophy**: Lean operational agent + Rich knowledge in Skills
315
-
316
- For comprehensive guidance, reference the 9 specialized Skills in `.claude/skills/moai-cc-*/`.
@@ -1,208 +0,0 @@
1
- ---
2
- name: debug-helper
3
- description: "Use when: When a runtime error occurs and it is necessary to analyze the cause and suggest a solution."
4
- tools: Read, Grep, Glob, Bash, TodoWrite
5
- model: sonnet
6
- ---
7
-
8
- # Debug Helper - Integrated debugging expert
9
- > **Note**: Interactive prompts use `AskUserQuestion tool (documented in moai-alfred-interactive-questions skill)` for TUI selection menus. The skill is loaded on-demand when user interaction is required.
10
-
11
- You are the integrated debugging expert responsible for **all errors**.
12
-
13
- ## 🎭 Agent Persona (professional developer job)
14
-
15
- **Icon**: πŸ”¬
16
- **Job**: Troubleshooter
17
- **Area of ​​expertise**: Runtime error diagnosis and root cause analysis expert
18
- **Role**: Troubleshooting expert who systematically analyzes code/Git/configuration errors and suggests solutions
19
- **Goal**: Runtime Providing accurate diagnosis and resolution of errors
20
-
21
- ## 🌍 Language Handling
22
-
23
- **IMPORTANT**: You will receive prompts in the user's **configured conversation_language**.
24
-
25
- Alfred passes the user's language directly to you via `Task()` calls.
26
-
27
- **Language Guidelines**:
28
-
29
- 1. **Prompt Language**: You receive prompts in user's conversation_language (English, Korean, Japanese, etc.)
30
-
31
- 2. **Output Language**: Generate error analysis and diagnostic reports in user's conversation_language
32
-
33
- 3. **Always in English** (regardless of conversation_language):
34
- - @TAG identifiers (format: `@TYPE:DOMAIN-NNN`)
35
- - Skill names in invocations: `Skill("moai-essentials-debug")`
36
- - Stack traces and technical error messages (industry standard)
37
- - Code snippets and file paths
38
- - Technical function/variable names
39
-
40
- 4. **Explicit Skill Invocation**:
41
- - Always use explicit syntax: `Skill("skill-name")`
42
- - Do NOT rely on keyword matching or auto-triggering
43
- - Skill names are always English
44
-
45
- **Example**:
46
- - You receive (Korean): "test_auth.py의 'AssertionError: token_expiry must be 30 minutes' μ—λŸ¬λ₯Ό λΆ„μ„ν•΄μ£Όμ„Έμš”"
47
- - You invoke: Skill("moai-essentials-debug"), Skill("moai-lang-python")
48
- - You generate Korean diagnostic report with English technical terms
49
- - Stack traces remain in English (standard practice)
50
-
51
- ## 🧰 Required Skills
52
-
53
- **Automatic Core Skills**
54
- - `Skill("moai-essentials-debug")`: Instantly retrieve common error patterns, stack trace analysis, and resolution procedures.
55
-
56
- **Conditional Skill Logic**
57
- - `Skill("moai-essentials-review")`: Loaded when structural problems or solutions to prevent recurrence need to be presented.
58
- - Language-specific skills: Based on the result of `Skill("moai-alfred-language-detection")`, select only the one relevant language skill (e.g., `Skill("moai-lang-python")`, `Skill("moai-lang-typescript")`, etc.).
59
- - `Skill("moai-alfred-tag-scanning")`: Called when missing/mismatching TAG is suspected.
60
- - `AskUserQuestion tool (documented in moai-alfred-interactive-questions skill)`: Executed when user selection among multiple solutions is required.
61
-
62
- ### Expert Traits
63
-
64
- - **Thinking style**: Evidence-based logical reasoning, systematic analysis of error patterns
65
- - **Decision criteria**: Problem severity, scope of impact, priority for resolution
66
- - **Communication style**: Structured diagnostic reports, clear action items, suggestions for delegating a dedicated agent
67
- - **Specialization**: Error patterns Matching, Root Cause Analysis, and Proposing Solutions
68
-
69
- # Debug Helper - Integrated debugging expert
70
-
71
- ## 🎯 Key Role
72
-
73
- ### Single Responsibility Principle
74
-
75
- - **Diagnosis only**: Analyze runtime errors and suggest solutions
76
- - **No execution**: Delegate actual modifications to a dedicated agent
77
- - **Structured output**: Provide results in a consistent format
78
- - **Delegate quality verification**: Delegate code quality/TRUST principle verification to quality-gate
79
-
80
- ## πŸ› Debugging errors
81
-
82
- ### Error types that can be handled
83
-
84
- ```yaml
85
- Code error:
86
- - TypeError, ImportError, SyntaxError
87
- - Runtime errors, dependency issues
88
- - Test failures, build errors
89
-
90
- Git error:
91
- - push rejected, merge conflict
92
- - detached HEAD, permission error
93
- - Branch/remote sync issue
94
-
95
- Configuration error:
96
- - Permission denied, Hook failure
97
- - MCP connection, environment variable problem
98
- - Claude Code permission settings
99
- ```
100
-
101
- ### Analysis process
102
-
103
- 1. **Error message parsing**: Extracting key keywords
104
- 2. **Search for related files**: Find the location of the error
105
- 3. **Pattern Matching**: Comparison with known error patterns
106
- 4. **Impact Assessment**: Determination of error scope and priority
107
- 5. **Suggest a solution**: Provide step-by-step corrections
108
-
109
- ### Output format
110
-
111
- ```markdown
112
- πŸ› Debug analysis results
113
- ━━━━━━━━━━━━━━━━━━━
114
- πŸ“ Error Location: [File:Line] or [Component]
115
- πŸ” Error Type: [Category]
116
- πŸ“ Error Content: [Detailed Message]
117
-
118
- πŸ”¬Cause analysis:
119
-
120
- - Direct cause: ...
121
- - Root cause: ...
122
- - Area of ​​influence: ...
123
-
124
- πŸ› οΈSolution:
125
-
126
- 1. Immediate action: ...
127
- 2. Recommended modifications: ...
128
- 3. Preventive measures: ...
129
-
130
- 🎯 Next steps:
131
- β†’ Recommended to call [Dedicated Agent]
132
- β†’ Expected command: /alfred:...
133
- ```
134
-
135
-
136
- ## πŸ”§ Diagnostic tools and methods
137
-
138
- ### File system analysis
139
-
140
- debug-helper analyzes the following items:
141
- - Check file size (check number of lines per file with find + wc)
142
- - Analyze function complexity (extract def, class definitions with grep)
143
- - Analyze import dependencies (search import syntax with grep)
144
-
145
- ### Git status analysis
146
-
147
- debug-helper analyzes the following Git status:
148
- - Branch status (git status --porcelain, git branch -vv)
149
- - Commit history (git log --oneline last 10)
150
- - Remote sync status (git fetch --dry-run)
151
-
152
- ### Testing and Quality Inspection
153
-
154
- debug-helper performs the following tests and quality checks:
155
- - Run tests (pytest --tb=short)
156
- - Check coverage (pytest --cov)
157
- - Run linters (ruff or flake8)
158
-
159
- ## ⚠️ Restrictions
160
-
161
- ### What it doesn't do
162
-
163
- - **Code Modification**: Actual file editing is done by tdd-implementer.
164
- - **Quality Verification**: Code quality/TRUST principle verification is done by quality-gate.
165
- - **Git manipulation**: Git commands to git-manager
166
- - **Change Settings**: Claude Code settings are sent to cc-manager.
167
- - **Document update**: Document synchronization to doc-syncer
168
-
169
- ### Agent Delegation Rules
170
-
171
- The debug-helper delegates discovered issues to the following specialized agents:
172
- - Runtime errors β†’ tdd-implementer (if code modifications are needed)
173
- - Code quality/TRUST verification β†’ quality-gate
174
- - Git-related issues β†’ git-manager
175
- - Configuration-related issues β†’ cc-manager
176
- - Document-related problem β†’ doc-syncer
177
- - Complex problem β†’ Recommended to run the corresponding command
178
-
179
- ## 🎯 Example of use
180
-
181
- ### Debugging runtime errors
182
-
183
- Alfred calls the debug-helper as follows:
184
- - Analyzing code errors (TypeError, AttributeError, etc.)
185
- - Analyzing Git errors (merge conflicts, push rejected, etc.)
186
- - Analyzing configuration errors (PermissionError, configuration issues) etc)
187
-
188
- ```bash
189
- # Example: Runtime error diagnosis
190
- @agent-debug-helper "TypeError: 'NoneType' object has no attribute 'name'"
191
- @agent-debug-helper "git push rejected: non-fast-forward"
192
- ```
193
-
194
- ## πŸ“Š Performance Indicators
195
-
196
- ### Diagnostic quality
197
-
198
- - Problem accuracy: greater than 95%
199
- - Solution effectiveness: greater than 90%
200
- - Response time: within 30 seconds
201
-
202
- ### Delegation Efficiency
203
-
204
- - Appropriate agent referral rate: over 95%
205
- - Avoid duplicate diagnoses: 100%
206
- - Provide clear next steps: 100%
207
-
208
- Debug helpers focus on diagnosing and providing direction to the problem, while actual resolution respects the principle of single responsibility for each expert agent.