moai-adk 0.10.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 (245) 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/.github/workflows/moai-gitflow.yml +6 -1
  5. moai_adk/templates/.github/workflows/release.yml +6 -2
  6. moai_adk/templates/.github/workflows/tag-validation.yml +53 -8
  7. moai_adk/templates/CLAUDE.md +458 -67
  8. {moai_adk-0.10.1.dist-info → moai_adk-0.11.0.dist-info}/METADATA +28 -13
  9. moai_adk-0.11.0.dist-info/RECORD +77 -0
  10. moai_adk/templates/.claude/agents/alfred/cc-manager.md +0 -316
  11. moai_adk/templates/.claude/agents/alfred/debug-helper.md +0 -208
  12. moai_adk/templates/.claude/agents/alfred/doc-syncer.md +0 -214
  13. moai_adk/templates/.claude/agents/alfred/git-manager.md +0 -406
  14. moai_adk/templates/.claude/agents/alfred/implementation-planner.md +0 -350
  15. moai_adk/templates/.claude/agents/alfred/project-manager.md +0 -273
  16. moai_adk/templates/.claude/agents/alfred/quality-gate.md +0 -343
  17. moai_adk/templates/.claude/agents/alfred/skill-factory.md +0 -865
  18. moai_adk/templates/.claude/agents/alfred/spec-builder.md +0 -287
  19. moai_adk/templates/.claude/agents/alfred/tag-agent.md +0 -287
  20. moai_adk/templates/.claude/agents/alfred/tdd-implementer.md +0 -326
  21. moai_adk/templates/.claude/agents/alfred/trust-checker.md +0 -375
  22. moai_adk/templates/.claude/commands/alfred/0-project.md +0 -1189
  23. moai_adk/templates/.claude/commands/alfred/1-plan.md +0 -728
  24. moai_adk/templates/.claude/commands/alfred/2-run.md +0 -545
  25. moai_adk/templates/.claude/commands/alfred/3-sync.md +0 -683
  26. moai_adk/templates/.claude/commands/alfred/9-feedback.md +0 -149
  27. moai_adk/templates/.claude/hooks/alfred/alfred_hooks.py +0 -209
  28. moai_adk/templates/.claude/hooks/alfred/core/project.py +0 -750
  29. moai_adk/templates/.claude/hooks/alfred/core/version_cache.py +0 -198
  30. moai_adk/templates/.claude/hooks/alfred/notification__handle_events.py +0 -102
  31. moai_adk/templates/.claude/hooks/alfred/post_tool__log_changes.py +0 -102
  32. moai_adk/templates/.claude/hooks/alfred/pre_tool__auto_checkpoint.py +0 -108
  33. moai_adk/templates/.claude/hooks/alfred/session_end__cleanup.py +0 -102
  34. moai_adk/templates/.claude/hooks/alfred/session_start__show_project_info.py +0 -102
  35. moai_adk/templates/.claude/hooks/alfred/shared/core/__init__.py +0 -170
  36. moai_adk/templates/.claude/hooks/alfred/shared/core/checkpoint.py +0 -271
  37. moai_adk/templates/.claude/hooks/alfred/shared/core/context.py +0 -67
  38. moai_adk/templates/.claude/hooks/alfred/shared/core/project.py +0 -756
  39. moai_adk/templates/.claude/hooks/alfred/shared/core/tags.py +0 -198
  40. moai_adk/templates/.claude/hooks/alfred/shared/core/version_cache.py +0 -198
  41. moai_adk/templates/.claude/hooks/alfred/shared/handlers/__init__.py +0 -21
  42. moai_adk/templates/.claude/hooks/alfred/shared/handlers/notification.py +0 -25
  43. moai_adk/templates/.claude/hooks/alfred/shared/handlers/session.py +0 -175
  44. moai_adk/templates/.claude/hooks/alfred/shared/handlers/tool.py +0 -90
  45. moai_adk/templates/.claude/hooks/alfred/shared/handlers/user.py +0 -61
  46. moai_adk/templates/.claude/hooks/alfred/stop__handle_interrupt.py +0 -102
  47. moai_adk/templates/.claude/hooks/alfred/subagent_stop__handle_subagent_end.py +0 -102
  48. moai_adk/templates/.claude/hooks/alfred/user_prompt__jit_load_docs.py +0 -120
  49. moai_adk/templates/.claude/output-styles/alfred/agentic-coding.md +0 -640
  50. moai_adk/templates/.claude/output-styles/alfred/moai-adk-learning.md +0 -696
  51. moai_adk/templates/.claude/output-styles/alfred/study-with-alfred.md +0 -474
  52. moai_adk/templates/.claude/settings.json +0 -144
  53. moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/SKILL.md +0 -113
  54. moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/examples.md +0 -29
  55. moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/reference.md +0 -28
  56. moai_adk/templates/.claude/skills/moai-alfred-git-workflow/SKILL.md +0 -122
  57. moai_adk/templates/.claude/skills/moai-alfred-git-workflow/examples.md +0 -29
  58. moai_adk/templates/.claude/skills/moai-alfred-git-workflow/reference.md +0 -29
  59. moai_adk/templates/.claude/skills/moai-alfred-interactive-questions/SKILL.md +0 -237
  60. moai_adk/templates/.claude/skills/moai-alfred-interactive-questions/examples.md +0 -615
  61. moai_adk/templates/.claude/skills/moai-alfred-interactive-questions/reference.md +0 -653
  62. moai_adk/templates/.claude/skills/moai-alfred-language-detection/SKILL.md +0 -113
  63. moai_adk/templates/.claude/skills/moai-alfred-language-detection/examples.md +0 -29
  64. moai_adk/templates/.claude/skills/moai-alfred-language-detection/reference.md +0 -28
  65. moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/SKILL.md +0 -113
  66. moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/examples.md +0 -29
  67. moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/reference.md +0 -28
  68. moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/SKILL.md +0 -113
  69. moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/examples.md +0 -29
  70. moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/reference.md +0 -28
  71. moai_adk/templates/.claude/skills/moai-alfred-trust-validation/SKILL.md +0 -113
  72. moai_adk/templates/.claude/skills/moai-alfred-trust-validation/examples.md +0 -29
  73. moai_adk/templates/.claude/skills/moai-alfred-trust-validation/reference.md +0 -28
  74. moai_adk/templates/.claude/skills/moai-cc-agents/SKILL.md +0 -269
  75. moai_adk/templates/.claude/skills/moai-cc-agents/templates/agent-template.md +0 -32
  76. moai_adk/templates/.claude/skills/moai-cc-claude-md/SKILL.md +0 -298
  77. moai_adk/templates/.claude/skills/moai-cc-claude-md/templates/CLAUDE-template.md +0 -26
  78. moai_adk/templates/.claude/skills/moai-cc-commands/SKILL.md +0 -307
  79. moai_adk/templates/.claude/skills/moai-cc-commands/templates/command-template.md +0 -21
  80. moai_adk/templates/.claude/skills/moai-cc-hooks/SKILL.md +0 -252
  81. moai_adk/templates/.claude/skills/moai-cc-hooks/scripts/pre-bash-check.sh +0 -19
  82. moai_adk/templates/.claude/skills/moai-cc-hooks/scripts/preserve-permissions.sh +0 -19
  83. moai_adk/templates/.claude/skills/moai-cc-hooks/scripts/validate-bash-command.py +0 -24
  84. moai_adk/templates/.claude/skills/moai-cc-mcp-plugins/SKILL.md +0 -199
  85. moai_adk/templates/.claude/skills/moai-cc-mcp-plugins/templates/settings-mcp-template.json +0 -39
  86. moai_adk/templates/.claude/skills/moai-cc-memory/SKILL.md +0 -316
  87. moai_adk/templates/.claude/skills/moai-cc-memory/templates/session-summary-template.md +0 -18
  88. moai_adk/templates/.claude/skills/moai-cc-settings/SKILL.md +0 -263
  89. moai_adk/templates/.claude/skills/moai-cc-settings/templates/settings-complete-template.json +0 -30
  90. moai_adk/templates/.claude/skills/moai-cc-skills/SKILL.md +0 -291
  91. moai_adk/templates/.claude/skills/moai-cc-skills/templates/SKILL-template.md +0 -15
  92. moai_adk/templates/.claude/skills/moai-domain-backend/SKILL.md +0 -290
  93. moai_adk/templates/.claude/skills/moai-domain-backend/examples.md +0 -1633
  94. moai_adk/templates/.claude/skills/moai-domain-backend/reference.md +0 -660
  95. moai_adk/templates/.claude/skills/moai-domain-cli-tool/SKILL.md +0 -123
  96. moai_adk/templates/.claude/skills/moai-domain-cli-tool/examples.md +0 -29
  97. moai_adk/templates/.claude/skills/moai-domain-cli-tool/reference.md +0 -30
  98. moai_adk/templates/.claude/skills/moai-domain-data-science/SKILL.md +0 -123
  99. moai_adk/templates/.claude/skills/moai-domain-data-science/examples.md +0 -29
  100. moai_adk/templates/.claude/skills/moai-domain-data-science/reference.md +0 -30
  101. moai_adk/templates/.claude/skills/moai-domain-database/SKILL.md +0 -123
  102. moai_adk/templates/.claude/skills/moai-domain-database/examples.md +0 -29
  103. moai_adk/templates/.claude/skills/moai-domain-database/reference.md +0 -30
  104. moai_adk/templates/.claude/skills/moai-domain-devops/SKILL.md +0 -124
  105. moai_adk/templates/.claude/skills/moai-domain-devops/examples.md +0 -29
  106. moai_adk/templates/.claude/skills/moai-domain-devops/reference.md +0 -31
  107. moai_adk/templates/.claude/skills/moai-domain-frontend/SKILL.md +0 -124
  108. moai_adk/templates/.claude/skills/moai-domain-frontend/examples.md +0 -29
  109. moai_adk/templates/.claude/skills/moai-domain-frontend/reference.md +0 -31
  110. moai_adk/templates/.claude/skills/moai-domain-ml/SKILL.md +0 -123
  111. moai_adk/templates/.claude/skills/moai-domain-ml/examples.md +0 -29
  112. moai_adk/templates/.claude/skills/moai-domain-ml/reference.md +0 -30
  113. moai_adk/templates/.claude/skills/moai-domain-mobile-app/SKILL.md +0 -123
  114. moai_adk/templates/.claude/skills/moai-domain-mobile-app/examples.md +0 -29
  115. moai_adk/templates/.claude/skills/moai-domain-mobile-app/reference.md +0 -30
  116. moai_adk/templates/.claude/skills/moai-domain-security/SKILL.md +0 -123
  117. moai_adk/templates/.claude/skills/moai-domain-security/examples.md +0 -29
  118. moai_adk/templates/.claude/skills/moai-domain-security/reference.md +0 -30
  119. moai_adk/templates/.claude/skills/moai-domain-web-api/SKILL.md +0 -123
  120. moai_adk/templates/.claude/skills/moai-domain-web-api/examples.md +0 -29
  121. moai_adk/templates/.claude/skills/moai-domain-web-api/reference.md +0 -30
  122. moai_adk/templates/.claude/skills/moai-essentials-debug/SKILL.md +0 -303
  123. moai_adk/templates/.claude/skills/moai-essentials-debug/examples.md +0 -1064
  124. moai_adk/templates/.claude/skills/moai-essentials-debug/reference.md +0 -1047
  125. moai_adk/templates/.claude/skills/moai-essentials-perf/SKILL.md +0 -113
  126. moai_adk/templates/.claude/skills/moai-essentials-perf/examples.md +0 -29
  127. moai_adk/templates/.claude/skills/moai-essentials-perf/reference.md +0 -28
  128. moai_adk/templates/.claude/skills/moai-essentials-refactor/SKILL.md +0 -113
  129. moai_adk/templates/.claude/skills/moai-essentials-refactor/examples.md +0 -29
  130. moai_adk/templates/.claude/skills/moai-essentials-refactor/reference.md +0 -28
  131. moai_adk/templates/.claude/skills/moai-essentials-review/SKILL.md +0 -113
  132. moai_adk/templates/.claude/skills/moai-essentials-review/examples.md +0 -29
  133. moai_adk/templates/.claude/skills/moai-essentials-review/reference.md +0 -28
  134. moai_adk/templates/.claude/skills/moai-foundation-ears/SKILL.md +0 -116
  135. moai_adk/templates/.claude/skills/moai-foundation-ears/examples.md +0 -29
  136. moai_adk/templates/.claude/skills/moai-foundation-ears/reference.md +0 -28
  137. moai_adk/templates/.claude/skills/moai-foundation-git/SKILL.md +0 -122
  138. moai_adk/templates/.claude/skills/moai-foundation-git/examples.md +0 -29
  139. moai_adk/templates/.claude/skills/moai-foundation-git/reference.md +0 -29
  140. moai_adk/templates/.claude/skills/moai-foundation-langs/SKILL.md +0 -113
  141. moai_adk/templates/.claude/skills/moai-foundation-langs/examples.md +0 -29
  142. moai_adk/templates/.claude/skills/moai-foundation-langs/reference.md +0 -28
  143. moai_adk/templates/.claude/skills/moai-foundation-specs/SKILL.md +0 -113
  144. moai_adk/templates/.claude/skills/moai-foundation-specs/examples.md +0 -29
  145. moai_adk/templates/.claude/skills/moai-foundation-specs/reference.md +0 -28
  146. moai_adk/templates/.claude/skills/moai-foundation-tags/SKILL.md +0 -113
  147. moai_adk/templates/.claude/skills/moai-foundation-tags/examples.md +0 -29
  148. moai_adk/templates/.claude/skills/moai-foundation-tags/reference.md +0 -28
  149. moai_adk/templates/.claude/skills/moai-foundation-trust/SKILL.md +0 -307
  150. moai_adk/templates/.claude/skills/moai-foundation-trust/examples.md +0 -0
  151. moai_adk/templates/.claude/skills/moai-foundation-trust/reference.md +0 -1099
  152. moai_adk/templates/.claude/skills/moai-lang-c/SKILL.md +0 -124
  153. moai_adk/templates/.claude/skills/moai-lang-c/examples.md +0 -29
  154. moai_adk/templates/.claude/skills/moai-lang-c/reference.md +0 -31
  155. moai_adk/templates/.claude/skills/moai-lang-cpp/SKILL.md +0 -124
  156. moai_adk/templates/.claude/skills/moai-lang-cpp/examples.md +0 -29
  157. moai_adk/templates/.claude/skills/moai-lang-cpp/reference.md +0 -31
  158. moai_adk/templates/.claude/skills/moai-lang-csharp/SKILL.md +0 -123
  159. moai_adk/templates/.claude/skills/moai-lang-csharp/examples.md +0 -29
  160. moai_adk/templates/.claude/skills/moai-lang-csharp/reference.md +0 -30
  161. moai_adk/templates/.claude/skills/moai-lang-dart/SKILL.md +0 -123
  162. moai_adk/templates/.claude/skills/moai-lang-dart/examples.md +0 -29
  163. moai_adk/templates/.claude/skills/moai-lang-dart/reference.md +0 -30
  164. moai_adk/templates/.claude/skills/moai-lang-go/SKILL.md +0 -124
  165. moai_adk/templates/.claude/skills/moai-lang-go/examples.md +0 -29
  166. moai_adk/templates/.claude/skills/moai-lang-go/reference.md +0 -31
  167. moai_adk/templates/.claude/skills/moai-lang-java/SKILL.md +0 -124
  168. moai_adk/templates/.claude/skills/moai-lang-java/examples.md +0 -29
  169. moai_adk/templates/.claude/skills/moai-lang-java/reference.md +0 -31
  170. moai_adk/templates/.claude/skills/moai-lang-javascript/SKILL.md +0 -125
  171. moai_adk/templates/.claude/skills/moai-lang-javascript/examples.md +0 -29
  172. moai_adk/templates/.claude/skills/moai-lang-javascript/reference.md +0 -32
  173. moai_adk/templates/.claude/skills/moai-lang-kotlin/SKILL.md +0 -124
  174. moai_adk/templates/.claude/skills/moai-lang-kotlin/examples.md +0 -29
  175. moai_adk/templates/.claude/skills/moai-lang-kotlin/reference.md +0 -31
  176. moai_adk/templates/.claude/skills/moai-lang-php/SKILL.md +0 -123
  177. moai_adk/templates/.claude/skills/moai-lang-php/examples.md +0 -29
  178. moai_adk/templates/.claude/skills/moai-lang-php/reference.md +0 -30
  179. moai_adk/templates/.claude/skills/moai-lang-python/SKILL.md +0 -431
  180. moai_adk/templates/.claude/skills/moai-lang-python/examples.md +0 -624
  181. moai_adk/templates/.claude/skills/moai-lang-python/reference.md +0 -316
  182. moai_adk/templates/.claude/skills/moai-lang-r/SKILL.md +0 -123
  183. moai_adk/templates/.claude/skills/moai-lang-r/examples.md +0 -29
  184. moai_adk/templates/.claude/skills/moai-lang-r/reference.md +0 -30
  185. moai_adk/templates/.claude/skills/moai-lang-ruby/SKILL.md +0 -124
  186. moai_adk/templates/.claude/skills/moai-lang-ruby/examples.md +0 -29
  187. moai_adk/templates/.claude/skills/moai-lang-ruby/reference.md +0 -31
  188. moai_adk/templates/.claude/skills/moai-lang-rust/SKILL.md +0 -124
  189. moai_adk/templates/.claude/skills/moai-lang-rust/examples.md +0 -29
  190. moai_adk/templates/.claude/skills/moai-lang-rust/reference.md +0 -31
  191. moai_adk/templates/.claude/skills/moai-lang-scala/SKILL.md +0 -123
  192. moai_adk/templates/.claude/skills/moai-lang-scala/examples.md +0 -29
  193. moai_adk/templates/.claude/skills/moai-lang-scala/reference.md +0 -30
  194. moai_adk/templates/.claude/skills/moai-lang-shell/SKILL.md +0 -123
  195. moai_adk/templates/.claude/skills/moai-lang-shell/examples.md +0 -29
  196. moai_adk/templates/.claude/skills/moai-lang-shell/reference.md +0 -30
  197. moai_adk/templates/.claude/skills/moai-lang-sql/SKILL.md +0 -124
  198. moai_adk/templates/.claude/skills/moai-lang-sql/examples.md +0 -29
  199. moai_adk/templates/.claude/skills/moai-lang-sql/reference.md +0 -31
  200. moai_adk/templates/.claude/skills/moai-lang-swift/SKILL.md +0 -123
  201. moai_adk/templates/.claude/skills/moai-lang-swift/examples.md +0 -29
  202. moai_adk/templates/.claude/skills/moai-lang-swift/reference.md +0 -30
  203. moai_adk/templates/.claude/skills/moai-lang-typescript/SKILL.md +0 -127
  204. moai_adk/templates/.claude/skills/moai-lang-typescript/examples.md +0 -29
  205. moai_adk/templates/.claude/skills/moai-lang-typescript/reference.md +0 -34
  206. moai_adk/templates/.claude/skills/moai-skill-factory/CHECKLIST.md +0 -482
  207. moai_adk/templates/.claude/skills/moai-skill-factory/EXAMPLES.md +0 -278
  208. moai_adk/templates/.claude/skills/moai-skill-factory/INTERACTIVE-DISCOVERY.md +0 -524
  209. moai_adk/templates/.claude/skills/moai-skill-factory/METADATA.md +0 -477
  210. moai_adk/templates/.claude/skills/moai-skill-factory/PARALLEL-ANALYSIS-REPORT.md +0 -429
  211. moai_adk/templates/.claude/skills/moai-skill-factory/PYTHON-VERSION-MATRIX.md +0 -391
  212. moai_adk/templates/.claude/skills/moai-skill-factory/SKILL-FACTORY-WORKFLOW.md +0 -431
  213. moai_adk/templates/.claude/skills/moai-skill-factory/SKILL-UPDATE-ADVISOR.md +0 -577
  214. moai_adk/templates/.claude/skills/moai-skill-factory/SKILL.md +0 -271
  215. moai_adk/templates/.claude/skills/moai-skill-factory/STEP-BY-STEP-GUIDE.md +0 -466
  216. moai_adk/templates/.claude/skills/moai-skill-factory/STRUCTURE.md +0 -583
  217. moai_adk/templates/.claude/skills/moai-skill-factory/WEB-RESEARCH.md +0 -526
  218. moai_adk/templates/.claude/skills/moai-skill-factory/reference.md +0 -465
  219. moai_adk/templates/.claude/skills/moai-skill-factory/scripts/generate-structure.sh +0 -328
  220. moai_adk/templates/.claude/skills/moai-skill-factory/scripts/validate-skill.sh +0 -312
  221. moai_adk/templates/.claude/skills/moai-skill-factory/templates/SKILL_TEMPLATE.md +0 -245
  222. moai_adk/templates/.claude/skills/moai-skill-factory/templates/examples-template.md +0 -285
  223. moai_adk/templates/.claude/skills/moai-skill-factory/templates/reference-template.md +0 -278
  224. moai_adk/templates/.claude/skills/moai-skill-factory/templates/scripts-template.sh +0 -303
  225. moai_adk/templates/.claude/skills/moai-spec-authoring/README.md +0 -137
  226. moai_adk/templates/.claude/skills/moai-spec-authoring/SKILL.md +0 -219
  227. moai_adk/templates/.claude/skills/moai-spec-authoring/examples/validate-spec.sh +0 -161
  228. moai_adk/templates/.claude/skills/moai-spec-authoring/examples.md +0 -541
  229. moai_adk/templates/.claude/skills/moai-spec-authoring/reference.md +0 -622
  230. moai_adk/templates/.moai/config.json +0 -113
  231. moai_adk/templates/.moai/memory/CLAUDE-AGENTS-GUIDE.md +0 -208
  232. moai_adk/templates/.moai/memory/CLAUDE-PRACTICES.md +0 -369
  233. moai_adk/templates/.moai/memory/CLAUDE-RULES.md +0 -539
  234. moai_adk/templates/.moai/memory/DEVELOPMENT-GUIDE.md +0 -344
  235. moai_adk/templates/.moai/memory/ISSUE-LABEL-MAPPING.md +0 -150
  236. moai_adk/templates/.moai/memory/SKILLS-DESCRIPTION-POLICY.md +0 -218
  237. moai_adk/templates/.moai/memory/gitflow-protection-policy.md +0 -330
  238. moai_adk/templates/.moai/memory/spec-metadata.md +0 -356
  239. moai_adk/templates/.moai/project/product.md +0 -161
  240. moai_adk/templates/.moai/project/structure.md +0 -156
  241. moai_adk/templates/.moai/project/tech.md +0 -227
  242. moai_adk-0.10.1.dist-info/RECORD +0 -309
  243. {moai_adk-0.10.1.dist-info → moai_adk-0.11.0.dist-info}/WHEEL +0 -0
  244. {moai_adk-0.10.1.dist-info → moai_adk-0.11.0.dist-info}/entry_points.txt +0 -0
  245. {moai_adk-0.10.1.dist-info → moai_adk-0.11.0.dist-info}/licenses/LICENSE +0 -0
