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
@@ -1,269 +0,0 @@
1
- ---
2
- name: moai-cc-agents
3
- description: "Creating and Managing Sub-agents in Claude Code. Design agent personas, define proactive triggers, set tool permissions, structure agent files. Use when building specialized agents for code review, debugging, architecture, or domain-specific tasks."
4
- allowed-tools: "Read, Write, Edit, Glob, Bash"
5
- ---
6
-
7
- ## Skill Metadata
8
-
9
- | Field | Value |
10
- | ----- | ----- |
11
- | Version | 1.0.0 |
12
- | Tier | Ops |
13
- | Auto-load | When creating or managing sub-agents |
14
-
15
- ## What It Does
16
-
17
- Sub-agent 생성 및 관리를 위한 전체 가이드를 제공합니다. Agent persona 설계, proactive trigger 정의, tool 권한 설정, agent 파일 구조화 방법을 다룹니다.
18
-
19
- ## When to Use
20
-
21
- - Sub-agent를 새로 생성할 때
22
- - 기존 agent의 권한이나 trigger 조건을 수정할 때
23
- - Agent 간 협업 패턴을 설계할 때
24
- - Tool access 최소화 원칙을 적용할 때
25
-
26
-
27
- # Creating and Managing Sub-agents
28
-
29
- Sub-agents are specialized Claude instances with independent context, custom prompts, and restricted tool access. They handle deep analysis, parallel work, and autonomous tasks.
30
-
31
- ## Agent File Structure
32
-
33
- **Location**: `.claude/agents/`
34
-
35
- ```yaml
36
- ---
37
- name: agent-name
38
- description: Use PROACTIVELY for [specific trigger conditions]
39
- tools: Read, Write, Edit, Glob, Grep, Bash(git:*)
40
- model: sonnet
41
- ---
42
-
43
- # Agent Name — Specialist Role
44
-
45
- Brief description of agent expertise.
46
-
47
- ## Core Mission
48
-
49
- - Primary responsibility
50
- - Scope boundaries
51
- - Success criteria
52
-
53
- ## Proactive Triggers
54
-
55
- - When to activate automatically
56
- - Specific conditions for invocation
57
- - Integration with workflow
58
-
59
- ## Workflow Steps
60
-
61
- 1. Input validation
62
- 2. Task execution
63
- 3. Output verification
64
- 4. Handoff to next agent (if applicable)
65
-
66
- ## Constraints
67
-
68
- - What NOT to do
69
- - Delegation rules
70
- - Quality gates
71
- ```
72
-
73
- ## Agent Persona Design Pattern
74
-
75
- ```markdown
76
- ---
77
- name: code-reviewer
78
- description: Use PROACTIVELY for code review requests, PR analysis, or quality checks
79
- tools: Read, Glob, Grep, Bash(git:*)
80
- model: sonnet
81
- ---
82
-
83
- # Code Reviewer — Quality Expert
84
-
85
- Specialized in identifying code quality issues, security risks, and architecture concerns.
86
-
87
- ## Core Mission
88
-
89
- - Review code for SOLID principles
90
- - Identify code smells and anti-patterns
91
- - Verify security best practices
92
- - Suggest improvements with rationale
93
-
94
- ## Proactive Triggers
95
-
96
- - When user mentions "review", "quality", "audit"
97
- - After significant code changes
98
- - Before PR merge
99
-
100
- ## Workflow Steps
101
-
102
- 1. **Analyze**: Read changed files, understand context
103
- 2. **Evaluate**: Check against TRUST 5 principles
104
- 3. **Report**: List findings with severity & fix suggestions
105
- 4. **Recommend**: Suggest refactoring or architectural improvements
106
-
107
- ## Constraints
108
-
109
- - No direct edits (only suggestions)
110
- - Focus on maintainability, not style
111
- - Respect existing architecture decisions
112
- ```
113
-
114
- ## High-Freedom: Agent Principles
115
-
116
- ### Autonomy & Expertise
117
- - Each agent owns 1 specialization (not 3+)
118
- - Define clear "when to activate" triggers
119
- - Agents should make decisions independently
120
-
121
- ### Tool Access Minimization
122
- - Grant only necessary tools per role
123
- - Restrict Bash to specific commands: `Bash(git:*)`, `Bash(python:*)`
124
- - Never grant `Bash(*)`; always specify pattern
125
-
126
- ### Handoff & Collaboration
127
- - Agent A completes → hands off to Agent B
128
- - Use clear "next agent" instructions
129
- - No circular dependencies
130
-
131
- ## Medium-Freedom: Common Agent Patterns
132
-
133
- ### Pattern 1: Debugger Agent
134
- ```yaml
135
- name: debugger
136
- description: Use PROACTIVELY for error diagnosis, test failures, exception analysis
137
- tools: Read, Grep, Glob, Bash(pytest:*), Bash(git:*)
138
- model: sonnet
139
- ```
140
-
141
- **Mission**: Diagnose errors, provide fix-forward guidance
142
- **Triggers**: `error`, `failed`, `exception`, `debug`
143
- **Output**: Root cause + suggested fixes
144
-
145
- ### Pattern 2: Architect Agent
146
- ```yaml
147
- name: architect
148
- description: Use PROACTIVELY for system design, refactoring, scalability concerns
149
- tools: Read, Glob, Grep, Bash(ls:*), Bash(find:*)
150
- model: sonnet
151
- ```
152
-
153
- **Mission**: Design systems, propose architectures
154
- **Triggers**: `architecture`, `refactor`, `design`, `scalability`
155
- **Output**: Design document + implementation roadmap
156
-
157
- ### Pattern 3: Security Agent
158
- ```yaml
159
- name: security-auditor
160
- description: Use PROACTIVELY for vulnerability assessment, OWASP checks, secrets detection
161
- tools: Read, Glob, Grep
162
- model: sonnet
163
- ```
164
-
165
- **Mission**: Find security issues, verify OWASP compliance
166
- **Triggers**: `security`, `audit`, `vulnerability`, `secrets`
167
- **Output**: Risk assessment + remediation steps
168
-
169
- ## Low-Freedom: Tool Permission Patterns
170
-
171
- ### Principle of Least Privilege
172
-
173
- ```yaml
174
- # ❌ Too permissive
175
- tools: Read, Write, Edit, Bash(*)
176
-
177
- # ✅ Appropriate
178
- tools: Read, Glob, Grep # Read-only analysis
179
-
180
- # ✅ Appropriate
181
- tools: Read, Edit, Bash(black:*), Bash(pytest:*) # Formatter + tests only
182
- ```
183
-
184
- ### Bash Command Restrictions
185
-
186
- ```yaml
187
- # Allowed patterns:
188
- Bash(git:*) # All git commands
189
- Bash(npm run:*) # Only npm run scripts
190
- Bash(python:*) # Python interpreter
191
- Bash(pytest:*) # Pytest runner
192
-
193
- # Denied patterns:
194
- Bash(rm:*) # Dangerous deletion
195
- Bash(sudo:*) # Privilege escalation
196
- Bash(curl:*) # Arbitrary downloads
197
- ```
198
-
199
- ## Agent Execution Modes
200
-
201
- ### Mode 1: Inline (main context)
202
- ```bash
203
- /role security
204
- "Check this project for vulnerabilities"
205
- # Runs in main session context
206
- ```
207
-
208
- ### Mode 2: Sub-agent (isolated context)
209
- ```bash
210
- /role security --agent
211
- "Perform comprehensive security audit"
212
- # Runs in independent context, can work in parallel
213
- ```
214
-
215
- ### Mode 3: Parallel Multi-role
216
- ```bash
217
- /multi-role security,performance,qa --agent
218
- "Analyze security, performance, and quality"
219
- # All roles run in parallel, results merged
220
- ```
221
-
222
- ## Agent Registration & Discovery
223
-
224
- ```bash
225
- # List available agents
226
- /agents
227
-
228
- # Create new agent interactively
229
- /agents create
230
-
231
- # View specific agent
232
- /agents view security-auditor
233
-
234
- # Edit agent
235
- /agents edit security-auditor
236
-
237
- # Delete agent
238
- /agents delete security-auditor
239
- ```
240
-
241
- ## Agent Validation Checklist
242
-
243
- - [ ] `name` is kebab-case (e.g., `code-reviewer`)
244
- - [ ] `description` includes "Use PROACTIVELY for"
245
- - [ ] `tools` list only necessary tools
246
- - [ ] No `Bash(*)` wildcard; specific patterns only
247
- - [ ] `model` is `haiku` or `sonnet`
248
- - [ ] `Proactive Triggers` section clearly defined
249
- - [ ] No overlapping responsibilities with other agents
250
- - [ ] YAML frontmatter is valid
251
-
252
- ## Best Practices
253
-
254
- ✅ **DO**:
255
- - Design agents around specific expertise
256
- - Use `--agent` flag for large analyses
257
- - Combine multiple agents for complex tasks
258
- - Name agents descriptively
259
-
260
- ❌ **DON'T**:
261
- - Create overpowered agents with all tools
262
- - Allow direct file modifications without approval
263
- - Overlap agent responsibilities
264
- - Use `Bash(*)` without specific patterns
265
-
266
- ---
267
-
268
- **Reference**: Claude Code Sub-agents documentation
269
- **Version**: 1.0.0
@@ -1,32 +0,0 @@
1
- ---
2
- name: agent-name
3
- description: Use PROACTIVELY for [specific trigger conditions]
4
- tools: Read, Glob, Grep, Bash(git:*)
5
- model: sonnet
6
- ---
7
-
8
- # Agent Name — Specialist Role
9
-
10
- Brief description of agent expertise.
11
-
12
- ## Core Mission
13
-
14
- - Primary responsibility
15
- - Scope boundaries
16
- - Success criteria
17
-
18
- ## Proactive Triggers
19
-
20
- - When to activate automatically
21
- - Specific conditions for invocation
22
-
23
- ## Workflow Steps
24
-
25
- 1. Input validation
26
- 2. Task execution
27
- 3. Output verification
28
-
29
- ## Constraints
30
-
31
- - What NOT to do
32
- - Delegation rules
@@ -1,298 +0,0 @@
1
- ---
2
- name: moai-cc-claude-md
3
- description: "Authoring CLAUDE.md Project Instructions. Design project-specific AI guidance, document workflows, define architecture patterns. Use when creating CLAUDE.md files for projects, documenting team standards, or establishing AI collaboration guidelines."
4
- allowed-tools: "Read, Write, Edit, Glob"
5
- ---
6
-
7
- ## Skill Metadata
8
-
9
- | Field | Value |
10
- | ----- | ----- |
11
- | Version | 1.0.0 |
12
- | Tier | Ops |
13
- | Auto-load | When authoring CLAUDE.md files |
14
-
15
- ## What It Does
16
-
17
- 프로젝트별 CLAUDE.md 파일 작성을 위한 표준 구조와 패턴을 제공합니다. AI 협업 가이드라인, 워크플로우 문서화, 아키텍처 패턴 정의 방법을 다룹니다.
18
-
19
- ## When to Use
20
-
21
- - 새 프로젝트의 CLAUDE.md 파일을 생성할 때
22
- - 기존 CLAUDE.md를 업데이트하거나 개선할 때
23
- - 팀 표준 및 개발 워크플로우를 문서화할 때
24
- - AI 협업 패턴을 정의할 때
25
-
26
-
27
- # Authoring CLAUDE.md Project Instructions
28
-
29
- CLAUDE.md is a Markdown file that provides Claude with project-specific context, workflows, standards, and guidance. It acts as a living document for AI collaboration patterns.
30
-
31
- ## CLAUDE.md File Location & Purpose
32
-
33
- **Location**: `./{PROJECT_ROOT}/CLAUDE.md` or `/~/.claude/CLAUDE.md` (personal)
34
-
35
- **Purpose**: Tell Claude about your project before every session starts.
36
-
37
- ## Core Sections
38
-
39
- ### Section 1: Project Overview
40
-
41
- ```markdown
42
- # Project Name
43
-
44
- **Description**: What does this project do?
45
-
46
- **Repository**: GitHub URL
47
- **Tech Stack**: Technologies, languages, frameworks
48
- **Team**: Size, roles
49
- **Status**: Active, archived, experimental
50
- ```
51
-
52
- ### Section 2: Core Workflow
53
-
54
- ```markdown
55
- ## Development Workflow
56
-
57
- ### Phase 1: Planning
58
- - Use `/alfred:1-plan` for SPEC creation
59
- - EARS syntax: Ubiquitous, Event-driven, State-driven, Optional, Constraints
60
- - Store in `.moai/specs/`
61
-
62
- ### Phase 2: Implementation (TDD)
63
- - RED: Write failing tests
64
- - GREEN: Minimal implementation
65
- - REFACTOR: Improve quality
66
- - Tools: pytest, TypeScript, mypy, ruff
67
-
68
- ### Phase 3: Sync & Documentation
69
- - Run `/alfred:3-sync` to validate
70
- - Update Living Documents
71
- - Verify @TAG chains
72
- - Prepare PR
73
- ```
74
-
75
- ### Section 3: Code Standards
76
-
77
- ```markdown
78
- ## Code Standards (TRUST 5 Principles)
79
-
80
- ### T - Test First
81
- - Target coverage: ≥ 85%
82
- - Framework: pytest for Python, Jest for TypeScript
83
- - Pattern: TDD (RED → GREEN → REFACTOR)
84
-
85
- ### R - Readable
86
- - Max file: 300 LOC
87
- - Max function: 50 LOC
88
- - Max params: 5
89
- - Use linters: ruff (Python), ESLint (TypeScript)
90
-
91
- ### U - Unified
92
- - Type safety: mypy for Python, TypeScript strict mode
93
- - Consistent patterns across domain
94
- - Shared utilities in `src/core/`
95
-
96
- ### S - Secured
97
- - Input validation everywhere
98
- - No hardcoded secrets
99
- - Use environment variables
100
- - Run: bandit (Python), npm audit
101
-
102
- ### T - Trackable
103
- - @TAG system: @SPEC:ID, @TEST:ID, @CODE:ID, @DOC:ID
104
- - Document all changes in HISTORY section
105
- - Link code to SPEC requirements
106
- ```
107
-
108
- ### Section 4: Project Architecture
109
-
110
- ```markdown
111
- ## Architecture
112
-
113
- ### Directory Structure
114
- ```
115
- src/
116
- ├── core/ # Shared utilities, domain models
117
- ├── domain/ # Business logic, DOMAIN-specific
118
- ├── interfaces/ # API endpoints, CLI commands
119
- ├── middleware/ # Cross-cutting concerns
120
- └── infra/ # Database, external services
121
-
122
- tests/
123
- ├── unit/ # Unit tests for core/ and domain/
124
- ├── integration/ # API, database tests
125
- └── e2e/ # End-to-end workflows
126
- ```
127
-
128
- ### Key Design Decisions
129
- - Monolithic backend (for now)
130
- - Database: PostgreSQL with migrations
131
- - Authentication: JWT tokens
132
- - API: REST with OpenAPI docs
133
- ```
134
-
135
- ### Section 5: AI Collaboration Patterns
136
-
137
- ```markdown
138
- ## Working with Claude Code
139
-
140
- ### When to Use Sub-agents
141
- - `debug-helper`: Errors, test failures, exceptions
142
- - `security-auditor`: Vulnerability assessment, OWASP checks
143
- - `architect`: Refactoring, system design, scalability
144
- - `code-reviewer`: Quality analysis, SOLID violations
145
-
146
- ### Commands Available
147
- - `/alfred:1-plan "feature description"` — Create SPEC
148
- - `/alfred:2-run SPEC-ID` — Implement (TDD)
149
- - `/alfred:3-sync` — Sync docs and validate
150
- - `/review-code src/**/*.ts` — Code review
151
- - `/deploy [env]` — Deploy pipeline
152
-
153
- ### Context Engineering Tips
154
- - Always mention relevant SPEC ID
155
- - Provide file paths relative to project root
156
- - Link to similar existing features
157
- - Mention constraints or non-negotiables upfront
158
- ```
159
-
160
- ### Section 6: Known Gotchas & Decisions
161
-
162
- ```markdown
163
- ## Important Notes
164
-
165
- ### Why We Use SPEC-First
166
- - Clarifies requirements upfront
167
- - Prevents scope creep
168
- - Enables parallel work (different SPECs)
169
- - Makes code changes traceable
170
-
171
- ### Common Mistakes to Avoid
172
- - ❌ Implementing without SPEC
173
- - ❌ Skipping tests for "quick" fixes
174
- - ❌ Mixing multiple features in one PR
175
- - ❌ Ignoring @TAG system
176
-
177
- ### Team Decisions
178
- - Use pytest fixtures for mocking (not monkeypatch)
179
- - All API responses must include status codes
180
- - Database migrations are CI/CD blocking
181
- - Security audit runs on every PR
182
- ```
183
-
184
- ## CLAUDE.md Examples by Domain
185
-
186
- ### Example 1: Web API Project
187
- ```markdown
188
- # Transaction API
189
-
190
- **Tech Stack**: Python (FastAPI), PostgreSQL, pytest
191
-
192
- ## Phase Workflow
193
-
194
- 1. **SPEC**: Requirements in EARS syntax
195
- - Example: `The API must validate transaction amounts > 0`
196
- - Stored in: `.moai/specs/SPEC-TRANS-{###}/spec.md`
197
-
198
- 2. **TDD**: Implement with test-first approach
199
- - Tests: `tests/integration/test_transactions.py`
200
- - Code: `src/domain/transaction.py`
201
-
202
- 3. **Sync**: Verify completeness
203
- - Run: `/alfred:3-sync`
204
- - Check: TAG chain integrity
205
- ```
206
-
207
- ### Example 2: React Frontend Project
208
- ```markdown
209
- # Competition Dashboard
210
-
211
- **Tech Stack**: TypeScript, React 19, Vitest, Tailwind
212
-
213
- ## Development Standards
214
-
215
- - Framework: Next.js 15 (App Router)
216
- - Testing: Vitest + React Testing Library
217
- - Styling: Tailwind CSS with shadcn/ui
218
- - State: Zustand for client state, Server Components for data
219
-
220
- ## Key Patterns
221
- - Server Components for data fetching
222
- - Suspense boundaries for loading states
223
- - Error boundaries for graceful failures
224
- ```
225
-
226
- ## High-Freedom: Architectural Decisions
227
-
228
- ```markdown
229
- ## Why This Architecture?
230
-
231
- ### Monolith vs Microservices
232
- - **Chosen**: Monolithic backend
233
- - **Reason**: Team < 10, throughput manageable
234
- - **When to reconsider**: >10M requests/month or 3+ teams
235
-
236
- ### Database: PostgreSQL
237
- - **Reason**: Strong ACID guarantees, mature ecosystem
238
- - **Alternatives considered**: MongoDB (rejected: unclear schema)
239
- ```
240
-
241
- ## Medium-Freedom: Workflow Definition
242
-
243
- ```markdown
244
- ## Code Review Checklist
245
-
246
- Before merging, reviewer must verify:
247
- 1. [ ] SPEC ID linked in PR description
248
- 2. [ ] All tests passing (>85% coverage)
249
- 3. [ ] No security issues (bandit clean)
250
- 4. [ ] Code follows TRUST 5 principles
251
- 5. [ ] @TAG chain complete (@SPEC → @TEST → @CODE → @DOC)
252
- 6. [ ] CHANGELOG updated
253
- ```
254
-
255
- ## Low-Freedom: Explicit Rules
256
-
257
- ```markdown
258
- ## Non-negotiable Rules
259
-
260
- - ❌ No commits without @TAG references
261
- - ❌ No merging PRs without passing tests
262
- - ❌ No pushing secrets to repo
263
- - ❌ No force-pushing to main/master
264
- - ✅ All features must have SPEC document
265
- - ✅ All code changes must have corresponding tests
266
- - ✅ All SPECs must use EARS syntax
267
- ```
268
-
269
- ## Validation Checklist
270
-
271
- - [ ] Project name and description clear
272
- - [ ] Tech stack documented
273
- - [ ] Development workflow defined (Plan → Run → Sync)
274
- - [ ] TRUST 5 principles explained
275
- - [ ] Architecture diagram or structure described
276
- - [ ] AI collaboration patterns defined
277
- - [ ] Known gotchas documented
278
- - [ ] Examples provided for key workflows
279
-
280
- ## Best Practices
281
-
282
- ✅ **DO**:
283
- - Keep CLAUDE.md up-to-date as standards evolve
284
- - Include real examples (links to actual files/PRs)
285
- - Document why (not just what)
286
- - Link to external docs (architecture decisions, security policy)
287
- - Review with team before finalizing
288
-
289
- ❌ **DON'T**:
290
- - Explain general programming concepts (Claude already knows)
291
- - List every possible workflow (focus on your specific patterns)
292
- - Write as instruction to humans (write as guidance to Claude)
293
- - Update CLAUDE.md only at project start (evolve as needed)
294
-
295
- ---
296
-
297
- **Reference**: Claude Code CLAUDE.md documentation
298
- **Version**: 1.0.0
@@ -1,26 +0,0 @@
1
- # Project Name
2
-
3
- **Description**: What does this project do?
4
-
5
- ## Development Workflow
6
-
7
- ### Phase 1: Planning
8
- - Use `/alfred:1-plan` for SPEC creation
9
- - Use EARS syntax
10
-
11
- ### Phase 2: Implementation (TDD)
12
- - RED: Write failing tests
13
- - GREEN: Minimal implementation
14
- - REFACTOR: Improve quality
15
-
16
- ### Phase 3: Sync & Documentation
17
- - Run `/alfred:3-sync`
18
- - Update Living Documents
19
-
20
- ## Code Standards (TRUST 5)
21
-
22
- - **T**est First: ≥85% coverage
23
- - **R**eadable: Max 300 LOC per file
24
- - **U**nified: Type safety
25
- - **S**ecured: Input validation
26
- - **T**rackable: @TAG system