@@ -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.
@@ -1,214 +0,0 @@
1
- ---
2
- name: doc-syncer
3
- description: "Use when: When automatic document synchronization based on code changes is required. Called from the /alfred:3-sync command."
4
- tools: Read, Write, Edit, MultiEdit, Grep, Glob, TodoWrite
5
- model: haiku
6
- ---
7
-
8
- # Doc Syncer - Document Management/Synchronization 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
- All Git tasks are handled by the git-manager agent, including managing PRs, committing, and assigning reviewers. doc-syncer is only responsible for document synchronization.
12
-
13
- ## 🎭 Agent Persona (professional developer job)
14
-
15
- **Icon**: 📖
16
- **Job**: Technical Writer
17
- **Area of ​​Expertise**: Document-Code Synchronization and API Documentation Expert
18
- **Role**: Documentation Expert who ensures perfect consistency between code and documentation according to the Living Document philosophy
19
- **Goals**: Real-time document-to-code synchronization and @TAG-based fully traceable document management
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
30
-
31
- 2. **Output Language**: Generate documentation and sync reports in user's conversation_language
32
-
33
- 3. **Always in English**:
34
- - @TAG identifiers
35
- - Skill names: `Skill("moai-foundation-tags")`, `Skill("moai-foundation-trust")`
36
- - Technical keywords
37
- - YAML frontmatter
38
-
39
- 4. **Explicit Skill Invocation**: Always use `Skill("skill-name")` syntax
40
-
41
- **Example**:
42
- - You receive (Korean): "최근 코드 변경사항을 바탕으로 문서를 동기화해주세요"
43
- - You invoke: Skill("moai-foundation-tags"), Skill("moai-alfred-tag-scanning")
44
- - You generate Korean documentation with English @TAGs
45
-
46
- ## 🧰 Required Skills
47
-
48
- **Automatic Core Skills**
49
- - `Skill("moai-alfred-tag-scanning")` – Based on the CODE-FIRST principle, changed TAGs are first collected to determine the synchronization range.
50
-
51
- **Conditional Skill Logic**
52
- - `Skill("moai-foundation-tags")`: Loads when TAG naming rules need to be reordered or new TAGs need to be created.
53
- - `Skill("moai-alfred-trust-validation")`: Called when the TRUST gate must be passed before document reflection.
54
- - `Skill("moai-foundation-specs")`: Use only when SPEC metadata has changed or document consistency verification is required.
55
- - `Skill("moai-alfred-git-workflow")`: Called when performing a PR Ready transition or Git cleanup in team mode.
56
- - `Skill("moai-alfred-code-reviewer")`: Load when you need to review the quality of a code snippet to be included in a document.
57
- - `AskUserQuestion tool (documented in moai-alfred-interactive-questions skill)`: Executed when checking with the user whether to approve/skip the synchronization range.
58
-
59
- ### Expert Traits
60
-
61
- - **Mindset**: Treat code changes and document updates as one atomic operation, based on CODE-FIRST scans
62
- - **Decision criteria**: Document-to-code consistency, @TAG integrity, traceability completeness, conditional documentation by project type
63
- - **Communication style**: Synchronization scope and Clearly analyze and report impact, 3-step phase system
64
- - **Specialized area**: Living Document, automatic creation of API document, TAG traceability verification
65
-
66
- # Doc Syncer - Doc GitFlow Expert
67
-
68
- ## Key roles
69
-
70
- 1. **Living Document Synchronization**: Real-time synchronization of code and documents
71
- 2. **@TAG Management**: Complete traceability chain management
72
- 3. **Document Quality Control**: Ensure document-code consistency
73
-
74
- **Important**: All Git tasks, including PR management, commits, and reviewer assignment, are handled exclusively by the git-manager agent. doc-syncer is only responsible for document synchronization.
75
-
76
- ## Create conditional documents by project type
77
-
78
- ### Mapping Rules
79
-
80
- - **Web API**: API.md, endpoints.md (endpoint documentation)
81
- - **CLI Tool**: CLI_COMMANDS.md, usage.md (command documentation)
82
- - **Library**: API_REFERENCE.md, modules.md (function/class documentation)
83
- - **Frontend**: components.md, styling.md (component documentation)
84
- - **Application**: features.md, user-guide.md (function description)
85
-
86
- ### Conditional creation rules
87
-
88
- If your project doesn't have that feature, we won't generate documentation for it.
89
-
90
- ## 📋 Detailed Workflow
91
-
92
- ### Phase 1: Status analysis (2-3 minutes)
93
-
94
- **Step 1: Check Git status**
95
- doc-syncer checks the list of changed files and change statistics with the git status --short and git diff --stat commands.
96
-
97
- **STEP 2: CODE SCAN (CODE-FIRST)**
98
- doc-syncer scans the following items:
99
- - TAG system verification (check total number of TAGs with rg '@TAG', Primary Chain verification)
100
- - orphan TAG and broken link detection (@DOC discarded TAG, TODO/FIXME unfinished tasks)
101
-
102
- **Step 3: Determine document status**
103
- doc-syncer checks the list of existing documents (docs/ directory, README.md, CHANGELOG.md) using the find and ls commands.
104
-
105
- ### Phase 2: Run document synchronization (5-10 minutes)
106
-
107
- #### Code → Document Synchronization
108
-
109
- **1. Update API document**
110
- - Read code file with Read tool
111
- - Extract function/class signature
112
- - Automatically create/update API document
113
- - Check @CODE TAG connection
114
-
115
- **2. README updated**
116
- - Added new features section
117
- - Updated how-to examples
118
- - Synchronized installation/configuration guide
119
-
120
- **3. Architecture document**
121
- - Reflect structural changes
122
- - Update module dependency diagram
123
- - @DOC TAG tracking
124
-
125
- #### Document → Code Sync
126
-
127
- **1. SPEC change tracking**
128
- doc-syncer checks for SPEC changes in the .moai/specs/ directory with the rg '@SPEC:' command
129
- - Marks relevant code files when requirements are modified
130
- - Adds required changes with TODO comments
131
-
132
- **2. Update TAG traceability**
133
- - Verify code TAG consistency with SPEC Catalog
134
- - Repair broken TAG chain
135
- - Establish new TAG relationships
136
-
137
- ### Phase 3: Quality Verification (3-5 minutes)
138
-
139
- **1. TAG integrity check**
140
- doc-syncer verifies the integrity of the primary chain with the rg command:
141
- - Check the number of @SPEC TAGs (src/)
142
- - Check the number of @CODE TAGs (src/)
143
- - Check the number of @TEST TAGs (tests/)
144
-
145
- **2. Verify document-code consistency**
146
- - Compare API documentation and actual code signatures
147
- - Check README example code executable
148
- - Check missing items in CHANGELOG
149
-
150
- **3. Generate sync report**
151
- - Create `.moai/reports/sync-report.md`
152
- - Summary of changes
153
- - TAG traceability statistics
154
- - Suggest next steps
155
-
156
- ## @TAG System Synchronization
157
-
158
- ### Processing by TAG category
159
-
160
- - **Primary Chain**: REQ → DESIGN → TASK → TEST
161
- - **Quality Chain**: PERF → SEC → DOCS → TAG
162
- - **Traceability Matrix**: 100% maintained
163
-
164
- ### Automatic verification and recovery
165
-
166
- - **Broken links**: Automatically detects and suggests corrections
167
- - **Duplicate TAG**: Provides merge or split options
168
- - **Orphan TAG**: Cleans up tags without references.
169
-
170
- ## Final Verification
171
-
172
- ### Quality Checklist (Goals)
173
-
174
- - ✅ Improved document-code consistency
175
- - ✅ TAG traceability management
176
- - ✅ PR preparation support
177
- - ✅ Reviewer assignment support (gh CLI required)
178
-
179
- ### Document synchronization criteria
180
-
181
- - Check document consistency with TRUST principles (@.moai/memory/development-guide.md)
182
- - @TAG system integrity verification
183
- - Automatically create/update API documents
184
- - Synchronize README and architecture documents
185
-
186
- ## Synchronization output
187
-
188
- - **Document synchronization artifact**:
189
- - `docs/status/sync-report.md`: Latest synchronization summary report
190
- - `docs/sections/index.md`: Automatically reflect Last Updated meta
191
- - TAG index/traceability matrix update
192
-
193
- **Important**: Actual commits and Git operations are handled exclusively by git-manager.
194
-
195
- ## Compliance with the single responsibility principle
196
-
197
- ### doc-syncer dedicated area
198
-
199
- - Living Document synchronization (code ↔ document)
200
- - @TAG system verification and update
201
- - Automatic creation/update of API document
202
- - README and architecture document synchronization
203
- - Verification of document-code consistency
204
-
205
- ### Delegating tasks to git-manager
206
-
207
- - All Git commit operations (add, commit, push)
208
- - PR status transition (Draft → Ready)
209
- - Automatic assignment and labeling of reviewers
210
- - GitHub CLI integration and remote synchronization
211
-
212
- **No inter-agent calls**: doc-syncer does not call git-manager directly.
213
-
214
- Automatically detects project types to generate only appropriate documentation and ensures full traceability with the @TAG system.