moai-adk 0.25.4__py3-none-any.whl → 0.41.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 (672) hide show
  1. moai_adk/__init__.py +2 -5
  2. moai_adk/__main__.py +114 -82
  3. moai_adk/cli/__init__.py +6 -1
  4. moai_adk/cli/commands/__init__.py +1 -3
  5. moai_adk/cli/commands/analyze.py +5 -16
  6. moai_adk/cli/commands/doctor.py +6 -18
  7. moai_adk/cli/commands/init.py +60 -126
  8. moai_adk/cli/commands/language.py +14 -35
  9. moai_adk/cli/commands/status.py +9 -15
  10. moai_adk/cli/commands/update.py +1560 -190
  11. moai_adk/cli/prompts/init_prompts.py +112 -56
  12. moai_adk/cli/spec_status.py +263 -0
  13. moai_adk/cli/ui/__init__.py +44 -0
  14. moai_adk/cli/ui/progress.py +422 -0
  15. moai_adk/cli/ui/prompts.py +389 -0
  16. moai_adk/cli/ui/theme.py +129 -0
  17. moai_adk/cli/worktree/__init__.py +27 -0
  18. moai_adk/cli/worktree/__main__.py +31 -0
  19. moai_adk/cli/worktree/cli.py +683 -0
  20. moai_adk/cli/worktree/exceptions.py +89 -0
  21. moai_adk/cli/worktree/manager.py +493 -0
  22. moai_adk/cli/worktree/models.py +65 -0
  23. moai_adk/cli/worktree/registry.py +422 -0
  24. moai_adk/core/PHASE2_OPTIMIZATIONS.md +467 -0
  25. moai_adk/core/analysis/session_analyzer.py +17 -56
  26. moai_adk/core/claude_integration.py +26 -54
  27. moai_adk/core/command_helpers.py +10 -10
  28. moai_adk/core/comprehensive_monitoring_system.py +1183 -0
  29. moai_adk/core/config/migration.py +19 -9
  30. moai_adk/core/config/unified.py +610 -0
  31. moai_adk/core/context_manager.py +6 -12
  32. moai_adk/core/enterprise_features.py +1404 -0
  33. moai_adk/core/error_recovery_system.py +747 -116
  34. moai_adk/core/event_driven_hook_system.py +1371 -0
  35. moai_adk/core/git/__init__.py +8 -0
  36. moai_adk/core/git/branch_manager.py +3 -11
  37. moai_adk/core/git/checkpoint.py +1 -3
  38. moai_adk/core/git/conflict_detector.py +422 -0
  39. moai_adk/core/git/event_detector.py +16 -5
  40. moai_adk/core/git/manager.py +91 -1
  41. moai_adk/core/input_validation_middleware.py +1006 -0
  42. moai_adk/core/integration/engine.py +6 -18
  43. moai_adk/core/integration/integration_tester.py +10 -9
  44. moai_adk/core/integration/utils.py +1 -1
  45. moai_adk/core/issue_creator.py +10 -28
  46. moai_adk/core/jit_context_loader.py +956 -0
  47. moai_adk/core/jit_enhanced_hook_manager.py +1987 -0
  48. moai_adk/core/language_config_resolver.py +578 -0
  49. moai_adk/core/language_validator.py +28 -41
  50. moai_adk/core/mcp/setup.py +15 -12
  51. moai_adk/core/merge/__init__.py +9 -0
  52. moai_adk/core/merge/analyzer.py +666 -0
  53. moai_adk/core/migration/alfred_to_moai_migrator.py +389 -0
  54. moai_adk/core/migration/backup_manager.py +131 -12
  55. moai_adk/core/migration/custom_element_scanner.py +358 -0
  56. moai_adk/core/migration/file_migrator.py +181 -18
  57. moai_adk/core/migration/interactive_checkbox_ui.py +499 -0
  58. moai_adk/core/migration/selective_restorer.py +470 -0
  59. moai_adk/core/migration/template_utils.py +74 -0
  60. moai_adk/core/migration/user_selection_ui.py +338 -0
  61. moai_adk/core/migration/version_detector.py +127 -27
  62. moai_adk/core/migration/version_migrator.py +47 -12
  63. moai_adk/core/performance/cache_system.py +8 -10
  64. moai_adk/core/phase_optimized_hook_scheduler.py +879 -0
  65. moai_adk/core/project/backup_utils.py +9 -1
  66. moai_adk/core/project/checker.py +2 -4
  67. moai_adk/core/project/detector.py +1 -3
  68. moai_adk/core/project/initializer.py +142 -93
  69. moai_adk/core/project/phase_executor.py +130 -111
  70. moai_adk/core/project/validator.py +6 -12
  71. moai_adk/core/quality/trust_checker.py +39 -37
  72. moai_adk/core/realtime_monitoring_dashboard.py +1724 -0
  73. moai_adk/core/robust_json_parser.py +611 -0
  74. moai_adk/core/rollback_manager.py +116 -164
  75. moai_adk/core/session_manager.py +10 -26
  76. moai_adk/core/skill_loading_system.py +579 -0
  77. moai_adk/core/spec_status_manager.py +64 -74
  78. moai_adk/core/template/backup.py +48 -22
  79. moai_adk/core/template/config.py +142 -45
  80. moai_adk/core/template/merger.py +45 -27
  81. moai_adk/core/template/processor.py +391 -152
  82. moai_adk/core/template_engine.py +83 -41
  83. moai_adk/core/template_variable_synchronizer.py +431 -0
  84. moai_adk/core/unified_permission_manager.py +745 -0
  85. moai_adk/core/user_behavior_analytics.py +851 -0
  86. moai_adk/core/version_sync.py +477 -0
  87. moai_adk/foundation/__init__.py +56 -0
  88. moai_adk/foundation/backend.py +1027 -0
  89. moai_adk/foundation/database.py +1115 -0
  90. moai_adk/foundation/devops.py +1585 -0
  91. moai_adk/foundation/ears.py +431 -0
  92. moai_adk/foundation/frontend.py +870 -0
  93. moai_adk/foundation/git/commit_templates.py +4 -12
  94. moai_adk/foundation/git.py +376 -0
  95. moai_adk/foundation/langs.py +484 -0
  96. moai_adk/foundation/ml_ops.py +1162 -0
  97. moai_adk/foundation/testing.py +1524 -0
  98. moai_adk/foundation/trust/trust_principles.py +23 -72
  99. moai_adk/foundation/trust/validation_checklist.py +57 -162
  100. moai_adk/project/__init__.py +0 -0
  101. moai_adk/project/configuration.py +1084 -0
  102. moai_adk/project/documentation.py +566 -0
  103. moai_adk/project/schema.py +447 -0
  104. moai_adk/statusline/alfred_detector.py +1 -3
  105. moai_adk/statusline/config.py +18 -6
  106. moai_adk/statusline/enhanced_output_style_detector.py +23 -15
  107. moai_adk/statusline/main.py +109 -15
  108. moai_adk/statusline/renderer.py +85 -69
  109. moai_adk/statusline/update_checker.py +3 -9
  110. moai_adk/statusline/version_reader.py +140 -46
  111. moai_adk/templates/.claude/agents/moai/ai-nano-banana.md +716 -0
  112. moai_adk/templates/.claude/agents/moai/builder-agent.md +480 -0
  113. moai_adk/templates/.claude/agents/moai/builder-command.md +1194 -0
  114. moai_adk/templates/.claude/agents/moai/builder-plugin.md +753 -0
  115. moai_adk/templates/.claude/agents/moai/builder-skill.md +672 -0
  116. moai_adk/templates/.claude/agents/moai/expert-backend.md +903 -0
  117. moai_adk/templates/.claude/agents/moai/expert-database.md +782 -0
  118. moai_adk/templates/.claude/agents/moai/expert-debug.md +407 -0
  119. moai_adk/templates/.claude/agents/moai/expert-devops.md +722 -0
  120. moai_adk/templates/.claude/agents/moai/expert-frontend.md +727 -0
  121. moai_adk/templates/.claude/agents/moai/expert-performance.md +661 -0
  122. moai_adk/templates/.claude/agents/moai/expert-refactoring.md +218 -0
  123. moai_adk/templates/.claude/agents/moai/expert-security.md +525 -0
  124. moai_adk/templates/.claude/agents/moai/expert-testing.md +737 -0
  125. moai_adk/templates/.claude/agents/moai/expert-uiux.md +1047 -0
  126. moai_adk/templates/.claude/agents/moai/manager-claude-code.md +438 -0
  127. moai_adk/templates/.claude/agents/moai/manager-docs.md +578 -0
  128. moai_adk/templates/.claude/agents/moai/manager-git.md +1092 -0
  129. moai_adk/templates/.claude/agents/moai/manager-project.md +897 -0
  130. moai_adk/templates/.claude/agents/moai/manager-quality.md +640 -0
  131. moai_adk/templates/.claude/agents/moai/manager-spec.md +815 -0
  132. moai_adk/templates/.claude/agents/moai/manager-strategy.md +786 -0
  133. moai_adk/templates/.claude/agents/moai/manager-tdd.md +797 -0
  134. moai_adk/templates/.claude/agents/moai/mcp-context7.md +464 -0
  135. moai_adk/templates/.claude/agents/moai/mcp-figma.md +1588 -0
  136. moai_adk/templates/.claude/agents/moai/mcp-notion.md +795 -0
  137. moai_adk/templates/.claude/agents/moai/mcp-playwright.md +475 -0
  138. moai_adk/templates/.claude/agents/moai/mcp-sequential-thinking.md +1038 -0
  139. moai_adk/templates/.claude/commands/moai/0-project.md +1339 -0
  140. moai_adk/templates/.claude/commands/moai/1-plan.md +1367 -0
  141. moai_adk/templates/.claude/commands/moai/2-run.md +825 -0
  142. moai_adk/templates/.claude/commands/moai/3-sync.md +1358 -0
  143. moai_adk/templates/.claude/commands/moai/9-feedback.md +320 -0
  144. moai_adk/templates/.claude/hooks/__init__.py +8 -0
  145. moai_adk/templates/.claude/hooks/moai/__init__.py +8 -0
  146. moai_adk/templates/.claude/hooks/moai/lib/README.md +143 -0
  147. moai_adk/templates/.claude/hooks/moai/lib/__init__.py +104 -0
  148. moai_adk/templates/.claude/hooks/moai/lib/checkpoint.py +247 -0
  149. moai_adk/templates/.claude/hooks/moai/lib/common.py +161 -0
  150. moai_adk/templates/.claude/hooks/moai/lib/config_manager.py +444 -0
  151. moai_adk/templates/.claude/hooks/moai/lib/config_validator.py +639 -0
  152. moai_adk/templates/.claude/hooks/moai/lib/example_config.json +104 -0
  153. moai_adk/templates/.claude/hooks/moai/lib/exceptions.py +171 -0
  154. moai_adk/templates/.claude/hooks/moai/lib/git_operations_manager.py +590 -0
  155. moai_adk/templates/.claude/hooks/moai/lib/language_validator.py +407 -0
  156. moai_adk/templates/.claude/hooks/moai/lib/models.py +104 -0
  157. moai_adk/templates/.claude/hooks/moai/lib/path_utils.py +219 -0
  158. moai_adk/templates/.claude/hooks/moai/lib/project.py +777 -0
  159. moai_adk/templates/.claude/hooks/moai/lib/test_hooks_improvements.py +443 -0
  160. moai_adk/templates/.claude/hooks/moai/lib/timeout.py +160 -0
  161. moai_adk/templates/.claude/hooks/moai/lib/tool_registry.py +804 -0
  162. moai_adk/templates/.claude/hooks/moai/lib/unified_timeout_manager.py +542 -0
  163. moai_adk/templates/.claude/hooks/moai/post_tool__ast_grep_scan.py +256 -0
  164. moai_adk/templates/.claude/hooks/moai/post_tool__code_formatter.py +253 -0
  165. moai_adk/templates/.claude/hooks/moai/post_tool__linter.py +307 -0
  166. moai_adk/templates/.claude/hooks/moai/pre_tool__security_guard.py +231 -0
  167. moai_adk/templates/.claude/hooks/moai/session_end__auto_cleanup.py +866 -0
  168. moai_adk/templates/.claude/hooks/moai/session_start__show_project_info.py +1125 -0
  169. moai_adk/templates/.claude/output-styles/moai/r2d2.md +643 -0
  170. moai_adk/templates/.claude/output-styles/moai/yoda.md +359 -0
  171. moai_adk/templates/.claude/settings.json +209 -0
  172. moai_adk/templates/.claude/skills/moai-ai-nano-banana/SKILL.md +302 -0
  173. moai_adk/templates/.claude/skills/moai-ai-nano-banana/examples.md +431 -0
  174. moai_adk/templates/.claude/skills/moai-ai-nano-banana/reference.md +139 -0
  175. moai_adk/templates/.claude/skills/moai-ai-nano-banana/scripts/batch_generate.py +560 -0
  176. moai_adk/templates/.claude/skills/moai-ai-nano-banana/scripts/generate_image.py +362 -0
  177. moai_adk/templates/.claude/skills/moai-docs-generation/SKILL.md +302 -0
  178. moai_adk/templates/.claude/skills/moai-docs-generation/examples.md +252 -0
  179. moai_adk/templates/.claude/skills/moai-docs-generation/modules/README.md +56 -0
  180. moai_adk/templates/.claude/skills/moai-docs-generation/modules/api-documentation.md +120 -0
  181. moai_adk/templates/.claude/skills/moai-docs-generation/modules/code-documentation.md +152 -0
  182. moai_adk/templates/.claude/skills/moai-docs-generation/modules/multi-format-output.md +185 -0
  183. moai_adk/templates/.claude/skills/moai-docs-generation/modules/user-guides.md +207 -0
  184. moai_adk/templates/.claude/skills/moai-docs-generation/reference.md +234 -0
  185. moai_adk/templates/.claude/skills/moai-domain-backend/SKILL.md +324 -0
  186. moai_adk/templates/.claude/skills/moai-domain-backend/examples.md +718 -0
  187. moai_adk/templates/.claude/skills/moai-domain-backend/reference.md +464 -0
  188. moai_adk/templates/.claude/skills/moai-domain-database/SKILL.md +326 -0
  189. moai_adk/templates/.claude/skills/moai-domain-database/examples.md +830 -0
  190. moai_adk/templates/.claude/skills/moai-domain-database/modules/README.md +53 -0
  191. moai_adk/templates/.claude/skills/moai-domain-database/modules/mongodb.md +231 -0
  192. moai_adk/templates/.claude/skills/moai-domain-database/modules/postgresql.md +169 -0
  193. moai_adk/templates/.claude/skills/moai-domain-database/modules/redis.md +262 -0
  194. moai_adk/templates/.claude/skills/moai-domain-database/reference.md +545 -0
  195. moai_adk/templates/.claude/skills/moai-domain-frontend/SKILL.md +194 -0
  196. moai_adk/templates/.claude/skills/moai-domain-frontend/examples.md +968 -0
  197. moai_adk/templates/.claude/skills/moai-domain-frontend/modules/component-architecture.md +723 -0
  198. moai_adk/templates/.claude/skills/moai-domain-frontend/modules/nextjs16-patterns.md +713 -0
  199. moai_adk/templates/.claude/skills/moai-domain-frontend/modules/performance-optimization.md +694 -0
  200. moai_adk/templates/.claude/skills/moai-domain-frontend/modules/react19-patterns.md +591 -0
  201. moai_adk/templates/.claude/skills/moai-domain-frontend/modules/state-management.md +680 -0
  202. moai_adk/templates/.claude/skills/moai-domain-frontend/modules/vue35-patterns.md +802 -0
  203. moai_adk/templates/.claude/skills/moai-domain-frontend/reference.md +664 -0
  204. moai_adk/templates/.claude/skills/moai-domain-uiux/SKILL.md +454 -0
  205. moai_adk/templates/.claude/skills/moai-domain-uiux/examples.md +560 -0
  206. moai_adk/templates/.claude/skills/moai-domain-uiux/modules/accessibility-wcag.md +260 -0
  207. moai_adk/templates/.claude/skills/moai-domain-uiux/modules/component-architecture.md +228 -0
  208. moai_adk/templates/.claude/skills/moai-domain-uiux/modules/icon-libraries.md +401 -0
  209. moai_adk/templates/.claude/skills/moai-domain-uiux/modules/theming-system.md +373 -0
  210. moai_adk/templates/.claude/skills/moai-domain-uiux/reference.md +243 -0
  211. moai_adk/templates/.claude/skills/moai-formats-data/SKILL.md +280 -0
  212. moai_adk/templates/.claude/skills/moai-formats-data/examples.md +804 -0
  213. moai_adk/templates/.claude/skills/moai-formats-data/modules/README.md +327 -0
  214. moai_adk/templates/.claude/skills/moai-formats-data/modules/SKILL-MODULARIZATION-TEMPLATE.md +278 -0
  215. moai_adk/templates/.claude/skills/moai-formats-data/modules/caching-performance.md +459 -0
  216. moai_adk/templates/.claude/skills/moai-formats-data/modules/data-validation.md +485 -0
  217. moai_adk/templates/.claude/skills/moai-formats-data/modules/json-optimization.md +374 -0
  218. moai_adk/templates/.claude/skills/moai-formats-data/modules/toon-encoding.md +308 -0
  219. moai_adk/templates/.claude/skills/moai-formats-data/reference.md +585 -0
  220. moai_adk/templates/.claude/skills/moai-foundation-claude/SKILL.md +243 -0
  221. moai_adk/templates/.claude/skills/moai-foundation-claude/examples.md +732 -0
  222. moai_adk/templates/.claude/skills/moai-foundation-claude/reference/advanced-agent-patterns.md +370 -0
  223. moai_adk/templates/.claude/skills/moai-foundation-claude/reference/best-practices-checklist.md +616 -0
  224. moai_adk/templates/.claude/skills/moai-foundation-claude/reference/claude-code-cli-reference-official.md +420 -0
  225. moai_adk/templates/.claude/skills/moai-foundation-claude/reference/claude-code-custom-slash-commands-official.md +729 -0
  226. moai_adk/templates/.claude/skills/moai-foundation-claude/reference/claude-code-devcontainers-official.md +381 -0
  227. moai_adk/templates/.claude/skills/moai-foundation-claude/reference/claude-code-discover-plugins-official.md +379 -0
  228. moai_adk/templates/.claude/skills/moai-foundation-claude/reference/claude-code-headless-official.md +378 -0
  229. moai_adk/templates/.claude/skills/moai-foundation-claude/reference/claude-code-hooks-official.md +670 -0
  230. moai_adk/templates/.claude/skills/moai-foundation-claude/reference/claude-code-iam-official.md +635 -0
  231. moai_adk/templates/.claude/skills/moai-foundation-claude/reference/claude-code-memory-official.md +543 -0
  232. moai_adk/templates/.claude/skills/moai-foundation-claude/reference/claude-code-plugin-marketplaces-official.md +308 -0
  233. moai_adk/templates/.claude/skills/moai-foundation-claude/reference/claude-code-plugins-official.md +432 -0
  234. moai_adk/templates/.claude/skills/moai-foundation-claude/reference/claude-code-sandboxing-official.md +282 -0
  235. moai_adk/templates/.claude/skills/moai-foundation-claude/reference/claude-code-settings-official.md +663 -0
  236. moai_adk/templates/.claude/skills/moai-foundation-claude/reference/claude-code-skills-official.md +467 -0
  237. moai_adk/templates/.claude/skills/moai-foundation-claude/reference/claude-code-statusline-official.md +293 -0
  238. moai_adk/templates/.claude/skills/moai-foundation-claude/reference/claude-code-sub-agents-official.md +420 -0
  239. moai_adk/templates/.claude/skills/moai-foundation-claude/reference/complete-configuration-guide.md +175 -0
  240. moai_adk/templates/.claude/skills/moai-foundation-claude/reference/skill-examples.md +1674 -0
  241. moai_adk/templates/.claude/skills/moai-foundation-claude/reference/skill-formatting-guide.md +729 -0
  242. moai_adk/templates/.claude/skills/moai-foundation-claude/reference/sub-agents/sub-agent-examples.md +1513 -0
  243. moai_adk/templates/.claude/skills/moai-foundation-claude/reference/sub-agents/sub-agent-formatting-guide.md +1086 -0
  244. moai_adk/templates/.claude/skills/moai-foundation-claude/reference/sub-agents/sub-agent-integration-patterns.md +1100 -0
  245. moai_adk/templates/.claude/skills/moai-foundation-claude/reference.md +209 -0
  246. moai_adk/templates/.claude/skills/moai-foundation-context/SKILL.md +449 -0
  247. moai_adk/templates/.claude/skills/moai-foundation-context/examples.md +1048 -0
  248. moai_adk/templates/.claude/skills/moai-foundation-context/reference.md +246 -0
  249. moai_adk/templates/.claude/skills/moai-foundation-core/SKILL.md +414 -0
  250. moai_adk/templates/.claude/skills/moai-foundation-core/examples.md +358 -0
  251. moai_adk/templates/.claude/skills/moai-foundation-core/modules/README.md +296 -0
  252. moai_adk/templates/.claude/skills/moai-foundation-core/modules/agents-reference.md +359 -0
  253. moai_adk/templates/.claude/skills/moai-foundation-core/modules/commands-reference.md +432 -0
  254. moai_adk/templates/.claude/skills/moai-foundation-core/modules/delegation-advanced.md +279 -0
  255. moai_adk/templates/.claude/skills/moai-foundation-core/modules/delegation-implementation.md +267 -0
  256. moai_adk/templates/.claude/skills/moai-foundation-core/modules/delegation-patterns.md +228 -0
  257. moai_adk/templates/.claude/skills/moai-foundation-core/modules/execution-rules.md +687 -0
  258. moai_adk/templates/.claude/skills/moai-foundation-core/modules/modular-system.md +665 -0
  259. moai_adk/templates/.claude/skills/moai-foundation-core/modules/patterns.md +22 -0
  260. moai_adk/templates/.claude/skills/moai-foundation-core/modules/progressive-disclosure.md +649 -0
  261. moai_adk/templates/.claude/skills/moai-foundation-core/modules/spec-ears-format.md +200 -0
  262. moai_adk/templates/.claude/skills/moai-foundation-core/modules/spec-first-tdd.md +171 -0
  263. moai_adk/templates/.claude/skills/moai-foundation-core/modules/spec-tdd-implementation.md +275 -0
  264. moai_adk/templates/.claude/skills/moai-foundation-core/modules/token-optimization.md +708 -0
  265. moai_adk/templates/.claude/skills/moai-foundation-core/modules/trust-5-framework.md +239 -0
  266. moai_adk/templates/.claude/skills/moai-foundation-core/modules/trust-5-implementation.md +244 -0
  267. moai_adk/templates/.claude/skills/moai-foundation-core/modules/trust-5-validation.md +219 -0
  268. moai_adk/templates/.claude/skills/moai-foundation-core/reference.md +478 -0
  269. moai_adk/templates/.claude/skills/moai-foundation-philosopher/SKILL.md +311 -0
  270. moai_adk/templates/.claude/skills/moai-foundation-philosopher/examples.md +228 -0
  271. moai_adk/templates/.claude/skills/moai-foundation-philosopher/modules/assumption-matrix.md +80 -0
  272. moai_adk/templates/.claude/skills/moai-foundation-philosopher/modules/cognitive-bias.md +199 -0
  273. moai_adk/templates/.claude/skills/moai-foundation-philosopher/modules/first-principles.md +140 -0
  274. moai_adk/templates/.claude/skills/moai-foundation-philosopher/modules/trade-off-analysis.md +154 -0
  275. moai_adk/templates/.claude/skills/moai-foundation-philosopher/reference.md +157 -0
  276. moai_adk/templates/.claude/skills/moai-foundation-quality/SKILL.md +363 -0
  277. moai_adk/templates/.claude/skills/moai-foundation-quality/examples.md +1232 -0
  278. moai_adk/templates/.claude/skills/moai-foundation-quality/modules/best-practices.md +261 -0
  279. moai_adk/templates/.claude/skills/moai-foundation-quality/modules/integration-patterns.md +194 -0
  280. moai_adk/templates/.claude/skills/moai-foundation-quality/modules/proactive-analysis.md +229 -0
  281. moai_adk/templates/.claude/skills/moai-foundation-quality/modules/trust5-validation.md +169 -0
  282. moai_adk/templates/.claude/skills/moai-foundation-quality/reference.md +1266 -0
  283. moai_adk/templates/.claude/skills/moai-foundation-quality/scripts/quality-gate.sh +668 -0
  284. moai_adk/templates/.claude/skills/moai-foundation-quality/templates/github-actions-quality.yml +481 -0
  285. moai_adk/templates/.claude/skills/moai-foundation-quality/templates/quality-config.yaml +519 -0
  286. moai_adk/templates/.claude/skills/moai-lang-cpp/SKILL.md +430 -0
  287. moai_adk/templates/.claude/skills/moai-lang-cpp/examples.md +17 -0
  288. moai_adk/templates/.claude/skills/moai-lang-cpp/modules/advanced-patterns.md +401 -0
  289. moai_adk/templates/.claude/skills/moai-lang-cpp/reference.md +17 -0
  290. moai_adk/templates/.claude/skills/moai-lang-csharp/SKILL.md +193 -0
  291. moai_adk/templates/.claude/skills/moai-lang-csharp/examples.md +585 -0
  292. moai_adk/templates/.claude/skills/moai-lang-csharp/modules/aspnet-core.md +627 -0
  293. moai_adk/templates/.claude/skills/moai-lang-csharp/modules/blazor-components.md +767 -0
  294. moai_adk/templates/.claude/skills/moai-lang-csharp/modules/cqrs-validation.md +626 -0
  295. moai_adk/templates/.claude/skills/moai-lang-csharp/modules/csharp12-features.md +580 -0
  296. moai_adk/templates/.claude/skills/moai-lang-csharp/modules/efcore-patterns.md +622 -0
  297. moai_adk/templates/.claude/skills/moai-lang-csharp/reference.md +403 -0
  298. moai_adk/templates/.claude/skills/moai-lang-elixir/SKILL.md +394 -0
  299. moai_adk/templates/.claude/skills/moai-lang-elixir/examples.md +17 -0
  300. moai_adk/templates/.claude/skills/moai-lang-elixir/modules/advanced-patterns.md +531 -0
  301. moai_adk/templates/.claude/skills/moai-lang-elixir/reference.md +17 -0
  302. moai_adk/templates/.claude/skills/moai-lang-flutter/SKILL.md +472 -0
  303. moai_adk/templates/.claude/skills/moai-lang-flutter/examples.md +1090 -0
  304. moai_adk/templates/.claude/skills/moai-lang-flutter/reference.md +686 -0
  305. moai_adk/templates/.claude/skills/moai-lang-go/SKILL.md +377 -0
  306. moai_adk/templates/.claude/skills/moai-lang-go/examples.md +919 -0
  307. moai_adk/templates/.claude/skills/moai-lang-go/reference.md +737 -0
  308. moai_adk/templates/.claude/skills/moai-lang-java/SKILL.md +386 -0
  309. moai_adk/templates/.claude/skills/moai-lang-java/examples.md +864 -0
  310. moai_adk/templates/.claude/skills/moai-lang-java/reference.md +291 -0
  311. moai_adk/templates/.claude/skills/moai-lang-javascript/SKILL.md +418 -0
  312. moai_adk/templates/.claude/skills/moai-lang-javascript/examples.md +973 -0
  313. moai_adk/templates/.claude/skills/moai-lang-javascript/reference.md +1543 -0
  314. moai_adk/templates/.claude/skills/moai-lang-kotlin/SKILL.md +383 -0
  315. moai_adk/templates/.claude/skills/moai-lang-kotlin/examples.md +1006 -0
  316. moai_adk/templates/.claude/skills/moai-lang-kotlin/reference.md +562 -0
  317. moai_adk/templates/.claude/skills/moai-lang-php/SKILL.md +504 -0
  318. moai_adk/templates/.claude/skills/moai-lang-php/examples.md +17 -0
  319. moai_adk/templates/.claude/skills/moai-lang-php/modules/advanced-patterns.md +538 -0
  320. moai_adk/templates/.claude/skills/moai-lang-php/reference.md +17 -0
  321. moai_adk/templates/.claude/skills/moai-lang-python/SKILL.md +489 -0
  322. moai_adk/templates/.claude/skills/moai-lang-python/examples.md +977 -0
  323. moai_adk/templates/.claude/skills/moai-lang-python/reference.md +804 -0
  324. moai_adk/templates/.claude/skills/moai-lang-r/SKILL.md +389 -0
  325. moai_adk/templates/.claude/skills/moai-lang-r/examples.md +17 -0
  326. moai_adk/templates/.claude/skills/moai-lang-r/modules/advanced-patterns.md +489 -0
  327. moai_adk/templates/.claude/skills/moai-lang-r/reference.md +17 -0
  328. moai_adk/templates/.claude/skills/moai-lang-ruby/SKILL.md +432 -0
  329. moai_adk/templates/.claude/skills/moai-lang-ruby/examples.md +17 -0
  330. moai_adk/templates/.claude/skills/moai-lang-ruby/modules/advanced-patterns.md +309 -0
  331. moai_adk/templates/.claude/skills/moai-lang-ruby/modules/testing-patterns.md +306 -0
  332. moai_adk/templates/.claude/skills/moai-lang-ruby/reference.md +17 -0
  333. moai_adk/templates/.claude/skills/moai-lang-rust/SKILL.md +377 -0
  334. moai_adk/templates/.claude/skills/moai-lang-rust/examples.md +659 -0
  335. moai_adk/templates/.claude/skills/moai-lang-rust/reference.md +504 -0
  336. moai_adk/templates/.claude/skills/moai-lang-scala/SKILL.md +211 -0
  337. moai_adk/templates/.claude/skills/moai-lang-scala/examples.md +633 -0
  338. moai_adk/templates/.claude/skills/moai-lang-scala/modules/akka-actors.md +479 -0
  339. moai_adk/templates/.claude/skills/moai-lang-scala/modules/cats-effect.md +489 -0
  340. moai_adk/templates/.claude/skills/moai-lang-scala/modules/functional-programming.md +460 -0
  341. moai_adk/templates/.claude/skills/moai-lang-scala/modules/spark-data.md +498 -0
  342. moai_adk/templates/.claude/skills/moai-lang-scala/modules/zio-patterns.md +541 -0
  343. moai_adk/templates/.claude/skills/moai-lang-scala/reference.md +423 -0
  344. moai_adk/templates/.claude/skills/moai-lang-swift/SKILL.md +191 -0
  345. moai_adk/templates/.claude/skills/moai-lang-swift/examples.md +918 -0
  346. moai_adk/templates/.claude/skills/moai-lang-swift/modules/combine-reactive.md +256 -0
  347. moai_adk/templates/.claude/skills/moai-lang-swift/modules/concurrency.md +270 -0
  348. moai_adk/templates/.claude/skills/moai-lang-swift/modules/swift6-features.md +265 -0
  349. moai_adk/templates/.claude/skills/moai-lang-swift/modules/swiftui-patterns.md +314 -0
  350. moai_adk/templates/.claude/skills/moai-lang-swift/reference.md +672 -0
  351. moai_adk/templates/.claude/skills/moai-lang-typescript/SKILL.md +364 -0
  352. moai_adk/templates/.claude/skills/moai-lang-typescript/examples.md +1089 -0
  353. moai_adk/templates/.claude/skills/moai-lang-typescript/reference.md +731 -0
  354. moai_adk/templates/.claude/skills/moai-library-mermaid/SKILL.md +164 -0
  355. moai_adk/templates/.claude/skills/moai-library-mermaid/examples.md +270 -0
  356. moai_adk/templates/.claude/skills/moai-library-mermaid/modules/advanced-patterns.md +465 -0
  357. moai_adk/templates/.claude/skills/moai-library-mermaid/modules/optimization.md +440 -0
  358. moai_adk/templates/.claude/skills/moai-library-mermaid/reference.md +228 -0
  359. moai_adk/templates/.claude/skills/moai-library-nextra/SKILL.md +335 -0
  360. moai_adk/templates/.claude/skills/moai-library-nextra/examples.md +592 -0
  361. moai_adk/templates/.claude/skills/moai-library-nextra/modules/advanced-deployment-patterns.md +182 -0
  362. moai_adk/templates/.claude/skills/moai-library-nextra/modules/advanced-patterns.md +336 -0
  363. moai_adk/templates/.claude/skills/moai-library-nextra/modules/configuration.md +350 -0
  364. moai_adk/templates/.claude/skills/moai-library-nextra/modules/content-architecture-optimization.md +162 -0
  365. moai_adk/templates/.claude/skills/moai-library-nextra/modules/deployment.md +52 -0
  366. moai_adk/templates/.claude/skills/moai-library-nextra/modules/framework-core-configuration.md +186 -0
  367. moai_adk/templates/.claude/skills/moai-library-nextra/modules/i18n-setup.md +55 -0
  368. moai_adk/templates/.claude/skills/moai-library-nextra/modules/mdx-components.md +52 -0
  369. moai_adk/templates/.claude/skills/moai-library-nextra/modules/optimization.md +303 -0
  370. moai_adk/templates/.claude/skills/moai-library-nextra/reference.md +379 -0
  371. moai_adk/templates/.claude/skills/moai-library-shadcn/SKILL.md +373 -0
  372. moai_adk/templates/.claude/skills/moai-library-shadcn/examples.md +575 -0
  373. moai_adk/templates/.claude/skills/moai-library-shadcn/modules/advanced-patterns.md +394 -0
  374. moai_adk/templates/.claude/skills/moai-library-shadcn/modules/optimization.md +278 -0
  375. moai_adk/templates/.claude/skills/moai-library-shadcn/modules/shadcn-components.md +457 -0
  376. moai_adk/templates/.claude/skills/moai-library-shadcn/modules/shadcn-theming.md +373 -0
  377. moai_adk/templates/.claude/skills/moai-library-shadcn/reference.md +74 -0
  378. moai_adk/templates/.claude/skills/moai-platform-auth0/SKILL.md +283 -0
  379. moai_adk/templates/.claude/skills/moai-platform-auth0/examples.md +2446 -0
  380. moai_adk/templates/.claude/skills/moai-platform-auth0/modules/adaptive-mfa.md +233 -0
  381. moai_adk/templates/.claude/skills/moai-platform-auth0/modules/akamai-integration.md +214 -0
  382. moai_adk/templates/.claude/skills/moai-platform-auth0/modules/application-credentials.md +280 -0
  383. moai_adk/templates/.claude/skills/moai-platform-auth0/modules/attack-protection-log-events.md +224 -0
  384. moai_adk/templates/.claude/skills/moai-platform-auth0/modules/attack-protection-overview.md +140 -0
  385. moai_adk/templates/.claude/skills/moai-platform-auth0/modules/bot-detection.md +144 -0
  386. moai_adk/templates/.claude/skills/moai-platform-auth0/modules/breached-password-detection.md +187 -0
  387. moai_adk/templates/.claude/skills/moai-platform-auth0/modules/brute-force-protection.md +189 -0
  388. moai_adk/templates/.claude/skills/moai-platform-auth0/modules/certifications.md +282 -0
  389. moai_adk/templates/.claude/skills/moai-platform-auth0/modules/compliance-overview.md +263 -0
  390. moai_adk/templates/.claude/skills/moai-platform-auth0/modules/continuous-session-protection.md +307 -0
  391. moai_adk/templates/.claude/skills/moai-platform-auth0/modules/customize-mfa.md +177 -0
  392. moai_adk/templates/.claude/skills/moai-platform-auth0/modules/dpop-implementation.md +283 -0
  393. moai_adk/templates/.claude/skills/moai-platform-auth0/modules/fapi-implementation.md +259 -0
  394. moai_adk/templates/.claude/skills/moai-platform-auth0/modules/gdpr-compliance.md +313 -0
  395. moai_adk/templates/.claude/skills/moai-platform-auth0/modules/guardian-configuration.md +269 -0
  396. moai_adk/templates/.claude/skills/moai-platform-auth0/modules/highly-regulated-identity.md +272 -0
  397. moai_adk/templates/.claude/skills/moai-platform-auth0/modules/jwt-fundamentals.md +248 -0
  398. moai_adk/templates/.claude/skills/moai-platform-auth0/modules/mdl-verification.md +210 -0
  399. moai_adk/templates/.claude/skills/moai-platform-auth0/modules/mfa-api-management.md +278 -0
  400. moai_adk/templates/.claude/skills/moai-platform-auth0/modules/mfa-factors.md +226 -0
  401. moai_adk/templates/.claude/skills/moai-platform-auth0/modules/mfa-overview.md +174 -0
  402. moai_adk/templates/.claude/skills/moai-platform-auth0/modules/mtls-sender-constraining.md +316 -0
  403. moai_adk/templates/.claude/skills/moai-platform-auth0/modules/ropg-flow-mfa.md +216 -0
  404. moai_adk/templates/.claude/skills/moai-platform-auth0/modules/security-center.md +325 -0
  405. moai_adk/templates/.claude/skills/moai-platform-auth0/modules/security-guidance.md +277 -0
  406. moai_adk/templates/.claude/skills/moai-platform-auth0/modules/state-parameters.md +177 -0
  407. moai_adk/templates/.claude/skills/moai-platform-auth0/modules/step-up-authentication.md +251 -0
  408. moai_adk/templates/.claude/skills/moai-platform-auth0/modules/suspicious-ip-throttling.md +240 -0
  409. moai_adk/templates/.claude/skills/moai-platform-auth0/modules/tenant-access-control.md +179 -0
  410. moai_adk/templates/.claude/skills/moai-platform-auth0/modules/webauthn-fido.md +235 -0
  411. moai_adk/templates/.claude/skills/moai-platform-auth0/reference.md +224 -0
  412. moai_adk/templates/.claude/skills/moai-platform-clerk/SKILL.md +425 -0
  413. moai_adk/templates/.claude/skills/moai-platform-clerk/modules/advanced-patterns.md +417 -0
  414. moai_adk/templates/.claude/skills/moai-platform-clerk/reference.md +273 -0
  415. moai_adk/templates/.claude/skills/moai-platform-convex/SKILL.md +228 -0
  416. moai_adk/templates/.claude/skills/moai-platform-convex/examples.md +506 -0
  417. moai_adk/templates/.claude/skills/moai-platform-convex/modules/auth-integration.md +421 -0
  418. moai_adk/templates/.claude/skills/moai-platform-convex/modules/file-storage.md +474 -0
  419. moai_adk/templates/.claude/skills/moai-platform-convex/modules/reactive-queries.md +302 -0
  420. moai_adk/templates/.claude/skills/moai-platform-convex/modules/server-functions.md +452 -0
  421. moai_adk/templates/.claude/skills/moai-platform-convex/reference.md +385 -0
  422. moai_adk/templates/.claude/skills/moai-platform-firebase-auth/SKILL.md +249 -0
  423. moai_adk/templates/.claude/skills/moai-platform-firebase-auth/examples.md +514 -0
  424. moai_adk/templates/.claude/skills/moai-platform-firebase-auth/modules/custom-claims.md +374 -0
  425. moai_adk/templates/.claude/skills/moai-platform-firebase-auth/modules/phone-auth.md +372 -0
  426. moai_adk/templates/.claude/skills/moai-platform-firebase-auth/modules/social-auth.md +339 -0
  427. moai_adk/templates/.claude/skills/moai-platform-firebase-auth/reference.md +382 -0
  428. moai_adk/templates/.claude/skills/moai-platform-firestore/SKILL.md +230 -0
  429. moai_adk/templates/.claude/skills/moai-platform-firestore/examples.md +445 -0
  430. moai_adk/templates/.claude/skills/moai-platform-firestore/modules/offline-cache.md +392 -0
  431. moai_adk/templates/.claude/skills/moai-platform-firestore/modules/realtime-listeners.md +441 -0
  432. moai_adk/templates/.claude/skills/moai-platform-firestore/modules/security-rules.md +352 -0
  433. moai_adk/templates/.claude/skills/moai-platform-firestore/modules/transactions.md +452 -0
  434. moai_adk/templates/.claude/skills/moai-platform-firestore/reference.md +322 -0
  435. moai_adk/templates/.claude/skills/moai-platform-neon/SKILL.md +205 -0
  436. moai_adk/templates/.claude/skills/moai-platform-neon/examples.md +470 -0
  437. moai_adk/templates/.claude/skills/moai-platform-neon/modules/auto-scaling.md +349 -0
  438. moai_adk/templates/.claude/skills/moai-platform-neon/modules/branching-workflows.md +354 -0
  439. moai_adk/templates/.claude/skills/moai-platform-neon/modules/connection-pooling.md +412 -0
  440. moai_adk/templates/.claude/skills/moai-platform-neon/modules/pitr-backups.md +458 -0
  441. moai_adk/templates/.claude/skills/moai-platform-neon/reference.md +272 -0
  442. moai_adk/templates/.claude/skills/moai-platform-railway/SKILL.md +223 -0
  443. moai_adk/templates/.claude/skills/moai-platform-railway/examples.md +539 -0
  444. moai_adk/templates/.claude/skills/moai-platform-railway/modules/docker-deployment.md +261 -0
  445. moai_adk/templates/.claude/skills/moai-platform-railway/modules/multi-service.md +291 -0
  446. moai_adk/templates/.claude/skills/moai-platform-railway/modules/networking-domains.md +338 -0
  447. moai_adk/templates/.claude/skills/moai-platform-railway/modules/volumes-storage.md +353 -0
  448. moai_adk/templates/.claude/skills/moai-platform-railway/reference.md +374 -0
  449. moai_adk/templates/.claude/skills/moai-platform-supabase/SKILL.md +206 -0
  450. moai_adk/templates/.claude/skills/moai-platform-supabase/examples.md +502 -0
  451. moai_adk/templates/.claude/skills/moai-platform-supabase/modules/auth-integration.md +384 -0
  452. moai_adk/templates/.claude/skills/moai-platform-supabase/modules/edge-functions.md +371 -0
  453. moai_adk/templates/.claude/skills/moai-platform-supabase/modules/postgresql-pgvector.md +231 -0
  454. moai_adk/templates/.claude/skills/moai-platform-supabase/modules/realtime-presence.md +354 -0
  455. moai_adk/templates/.claude/skills/moai-platform-supabase/modules/row-level-security.md +286 -0
  456. moai_adk/templates/.claude/skills/moai-platform-supabase/modules/storage-cdn.md +319 -0
  457. moai_adk/templates/.claude/skills/moai-platform-supabase/modules/typescript-patterns.md +453 -0
  458. moai_adk/templates/.claude/skills/moai-platform-supabase/reference.md +284 -0
  459. moai_adk/templates/.claude/skills/moai-platform-vercel/SKILL.md +209 -0
  460. moai_adk/templates/.claude/skills/moai-platform-vercel/examples.md +502 -0
  461. moai_adk/templates/.claude/skills/moai-platform-vercel/modules/analytics-speed.md +348 -0
  462. moai_adk/templates/.claude/skills/moai-platform-vercel/modules/deployment-config.md +344 -0
  463. moai_adk/templates/.claude/skills/moai-platform-vercel/modules/edge-functions.md +222 -0
  464. moai_adk/templates/.claude/skills/moai-platform-vercel/modules/isr-caching.md +306 -0
  465. moai_adk/templates/.claude/skills/moai-platform-vercel/modules/kv-storage.md +399 -0
  466. moai_adk/templates/.claude/skills/moai-platform-vercel/reference.md +360 -0
  467. moai_adk/templates/.claude/skills/moai-plugin-builder/SKILL.md +473 -0
  468. moai_adk/templates/.claude/skills/moai-plugin-builder/examples.md +621 -0
  469. moai_adk/templates/.claude/skills/moai-plugin-builder/modules/migration.md +341 -0
  470. moai_adk/templates/.claude/skills/moai-plugin-builder/modules/validation.md +373 -0
  471. moai_adk/templates/.claude/skills/moai-plugin-builder/reference.md +464 -0
  472. moai_adk/templates/.claude/skills/moai-tool-ast-grep/SKILL.md +306 -0
  473. moai_adk/templates/.claude/skills/moai-tool-ast-grep/examples.md +1099 -0
  474. moai_adk/templates/.claude/skills/moai-tool-ast-grep/modules/language-specific.md +307 -0
  475. moai_adk/templates/.claude/skills/moai-tool-ast-grep/modules/pattern-syntax.md +237 -0
  476. moai_adk/templates/.claude/skills/moai-tool-ast-grep/modules/refactoring-patterns.md +260 -0
  477. moai_adk/templates/.claude/skills/moai-tool-ast-grep/modules/security-rules.md +239 -0
  478. moai_adk/templates/.claude/skills/moai-tool-ast-grep/reference.md +288 -0
  479. moai_adk/templates/.claude/skills/moai-tool-ast-grep/rules/languages/go.yml +90 -0
  480. moai_adk/templates/.claude/skills/moai-tool-ast-grep/rules/languages/python.yml +101 -0
  481. moai_adk/templates/.claude/skills/moai-tool-ast-grep/rules/languages/typescript.yml +83 -0
  482. moai_adk/templates/.claude/skills/moai-tool-ast-grep/rules/quality/complexity-check.yml +94 -0
  483. moai_adk/templates/.claude/skills/moai-tool-ast-grep/rules/quality/deprecated-apis.yml +84 -0
  484. moai_adk/templates/.claude/skills/moai-tool-ast-grep/rules/security/secrets-detection.yml +89 -0
  485. moai_adk/templates/.claude/skills/moai-tool-ast-grep/rules/security/sql-injection.yml +45 -0
  486. moai_adk/templates/.claude/skills/moai-tool-ast-grep/rules/security/xss-prevention.yml +50 -0
  487. moai_adk/templates/.claude/skills/moai-tool-ast-grep/rules/sgconfig.yml +54 -0
  488. moai_adk/templates/.claude/skills/moai-tool-opencode/SKILL.md +214 -0
  489. moai_adk/templates/.claude/skills/moai-tool-opencode/examples.md +697 -0
  490. moai_adk/templates/.claude/skills/moai-tool-opencode/index.md +96 -0
  491. moai_adk/templates/.claude/skills/moai-tool-opencode/modules/configure/acp.md +115 -0
  492. moai_adk/templates/.claude/skills/moai-tool-opencode/modules/configure/agents.md +241 -0
  493. moai_adk/templates/.claude/skills/moai-tool-opencode/modules/configure/commands.md +197 -0
  494. moai_adk/templates/.claude/skills/moai-tool-opencode/modules/configure/custom-tools.md +197 -0
  495. moai_adk/templates/.claude/skills/moai-tool-opencode/modules/configure/formatters.md +164 -0
  496. moai_adk/templates/.claude/skills/moai-tool-opencode/modules/configure/keybinds.md +150 -0
  497. moai_adk/templates/.claude/skills/moai-tool-opencode/modules/configure/lsp-servers.md +156 -0
  498. moai_adk/templates/.claude/skills/moai-tool-opencode/modules/configure/mcp-servers.md +214 -0
  499. moai_adk/templates/.claude/skills/moai-tool-opencode/modules/configure/models.md +197 -0
  500. moai_adk/templates/.claude/skills/moai-tool-opencode/modules/configure/permissions.md +162 -0
  501. moai_adk/templates/.claude/skills/moai-tool-opencode/modules/configure/rules.md +129 -0
  502. moai_adk/templates/.claude/skills/moai-tool-opencode/modules/configure/skills.md +192 -0
  503. moai_adk/templates/.claude/skills/moai-tool-opencode/modules/configure/themes.md +200 -0
  504. moai_adk/templates/.claude/skills/moai-tool-opencode/modules/configure/tools.md +169 -0
  505. moai_adk/templates/.claude/skills/moai-tool-opencode/modules/core/config.md +211 -0
  506. moai_adk/templates/.claude/skills/moai-tool-opencode/modules/core/enterprise.md +68 -0
  507. moai_adk/templates/.claude/skills/moai-tool-opencode/modules/core/intro.md +127 -0
  508. moai_adk/templates/.claude/skills/moai-tool-opencode/modules/core/migration-1.0.md +82 -0
  509. moai_adk/templates/.claude/skills/moai-tool-opencode/modules/core/network.md +72 -0
  510. moai_adk/templates/.claude/skills/moai-tool-opencode/modules/core/providers.md +310 -0
  511. moai_adk/templates/.claude/skills/moai-tool-opencode/modules/core/troubleshooting.md +124 -0
  512. moai_adk/templates/.claude/skills/moai-tool-opencode/modules/develop/ecosystem.md +75 -0
  513. moai_adk/templates/.claude/skills/moai-tool-opencode/modules/develop/plugins.md +218 -0
  514. moai_adk/templates/.claude/skills/moai-tool-opencode/modules/develop/sdk.md +266 -0
  515. moai_adk/templates/.claude/skills/moai-tool-opencode/modules/develop/server.md +207 -0
  516. moai_adk/templates/.claude/skills/moai-tool-opencode/modules/usage/cli.md +159 -0
  517. moai_adk/templates/.claude/skills/moai-tool-opencode/modules/usage/github.md +181 -0
  518. moai_adk/templates/.claude/skills/moai-tool-opencode/modules/usage/gitlab.md +122 -0
  519. moai_adk/templates/.claude/skills/moai-tool-opencode/modules/usage/ide.md +74 -0
  520. moai_adk/templates/.claude/skills/moai-tool-opencode/modules/usage/share.md +106 -0
  521. moai_adk/templates/.claude/skills/moai-tool-opencode/modules/usage/tui.md +129 -0
  522. moai_adk/templates/.claude/skills/moai-tool-opencode/modules/usage/zen.md +118 -0
  523. moai_adk/templates/.claude/skills/moai-tool-opencode/reference.md +790 -0
  524. moai_adk/templates/.claude/skills/moai-workflow-jit-docs/SKILL.md +211 -0
  525. moai_adk/templates/.claude/skills/moai-workflow-jit-docs/examples.md +544 -0
  526. moai_adk/templates/.claude/skills/moai-workflow-jit-docs/modules/advanced-patterns.md +379 -0
  527. moai_adk/templates/.claude/skills/moai-workflow-jit-docs/modules/optimization.md +286 -0
  528. moai_adk/templates/.claude/skills/moai-workflow-jit-docs/reference.md +307 -0
  529. moai_adk/templates/.claude/skills/moai-workflow-project/README.md +190 -0
  530. moai_adk/templates/.claude/skills/moai-workflow-project/SKILL.md +260 -0
  531. moai_adk/templates/.claude/skills/moai-workflow-project/examples.md +547 -0
  532. moai_adk/templates/.claude/skills/moai-workflow-project/reference.md +275 -0
  533. moai_adk/templates/.claude/skills/moai-workflow-project/schemas/config-schema.json +316 -0
  534. moai_adk/templates/.claude/skills/moai-workflow-project/schemas/tab_schema.json +1434 -0
  535. moai_adk/templates/.claude/skills/moai-workflow-project/templates/config-template.json +71 -0
  536. moai_adk/templates/.claude/skills/moai-workflow-project/templates/doc-templates/product-template.md +44 -0
  537. moai_adk/templates/.claude/skills/moai-workflow-project/templates/doc-templates/structure-template.md +48 -0
  538. moai_adk/templates/.claude/skills/moai-workflow-project/templates/doc-templates/tech-template.md +92 -0
  539. moai_adk/templates/.claude/skills/moai-workflow-project/templates/question-templates/config-manager-setup.json +109 -0
  540. moai_adk/templates/.claude/skills/moai-workflow-project/templates/question-templates/language-initializer.json +228 -0
  541. moai_adk/templates/.claude/skills/moai-workflow-project/templates/question-templates/menu-project-config.json +130 -0
  542. moai_adk/templates/.claude/skills/moai-workflow-project/templates/question-templates/project-batch-questions.json +97 -0
  543. moai_adk/templates/.claude/skills/moai-workflow-project/templates/question-templates/spec-workflow-setup.json +150 -0
  544. moai_adk/templates/.claude/skills/moai-workflow-spec/SKILL.md +336 -0
  545. moai_adk/templates/.claude/skills/moai-workflow-spec/examples.md +900 -0
  546. moai_adk/templates/.claude/skills/moai-workflow-spec/modules/advanced-patterns.md +237 -0
  547. moai_adk/templates/.claude/skills/moai-workflow-spec/reference.md +704 -0
  548. moai_adk/templates/.claude/skills/moai-workflow-templates/SKILL.md +386 -0
  549. moai_adk/templates/.claude/skills/moai-workflow-templates/examples.md +552 -0
  550. moai_adk/templates/.claude/skills/moai-workflow-templates/modules/code-templates.md +124 -0
  551. moai_adk/templates/.claude/skills/moai-workflow-templates/modules/feedback-templates.md +100 -0
  552. moai_adk/templates/.claude/skills/moai-workflow-templates/modules/template-optimizer.md +138 -0
  553. moai_adk/templates/.claude/skills/moai-workflow-templates/reference.md +346 -0
  554. moai_adk/templates/.claude/skills/moai-workflow-testing/LICENSE.txt +202 -0
  555. moai_adk/templates/.claude/skills/moai-workflow-testing/SKILL.md +307 -0
  556. moai_adk/templates/.claude/skills/moai-workflow-testing/examples/ai-powered-testing.py +294 -0
  557. moai_adk/templates/.claude/skills/moai-workflow-testing/examples/console_logging.py +35 -0
  558. moai_adk/templates/.claude/skills/moai-workflow-testing/examples/element_discovery.py +40 -0
  559. moai_adk/templates/.claude/skills/moai-workflow-testing/examples/static_html_automation.py +34 -0
  560. moai_adk/templates/.claude/skills/moai-workflow-testing/examples.md +672 -0
  561. moai_adk/templates/.claude/skills/moai-workflow-testing/modules/README.md +269 -0
  562. moai_adk/templates/.claude/skills/moai-workflow-testing/modules/advanced-patterns.md +576 -0
  563. moai_adk/templates/.claude/skills/moai-workflow-testing/modules/ai-debugging.md +302 -0
  564. moai_adk/templates/.claude/skills/moai-workflow-testing/modules/automated-code-review/context7-integration.md +286 -0
  565. moai_adk/templates/.claude/skills/moai-workflow-testing/modules/automated-code-review/review-workflows.md +500 -0
  566. moai_adk/templates/.claude/skills/moai-workflow-testing/modules/automated-code-review/trust5-framework/relevance-analysis.md +154 -0
  567. moai_adk/templates/.claude/skills/moai-workflow-testing/modules/automated-code-review/trust5-framework/safety-analysis.md +148 -0
  568. moai_adk/templates/.claude/skills/moai-workflow-testing/modules/automated-code-review/trust5-framework/scoring-algorithms.md +196 -0
  569. moai_adk/templates/.claude/skills/moai-workflow-testing/modules/automated-code-review/trust5-framework/timeliness-analysis.md +168 -0
  570. moai_adk/templates/.claude/skills/moai-workflow-testing/modules/automated-code-review/trust5-framework/truthfulness-analysis.md +136 -0
  571. moai_adk/templates/.claude/skills/moai-workflow-testing/modules/automated-code-review/trust5-framework/usability-analysis.md +153 -0
  572. moai_adk/templates/.claude/skills/moai-workflow-testing/modules/automated-code-review/trust5-framework.md +257 -0
  573. moai_adk/templates/.claude/skills/moai-workflow-testing/modules/automated-code-review.md +263 -0
  574. moai_adk/templates/.claude/skills/moai-workflow-testing/modules/code-review/analysis-patterns.md +340 -0
  575. moai_adk/templates/.claude/skills/moai-workflow-testing/modules/code-review/core-classes.md +299 -0
  576. moai_adk/templates/.claude/skills/moai-workflow-testing/modules/code-review/tool-integration.md +380 -0
  577. moai_adk/templates/.claude/skills/moai-workflow-testing/modules/debugging/debugging-workflows.md +451 -0
  578. moai_adk/templates/.claude/skills/moai-workflow-testing/modules/debugging/error-analysis.md +442 -0
  579. moai_adk/templates/.claude/skills/moai-workflow-testing/modules/optimization.md +505 -0
  580. moai_adk/templates/.claude/skills/moai-workflow-testing/modules/performance/optimization-patterns.md +473 -0
  581. moai_adk/templates/.claude/skills/moai-workflow-testing/modules/performance/profiling-techniques.md +481 -0
  582. moai_adk/templates/.claude/skills/moai-workflow-testing/modules/performance-optimization/ai-optimization.md +241 -0
  583. moai_adk/templates/.claude/skills/moai-workflow-testing/modules/performance-optimization/bottleneck-detection.md +397 -0
  584. moai_adk/templates/.claude/skills/moai-workflow-testing/modules/performance-optimization/optimization-plan.md +315 -0
  585. moai_adk/templates/.claude/skills/moai-workflow-testing/modules/performance-optimization/profiler-core.md +277 -0
  586. moai_adk/templates/.claude/skills/moai-workflow-testing/modules/performance-optimization/real-time-monitoring.md +187 -0
  587. moai_adk/templates/.claude/skills/moai-workflow-testing/modules/performance-optimization.md +327 -0
  588. moai_adk/templates/.claude/skills/moai-workflow-testing/modules/quality-metrics.md +415 -0
  589. moai_adk/templates/.claude/skills/moai-workflow-testing/modules/refactoring/ai-workflows.md +620 -0
  590. moai_adk/templates/.claude/skills/moai-workflow-testing/modules/refactoring/patterns.md +692 -0
  591. moai_adk/templates/.claude/skills/moai-workflow-testing/modules/security-analysis.md +429 -0
  592. moai_adk/templates/.claude/skills/moai-workflow-testing/modules/smart-refactoring.md +313 -0
  593. moai_adk/templates/.claude/skills/moai-workflow-testing/modules/static-analysis.md +438 -0
  594. moai_adk/templates/.claude/skills/moai-workflow-testing/modules/tdd/core-classes.md +397 -0
  595. moai_adk/templates/.claude/skills/moai-workflow-testing/modules/tdd-context7/advanced-features.md +494 -0
  596. moai_adk/templates/.claude/skills/moai-workflow-testing/modules/tdd-context7/red-green-refactor.md +316 -0
  597. moai_adk/templates/.claude/skills/moai-workflow-testing/modules/tdd-context7/test-generation.md +471 -0
  598. moai_adk/templates/.claude/skills/moai-workflow-testing/modules/tdd-context7/test-patterns.md +371 -0
  599. moai_adk/templates/.claude/skills/moai-workflow-testing/modules/tdd-context7.md +265 -0
  600. moai_adk/templates/.claude/skills/moai-workflow-testing/modules/trust5-validation.md +428 -0
  601. moai_adk/templates/.claude/skills/moai-workflow-testing/reference/playwright-best-practices.md +57 -0
  602. moai_adk/templates/.claude/skills/moai-workflow-testing/reference.md +440 -0
  603. moai_adk/templates/.claude/skills/moai-workflow-testing/scripts/with_server.py +218 -0
  604. moai_adk/templates/.claude/skills/moai-workflow-testing/templates/alfred-integration.md +376 -0
  605. moai_adk/templates/.claude/skills/moai-workflow-testing/workflows/enterprise-testing-workflow.py +571 -0
  606. moai_adk/templates/.claude/skills/moai-workflow-worktree/SKILL.md +227 -0
  607. moai_adk/templates/.claude/skills/moai-workflow-worktree/examples.md +606 -0
  608. moai_adk/templates/.claude/skills/moai-workflow-worktree/modules/integration-patterns.md +149 -0
  609. moai_adk/templates/.claude/skills/moai-workflow-worktree/modules/moai-adk-integration.md +245 -0
  610. moai_adk/templates/.claude/skills/moai-workflow-worktree/modules/parallel-advanced.md +310 -0
  611. moai_adk/templates/.claude/skills/moai-workflow-worktree/modules/parallel-development.md +202 -0
  612. moai_adk/templates/.claude/skills/moai-workflow-worktree/modules/parallel-workflows.md +302 -0
  613. moai_adk/templates/.claude/skills/moai-workflow-worktree/modules/registry-architecture.md +271 -0
  614. moai_adk/templates/.claude/skills/moai-workflow-worktree/modules/resource-optimization.md +300 -0
  615. moai_adk/templates/.claude/skills/moai-workflow-worktree/modules/tools-integration.md +280 -0
  616. moai_adk/templates/.claude/skills/moai-workflow-worktree/modules/troubleshooting.md +397 -0
  617. moai_adk/templates/.claude/skills/moai-workflow-worktree/modules/worktree-commands.md +296 -0
  618. moai_adk/templates/.claude/skills/moai-workflow-worktree/modules/worktree-management.md +217 -0
  619. moai_adk/templates/.claude/skills/moai-workflow-worktree/reference.md +357 -0
  620. moai_adk/templates/.git-hooks/pre-commit +103 -41
  621. moai_adk/templates/.git-hooks/pre-push +244 -31
  622. moai_adk/templates/.github/workflows/ci-universal.yml +513 -0
  623. moai_adk/templates/.github/workflows/security-secrets-check.yml +179 -0
  624. moai_adk/templates/.gitignore +181 -44
  625. moai_adk/templates/.lsp.json +152 -0
  626. moai_adk/templates/.mcp.json +6 -15
  627. moai_adk/templates/.moai/config/config.yaml +58 -0
  628. moai_adk/templates/.moai/config/multilingual-triggers.yaml +213 -0
  629. moai_adk/templates/.moai/config/questions/_schema.yaml +174 -0
  630. moai_adk/templates/.moai/config/questions/tab0-init.yaml +259 -0
  631. moai_adk/templates/.moai/config/questions/tab1-user.yaml +107 -0
  632. moai_adk/templates/.moai/config/questions/tab2-project.yaml +79 -0
  633. moai_adk/templates/.moai/config/questions/tab3-git.yaml +632 -0
  634. moai_adk/templates/.moai/config/questions/tab4-quality.yaml +183 -0
  635. moai_adk/templates/.moai/config/questions/tab5-system.yaml +96 -0
  636. moai_adk/templates/.moai/config/sections/git-strategy.yaml +116 -0
  637. moai_adk/templates/.moai/config/sections/language.yaml +11 -0
  638. moai_adk/templates/.moai/config/sections/project.yaml +13 -0
  639. moai_adk/templates/.moai/config/sections/quality.yaml +18 -0
  640. moai_adk/templates/.moai/config/sections/system.yaml +24 -0
  641. moai_adk/templates/.moai/config/sections/user.yaml +5 -0
  642. moai_adk/templates/.moai/config/statusline-config.yaml +92 -0
  643. moai_adk/templates/.moai/scripts/setup-glm.py +136 -0
  644. moai_adk/templates/CLAUDE.md +804 -499
  645. moai_adk/utils/__init__.py +24 -1
  646. moai_adk/utils/banner.py +7 -10
  647. moai_adk/utils/common.py +49 -30
  648. moai_adk/utils/link_validator.py +4 -12
  649. moai_adk/utils/safe_file_reader.py +2 -6
  650. moai_adk/utils/timeout.py +160 -0
  651. moai_adk/utils/toon_utils.py +256 -0
  652. moai_adk/version.py +22 -0
  653. moai_adk-0.41.0.dist-info/METADATA +3274 -0
  654. moai_adk-0.41.0.dist-info/RECORD +683 -0
  655. {moai_adk-0.25.4.dist-info → moai_adk-0.41.0.dist-info}/WHEEL +1 -1
  656. {moai_adk-0.25.4.dist-info → moai_adk-0.41.0.dist-info}/entry_points.txt +1 -0
  657. moai_adk/cli/commands/backup.py +0 -82
  658. moai_adk/cli/commands/improve_user_experience.py +0 -348
  659. moai_adk/cli/commands/migrate.py +0 -158
  660. moai_adk/cli/commands/validate_links.py +0 -118
  661. moai_adk/core/config/auto_spec_config.py +0 -346
  662. moai_adk/core/hooks/post_tool_auto_spec_completion.py +0 -925
  663. moai_adk/core/spec/confidence_scoring.py +0 -749
  664. moai_adk/core/spec/ears_template_engine.py +0 -1182
  665. moai_adk/core/spec/quality_validator.py +0 -721
  666. moai_adk/templates/.github/workflows/moai-gitflow.yml +0 -413
  667. moai_adk/templates/.github/workflows/moai-release-create.yml +0 -100
  668. moai_adk/templates/.github/workflows/moai-release-pipeline.yml +0 -188
  669. moai_adk/utils/user_experience.py +0 -531
  670. moai_adk-0.25.4.dist-info/METADATA +0 -2279
  671. moai_adk-0.25.4.dist-info/RECORD +0 -112
  672. {moai_adk-0.25.4.dist-info → moai_adk-0.41.0.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,3274 @@
1
+ Metadata-Version: 2.4
2
+ Name: moai-adk
3
+ Version: 0.41.0
4
+ Summary: MoAI Agentic Development Kit - SPEC-First TDD with Alfred SuperAgent & Unified moai-core-* Skills
5
+ Project-URL: Homepage, https://github.com/modu-ai/moai-adk
6
+ Project-URL: Repository, https://github.com/modu-ai/moai-adk
7
+ Project-URL: Issues, https://github.com/modu-ai/moai-adk/issues
8
+ Project-URL: Changelog, https://github.com/modu-ai/moai-adk/releases
9
+ Author-email: MoAI Team <support@moduai.kr>
10
+ License: MIT
11
+ License-File: LICENSE
12
+ Keywords: agentic,ai,alfred,claude,development,spec-first,tdd,toolkit
13
+ Classifier: Development Status :: 4 - Beta
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: License :: OSI Approved :: MIT License
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
20
+ Classifier: Programming Language :: Python :: 3.14
21
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
22
+ Classifier: Topic :: Software Development :: Quality Assurance
23
+ Classifier: Topic :: Software Development :: Testing
24
+ Requires-Python: >=3.11
25
+ Requires-Dist: aiohttp>=3.13.2
26
+ Requires-Dist: click>=8.1.0
27
+ Requires-Dist: gitpython>=3.1.45
28
+ Requires-Dist: google-genai>=1.0.0
29
+ Requires-Dist: inquirerpy>=0.3.4
30
+ Requires-Dist: jinja2>=3.0.0
31
+ Requires-Dist: packaging>=21.0
32
+ Requires-Dist: pillow>=10.0.0
33
+ Requires-Dist: psutil>=7.1.3
34
+ Requires-Dist: pyfiglet>=1.0.2
35
+ Requires-Dist: pytest-asyncio>=1.2.0
36
+ Requires-Dist: pytest-cov>=7.0.0
37
+ Requires-Dist: pyyaml>=6.0
38
+ Requires-Dist: questionary>=2.0.0
39
+ Requires-Dist: requests>=2.28.0
40
+ Requires-Dist: rich>=13.0.0
41
+ Provides-Extra: dev
42
+ Requires-Dist: black>=24.0.0; extra == 'dev'
43
+ Requires-Dist: mypy>=1.7.0; extra == 'dev'
44
+ Requires-Dist: pytest-cov>=7.0.0; extra == 'dev'
45
+ Requires-Dist: pytest-xdist>=3.8.0; extra == 'dev'
46
+ Requires-Dist: pytest>=8.4.2; extra == 'dev'
47
+ Requires-Dist: ruff>=0.1.0; extra == 'dev'
48
+ Requires-Dist: types-pyyaml>=6.0.0; extra == 'dev'
49
+ Provides-Extra: security
50
+ Requires-Dist: bandit>=1.8.0; extra == 'security'
51
+ Requires-Dist: pip-audit>=2.7.0; extra == 'security'
52
+ Description-Content-Type: text/markdown
53
+
54
+ # 🗿 MoAI-ADK: Agentic AI-Based SPEC-First TDD Development Framework
55
+
56
+ ![MoAI-ADK Hero Banner](./assets/images/readme/hero-banner-moai-adk.png)
57
+
58
+ **Available Languages:** [🇰🇷 한국어](./README.ko.md) | [🇺🇸 English](./README.md) | [🇯🇵 日本語](./README.ja.md) | [🇨🇳 中文](./README.zh.md)
59
+
60
+ [![PyPI version](https://img.shields.io/pypi/v/moai-adk)](https://pypi.org/project/moai-adk/)
61
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
62
+ [![Python](https://img.shields.io/badge/Python-3.11--3.14-blue)](https://www.python.org/)
63
+
64
+ MoAI-ADK (Agentic Development Kit) is an open-source framework that combines **SPEC-First development**, **Test-Driven Development** (TDD), and **AI agents** to deliver a complete and transparent development lifecycle.
65
+
66
+ ---
67
+
68
+ ## 📑 Table of Contents (Quick Navigation)
69
+
70
+ ### PART A: Getting Started (30 minutes)
71
+
72
+ | Section | Time | Goal |
73
+ | ------------------------------------------------- | ----- | --------------------------- |
74
+ | [1. Introduction](#1-introduction) | 2min | Understand what MoAI-ADK is |
75
+ | [2. Installation & Setup](#2-installation--setup) | 10min | Configure basic environment |
76
+ | [3. Quick Start](#3-quick-start) | 5min | Complete your first feature |
77
+
78
+ ### PART B: Core Concepts (45 minutes)
79
+
80
+ | Section | Time | Goal |
81
+ | -------------------------------------------------- | ----- | ------------------------- |
82
+ | [4. SPEC and EARS Format](#4-spec-and-ears-format) | 10min | Understand specifications |
83
+ | [5. Mr.Alfred & Agents](#5-mralfred--agents) | 12min | Understand agent system |
84
+ | [6. Development Workflow](#6-development-workflow) | 15min | Plan → Run → Sync |
85
+ | [7. Core Commands](#7-core-commands) | 8min | `> /moai:0-3` commands |
86
+
87
+ ### PART C: Advanced Learning (2-3 hours)
88
+
89
+ | Section | Goal |
90
+ | ----------------------------------------------------------------- | -------------------------- |
91
+ | [8. Agent Guide](#8-agent-guide-27-agents) | Utilize specialized agents |
92
+ | [9. Skill Library](#9-skill-library-48-skills) | Explore 48 skills |
93
+ | [10. Composition Patterns](#10-composition-patterns-and-examples) | Real project examples |
94
+ | [11. TRUST 5 Quality](#11-trust-5-quality-assurance) | Quality assurance system |
95
+ | [12. Advanced Features](#12-advanced-features) | Git Worktree & enhanced log management |
96
+
97
+ ### PART D: Advanced & Reference (As Needed)
98
+
99
+ | Section | Purpose |
100
+ | ------------------------------------------------------------------------------------------- | ------------------------- |
101
+ | [13. Advanced Configuration](#13-advanced-configuration) | Project customization |
102
+ | [14. FAQ & Quick Reference](#14-faq--quick-reference) | Common questions |
103
+ | [15. 📸 ai-nano-banana Agent Usage Guide](#15---ai-nano-banana-agent-usage-guide) | Image generation guide |
104
+ | [16. Additional Resources](#16-additional-resources) | Support & information |
105
+
106
+ ---
107
+
108
+ ## 1. Introduction
109
+
110
+ ### 🗿 What is MoAI-ADK?
111
+
112
+ **MoAI-ADK** (Agentic Development Kit) is a next-generation development framework powered by AI agents. It combines **SPEC-First development methodology**, **TDD** (Test-Driven Development), and **28 specialized AI agents** to deliver a complete and transparent development lifecycle.
113
+
114
+ ### ✨ Why Use MoAI-ADK?
115
+
116
+ ![Traditional vs MoAI-ADK](./assets/images/readme/before-after-comparison.png)
117
+
118
+ Limitations of traditional development:
119
+
120
+ - ❌ Frequent rework due to unclear requirements
121
+ - ❌ Documentation out of sync with code
122
+ - ❌ Quality degradation from postponed testing
123
+ - ❌ Repetitive boilerplate code writing
124
+
125
+ MoAI-ADK solutions:
126
+
127
+ - ✅ Start with **clear SPEC documents** to eliminate misunderstandings
128
+ - ✅ **Automatic documentation sync** keeps everything up-to-date
129
+ - ✅ **TDD enforcement** guarantees 85%+ test coverage
130
+ - ✅ **AI agents** automate repetitive tasks
131
+
132
+ ### 🎯 Core Features
133
+
134
+ ![5 Core Features](./assets/images/readme/feature-overview-grid.png)
135
+
136
+ | Feature | Description | Quantitative Impact |
137
+ | ---------------------- | ---------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
138
+ | **SPEC-First** | All development starts with clear specifications | **90% reduction** in rework from requirement changes<br/>Clear SPEC eliminates developer-planner misunderstandings |
139
+ | **TDD Enforcement** | Automated Red-Green-Refactor cycle | **70% reduction** in bugs (with 85%+ coverage)<br/>**15% shorter** total development time including test writing |
140
+ | **AI Orchestration** | Mr.Alfred commands 28 specialized AI agents (5-Tier) | **Average token savings**: 5,000 tokens per session (Conditional Auto-load)<br/>**Simple tasks**: 0 tokens (Quick Reference)<br/>**Complex tasks**: 8,470 tokens (Auto-load skill)<br/>**60-70% time savings** vs manual |
141
+ | **Multilingual Routing** | Automatic agent selection in 4 languages (EN/KO/JA/ZH) | **100% language coverage** for agent invocation<br/>XLT (Cross-Lingual Thought) protocol for semantic matching<br/>Works with Korean, Japanese, Chinese requests |
142
+ | **AST-Grep Integration** | Structural code search, security scanning, and refactoring | **Pattern-based code analysis** (not text-based regex)<br/>Support for **40+ programming languages**<br/>**Automatic security scanning** on code changes<br/>**Large-scale refactoring** with expert-refactoring agent |
143
+ | **Auto Documentation** | Automatic doc sync on code changes (`> /moai:3-sync`) | **100% documentation freshness**<br/>Eliminates manual doc writing<br/>Auto-sync since last commit |
144
+ | **TRUST 5 Quality** | Test, Readable, Unified, Secured, Trackable | Enterprise-grade quality assurance<br/>**99% reduction** in post-deployment emergency patches |
145
+
146
+ ---
147
+
148
+ ## 2. Installation & Setup
149
+
150
+ ### 🎯 Basic Installation (10 minutes)
151
+
152
+ #### Step 1: Install uv (1 minute)
153
+
154
+ ```bash
155
+ # macOS / Linux
156
+ curl -LsSf https://astral.sh/uv/install.sh | sh
157
+
158
+ # Windows (PowerShell)
159
+ powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
160
+
161
+ # Verify installation
162
+ uv --version
163
+ ```
164
+
165
+ #### Step 2: Install MoAI-ADK (2 minutes)
166
+
167
+ ```bash
168
+ # Install latest version
169
+ uv tool install moai-adk
170
+
171
+ # Verify installation
172
+ moai-adk --version
173
+ ```
174
+
175
+ #### Step 3A: Initialize New Project (3 minutes)
176
+
177
+ ```bash
178
+ # Create new project
179
+ moai-adk init my-project
180
+ cd my-project
181
+
182
+ # Check project structure
183
+ ls -la
184
+ ```
185
+
186
+ Generated file structure:
187
+
188
+ ```text
189
+ my-project/
190
+ ├── .claude/ # Claude Code configuration
191
+ ├── .moai/ # MoAI-ADK configuration
192
+ ├── src/ # Source code
193
+ ├── tests/ # Test code
194
+ ├── .moai/specs/ # SPEC documents
195
+ ├── README.md
196
+ └── pyproject.toml
197
+ ```
198
+
199
+ ---
200
+
201
+ #### Step 3B: Setup Existing Project (5 minutes)
202
+
203
+ **For existing projects, integrate MoAI-ADK in 3 simple steps:**
204
+
205
+ ```bash
206
+ # Navigate to your existing project
207
+ cd your-existing-project
208
+
209
+ # Initialize MoAI-ADK in current directory
210
+ moai-adk init .
211
+
212
+ # Verify MoAI-ADK integration
213
+ ls -la .claude/ .moai/
214
+ ```
215
+
216
+ **What gets added to your project:**
217
+
218
+ ```text
219
+ your-existing-project/
220
+ ├── .claude/ # Claude Code configuration (added)
221
+ │ ├── agents/ # MoAI-ADK agents
222
+ │ ├── commands/ # Custom commands
223
+ │ ├── hooks/ # Automated workflows
224
+ │ └── settings.json # Project settings
225
+ ├── .moai/ # MoAI-ADK configuration (added)
226
+ │ ├── config/ # Project configuration
227
+ │ ├── memory/ # Session memory
228
+ │ ├── specs/ # SPEC documents
229
+ │ └── docs/ # Auto-generated docs
230
+ ├── src/ # Your existing source code (unchanged)
231
+ ├── tests/ # Your existing tests (unchanged)
232
+ └── README.md # Your existing README (unchanged)
233
+ ```
234
+
235
+ **Important:** Your existing files remain untouched. MoAI-ADK only adds configuration files.
236
+
237
+ ---
238
+
239
+ #### Step 4: Run Claude Code & Initialize Project Metadata
240
+
241
+ ```bash
242
+ # Run Claude Code in your project directory
243
+ claude
244
+
245
+ # Inside Claude Code, initialize project metadata
246
+ > /moai:0-project
247
+ ```
248
+
249
+ **What `> /moai:0-project` does:**
250
+
251
+ - ✅ Analyzes your project structure
252
+ - ✅ Detects programming language and framework
253
+ - ✅ Generates project metadata in `.moai/config/config.json`
254
+ - ✅ Sets up default Git workflow configuration
255
+ - ✅ Creates session memory system
256
+ - ✅ Configures quality assurance standards
257
+
258
+ **Expected output:**
259
+
260
+ ```
261
+ ✓ Project analyzed: Python project detected
262
+ ✓ Metadata generated: .moai/config/config.json
263
+ ✓ Git strategy: Manual mode configured
264
+ ✓ Quality gates: 85% test coverage target
265
+ ✓ Project initialized successfully
266
+ ```
267
+
268
+ Project metadata and environment are now ready for SPEC-First TDD development!
269
+
270
+ ---
271
+
272
+ ## 3. Quick Start
273
+
274
+ ### 🎯 Goal: Complete Your First Feature in 5 Minutes
275
+
276
+ ![Quick Start Journey](./assets/images/readme/quickstart-journey-map.png)
277
+
278
+ ---
279
+
280
+ ### **Step 1: Plan Your First Feature** ⏱️ 2min
281
+
282
+ In Claude Code:
283
+
284
+ ```
285
+ > /moai:1-plan "Add user login feature"
286
+ ```
287
+
288
+ This command:
289
+
290
+ - Auto-generates SPEC-001 document
291
+ - Defines requirements, constraints, success criteria
292
+ - Creates test scenarios
293
+
294
+ ---
295
+
296
+ ### **Step 2: Initialize Context** ⏱️ 1min
297
+
298
+ ```
299
+ > /clear
300
+ ```
301
+
302
+ Clears previous context for token efficiency.
303
+
304
+ ---
305
+
306
+ ### **Step 3: Implementation (Run)** ⏱️ 2min
307
+
308
+ ```
309
+ > /moai:2-run SPEC-001
310
+ ```
311
+
312
+ This command:
313
+
314
+ - Writes tests first (Red)
315
+ - Implements code (Green)
316
+ - Refactors (Refactor)
317
+ - Automatically performs TRUST 5 validation
318
+
319
+ ---
320
+
321
+ ### **Step 4: Documentation (Sync)** ⏱️ (Optional)
322
+
323
+ ```
324
+ > /moai:3-sync SPEC-001
325
+ ```
326
+
327
+ Automatically:
328
+
329
+ - Generates API documentation
330
+ - Creates architecture diagrams
331
+ - Updates README
332
+ - Prepares for deployment
333
+
334
+ **Done!** Your first feature is fully implemented. 🎉
335
+
336
+ ---
337
+
338
+ ### 📁 More Details
339
+
340
+ - **Advanced installation options**: [13. Advanced Configuration](#13-advanced-configuration)
341
+ - **Detailed command usage**: [7. Core Commands](#7-core-commands)
342
+ - **Development workflow**: [6. Development Workflow](#6-development-workflow)
343
+
344
+ ---
345
+
346
+ ## 4. SPEC and EARS Format
347
+
348
+ ### 📋 SPEC-First Development
349
+
350
+ ![SPEC-First Visual Guide](./assets/images/readme/spec-first-visual-guide.png)
351
+
352
+ **What is SPEC-First?**
353
+
354
+ All development starts with **clear specifications**. SPECs follow the **EARS (Easy Approach to Requirements Syntax) format** and include:
355
+
356
+ - **Requirements**: What to build?
357
+ - **Constraints**: What are the limitations?
358
+ - **Success Criteria**: When is it complete?
359
+ - **Test Scenarios**: How to verify?
360
+
361
+ ### 🎯 EARS Format Example
362
+
363
+ ```markdown
364
+ # SPEC-001: User Login Feature
365
+
366
+ ## Requirements
367
+
368
+ - WHEN a user enters email and password and clicks "Login"
369
+ - IF credentials are valid
370
+ - THEN the system issues a JWT (JSON Web Token) and navigates to dashboard
371
+
372
+ ## Constraints
373
+
374
+ - Password must be at least 8 characters
375
+ - Lock account after 5 consecutive failures (30 minutes)
376
+ - Response time must be under 500ms
377
+
378
+ ## Success Criteria
379
+
380
+ - 100% success rate with valid credentials
381
+ - Display clear error messages for invalid credentials
382
+ - Response time < 500ms
383
+ - Test coverage >= 85%
384
+
385
+ ## Test Scenarios
386
+
387
+ ### TC-1: Successful Login
388
+
389
+ - Input: email="user@example.com", password="secure123"
390
+ - Expected: Token issued, navigate to dashboard
391
+
392
+ ### TC-2: Invalid Password
393
+
394
+ - Input: email="user@example.com", password="wrong"
395
+ - Expected: "Incorrect password" error message
396
+
397
+ ### TC-3: Account Lock
398
+
399
+ - Input: 5 consecutive failures
400
+ - Expected: "Account locked. Try again in 30 minutes"
401
+ ```
402
+
403
+ ### 💡 5 Types of EARS Format
404
+
405
+ | Type | Syntax | Example |
406
+ | ---------------- | -------------- | ----------------------------------------------- |
407
+ | **Ubiquitous** | Always perform | "System shall always log activities" |
408
+ | **Event-driven** | WHEN...THEN | "When user logs in, issue token" |
409
+ | **State-driven** | IF...THEN | "If account is active, allow login" |
410
+ | **Unwanted** | shall not | "System shall not store passwords in plaintext" |
411
+ | **Optional** | where possible | "Provide OAuth login where possible" |
412
+
413
+ ---
414
+
415
+ ## 5. Mr.Alfred & Agents
416
+
417
+ ### 🎩 Mr. Alfred - Super Agent Orchestrator
418
+
419
+ **Who is Alfred?**
420
+
421
+ Mr.Alfred is MoAI-ADK's **chief orchestrator** who analyzes user requests, selects appropriate specialized agents for task delegation, and integrates results.
422
+
423
+ **Alfred's Roles:**
424
+
425
+ 1. **Understand**: Analyze user requests and clarify ambiguities
426
+ 2. **Plan**: Establish execution plan through Plan agent
427
+ 3. **Execute**: Delegate tasks to specialized agents (sequential/parallel)
428
+ 4. **Integrate**: Collect all results and report to user
429
+
430
+ ### 🌐 Multilingual Agent Routing (NEW in v0.40.0)
431
+
432
+ **Supported Languages:** English (EN), Korean (KO), Japanese (JA), Chinese (ZH)
433
+
434
+ Alfred now automatically routes requests in **any supported language** to the correct agent:
435
+
436
+ **How It Works:**
437
+
438
+ 1. **Keyword Detection**: Each agent has multilingual trigger keywords
439
+ 2. **XLT Protocol**: Cross-Lingual Thought processing for semantic matching
440
+ 3. **Automatic Delegation**: Alfred invokes the appropriate agent
441
+
442
+ **Example:**
443
+
444
+ | Request Language | User Request | Agent Invoked |
445
+ |-----------------|--------------|---------------|
446
+ | English | "Design backend API" | expert-backend |
447
+ | Korean | "백엔드 API 설계해줘" | expert-backend |
448
+ | Japanese | "バックエンドAPIを設計して" | expert-backend |
449
+ | Chinese | "设计后端API" | expert-backend |
450
+
451
+ **Multilingual Keyword Examples:**
452
+
453
+ - **Backend**: backend, 백엔드, バックエンド, 后端
454
+ - **Frontend**: frontend, 프론트엔드, フロントエンド, 前端
455
+ - **Testing**: test, 테스트, テスト, 测试
456
+ - **Security**: security, 보안, セキュリティ, 安全
457
+
458
+ ```mermaid
459
+ flowchart TD
460
+ User[👤 User] -->|Request| Alfred[🎩 Mr.Alfred]
461
+ Alfred -->|Analyze| Plan[📋 Plan Agent]
462
+ Plan -->|Plan| Alfred
463
+ Alfred -->|Delegate| Agents[👥 Specialized Agents]
464
+ Agents -->|Results| Alfred
465
+ Alfred -->|Integrated Report| User
466
+
467
+ style Alfred fill:#fff,stroke:#333,stroke-width:2px
468
+ style Agents fill:#fff,stroke:#333,stroke-width:1px,stroke-dasharray: 5 5
469
+ ```
470
+
471
+ ### 🔧 Agent System (5-Tier Hierarchy)
472
+
473
+ MoAI-ADK organizes **28 specialized agents** into **5 tiers** for optimal performance.
474
+
475
+ **Tier 1: Domain Experts** (10 agents)
476
+
477
+ - `expert-backend`: Backend architecture, API development
478
+ - `expert-frontend`: Frontend, React/Vue implementation
479
+ - `expert-database`: Database design, optimization
480
+ - `expert-security`: Security analysis, vulnerability scanning
481
+ - `expert-devops`: Deployment, infrastructure, CI/CD
482
+ - `expert-uiux`: UI/UX design, components
483
+ - `expert-debug`: Debugging, error analysis
484
+ - `expert-performance`: Performance profiling, optimization
485
+ - `expert-refactoring`: Code refactoring, AST-grep based transforms
486
+ - `expert-testing`: Test strategy, coverage optimization
487
+
488
+ **Tier 2: Workflow Managers** (8 agents)
489
+
490
+ - `manager-spec`: SPEC writing (EARS format)
491
+ - `manager-tdd`: TDD implementation (RED-GREEN-REFACTOR)
492
+ - `manager-docs`: Automatic documentation
493
+ - `manager-quality`: Quality verification (TRUST 5)
494
+ - `manager-strategy`: Execution strategy planning
495
+ - `manager-project`: Project initialization
496
+ - `manager-git`: Git workflow
497
+ - `manager-claude-code`: Claude Code integration
498
+
499
+ **Tier 3: Meta-generators** (4 agents)
500
+
501
+ - `builder-agent`: Create new agents
502
+ - `builder-skill`: Create new skills
503
+ - `builder-command`: Create new commands
504
+ - `builder-plugin`: Create new plugins
505
+
506
+ **Tier 4: MCP Integrators** (5 agents)
507
+
508
+ - `mcp-context7`: Real-time library documentation lookup
509
+ - `mcp-sequential-thinking`: Complex reasoning analysis
510
+ - `mcp-playwright`: Web automation testing
511
+ - `mcp-figma`: Figma design system
512
+ - `mcp-notion`: Notion workspace management
513
+
514
+ **Tier 5: AI Services** (1 agent)
515
+
516
+ - `ai-nano-banana`: Gemini 3 image generation
517
+
518
+ ---
519
+
520
+ ## 6. Development Workflow
521
+
522
+ ### 🔄 Infinite Plan-Run-Sync Loop
523
+
524
+ MoAI-ADK development proceeds in a **3-phase infinite loop**:
525
+
526
+ ```mermaid
527
+ sequenceDiagram
528
+ participant U as 👤 User
529
+ participant A as 🎩 Alfred
530
+ participant S as 📝 SPEC Builder
531
+ participant T as 💻 TDD Implementer
532
+ participant D as 📚 Docs Manager
533
+
534
+ Note over U,D: 🔄 Plan → Run → Sync Loop
535
+
536
+ rect rgb(245, 245, 245)
537
+ Note right of U: Phase 1: Plan
538
+ U->>A: > /moai:1-plan "login feature"
539
+ A->>S: Request SPEC writing
540
+ S-->>A: SPEC-001 draft
541
+ A-->>U: Request review
542
+ U->>A: Approve
543
+ A->>U: 💡 Recommend /clear
544
+ end
545
+
546
+ rect rgb(250, 250, 250)
547
+ Note right of U: Phase 2: Run
548
+ U->>A: > /moai:2-run SPEC-001
549
+ A->>T: Request TDD implementation
550
+ T->>T: 🔴 Write tests (fail)
551
+ T->>T: 🟢 Implement code (pass)
552
+ T->>T: 🔵 Refactor & optimize
553
+ T-->>A: Implementation complete (tests pass)
554
+ A-->>U: Confirm completion
555
+ end
556
+
557
+ rect rgb(240, 250, 240)
558
+ Note right of U: Phase 3: Sync (Automation)
559
+ U->>A: > /moai:3-sync SPEC-001
560
+ A->>D: Request documentation
561
+ D->>D: 🔴 Final testing
562
+ D->>D: 📊 Coverage verification
563
+ D->>D: 🔍 Code quality check
564
+ D->>D: 📝 Auto commit generation
565
+ D->>D: 📚 Documentation update
566
+ D-->>A: All complete (automation)
567
+ A-->>U: Ready for merge
568
+ end
569
+ ```
570
+
571
+ ### 📊 Detailed Phase Descriptions
572
+
573
+ #### Phase 1: Plan (Design, 5-10min)
574
+
575
+ **Goal**: What to build?
576
+
577
+ ```bash
578
+ > /moai:1-plan "user login feature"
579
+ ```
580
+
581
+ In this phase:
582
+
583
+ - ✅ Auto-generate SPEC-001 document
584
+ - ✅ Define requirements in EARS format
585
+ - ✅ Clarify success criteria
586
+ - ✅ Write test scenarios
587
+
588
+ **Output**: `.moai/specs/SPEC-001/spec.md`
589
+
590
+ ---
591
+
592
+ #### Phase 2: Run (Implementation, 20-40min)
593
+
594
+ **Goal**: How to build it?
595
+
596
+ ```bash
597
+ > /clear
598
+ > /moai:2-run SPEC-001
599
+ ```
600
+
601
+ In this phase:
602
+
603
+ - 🔴 **RED**: Write failing tests
604
+ - 🟢 **GREEN**: Pass tests with minimal code
605
+ - 🔵 **REFACTOR**: Clean and optimize code
606
+
607
+ **Automatic verification**:
608
+
609
+ - Test coverage >= 85%
610
+ - Pass code linting
611
+ - Pass security checks
612
+ - Pass type checking
613
+
614
+ **Output**: Implementation complete + test code + 85%+ coverage
615
+
616
+ ---
617
+
618
+ #### Phase 3: Sync (Automation, 5-10min)
619
+
620
+ **Goal**: Is it complete? (Automation)
621
+
622
+ ```bash
623
+ > /clear
624
+ > /moai:3-sync SPEC-001
625
+ ```
626
+
627
+ This phase automatically executes:
628
+
629
+ - 🔍 **Phase 0.5: Quality Verification** *(NEW)*
630
+ - Auto-detect project language (16 languages supported)
631
+ - Run language-specific test runner, linter, and type checker
632
+ - Execute code-review via manager-quality agent
633
+ - Coverage target from config (`constitution.test_coverage_target`)
634
+ - 🔴 **Final test execution**: Auto-run all tests
635
+ - 📊 **Coverage verification**: Auto-guarantee configured coverage target
636
+ - 🔍 **Code quality check**: Language-specific linting (ruff/eslint/clippy/etc.)
637
+ - 📝 **Auto commit generation**: Auto-create "Ready for merge" commit
638
+ - 📚 **Documentation update**: Auto-update API docs, README
639
+ - 🚀 **Merge readiness**: Claude Code auto-completes merge preparation
640
+
641
+ **Supported Languages for Phase 0.5**:
642
+ Python, TypeScript, JavaScript, Go, Rust, Ruby, Java, PHP, Kotlin, Swift, C#, C++, Elixir, R, Flutter/Dart, Scala
643
+
644
+ **Output**: Tests pass + documentation complete + merge ready
645
+
646
+ ---
647
+
648
+ ### 💡 Visual Workflow: "Blog Comment Feature" Example
649
+
650
+ ```mermaid
651
+ flowchart LR
652
+ Start([👤 User Request]) -->|"<br/>Can you create<br/>comment feature?<br/>"| Plan["<b>📋 PLAN</b><br/>(Design)<br/>━━━━━━<br/>✨ Write SPEC<br/>✅ Define success criteria<br/>⏱️ 5min"]
653
+
654
+ Plan -->|"<br/>SPEC-001<br/>ready<br/>"| Run["<b>💻 RUN</b><br/>(Implementation)<br/>━━━━━━<br/>🔴 Write tests<br/>🟢 Implement code<br/>🔵 Refactor<br/>⏱️ 20min"]
655
+
656
+ Run -->|"<br/>Tests pass<br/>Code complete<br/>"| Sync["<b>📚 SYNC</b><br/>(Automation)<br/>━━━━━━<br/>🔴 Final testing<br/>📊 Coverage verification<br/>🔍 Code quality check<br/>📝 Auto commit generation<br/>🚀 Merge ready<br/>⏱️ 5min"]
657
+
658
+ Sync -->|"<br/>Fully automated complete!<br/>🚀 Merge ready<br/>"| End([✅ Feature Deployed])
659
+
660
+ classDef planStyle fill:#e3f2fd,stroke:#1976d2,stroke-width:3px,color:#000
661
+ classDef runStyle fill:#f3e5f5,stroke:#7b1fa2,stroke-width:3px,color:#000
662
+ classDef syncStyle fill:#fff8e1,stroke:#ff9800,stroke-width:3px,color:#000
663
+ classDef normalStyle fill:#fafafa,stroke:#666,stroke-width:2px
664
+
665
+ class Plan planStyle
666
+ class Run runStyle
667
+ class Sync syncStyle
668
+ class Start,End normalStyle
669
+ ```
670
+
671
+ ---
672
+
673
+ ## 7. Core Commands
674
+
675
+ ### 🎯 `> /moai:0-project` - Project Initialization
676
+
677
+ **Purpose**: Generate project metadata
678
+
679
+ **When to use**: When starting a new project
680
+
681
+ ```bash
682
+ > /moai:0-project
683
+ ```
684
+
685
+ **Generated files**:
686
+
687
+ - `.moai/config/config.json`: Project configuration
688
+ - `.moai/memory/`: Project memory
689
+ - `.moai/docs/`: Auto-generated documentation
690
+
691
+ ---
692
+
693
+ ### 📋 `> /moai:1-plan` - SPEC Writing
694
+
695
+ **Purpose**: Generate SPEC document in EARS format
696
+
697
+ **When to use**: Before starting new feature development
698
+
699
+ ```bash
700
+ > /moai:1-plan "add login feature"
701
+ ```
702
+
703
+ **Example**:
704
+
705
+ ```bash
706
+ > /moai:1-plan "implement user profile page"
707
+ # → Creates SPEC-002 (.moai/specs/SPEC-002/spec.md)
708
+
709
+ > /moai:1-plan "develop payment API"
710
+ # → Creates SPEC-003
711
+ ```
712
+
713
+ **SPEC includes**:
714
+
715
+ - Requirements
716
+ - Constraints
717
+ - Success Criteria
718
+ - Test Scenarios
719
+
720
+ **Important**: Must execute `> /clear` next
721
+
722
+ ```bash
723
+ > /moai:1-plan "feature name"
724
+ # After completion
725
+ > /clear
726
+ ```
727
+
728
+ ---
729
+
730
+ ### 💻 `> /moai:2-run` - TDD Implementation
731
+
732
+ **Purpose**: Implement code with RED-GREEN-REFACTOR cycle
733
+
734
+ **When to use**: After SPEC writing for implementation
735
+
736
+ ```bash
737
+ > /moai:2-run SPEC-001
738
+ ```
739
+
740
+ **Example**:
741
+
742
+ ```bash
743
+ > /moai:2-run SPEC-001 # Basic implementation
744
+ ```
745
+
746
+ **Automatic execution**:
747
+
748
+ - 🔴 Write tests first
749
+ - 🟢 Pass tests with code
750
+ - 🔵 Refactor & optimize
751
+ - ✅ TRUST 5 validation (automatic)
752
+
753
+ **Verification items**:
754
+
755
+ - Test coverage >= 85%
756
+ - Pass linting checks
757
+ - Pass type checks
758
+ - Pass security checks
759
+
760
+ ---
761
+
762
+ ### 📚 `> /moai:3-sync` - Documentation Sync
763
+
764
+ **Purpose**: Reflect code changes in documentation
765
+
766
+ **When to use**: After implementation completion
767
+
768
+ ```bash
769
+ > /moai:3-sync SPEC-001
770
+ ```
771
+
772
+ **Example**:
773
+
774
+ ```bash
775
+ > /moai:3-sync SPEC-001 # All documentation
776
+ ```
777
+
778
+ **Auto-generated documentation**:
779
+
780
+ - API reference
781
+ - Architecture diagrams
782
+ - Deployment guide
783
+ - README updates
784
+ - CHANGELOG
785
+
786
+ ---
787
+
788
+ ### 🌳 **moai-worktree** - Git Worktree Management for Parallel SPEC Development
789
+
790
+ #### Why moai-worktree? The Problem It Solves
791
+
792
+ In modern software development, especially when following SPEC-First TDD methodology, developers frequently face the challenge of working on multiple features simultaneously. Traditional Git workflow forces developers to:
793
+
794
+ - **Context Switch Hell**: Constantly switch branches in the same workspace, losing context and risking incomplete work
795
+ - **Sequential Development**: Work on one SPEC at a time, reducing productivity
796
+ - **Environment Conflicts**: Different SPECs may require different dependencies, database states, or configurations
797
+
798
+ **moai-worktree solves these problems** by providing isolated workspaces for each SPEC, enabling true parallel development without context switching overhead.
799
+
800
+ #### Core Concept: SPEC-Based Parallel Development
801
+
802
+ **What is a Git Worktree?**
803
+
804
+ A Git worktree is a separate working directory linked to the same Git repository, allowing you to check out different branches into different working directories simultaneously. Each worktree has its own:
805
+
806
+ - Independent file system
807
+ - Separate working directory state
808
+ - Isolated build artifacts and dependencies
809
+ - Own staging area and unstaged changes
810
+
811
+ **moai-worktree Architecture:**
812
+
813
+ ```
814
+ Main Repository/
815
+ ├── .git/ # Shared Git repository
816
+ ├── src/ # Main branch files
817
+ └── worktrees/ # Auto-created worktrees
818
+ ├── SPEC-001/
819
+ │ ├── .git # Worktree-specific git file
820
+ │ ├── src/ # SPEC-001 implementation
821
+ │ └── tests/ # SPEC-001 tests
822
+ ├── SPEC-002/
823
+ │ ├── .git # Worktree-specific git file
824
+ │ ├── src/ # SPEC-002 implementation
825
+ │ └── tests/ # SPEC-002 tests
826
+ └── SPEC-003/
827
+ ├── .git # Worktree-specific git file
828
+ ├── src/ # SPEC-003 implementation
829
+ └── tests/ # SPEC-003 tests
830
+ ```
831
+
832
+ #### Key Benefits for SPEC-First Development
833
+
834
+ **1. Zero Context Switching**
835
+
836
+ - Each SPEC has its own dedicated workspace
837
+ - Never lose work context when switching between SPECs
838
+ - Maintain mental focus on specific requirements
839
+
840
+ **2. True Parallel Development**
841
+
842
+ - Work on SPEC-001 implementation while SPEC-002 tests run
843
+ - Debug SPEC-003 while SPEC-004 documentation syncs
844
+ - No waiting for other processes to complete
845
+
846
+ **3. Isolated Environments**
847
+
848
+ - Different SPECs can use different dependency versions
849
+ - Separate database states and configurations
850
+ - No cross-SPEC contamination
851
+
852
+ **4. SPEC Completion Tracking**
853
+
854
+ - Clear visual indication of which SPECs are active
855
+ - Easy to identify abandoned or incomplete SPECs
856
+ - Systematic cleanup of completed work
857
+
858
+ #### Advanced Features
859
+
860
+ **Smart Synchronization**
861
+
862
+ ```bash
863
+ # Sync all worktrees with latest main branch
864
+ moai-worktree sync --all
865
+
866
+ # Sync specific worktree with conflict resolution
867
+ moai-worktree sync SPEC-001 --auto-resolve
868
+ ```
869
+
870
+ **Intelligent Cleanup**
871
+
872
+ ```bash
873
+ # Auto-remove worktrees for merged branches
874
+ moai-worktree clean --merged-only
875
+
876
+ # Safe cleanup with confirmation prompts
877
+ moai-worktree clean --interactive
878
+ ```
879
+
880
+ **Performance Optimization**
881
+
882
+ - **Concurrent Operations**: Multiple worktrees can be modified simultaneously
883
+ - **Shared History**: All worktrees share the same Git object database
884
+ - **Selective Sync**: Only sync changes when needed, not entire repositories
885
+
886
+ #### When to Use moai-worktree
887
+
888
+ **Ideal Scenarios:**
889
+
890
+ - **Multiple Active SPECs**: Working on 3+ SPECs simultaneously
891
+ - **Long-running Tasks**: SPEC implementation takes days or weeks
892
+ - **Team Collaboration**: Multiple developers working on different SPECs
893
+ - **Feature Branching**: Each SPEC becomes its own feature branch
894
+ - **Environment Isolation**: Different SPECs require different configurations
895
+
896
+ #### Complete Development Workflow (Start to Merge)
897
+
898
+ **Step 1: SPEC Creation and Worktree Setup**
899
+
900
+ ```bash
901
+ # Method 1: Automatic worktree creation with SPEC creation
902
+ > /moai:1-plan 'Implement user authentication system' --worktree
903
+ # → Auto-create SPEC-AUTH-001 and setup worktree
904
+
905
+ # Method 2: Manual worktree creation
906
+ > /moai:1-plan 'Implement user authentication system'
907
+ # SPEC-AUTH-001 created
908
+ moai-worktree new SPEC-AUTH-001
909
+ # → Create isolated worktree environment
910
+ ```
911
+
912
+ **Step 2: Navigate to Worktree and Start Development**
913
+
914
+ ```bash
915
+ # Navigate to worktree (opens new shell)
916
+ moai-worktree go SPEC-AUTH-001
917
+ # → Opens new shell in ~/moai/worktrees/MoAI-ADK/SPEC-AUTH-001
918
+ ```
919
+
920
+ **Step 3: Develop in Isolated Environment**
921
+
922
+ ```bash
923
+ # TDD development within worktree
924
+ > /moai:2-run SPEC-AUTH-001
925
+ # → Execute RED → GREEN → REFACTOR cycle
926
+
927
+ # Check status during development
928
+ moai-worktree status
929
+ git status
930
+ git log --oneline -5
931
+
932
+ # Intermediate save
933
+ git add .
934
+ git commit -m "Auth: Implement user login endpoint"
935
+ ```
936
+
937
+ **Step 4: Synchronization and Conflict Resolution**
938
+
939
+ ```bash
940
+ # Get main branch changes
941
+ moai-worktree sync SPEC-AUTH-001
942
+
943
+ # Sync with automatic conflict resolution
944
+ moai-worktree sync SPEC-AUTH-001 --auto-resolve
945
+
946
+ # Sync all worktrees
947
+ moai-worktree sync --all --auto-resolve
948
+ ```
949
+
950
+ **Step 5: Development Completion and Testing (Automation)**
951
+
952
+ ```bash
953
+ # MoAI workflow sync - automatically run tests, quality checks, commits
954
+ > /moai:3-sync SPEC-AUTH-001
955
+ # → Auto final testing, coverage verification, code quality checks, final commit complete
956
+ ```
957
+
958
+ **Step 6: Merge Preparation (Automation + Direct Commands)**
959
+
960
+ **Option A: Claude Code Automation (Beginner Friendly)**
961
+
962
+ ```bash
963
+ # Claude Code automatically handles merge preparation
964
+ # User just needs to request:
965
+ > Prepare SPEC-AUTH-001 for merge to main branch
966
+
967
+ # Claude Code automatically executes:
968
+ # - Fetch worktree branch
969
+ # - Local merge testing
970
+ # - Conflict check and resolution suggestions
971
+ # - Merge preparation complete report
972
+ ```
973
+
974
+ **Option B: Direct Git Commands (Advanced Users)**
975
+
976
+ ```bash
977
+ # 1. Navigate from worktree to main
978
+ moai-worktree go SPEC-AUTH-001 # or cd /path/to/main/repo
979
+
980
+ # 2. Fetch worktree branch
981
+ git fetch origin feature/SPEC-AUTH-001
982
+ git checkout -b merge/SPEC-AUTH-001 origin/feature/SPEC-AUTH-001
983
+
984
+ # 3. Local merge testing
985
+ git merge main --no-ff # Merge changes from main
986
+
987
+ # 4. Manual resolution if conflicts exist
988
+ git status # Check conflict files
989
+ # After editing conflict files:
990
+ git add .
991
+ git commit -m "Resolve: Merge conflicts in SPEC-AUTH-001"
992
+
993
+ # 5. Confirm merge preparation complete
994
+ git log --oneline -5
995
+ git status # Confirm clean working directory
996
+ ```
997
+
998
+ **Direct Command Collection for Conflict Resolution:**
999
+
1000
+ ```bash
1001
+ # Strategic approach when conflicts occur
1002
+ git checkout --ours conflicted_file.py # Prioritize main branch
1003
+ git checkout --theirs conflicted_file.py # Prioritize worktree changes
1004
+
1005
+ # Cancel merge and retry
1006
+ git merge --abort
1007
+ git merge main --no-ff
1008
+
1009
+ # Change overall merge strategy
1010
+ git rebase main # Use rebase instead
1011
+ ```
1012
+
1013
+ **Step 7: Completion and Cleanup (Automation + Direct Commands)**
1014
+
1015
+ **Option A: Claude Code Automation (Beginner Friendly)**
1016
+
1017
+ ```bash
1018
+ # Worktree cleanup (request Claude Code auto-processing)
1019
+ > Clean up SPEC-AUTH-001 worktree
1020
+
1021
+ # README.ko.md update (request Claude Code auto-processing)
1022
+ > Add completed SPEC-AUTH-001 feature to README.ko.md
1023
+
1024
+ # Claude Code automatically executes:
1025
+ # - Check worktree status
1026
+ # - Document completed features
1027
+ # - README update
1028
+ # - Cleanup complete report
1029
+ ```
1030
+
1031
+ **Option B: Direct moai-worktree Commands (Advanced Users)**
1032
+
1033
+ ```bash
1034
+ # 1. Final worktree status check
1035
+ moai-worktree status
1036
+ # Output example:
1037
+ # SPEC-AUTH-001
1038
+ # Branch: feature/SPEC-AUTH-001
1039
+ # Status: completed
1040
+ # Path: ~/moai/worktrees/MoAI-ADK/SPEC-AUTH-001
1041
+
1042
+ # 2. Worktree cleanup (safe method)
1043
+ moai-worktree clean --merged-only
1044
+ # → Auto-remove worktrees for merged branches only
1045
+
1046
+ # 3. Or interactive cleanup (optional removal)
1047
+ moai-worktree clean --interactive
1048
+ # → Select worktrees to remove
1049
+
1050
+ # 4. Direct removal of specific worktree (force)
1051
+ moai-worktree remove SPEC-AUTH-001 --force
1052
+
1053
+ # 5. Overall worktree status check
1054
+ moai-worktree list
1055
+ # or
1056
+ moai-worktree status
1057
+ ```
1058
+
1059
+ **Practical Worktree Management Command Collection:**
1060
+
1061
+ ```bash
1062
+ # Daily worktree management
1063
+ moai-worktree list # List all worktrees
1064
+ moai-worktree status # Detailed status check
1065
+ moai-worktree sync SPEC-AUTH-001 # Sync specific worktree
1066
+ moai-worktree sync --all # Sync all worktrees
1067
+
1068
+ # Worktree navigation
1069
+ moai-worktree go SPEC-001 # Open worktree in new shell
1070
+
1071
+ # Automatic conflict resolution
1072
+ moai-worktree sync SPEC-AUTH-001 --auto-resolve
1073
+
1074
+ # Settings check
1075
+ moai-worktree config get # View current settings
1076
+ moai-worktree config root # Check worktree root path
1077
+ ```
1078
+
1079
+ **Mixed Workflow Recommended Pattern:**
1080
+
1081
+ ```bash
1082
+ # Steps 1-5: Claude Code automation (fast development)
1083
+ > /moai:1-plan "feature name"
1084
+ > /moai:2-run SPEC-XXX
1085
+ > /moai:3-sync SPEC-XXX
1086
+
1087
+ # Steps 6-7: Direct commands (precise control)
1088
+ moai-worktree sync SPEC-XXX --auto-resolve # Auto conflict resolution
1089
+ moai-worktree clean --merged-only # Cleanup completed worktrees
1090
+ ```
1091
+
1092
+ ---
1093
+
1094
+ ### 🔧 Manual Command Reference (Manual Command Reference)
1095
+
1096
+ This section details direct commands that can be used alongside Claude Code automation.
1097
+
1098
+ #### **Basic moai-worktree Commands**
1099
+
1100
+ | Command | Purpose | Usage Example | Description |
1101
+ | ---------------------- | --------------------------- | ----------------------------------- | -------------------------------------------- |
1102
+ | `moai-worktree new` | Create new worktree | `moai-worktree new SPEC-001` | Create isolated workspace for SPEC-001 |
1103
+ | `moai-worktree list` | List worktrees | `moai-worktree list` | Display all active worktrees |
1104
+ | `moai-worktree go` | Go to worktree | `moai-worktree go SPEC-001` | Open worktree in new shell |
1105
+ | `moai-worktree remove` | Remove worktree | `moai-worktree remove SPEC-001` | Delete specific worktree |
1106
+ | `moai-worktree status` | Check status | `moai-worktree status` | Display all worktree statuses |
1107
+
1108
+ #### **Synchronization Commands**
1109
+
1110
+ | Command | Purpose | Usage Example | Description |
1111
+ | ----------------------------------- | ----------------------- | ----------------------------------------------- | ------------------------------------- |
1112
+ | `moai-worktree sync` | Sync specific worktree | `moai-worktree sync SPEC-001` | Sync changes with main branch |
1113
+ | `moai-worktree sync --all` | Sync all worktrees | `moai-worktree sync --all` | Sync all worktrees at once |
1114
+ | `moai-worktree sync --auto-resolve` | Auto conflict resolution| `moai-worktree sync SPEC-001 --auto-resolve` | Auto-attempt conflict resolution |
1115
+ | `moai-worktree sync --rebase` | Rebase-based sync | `moai-worktree sync SPEC-001 --rebase` | Use rebase instead of merge |
1116
+
1117
+ #### **Cleanup Commands**
1118
+
1119
+ | Command | Purpose | Usage Example | Description |
1120
+ | ----------------------------------- | ------------------------- | ------------------------------------- | ---------------------------------- |
1121
+ | `moai-worktree clean` | Clean worktrees | `moai-worktree clean` | Clean all worktrees |
1122
+ | `moai-worktree clean --merged-only` | Clean merged worktrees | `moai-worktree clean --merged-only` | Remove worktrees for merged branches |
1123
+ | `moai-worktree clean --interactive` | Interactive cleanup | `moai-worktree clean --interactive` | Select worktrees to remove |
1124
+
1125
+ #### **Settings Commands**
1126
+
1127
+ | Command | Purpose | Usage Example | Description |
1128
+ | --------------------------- | ----------------- | --------------------------- | -------------------------------------- |
1129
+ | `moai-worktree config` | View settings | `moai-worktree config` | Display current worktree settings |
1130
+ | `moai-worktree config root` | Check root path | `moai-worktree config root` | Check worktree root directory path |
1131
+
1132
+ #### **Advanced Usage Patterns**
1133
+
1134
+ **1. Multi-SPEC Parallel Development**
1135
+
1136
+ ```bash
1137
+ # Create multiple SPECs simultaneously
1138
+ moai-worktree new SPEC-AUTH-001 # User authentication
1139
+ moai-worktree new SPEC-PAY-002 # Payment system
1140
+ moai-worktree new SPEC-UI-003 # UI improvement
1141
+
1142
+ # Check each worktree status
1143
+ moai-worktree status
1144
+
1145
+ # Sync all worktrees
1146
+ moai-worktree sync --all --auto-resolve
1147
+ ```
1148
+
1149
+ **2. Auto Conflict Resolution Workflow**
1150
+
1151
+ ```bash
1152
+ # Step 1: Attempt auto sync
1153
+ moai-worktree sync SPEC-001 --auto-resolve
1154
+
1155
+ # Step 2: Manual intervention if auto resolution fails
1156
+ moai-worktree go SPEC-001
1157
+ git status # Check conflict files
1158
+
1159
+ # Step 3: Select conflict resolution strategy
1160
+ git checkout --ours conflicted_file.py # Prioritize main branch
1161
+ # or
1162
+ git checkout --theirs conflicted_file.py # Prioritize worktree changes
1163
+
1164
+ # Step 4: Complete resolution and commit
1165
+ git add conflicted_file.py
1166
+ git commit -m "Resolve: Auto-resolved conflicts in SPEC-001"
1167
+ ```
1168
+
1169
+ **3. Regular Worktree Maintenance**
1170
+
1171
+ ```bash
1172
+ # Recommended to run daily
1173
+ moai-worktree status # Check current status
1174
+ moai-worktree sync --all # Sync all worktrees
1175
+
1176
+ # Recommended to run weekly
1177
+ moai-worktree clean --merged-only # Clean completed worktrees
1178
+
1179
+ # Recommended to run monthly
1180
+ moai-worktree clean --interactive # Interactive cleanup of unnecessary worktrees
1181
+ ```
1182
+
1183
+ #### **Claude Code and Command Combination Guide**
1184
+
1185
+ **Beginner Users:**
1186
+
1187
+ ```bash
1188
+ # Steps 1-3: Claude Code automation for quick start
1189
+ /moai:1-plan "user login feature"
1190
+ /moai:2-run SPEC-001
1191
+ /moai:3-sync SPEC-001
1192
+
1193
+ # Steps 4-5: Direct commands for basic management
1194
+ moai-worktree status # Check status
1195
+ moai-worktree sync SPEC-001 # Sync
1196
+ moai-worktree clean --merged-only # Cleanup
1197
+ ```
1198
+
1199
+ **Intermediate Users:**
1200
+
1201
+ ```bash
1202
+ # Steps 1-2: Claude Code automation
1203
+ > /moai:1-plan "payment system development"
1204
+ > /moai:2-run SPEC-PAY-001
1205
+
1206
+ # Step 3: Direct commands for precise control
1207
+ moai-worktree go SPEC-PAY-001
1208
+ # Direct development and testing
1209
+ git add .
1210
+ git commit -m "Pay: Implement core payment processing"
1211
+
1212
+ # Steps 4-5: Mixed approach
1213
+ > /moai:3-sync SPEC-PAY-001 # Automation for quality verification
1214
+ moai-worktree sync SPEC-PAY-001 --auto-resolve # Direct sync
1215
+ ```
1216
+
1217
+ **Advanced Users:**
1218
+
1219
+ ```bash
1220
+ # Control entire process with direct commands
1221
+ moai-worktree new SPEC-ADV-001
1222
+ moai-worktree go SPEC-ADV-001
1223
+ # Complete manual development process
1224
+ git add .
1225
+ git commit -m "Adv: Complex feature implementation"
1226
+ moai-worktree sync SPEC-ADV-001 --rebase
1227
+ moai-worktree clean --interactive
1228
+ ```
1229
+
1230
+ **Productivity Tips:**
1231
+
1232
+ 1. **Alias Setup** (add to ~/.zshrc or ~/.bashrc):
1233
+
1234
+ ```bash
1235
+ alias wt-new='moai-worktree new'
1236
+ alias wt-go='moai-worktree go'
1237
+ alias wt-list='moai-worktree list'
1238
+ alias wt-status='moai-worktree status'
1239
+ alias wt-sync='moai-worktree sync'
1240
+ alias wt-clean='moai-worktree clean'
1241
+ ```
1242
+
1243
+ 2. **Quick Workflow Functions**:
1244
+
1245
+ ```bash
1246
+ # Quick worktree creation and navigation
1247
+ wt-dev() {
1248
+ moai-worktree new "SPEC-$1"
1249
+ moai-worktree go "SPEC-$1"
1250
+ }
1251
+
1252
+ # Usage: wt-dev AUTH-001
1253
+ ```
1254
+
1255
+ ---
1256
+
1257
+ ### 🎯 **Perfect Combination of Automation and Direct Control**
1258
+
1259
+ MoAI-ADK is designed to leverage the benefits of both **Claude Code automation** and **direct command control**.
1260
+
1261
+ #### **When to Use What**
1262
+
1263
+ | Situation | Recommended Approach | Reason |
1264
+ | ------------------------- | ------------------------ | ------------------------------ |
1265
+ | **Start new feature** | Claude Code automation | Fast SPEC creation and initial setup |
1266
+ | **Complex algorithms** | Direct control | Step-by-step debugging and optimization needed |
1267
+ | **Daily synchronization** | Direct commands | Fast execution and precise control |
1268
+ | **Quality verification** | Claude Code automation | Automated testing and verification |
1269
+ | **Conflict resolution** | Mixed approach | Auto detection + manual resolution |
1270
+ | **Cleanup & maintenance** | Direct commands | Optional control and safe cleanup |
1271
+
1272
+ #### **Recommended Combination Workflows**
1273
+
1274
+ ##### Beginners: Automation-focused (70% automation + 30% direct control)
1275
+
1276
+ ```bash
1277
+ # Step 1: Quick start with automation
1278
+ > /moai:1-plan "feature development"
1279
+ > /moai:2-run SPEC-001
1280
+
1281
+ # Step 2: Basic management with direct commands
1282
+ moai-worktree status
1283
+ moai-worktree sync SPEC-001
1284
+ moai-worktree clean --merged-only
1285
+
1286
+ # Step 3: Complete with automation
1287
+ > /moai:3-sync SPEC-001
1288
+ ```
1289
+
1290
+ ##### Intermediate: Balanced approach (50% automation + 50% direct control)
1291
+
1292
+ ```bash
1293
+ # Step 1: Plan with automation
1294
+ > /moai:1-plan "complex feature"
1295
+
1296
+ # Step 2: Detailed implementation with direct control
1297
+ moai-worktree new SPEC-001
1298
+ moai-worktree go SPEC-001
1299
+ # Detailed development work
1300
+
1301
+ # Step 3: Quality assurance with automation
1302
+ > /moai:3-sync SPEC-001
1303
+ ```
1304
+
1305
+ ##### Advanced: Direct control-focused (30% automation + 70% direct control)
1306
+
1307
+ ```bash
1308
+ # Control entire process with direct commands but use automation when needed
1309
+ moai-worktree new SPEC-001
1310
+ moai-worktree go SPEC-001
1311
+ # Complete manual development
1312
+ # Use > /moai:3-sync for quality verification when needed
1313
+ ```
1314
+
1315
+ #### Merge Conflict Resolution Strategies
1316
+
1317
+ ##### 1. Auto Resolution (Recommended)
1318
+
1319
+ ```bash
1320
+ # Auto resolution trying all strategies
1321
+ moai-worktree sync SPEC-AUTH-001 --auto-resolve
1322
+ ```
1323
+
1324
+ ##### 2. Manual Resolution
1325
+
1326
+ ```bash
1327
+ # Navigate to worktree
1328
+ moai-worktree go SPEC-AUTH-001
1329
+
1330
+ # Check conflict status
1331
+ git status
1332
+
1333
+ # Edit conflict files
1334
+ # <<<<<<< HEAD
1335
+ # Main branch content
1336
+ # =======
1337
+ # Worktree branch content
1338
+ # >>>>>>> feature/SPEC-AUTH-001
1339
+
1340
+ # Mark as resolved after editing
1341
+ git add conflict_file.py
1342
+ git commit -m "Resolve: Merge conflicts in auth system"
1343
+ ```
1344
+
1345
+ ##### 3. Strategic Approach
1346
+
1347
+ ```bash
1348
+ # Prioritize main branch when conflicts occur
1349
+ git checkout --ours conflict_file.py
1350
+ git add conflict_file.py
1351
+ git commit
1352
+
1353
+ # Or prioritize worktree changes
1354
+ git checkout --theirs conflict_file.py
1355
+ git add conflict_file.py
1356
+ git commit
1357
+ ```
1358
+
1359
+ #### Completion Checklist
1360
+
1361
+ ##### Before Development Completion
1362
+
1363
+ - [ ] All tests pass (>= 95% coverage)
1364
+ - [ ] Pass code quality checks (ruff, mypy)
1365
+ - [ ] Security review complete
1366
+ - [ ] Documentation updated
1367
+ - [ ] Local merge testing
1368
+
1369
+ ##### After Merge Completion
1370
+
1371
+ - [ ] Push to remote repository
1372
+ - [ ] Create and approve Pull Request
1373
+ - [ ] Merge to main branch
1374
+ - [ ] Worktree cleanup complete
1375
+ - [ ] Run > /moai:3-sync
1376
+ - [ ] Deployment testing
1377
+
1378
+ #### Parallel Development Tips
1379
+
1380
+ ##### Multiple SPECs Simultaneous Work
1381
+
1382
+ ```bash
1383
+ # Work on first SPEC
1384
+ moai-worktree go SPEC-AUTH-001
1385
+ > /moai:2-run SPEC-AUTH-001
1386
+
1387
+ # Work on second SPEC in different terminal
1388
+ moai-worktree go SPEC-PAY-002
1389
+ > /moai:2-run SPEC-PAY-002
1390
+
1391
+ # Work on third SPEC
1392
+ moai-worktree go SPEC-UI-003
1393
+ > /moai:2-run SPEC-UI-003
1394
+
1395
+ # Regularly sync all worktrees
1396
+ moai-worktree sync --all --auto-resolve
1397
+ ```
1398
+
1399
+ ##### Work Without Context Switching
1400
+
1401
+ - Each worktree is completely isolated environment
1402
+ - Independent Git state
1403
+ - Allow different dependency versions
1404
+ - Enable simultaneous development of multiple features
1405
+
1406
+ ##### Real Example Workflow
1407
+
1408
+ ```bash
1409
+ # Morning: Start new SPEC
1410
+ moai-worktree new SPEC-005 "User Profile Enhancement"
1411
+ moai-worktree go SPEC-005
1412
+
1413
+ # Implement SPEC-005 while other SPECs complete
1414
+ > /moai:2-run SPEC-005
1415
+
1416
+ # Afternoon: Check all SPEC statuses
1417
+ moai-worktree status
1418
+ # Output:
1419
+ # ✓ SPEC-001: Complete (ready for merge)
1420
+ # ✓ SPEC-002: Testing in progress
1421
+ # ⏳ SPEC-003: Implementation phase
1422
+ # 🔄 SPEC-005: Active development
1423
+
1424
+ # Evening: Clean completed SPECs
1425
+ moai-worktree clean --merged-only
1426
+ ```
1427
+
1428
+ #### Technical Benefits
1429
+
1430
+ ##### Memory Efficiency: Shared Git object database means minimal memory overhead compared to multiple full repositories
1431
+
1432
+ ##### Disk Space Optimization: Worktrees share repository history, using only additional space for working files
1433
+
1434
+ ##### Atomic Operations: Each worktree operation is atomic, preventing repository corruption
1435
+
1436
+ ##### Git Native: Uses standard Git worktree functionality, ensuring compatibility with all Git tools
1437
+
1438
+ #### Integration with MoAI-ADK Workflow
1439
+
1440
+ moai-worktree seamlessly integrates with the MoAI-ADK Plan-Run-Sync cycle:
1441
+
1442
+ 1. **Plan Phase**: `moai-worktree new SPEC-XXX` creates dedicated workspace
1443
+ 2. **Run Phase**: Work in isolation without affecting other SPECs
1444
+ 3. **Sync Phase**: `moai-worktree sync SPEC-XXX` ensures clean integration
1445
+ 4. **Cleanup Phase**: `moai-worktree clean` removes completed worktrees
1446
+
1447
+ This integration provides a complete, systematic approach to managing multiple SPECs simultaneously while maintaining the SPEC-First TDD methodology principles.
1448
+
1449
+ ##### Important Note: Local files excluded from Git (such as .CLAUDE.local.md, .env, .claude/settings.local.json, etc.) are not automatically synchronized between worktrees. These files must be manually copied to each worktree directory after creation to ensure consistent development environment configuration
1450
+
1451
+ ##### Command Overview
1452
+
1453
+ ```bash
1454
+ # List available commands
1455
+ moai-worktree --help
1456
+
1457
+ # Create new worktree for SPEC development
1458
+ moai-worktree new SPEC-001
1459
+
1460
+ # List all active worktrees
1461
+ moai-worktree list
1462
+
1463
+ # Go to worktree (opens new shell)
1464
+ moai-worktree go SPEC-001
1465
+
1466
+ # Sync worktree with base branch
1467
+ moai-worktree sync SPEC-001
1468
+
1469
+ # Remove specific worktree
1470
+ moai-worktree remove SPEC-001
1471
+
1472
+ # Clean merged branch worktrees
1473
+ moai-worktree clean
1474
+
1475
+ # Show worktree status and configuration
1476
+ moai-worktree status
1477
+
1478
+ # Configure worktree settings
1479
+ moai-worktree config get
1480
+ moai-worktree config set <key> <value>
1481
+ ```
1482
+
1483
+ ---
1484
+
1485
+ ## 8. Agent Guide (27 Agents)
1486
+
1487
+ ### 🎯 Agent Selection Guide
1488
+
1489
+ Each agent has specific domain expertise. Select the right agent for your task.
1490
+
1491
+ ### Tier 1: Domain Experts (Domain Experts)
1492
+
1493
+ #### expert-backend (Backend Development)
1494
+
1495
+ **Expertise**: FastAPI, Django, Node.js backend development
1496
+ **Use cases**:
1497
+
1498
+ - RESTful API design and implementation
1499
+ - Database query optimization
1500
+ - Authentication and authorization
1501
+ - Server performance optimization
1502
+
1503
+ ```bash
1504
+ > Use the expert-backend subagent to"Develop user authentication API with FastAPI"
1505
+ ```
1506
+
1507
+ ---
1508
+
1509
+ #### expert-frontend (Frontend Development)
1510
+
1511
+ **Expertise**: React, Vue, Next.js frontend
1512
+ **Use cases**:
1513
+
1514
+ - UI component implementation
1515
+ - State management (Redux, Zustand)
1516
+ - API integration
1517
+ - Responsive design
1518
+
1519
+ ```bash
1520
+ > Use the expert-frontend subagent to"Implement dashboard UI with React"
1521
+ ```
1522
+
1523
+ ---
1524
+
1525
+ #### expert-database (Database)
1526
+
1527
+ **Expertise**: SQL, NoSQL, ORM, optimization
1528
+ **Use cases**:
1529
+
1530
+ - Database schema design
1531
+ - Query optimization
1532
+ - Migration
1533
+ - Performance tuning
1534
+
1535
+ ```bash
1536
+ > Use the expert-database subagent to"Optimize large PostgreSQL tables"
1537
+ ```
1538
+
1539
+ ---
1540
+
1541
+ #### expert-security (Security)
1542
+
1543
+ **Expertise**: Security analysis, vulnerability scanning, OWASP
1544
+ **Use cases**:
1545
+
1546
+ - Security code review
1547
+ - Vulnerability analysis
1548
+ - OWASP Top 10 verification
1549
+ - Data encryption
1550
+
1551
+ ```bash
1552
+ > Use the expert-security subagent to"Security audit for login feature"
1553
+ ```
1554
+
1555
+ ---
1556
+
1557
+ #### expert-devops (DevOps)
1558
+
1559
+ **Expertise**: Docker, Kubernetes, CI/CD, deployment
1560
+ **Use cases**:
1561
+
1562
+ - Docker image optimization
1563
+ - Kubernetes configuration
1564
+ - GitHub Actions CI/CD
1565
+ - Infrastructure automation
1566
+
1567
+ ```bash
1568
+ > Use the expert-devops subagent to"Setup Docker deployment for Next.js app"
1569
+ ```
1570
+
1571
+ ---
1572
+
1573
+ #### expert-uiux (UI/UX Design)
1574
+
1575
+ **Expertise**: Design systems, components, accessibility
1576
+ **Use cases**:
1577
+
1578
+ - UI component library design
1579
+ - Design system development
1580
+ - Accessibility (A11y) verification
1581
+ - User experience optimization
1582
+
1583
+ ```bash
1584
+ > Use the expert-uiux subagent to"Build design system based on shadcn/ui"
1585
+ ```
1586
+
1587
+ ---
1588
+
1589
+ #### expert-debug (Debugging)
1590
+
1591
+ **Expertise**: Problem analysis, error tracking, performance profiling
1592
+ **Use cases**:
1593
+
1594
+ - Bug analysis
1595
+ - Performance bottleneck analysis
1596
+ - Log analysis
1597
+ - Memory leak detection
1598
+
1599
+ ```bash
1600
+ > Use the expert-debug subagent to"Analyze slow API response time"
1601
+ ```
1602
+
1603
+ ---
1604
+
1605
+ #### expert-performance (Performance Optimization)
1606
+
1607
+ **Expertise**: Performance profiling, load testing, optimization strategies
1608
+ **Use cases**:
1609
+
1610
+ - Application performance optimization
1611
+ - Memory usage analysis
1612
+ - Database query optimization
1613
+ - Caching strategies
1614
+
1615
+ ```bash
1616
+ > Use the expert-performance subagent to"Optimize application response time"
1617
+ ```
1618
+
1619
+ ---
1620
+
1621
+ #### expert-testing (Testing Strategy)
1622
+
1623
+ **Expertise**: Test planning, test automation, quality assurance
1624
+ **Use cases**:
1625
+
1626
+ - Test strategy design
1627
+ - Test automation framework setup
1628
+ - Performance testing
1629
+ - Integration testing
1630
+
1631
+ ```bash
1632
+ > Use the expert-testing subagent to"Design comprehensive test strategy"
1633
+ ```
1634
+
1635
+ ---
1636
+
1637
+ ### Tier 2: Workflow Managers (8 Managers)
1638
+
1639
+ #### manager-spec (SPEC Writing)
1640
+
1641
+ **Purpose**: Generate SPEC documents in EARS format
1642
+ **Auto-invoked**: When executing `> /moai:1-plan`
1643
+
1644
+ ```bash
1645
+ > Use the manager-spec subagent to"Write SPEC for user profile API"
1646
+ ```
1647
+
1648
+ ---
1649
+
1650
+ #### manager-tdd (TDD Implementation)
1651
+
1652
+ **Purpose**: Auto-execute RED-GREEN-REFACTOR
1653
+ **Auto-invoked**: When executing `> /moai:2-run`
1654
+
1655
+ ```bash
1656
+ > Use the manager-tdd subagent to"Implement SPEC-001"
1657
+ ```
1658
+
1659
+ ---
1660
+
1661
+ #### manager-docs (Documentation Automation)
1662
+
1663
+ **Purpose**: Auto-generate API docs, diagrams, guides
1664
+ **Auto-invoked**: When executing `> /moai:3-sync`
1665
+
1666
+ ```bash
1667
+ > Use the manager-docs subagent to"Generate documentation for login feature"
1668
+ ```
1669
+
1670
+ ---
1671
+
1672
+ #### manager-quality (Quality Verification)
1673
+
1674
+ **Purpose**: TRUST 5 verification (Test, Readable, Unified, Secured, Trackable)
1675
+ **Auto-invoked**: After `> /moai:2-run` completion
1676
+
1677
+ ```bash
1678
+ > Use the manager-quality subagent to"Verify code quality"
1679
+ ```
1680
+
1681
+ ---
1682
+
1683
+ #### manager-strategy (Strategy Planning)
1684
+
1685
+ **Purpose**: Establish complex implementation strategies
1686
+ **Use cases**:
1687
+
1688
+ - Microservice architecture design
1689
+ - Migration planning
1690
+ - Performance optimization strategy
1691
+
1692
+ ```bash
1693
+ > Use the manager-strategy subagent to"Plan monolith to microservices migration"
1694
+ # Or use Built-in agent
1695
+ > Use the Plan subagent to"Plan monolith to microservices migration"
1696
+ ```
1697
+
1698
+ ---
1699
+
1700
+ #### manager-claude-code (Claude Code Integration)
1701
+
1702
+ **Purpose**: Claude Code configuration, optimization, and integration management
1703
+ **Use cases**:
1704
+
1705
+ - Claude Code settings optimization
1706
+ - Hook configuration and management
1707
+ - MCP server integration
1708
+ - Performance tuning
1709
+
1710
+ ```bash
1711
+ > Use the manager-claude-code subagent to"Optimize Claude Code configuration"
1712
+ ```
1713
+
1714
+ ---
1715
+
1716
+ #### manager-git (Git Workflow)
1717
+
1718
+ **Purpose**: Git workflow management, branch strategies, and automation
1719
+ **Use cases**:
1720
+
1721
+ - Git workflow setup
1722
+ - Branch strategy design
1723
+ - Commit message optimization
1724
+ - Merge request automation
1725
+
1726
+ ```bash
1727
+ > Use the manager-git subagent to"Setup Git workflow for team collaboration"
1728
+ ```
1729
+
1730
+ ---
1731
+
1732
+ #### manager-project (Project Management)
1733
+
1734
+ **Purpose**: Project initialization, metadata management, and template optimization
1735
+ **Auto-invoked**: When executing `> /moai:0-project`
1736
+
1737
+ ```bash
1738
+ > Use the manager-project subagent to"Initialize project with optimal settings"
1739
+ ```
1740
+
1741
+ ---
1742
+
1743
+ ### Tier 3: Meta-generators (4 Generators)
1744
+
1745
+ #### builder-agent
1746
+
1747
+ **Purpose**: Create new agents
1748
+ **Use case**: Create organization-specific agents
1749
+
1750
+ ```bash
1751
+ > Use the builder-agent subagent to "Create data analysis specialist agent"
1752
+ ```
1753
+
1754
+ ---
1755
+
1756
+ #### builder-skill
1757
+
1758
+ **Purpose**: Create new skills
1759
+ **Use case**: Develop team-specific skills
1760
+
1761
+ ```bash
1762
+ > Use the builder-skill subagent to"Create GraphQL API development skill module"
1763
+ ```
1764
+
1765
+ ---
1766
+
1767
+ #### builder-command
1768
+
1769
+ **Purpose**: Create new commands
1770
+ **Use case**: Custom workflow automation
1771
+
1772
+ ```bash
1773
+ > Use the builder-command subagent to"Create > /moai:deploy command (auto-deployment workflow)"
1774
+ ```
1775
+
1776
+ ---
1777
+
1778
+ #### builder-plugin
1779
+
1780
+ **Purpose**: Create and manage Claude Code plugins
1781
+ **Use case**: Plugin creation (Standalone/MoAI-Integrated modes), validation, migration, and marketplace setup
1782
+ **New in v0.40**: Standalone mode for MoAI-independent plugins, comprehensive testing section
1783
+
1784
+ ```bash
1785
+ > Use the builder-plugin subagent to"Create security-tools plugin with commands, agents, and hooks"
1786
+ > Use the builder-plugin subagent to"Create standalone plugin for public distribution"
1787
+ ```
1788
+
1789
+ ---
1790
+
1791
+ ### Tier 4: MCP Integrators (6 Integrators)
1792
+
1793
+ #### mcp-context7 (Documentation Lookup)
1794
+
1795
+ **Purpose**: Real-time lookup of latest library documentation
1796
+ **Use cases**:
1797
+
1798
+ - Check React latest APIs
1799
+ - Reference FastAPI documentation
1800
+ - Verify library compatibility
1801
+
1802
+ ```bash
1803
+ > Use the mcp-context7 subagent to"Lookup React 19 latest Hooks API"
1804
+ ```
1805
+
1806
+ ---
1807
+
1808
+ #### mcp-sequential-thinking (Advanced Reasoning)
1809
+
1810
+ **Purpose**: Multi-step analysis of complex problems
1811
+ **Auto-activated**: When complexity > medium
1812
+ **Use cases**:
1813
+
1814
+ - Architecture design
1815
+ - Algorithm optimization
1816
+ - SPEC analysis
1817
+
1818
+ ```bash
1819
+ > Use the mcp-sequential-thinking subagent to"Analyze microservices architecture design"
1820
+ ```
1821
+
1822
+ ---
1823
+
1824
+ #### mcp-playwright (Web Automation)
1825
+
1826
+ **Purpose**: E2E testing, web automation
1827
+ **Use cases**:
1828
+
1829
+ - E2E test writing
1830
+ - Visual regression testing
1831
+ - Cross-browser verification
1832
+
1833
+ ```bash
1834
+ > Use the mcp-playwright subagent to"Create E2E tests for login feature"
1835
+ ```
1836
+
1837
+ ---
1838
+
1839
+ #### mcp-figma (Design Integration)
1840
+
1841
+ **Purpose**: Figma design system integration, UI components extraction
1842
+ **Use cases**:
1843
+
1844
+ - Design system analysis
1845
+ - UI component extraction
1846
+ - Design token management
1847
+ - Design-to-code workflow
1848
+
1849
+ ```bash
1850
+ > Use the mcp-figma subagent to"Extract design system from Figma file"
1851
+ ```
1852
+
1853
+ ---
1854
+
1855
+ #### mcp-notion (Workspace Management)
1856
+
1857
+ **Purpose**: Notion workspace management, database operations, content management
1858
+ **Use cases**:
1859
+
1860
+ - Documentation management
1861
+ - Database operations
1862
+ - Content synchronization
1863
+ - Knowledge base organization
1864
+
1865
+ ```bash
1866
+ > Use the mcp-notion subagent to"Sync project documentation with Notion"
1867
+ ```
1868
+
1869
+ ---
1870
+
1871
+ ### Tier 5: AI Services (1 Service)
1872
+
1873
+ #### ai-nano-banana (Image Generation)
1874
+
1875
+ **Purpose**: Generate high-quality images with Gemini 3
1876
+ **Use cases**:
1877
+
1878
+ - UI/UX mockup generation
1879
+ - Technical diagram creation
1880
+ - Marketing materials
1881
+ - Logo/icon generation
1882
+
1883
+ For more details, see [15. 📸 ai-nano-banana Agent Usage Guide](#15---ai-nano-banana-agent-usage-guide)
1884
+
1885
+ ---
1886
+
1887
+ ## 9. Skill Library (49 Skills)
1888
+
1889
+ ![Skill Usage Statistics](./assets/images/readme/skill-usage-stats.png)
1890
+
1891
+ MoAI-ADK provides **49 specialized skills** in 8 categories. Each skill can be used independently or in combination.
1892
+
1893
+ ### 🏗️ Foundation
1894
+
1895
+ Core philosophy and execution rules foundation skills.
1896
+
1897
+ - **moai-foundation-core**
1898
+ - TRUST 5, SPEC-First TDD, agent delegation patterns, token optimization
1899
+ - Execution rules for building all AI-powered development workflows
1900
+
1901
+ - **moai-foundation-context**
1902
+ - Enterprise context management with token budget optimization and state persistence
1903
+ - Session memory system and efficient token utilization strategies
1904
+
1905
+ - **moai-foundation-claude**
1906
+ - Skill authoring kit aligned with Claude Code official documentation
1907
+ - Agents, sub-agent templates, slash commands, hooks, memory, IAM rules
1908
+
1909
+ - **moai-foundation-quality**
1910
+ - TRUST 5 validation, proactive analysis, automated best practices enforcement
1911
+ - Enterprise-grade code quality assurance system
1912
+
1913
+ - **moai-plugin-builder**
1914
+ - Claude Code plugin development patterns, templates, and best practices
1915
+ - Plugin structure, component generation, validation, and migration guides
1916
+ - Standalone mode for MoAI-independent plugins, marketplace creation support
1917
+
1918
+ ### 🎯 Domain
1919
+
1920
+ Deep expertise for specific technology domains.
1921
+
1922
+ - **moai-domain-backend**
1923
+ - Framework-agnostic backend design, 13+ framework expertise
1924
+ - API design, database integration, microservices architecture
1925
+
1926
+ - **moai-domain-frontend**
1927
+ - Modern UI/UX patterns including React 19, Next.js 16, Vue 3.5
1928
+ - Component architecture, state management, responsive design
1929
+
1930
+ - **moai-domain-database**
1931
+ - Database expertise including PostgreSQL, MongoDB, Redis
1932
+ - Query performance optimization, data modeling, database strategies
1933
+
1934
+ - **moai-domain-uiux**
1935
+ - Enterprise design systems, component architecture, accessibility
1936
+ - WCAG compliance, design tokens, icons, theming system
1937
+
1938
+ ### 💻 Language (16 Skills)
1939
+
1940
+ Support for various programming languages and frameworks.
1941
+
1942
+ - **moai-lang-python**
1943
+ - Python 3.13+ for FastAPI, Django, async patterns, data science
1944
+ - Testing with pytest, modern Python features and async programming
1945
+
1946
+ - **moai-lang-javascript** *(NEW)*
1947
+ - ES2024+, Node.js 22 LTS, Deno, Bun runtimes
1948
+ - Express, Fastify, Hono frameworks; Vitest/Jest testing; ESLint 9 flat config
1949
+
1950
+ - **moai-lang-typescript**
1951
+ - React 19, Next.js 16 App Router, type-safe APIs with tRPC
1952
+ - Zod validation, modern TypeScript 5.9+ patterns and frontend
1953
+
1954
+ - **moai-lang-go**
1955
+ - High-performance microservices with Fiber, Gin, GORM
1956
+ - Go 1.23+ concurrency patterns and cloud-native applications
1957
+
1958
+ - **moai-lang-rust**
1959
+ - Memory-safe systems programming with Axum, Tokio, SQLx
1960
+ - Rust 1.91+ for WebAssembly and high-performance applications
1961
+
1962
+ - **moai-lang-java**
1963
+ - Spring Boot 3.3, virtual threads, Java 21 LTS enterprise patterns
1964
+ - Microservices, Android apps, Akka actor systems
1965
+
1966
+ - **moai-lang-csharp**
1967
+ - C# 12/.NET 8 for ASP.NET Core, Entity Framework, Blazor
1968
+ - Enterprise applications and MAUI cross-platform development
1969
+
1970
+ - **moai-lang-swift**
1971
+ - iOS/macOS development with SwiftUI, Combine, Swift 6 concurrency
1972
+ - Apple ecosystem and modern Swift language features
1973
+
1974
+ - **moai-lang-kotlin**
1975
+ - Kotlin 2.0 for Ktor, coroutines, Compose Multiplatform
1976
+ - Android 15, KMP cross-platform and Kotlin-idiomatic patterns
1977
+
1978
+ - **moai-lang-ruby**
1979
+ - Ruby 3.3+ for Ruby on Rails 8, ActiveRecord, Hotwire/Turbo
1980
+ - Modern Ruby patterns and web development automation
1981
+
1982
+ - **moai-lang-php**
1983
+ - PHP 8.3+ for Laravel 11, Symfony 7, Eloquent ORM
1984
+ - Modern PHP architecture and web application development
1985
+
1986
+ - **moai-lang-elixir**
1987
+ - Elixir 1.17+ development with Phoenix 1.7, LiveView, Ecto
1988
+ - Real-time applications, distributed systems, OTP patterns
1989
+
1990
+ - **moai-lang-scala**
1991
+ - Scala 3.4+ for Akka, Cats Effect, ZIO, Spark
1992
+ - Distributed systems and big data applications
1993
+
1994
+ - **moai-lang-cpp**
1995
+ - C++23/20 with RAII, smart pointers, concepts, modules
1996
+ - High-performance systems, game engines, embedded systems
1997
+
1998
+ - **moai-lang-flutter**
1999
+ - Flutter 3.24+/Dart 3.5+ development with Riverpod, go_router
2000
+ - Cross-platform mobile apps and desktop applications
2001
+
2002
+ - **moai-lang-r**
2003
+ - R 4.4+ data analysis with tidyverse, ggplot2, Shiny
2004
+ - Statistical modeling, data visualization, interactive web apps
2005
+
2006
+ ### 🚀 Platform (10 Skills)
2007
+
2008
+ Integration with major cloud platforms and BaaS services.
2009
+
2010
+ - **moai-platform-supabase**
2011
+ - Supabase with PostgreSQL 16, pgvector, RLS, real-time subscriptions
2012
+ - Serverless functions, auto-sync, Edge Functions deployment
2013
+
2014
+ - **moai-platform-auth0**
2015
+ - Auth0 security specialist: Attack Protection, MFA, Token Security, DPoP/mTLS
2016
+ - SSO, SAML, OIDC, organizations, FAPI/GDPR/HIPAA compliance
2017
+
2018
+ - **moai-platform-clerk**
2019
+ - Clerk for WebAuthn, passkeys, passwordless authentication
2020
+ - Modern user management and beautiful UI components
2021
+
2022
+ - **moai-platform-neon**
2023
+ - Neon with auto-scaling, database branching, PITR
2024
+ - Serverless PostgreSQL and connection pooling optimization
2025
+
2026
+ - **moai-platform-firebase-auth**
2027
+ - Firebase Authentication with social auth, phone auth, anonymous login
2028
+ - Google ecosystem and mobile-first authentication patterns
2029
+
2030
+ - **moai-platform-firestore**
2031
+ - NoSQL data modeling, real-time sync, offline support
2032
+ - Mobile-first apps and Security Rules configuration
2033
+
2034
+ - **moai-platform-vercel**
2035
+ - Vercel for Edge Functions, Next.js optimization, ISR
2036
+ - Edge-first deployment and preview deployment strategies
2037
+
2038
+ - **moai-platform-railway**
2039
+ - Railway for Docker, multi-service architectures, persistent volumes
2040
+ - Containerized full-stack applications and auto-scaling
2041
+
2042
+ - **moai-platform-convex**
2043
+ - Convex for TypeScript-first reactive patterns, optimistic updates
2044
+ - Real-time collaborative apps and server functions
2045
+
2046
+ ### 🛠️ Tool (2 Skills)
2047
+
2048
+ Developer tools and code analysis utilities.
2049
+
2050
+ - **moai-tool-ast-grep**
2051
+ - AST-based structural code search, security scanning, refactoring
2052
+ - 40+ language support with pattern matching and code transformation
2053
+
2054
+ - **moai-tool-opencode**
2055
+ - OpenCode.ai open-source AI coding agent reference
2056
+ - TUI, CLI, IDE integration, MCP servers, plugins, and SDK development
2057
+
2058
+ ### 📋 Workflow (7 Skills)
2059
+
2060
+ Workflow skills for automating and optimizing development processes.
2061
+
2062
+ - **moai-workflow-spec**
2063
+ - EARS format, requirements clarification, Plan-Run-Sync integration
2064
+ - SPEC workflow orchestration and acceptance criteria definition
2065
+
2066
+ - **moai-workflow-testing**
2067
+ - TDD, debugging, performance optimization, code review integration
2068
+ - Comprehensive development workflows and quality assurance
2069
+
2070
+ - **moai-workflow-project**
2071
+ - Project management, documentation, language initialization modules
2072
+ - Integrated project system and template optimization
2073
+
2074
+ - **moai-workflow-templates**
2075
+ - Code boilerplates, feedback templates, project optimization
2076
+ - Enterprise template management and asset reuse maximization
2077
+
2078
+ - **moai-workflow-jit-docs**
2079
+ - Intent-based intelligent document search and caching
2080
+ - Real-time API documentation access and version compatibility checks
2081
+
2082
+ - **moai-workflow-docs**
2083
+ - Nextra documentation system, technical writing, API documentation
2084
+ - Automated documentation generation and knowledge base management
2085
+
2086
+ - **moai-worktree**
2087
+ - Git worktree management for parallel SPEC development
2088
+ - Isolated workspaces, automatic registration, MoAI-ADK integration
2089
+
2090
+ ### 📚 Library (4 Skills)
2091
+
2092
+ Skills specialized for specific libraries and frameworks.
2093
+
2094
+ - **moai-library-shadcn**
2095
+ - Professional implementation guide for shadcn/ui, Radix, Tailwind CSS
2096
+ - React components and modern UI design systems
2097
+
2098
+ - **moai-library-mermaid**
2099
+ - Enterprise Mermaid diagramming with MCP Playwright
2100
+ - 21 diagram types and visual workflow documentation
2101
+
2102
+ - **moai-library-nextra**
2103
+ - Next.js-based enterprise documentation framework
2104
+ - Markdown optimization and dynamic documentation generation
2105
+
2106
+ - **moai-formats-data**
2107
+ - TOON encoding, JSON/YAML optimization, data serialization
2108
+ - Data validation and processing for modern applications
2109
+
2110
+ ### 🤖 AI Integration (1 Skill)
2111
+
2112
+ Specialized skills for AI service integration.
2113
+
2114
+ - **moai-ai-nano-banana**
2115
+ - Image generation with Gemini 3 Nano Banana Pro
2116
+ - Professional visual content creation with natural language prompts
2117
+
2118
+ ### 🎯 Skill Usage Guide
2119
+
2120
+ #### How to Invoke Skills
2121
+
2122
+ ```python
2123
+ # Method 1: Direct invocation (developers)
2124
+ Skill("moai-lang-python")
2125
+
2126
+ # Method 2: Alfred auto-selection (general users)
2127
+ "Create a FastAPI server in Python"
2128
+ → Alfred automatically selects moai-lang-python + moai-platform-supabase
2129
+ ```
2130
+
2131
+ #### Skill Composition Patterns
2132
+
2133
+ **Backend API**: `moai-foundation-core` + `moai-lang-python` + `moai-platform-supabase`
2134
+
2135
+ **Frontend UI**: `moai-domain-uiux` + `moai-lang-typescript` + `moai-library-shadcn`
2136
+
2137
+ **Documentation**: `moai-library-nextra` + `moai-workflow-docs` + `moai-library-mermaid`
2138
+
2139
+ **Testing**: `moai-lang-python` + `moai-workflow-testing` + `moai-foundation-quality`
2140
+
2141
+ **Data Analysis**: `moai-lang-r` + `moai-domain-database` + `moai-formats-data`
2142
+
2143
+ ---
2144
+
2145
+ ## 10. Composition Patterns and Examples
2146
+
2147
+ ### 🎭 Agent Composition Patterns
2148
+
2149
+ MoAI-ADK's 28 agents execute in optimal combinations based on task type.
2150
+
2151
+ ### Pattern 1: New Feature Development
2152
+
2153
+ ```text
2154
+ manager-spec (Generate SPEC)
2155
+
2156
+ manager-strategy (Execution plan)
2157
+
2158
+ manager-tdd (TDD implementation)
2159
+
2160
+ manager-docs (Documentation sync)
2161
+ ```
2162
+
2163
+ **Example**:
2164
+
2165
+ ```bash
2166
+ > /moai:1-plan "user login feature" # manager-spec
2167
+ > /clear
2168
+ > /moai:2-run SPEC-001 # manager-strategy → manager-tdd
2169
+ > /clear
2170
+ > /moai:3-sync SPEC-001 # manager-docs
2171
+ ```
2172
+
2173
+ ---
2174
+
2175
+ ### Pattern 2: Performance Optimization
2176
+
2177
+ ```text
2178
+ expert-debug (Problem analysis)
2179
+
2180
+ mcp-sequential-thinking (Complexity analysis)
2181
+
2182
+ expert-backend (Optimization implementation)
2183
+
2184
+ manager-quality (Verification)
2185
+ ```
2186
+
2187
+ **Example**:
2188
+
2189
+ ```bash
2190
+ > Use the expert-debug subagent to"Analyze slow API response"
2191
+ # → Finds bottleneck (DB query N+1 problem)
2192
+
2193
+ > Use the mcp-sequential-thinking subagent to"Plan N+1 problem optimization strategy"
2194
+ # → Suggests ORM query optimization
2195
+
2196
+ > Use the expert-backend subagent to"Implement ORM query optimization"
2197
+ # → Applies select_related(), prefetch_related()
2198
+
2199
+ > Use the manager-quality subagent to"Performance test and verification"
2200
+ # → Response time 500ms → 50ms (90% improvement)
2201
+ ```
2202
+
2203
+ ---
2204
+
2205
+ ### Pattern 3: UI/UX Development
2206
+
2207
+ ```text
2208
+ expert-uiux (Design system)
2209
+
2210
+ expert-frontend (Component implementation)
2211
+
2212
+ mcp-playwright (E2E testing)
2213
+ ```
2214
+
2215
+ **Example**:
2216
+
2217
+ ```bash
2218
+ > Use the expert-uiux subagent to"Login page design based on shadcn/ui"
2219
+ # → Combination of Button, Input, Card components
2220
+
2221
+ > Use the expert-frontend subagent to"Implement React login form"
2222
+ # → Implementation using shadcn/ui components
2223
+
2224
+ > Use the mcp-playwright subagent to"E2E test for login scenario"
2225
+ # → Auto-test success/failure cases
2226
+ ```
2227
+
2228
+ ---
2229
+
2230
+ ### Pattern 4: Security Audit
2231
+
2232
+ ```text
2233
+ expert-security (Vulnerability scan)
2234
+
2235
+ expert-backend (Security patch)
2236
+
2237
+ manager-quality (Re-verification)
2238
+ ```
2239
+
2240
+ ---
2241
+
2242
+ ### Pattern 5: Microservices Architecture Design
2243
+
2244
+ ```bash
2245
+ > Use the mcp-sequential-thinking subagent to"Monolith to microservices migration strategy"
2246
+ # → Service decomposition strategy, API gateway design
2247
+
2248
+ > Use the expert-backend subagent to"Develop user service & order service"
2249
+ # → Service-specific API implementation
2250
+
2251
+ > Use the expert-devops subagent to"Kubernetes deployment configuration"
2252
+ # → Auto-generate Docker, K8s manifests
2253
+
2254
+ > Use the manager-docs subagent to"Service example documentation"
2255
+ # → Service map, API docs, deployment guide
2256
+ ```
2257
+
2258
+ ---
2259
+
2260
+ ## 11. TRUST 5 Quality Assurance
2261
+
2262
+ ![TRUST 5 Pentagon](./assets/images/readme/trust5-pentagon.png)
2263
+
2264
+ All MoAI-ADK projects comply with the **TRUST 5** quality framework. TRUST 5 consists of 5 core principles: Test-First, Readable, Unified, Secured, Trackable, ensuring enterprise-grade software quality.
2265
+
2266
+ ### T - Test-First
2267
+
2268
+ **Principle**: All implementation starts with tests.
2269
+
2270
+ **Verification**:
2271
+
2272
+ - Test coverage >= 85%
2273
+ - Write failing tests first (Red)
2274
+ - Pass with code (Green)
2275
+ - Refactor
2276
+
2277
+ **Automation**: `manager-tdd` agent automatically executes TDD cycle
2278
+
2279
+ ---
2280
+
2281
+ ### R - Readable
2282
+
2283
+ **Principle**: Code must be clear and easy to understand.
2284
+
2285
+ **Verification**:
2286
+
2287
+ - Clear variable names (minimize abbreviations)
2288
+ - Code comments (complex logic)
2289
+ - Pass code review
2290
+ - Pass linter checks
2291
+
2292
+ **Automation**: `quality-expert` agent applies style guides
2293
+
2294
+ ---
2295
+
2296
+ ### U - Unified
2297
+
2298
+ **Principle**: Maintain consistent style across the project.
2299
+
2300
+ **Verification**:
2301
+
2302
+ - Follow project style guide
2303
+ - Consistent naming conventions
2304
+ - Unified error handling
2305
+ - Standard document format
2306
+
2307
+ **Automation**: `quality-expert` agent verifies consistency
2308
+
2309
+ ---
2310
+
2311
+ ### S - Secured
2312
+
2313
+ **Principle**: All code must pass security verification.
2314
+
2315
+ **Verification**:
2316
+
2317
+ - OWASP Top 10 checks
2318
+ - Dependency vulnerability scanning
2319
+ - Encryption policy compliance
2320
+ - Access control verification
2321
+
2322
+ **Automation**: `expert-security` agent performs automatic security audits
2323
+
2324
+ ---
2325
+
2326
+ ### T - Trackable
2327
+
2328
+ **Principle**: All changes must be clearly trackable.
2329
+
2330
+ **Verification**:
2331
+
2332
+ - Clear commit messages
2333
+ - Issue tracking (GitHub Issues)
2334
+ - Maintain CHANGELOG
2335
+ - Code review records
2336
+
2337
+ **Automation**: Git and GitHub Actions automation
2338
+
2339
+ ---
2340
+
2341
+ ### 🎯 TRUST 5 Verification Process
2342
+
2343
+ ```mermaid
2344
+ flowchart TD
2345
+ Start([Write Code]) --> T[T: Testing<br/>Coverage >= 85%]
2346
+ T --> R[R: Readable<br/>Pass Linter]
2347
+ R --> U[U: Unified<br/>Style Check]
2348
+ U --> S[S: Secured<br/>Vulnerability Scan]
2349
+ S --> T2[T: Trackable<br/>Commit Message]
2350
+ T2 --> Pass{All Pass?}
2351
+ Pass -->|Yes| Success([Approve Deployment])
2352
+ Pass -->|No| Fix[Need Fixes]
2353
+ Fix --> Start
2354
+ ```
2355
+
2356
+ ---
2357
+
2358
+ ## 12. AST-Grep Integration
2359
+
2360
+ ### 🔍 What is AST-Grep?
2361
+
2362
+ **AST-Grep** (sg CLI) is a structural code search and refactoring tool that uses Abstract Syntax Tree (AST) pattern matching instead of text-based regex. This enables:
2363
+
2364
+ - **Precise code analysis** (understands code structure, not just text)
2365
+ - **Language-aware patterns** (works with 40+ programming languages)
2366
+ - **Safe refactoring** (AST-level transformations preserve semantics)
2367
+ - **Security vulnerability detection** (pattern-based security scanning)
2368
+
2369
+ ### 🎯 Core Capabilities
2370
+
2371
+ | Capability | Description | Example Use Cases |
2372
+ |------------|-------------|-------------------|
2373
+ | **Structural Search** | Find code patterns by AST structure, not text | Find all SQL queries without parameterization |
2374
+ | **Security Scanning** | Automatic vulnerability detection on code changes | Detect SQL injection, XSS, hardcoded secrets |
2375
+ | **Pattern-Based Refactoring** | Safe code transformations using AST patterns | Rename variables across files, extract functions |
2376
+ | **Multi-Language Support** | Works with 40+ programming languages | Python, TypeScript, Go, Rust, Java, C++, etc. |
2377
+
2378
+ ### 🔧 How It Works in MoAI-ADK
2379
+
2380
+ #### Automatic Security Scanning
2381
+
2382
+ Every time you write or edit code, MoAI-ADK automatically runs AST-Grep security scanning:
2383
+
2384
+ ```bash
2385
+ # After any Write or Edit operation
2386
+ $ ast-grep scan --rule .claude/skills/moai-tool-ast-grep/rules/security/
2387
+ ```
2388
+
2389
+ **Detected vulnerabilities:**
2390
+ - SQL injection (SQL queries without parameterization)
2391
+ - XSS vulnerabilities (unsafe HTML rendering)
2392
+ - Hardcoded secrets (API keys, passwords in code)
2393
+ - Insecure deserialization
2394
+ - Path traversal vulnerabilities
2395
+
2396
+ #### Large-Scale Refactoring
2397
+
2398
+ Use the `expert-refactoring` agent for complex code transformations:
2399
+
2400
+ ```bash
2401
+ # Rename a variable across the entire codebase
2402
+ > Use the expert-refactoring subagent to"Rename all occurrences of 'userName' to 'username'"
2403
+
2404
+ # Extract repeated code into a function
2405
+ > Use the expert-refactoring subagent to"Extract this authentication logic into a separate function"
2406
+
2407
+ # Apply design patterns
2408
+ > Use the expert-refactoring subagent to"Apply Singleton pattern to DatabaseConnection class"
2409
+ ```
2410
+
2411
+ ### 📁 AST-Grep Components in MoAI-ADK
2412
+
2413
+ ```
2414
+ .claude/
2415
+ ├── skills/moai-tool-ast-grep/ # AST-Grep skill
2416
+ │ ├── SKILL.md # Main skill documentation
2417
+ │ ├── modules/ # Pattern modules
2418
+ │ │ ├── pattern-syntax.md # Pattern syntax guide
2419
+ │ │ ├── security-rules.md # Security rule definitions
2420
+ │ │ ├── refactoring-patterns.md # Refactoring patterns
2421
+ │ │ └── language-specific.md # Language-specific patterns
2422
+ │ └── rules/ # Rule files
2423
+ │ ├── sgconfig.yml # Global configuration
2424
+ │ ├── security/ # Security rules
2425
+ │ │ ├── sql-injection.yml
2426
+ │ │ ├── xss.yml
2427
+ │ │ └── hardcoded-secrets.yml
2428
+ │ ├── quality/ # Quality rules
2429
+ │ │ ├── code-duplication.yml
2430
+ │ │ └── naming-convention.yml
2431
+ │ └── languages/ # Language-specific rules
2432
+ │ ├── python.yml
2433
+ │ ├── typescript.yml
2434
+ │ └── go.yml
2435
+ ├── agents/moai/expert-refactoring.md # Refactoring agent
2436
+ └── hooks/moai/post_tool__ast_grep_scan.py # Auto-scan hook
2437
+ ```
2438
+
2439
+ ### 🚀 Quick Start
2440
+
2441
+ #### Basic Structural Search
2442
+
2443
+ ```bash
2444
+ # Find all SQL queries in Python code
2445
+ sg -p 'sql_query($$$)' --lang python
2446
+
2447
+ # Find all React useEffect hooks
2448
+ sg -p 'useEffect($$$, $$$)' --lang typescript
2449
+ ```
2450
+
2451
+ #### Security Scanning
2452
+
2453
+ ```bash
2454
+ # Scan for security vulnerabilities
2455
+ ast-grep scan -r .claude/skills/moai-tool-ast-grep/rules/security/
2456
+
2457
+ # Scan specific files
2458
+ ast-grep scan src/auth.py -r .claude/skills/moai-tool-ast-grep/rules/security/sql-injection.yml
2459
+ ```
2460
+
2461
+ #### Refactoring with AST-Grep
2462
+
2463
+ ```bash
2464
+ # Rename variable across project
2465
+ ast-grep rewrite --pattern 'old_name' --rewrite 'new_name' src/
2466
+
2467
+ # Apply custom refactoring rule
2468
+ ast-grep rewrite -r .claude/skills/moai-tool-ast-grep/rules/refactoring/extract-function.yml
2469
+ ```
2470
+
2471
+ ### 🔐 Security Rule Examples
2472
+
2473
+ **SQL Injection Detection Rule** (`sql-injection.yml`):
2474
+
2475
+ ```yaml
2476
+ id: sql-injection
2477
+ message: SQL query uses string formatting (potential injection)
2478
+ severity: error
2479
+ language: python
2480
+ rule:
2481
+ pattern: execute($$$)
2482
+ inside:
2483
+ pattern: function($X, $$$)
2484
+ has:
2485
+ pattern: format($$$)
2486
+ stopBy: end
2487
+ ```
2488
+
2489
+ **Hardcoded Secrets Detection** (`hardcoded-secrets.yml`):
2490
+
2491
+ ```yaml
2492
+ id: hardcoded-secrets
2493
+ message: Hardcoded secret detected in code
2494
+ severity: warning
2495
+ language: generic
2496
+ rule:
2497
+ any:
2498
+ - pattern: password = $S
2499
+ metavariable:
2500
+ S:
2501
+ regex: '["\'].*["\']'
2502
+ - pattern: api_key = $S
2503
+ metavariable:
2504
+ S:
2505
+ regex: '["\'].*["\']'
2506
+ ```
2507
+
2508
+ ### 🎯 Expert-Refactoring Agent
2509
+
2510
+ The `expert-refactoring` agent specializes in large-scale code transformations:
2511
+
2512
+ **Use Cases:**
2513
+
2514
+ 1. **Variable/Function Renaming**: Safe renaming across files
2515
+ 2. **Code Extraction**: Extract repeated logic into functions
2516
+ 3. **Design Pattern Application**: Apply patterns (Singleton, Factory, etc.)
2517
+ 4. **API Migration**: Upgrade API versions across codebase
2518
+ 5. **Dead Code Removal**: Find and remove unused code
2519
+
2520
+ **Example Session:**
2521
+
2522
+ ```bash
2523
+ > Use the expert-refactoring subagent to"I need to extract user authentication logic into a separate module"
2524
+
2525
+ # Agent will:
2526
+ # 1. Analyze current authentication code structure
2527
+ # 2. Identify repeated authentication patterns
2528
+ # 3. Create new auth module with extracted functions
2529
+ # 4. Update all callers to use new module
2530
+ # 5. Run tests to verify transformation
2531
+ # 6. Report changes made
2532
+ ```
2533
+
2534
+ ### 📊 Benefits
2535
+
2536
+ | Benefit | Description | Impact |
2537
+ |---------|-------------|--------|
2538
+ | **Early Detection** | Security issues detected immediately | **95% reduction** in security bugs reaching production |
2539
+ | **Safe Refactoring** | AST-level transformations preserve semantics | **99% reduction** in refactoring-induced bugs |
2540
+ | **Language Coverage** | Supports 40+ programming languages | **Unified tool** across polyglot codebases |
2541
+ | **Automation** | Automatic scanning on every code change | **Zero manual effort** for security checks |
2542
+
2543
+ ### 🔗 Integration with MoAI-ADK Workflow
2544
+
2545
+ AST-Grep integrates seamlessly with the Plan-Run-Sync cycle:
2546
+
2547
+ ```
2548
+ Plan (SPEC) → Run (TDD + AST-Grep Scan) → Sync (Documentation)
2549
+
2550
+ [Automatic Security Scanning]
2551
+
2552
+ [Instant Vulnerability Feedback]
2553
+ ```
2554
+
2555
+ **During TDD Phase:**
2556
+ - Write test (Red)
2557
+ - Implement code (Green)
2558
+ - **AST-Grep automatically scans for security issues**
2559
+ - Refactor with confidence (Refactor)
2560
+
2561
+ **If vulnerability detected:**
2562
+ ```bash
2563
+ ⚠️ AST-Grep: Potential SQL injection detected in src/auth.py:47
2564
+ Pattern: execute(f"SELECT * FROM users WHERE id={user_id}")
2565
+ Suggestion: Use parameterized query: execute("SELECT * FROM users WHERE id=%s", (user_id,))
2566
+ ```
2567
+
2568
+ ### 📚 Additional Resources
2569
+
2570
+ - **AST-Grep Documentation**: https://ast-grep.github.io/
2571
+ - **Rule Writing Guide**: `.claude/skills/moai-tool-ast-grep/modules/pattern-syntax.md`
2572
+ - **Security Rules**: `.claude/skills/moai-tool-ast-grep/rules/security/`
2573
+ - **Expert-Refactoring Agent**: `.claude/agents/moai/expert-refactoring.md`
2574
+
2575
+ ---
2576
+
2577
+ ## 13. Advanced Features
2578
+
2579
+ ### 🌳 Git Worktree CLI (Parallel Development)
2580
+
2581
+ **Overview**: Manage multiple Git worktrees for parallel SPEC development without context switching.
2582
+
2583
+ #### Quick Start
2584
+
2585
+ ```bash
2586
+ # Create a new worktree for a SPEC
2587
+ moai worktree create SPEC-001 feature/user-auth
2588
+
2589
+ # List all worktrees
2590
+ moai worktree list
2591
+
2592
+ # Go to worktree
2593
+ moai worktree go SPEC-001
2594
+
2595
+ # Remove completed worktree
2596
+ moai worktree remove SPEC-001
2597
+ ```
2598
+
2599
+ #### Key Benefits
2600
+
2601
+ - **Parallel Development**: Work on multiple SPECs simultaneously
2602
+ - **Context Isolation**: Each worktree has its own git state
2603
+ - **Fast Switching**: Instant context change between features
2604
+ - **Clean Main**: Keep main branch always stable
2605
+
2606
+ #### Workflow Example
2607
+
2608
+ ```bash
2609
+ # Main development worktree (main branch)
2610
+ cd ~/project-main
2611
+ > /moai:1-plan "user authentication" # Creates SPEC-001
2612
+
2613
+ # Create parallel worktree for SPEC-001
2614
+ moai worktree create SPEC-001 feature/auth
2615
+ cd ~/project-worktrees/SPEC-001
2616
+
2617
+ # Work on authentication without affecting main
2618
+ > /moai:2-run SPEC-001
2619
+ # ... implement authentication ...
2620
+
2621
+ # Go back to main for new feature
2622
+ moai worktree go main
2623
+ > /moai:1-plan "user dashboard" # Creates SPEC-002
2624
+ ```
2625
+
2626
+ ---
2627
+
2628
+ ### 🔧 Enhanced Log Management
2629
+
2630
+ **New unified log structure**:
2631
+
2632
+ ```
2633
+ .moai/
2634
+ ├── logs/ # JSON logs only (runtime data)
2635
+ │ ├── sessions/ # Session execution logs
2636
+ │ ├── errors/ # Error logs
2637
+ │ ├── execution/ # Command execution logs
2638
+ │ └── archive/ # Historical logs
2639
+ └── docs/ # Documentation only (user-facing)
2640
+ ├── reports/ # Analysis reports
2641
+ ├── analytics/ # Analytics results
2642
+ └── sync/ # Synchronization records
2643
+ ```
2644
+
2645
+ **Automatic migration**: Existing logs automatically reorganized on `moai-adk update`.
2646
+
2647
+ ---
2648
+
2649
+ ## 14. Advanced Configuration
2650
+
2651
+ ### 🔧 Configuration File Location
2652
+
2653
+ MoAI-ADK uses `.claude/settings.json` file.
2654
+
2655
+ ### 📋 Main Configuration Items
2656
+
2657
+ ```json
2658
+ {
2659
+ "user": {
2660
+ "name": "GOOS"
2661
+ },
2662
+ "language": {
2663
+ "conversation_language": "en",
2664
+ "agent_prompt_language": "en"
2665
+ },
2666
+ "constitution": {
2667
+ "enforce_tdd": true,
2668
+ "test_coverage_target": 85
2669
+ },
2670
+ "git_strategy": {
2671
+ "mode": "personal",
2672
+ "branch_creation": {
2673
+ "prompt_always": true,
2674
+ "auto_enabled": false
2675
+ }
2676
+ },
2677
+ "github": {
2678
+ "spec_git_workflow": "develop_direct"
2679
+ },
2680
+ "statusline": {
2681
+ "enabled": true,
2682
+ "format": "compact",
2683
+ "style": "R2-D2"
2684
+ }
2685
+ }
2686
+ ```
2687
+
2688
+ ### 🌳 Git Strategy (3 Modes)
2689
+
2690
+ MoAI-ADK provides 3 Git strategies suited to development environment and team composition.
2691
+
2692
+ #### Mode Selection Decision Tree
2693
+
2694
+ ```mermaid
2695
+ flowchart TD
2696
+ Q1{"Using<br/>GitHub?"}
2697
+
2698
+ Q1 -->|No| Manual["<b>📦 Manual</b><br/>Local Git only<br/>━━━━━━━━<br/>Features:<br/>• Local commits only<br/>• Manual push<br/>• Optional branches<br/><br/>Target: Personal learning"]
2699
+
2700
+ Q1 -->|Yes| Q2{"Team<br/>project?"}
2701
+
2702
+ Q2 -->|No| Personal["<b>👤 Personal</b><br/>Personal GitHub<br/>━━━━━━━━<br/>Features:<br/>• Feature branches<br/>• Auto push<br/>• Optional PR<br/><br/>Target: Personal projects"]
2703
+
2704
+ Q2 -->|Yes| Team["<b>👥 Team</b><br/>Team GitHub<br/>━━━━━━━━<br/>Features:<br/>• Auto draft PR<br/>• Required review<br/>• Auto deploy<br/><br/>Target: Team projects"]
2705
+
2706
+ classDef manual fill:#fff3e0,stroke:#ff9800,stroke-width:2px
2707
+ classDef personal fill:#e3f2fd,stroke:#2196f3,stroke-width:2px
2708
+ classDef team fill:#f3e5f5,stroke:#9c27b0,stroke-width:2px
2709
+ classDef question fill:#fafafa,stroke:#666,stroke-width:2px
2710
+
2711
+ class Manual manual
2712
+ class Personal personal
2713
+ class Team team
2714
+ class Q1,Q2 question
2715
+ ```
2716
+
2717
+ #### 3 Modes Comparison
2718
+
2719
+ | Aspect | Manual | Personal | Team |
2720
+ | --------------- | ----------------- | ------------------------------ | ------------ |
2721
+ | **Use Case** | Personal learning | Personal GitHub | Team projects |
2722
+ | **GitHub** | ❌ | ✅ | ✅ |
2723
+ | **Branches** | Optional | Optional creation or<br>Feature auto | Feature auto |
2724
+ | **Push** | Manual | Auto | Auto |
2725
+ | **PR** | None | Suggested | Auto-created |
2726
+ | **Code Review** | None | Optional | **Required** |
2727
+ | **Deployment** | Manual | Manual | CI/CD auto |
2728
+ | **Setup Time** | **5min** | 15min | 25min |
2729
+
2730
+ #### Quick Setup (.moai/config/config.json)
2731
+
2732
+ **Manual** (Local only):
2733
+
2734
+ ```json
2735
+ {
2736
+ "git_strategy": {
2737
+ "mode": "manual",
2738
+ "branch_creation": {
2739
+ "prompt_always": true,
2740
+ "auto_enabled": false
2741
+ }
2742
+ }
2743
+ }
2744
+ ```
2745
+
2746
+ **Personal** (Personal GitHub):
2747
+
2748
+ ```json
2749
+ {
2750
+ "git_strategy": {
2751
+ "mode": "personal",
2752
+ "branch_creation": {
2753
+ "prompt_always": false,
2754
+ "auto_enabled": true
2755
+ }
2756
+ }
2757
+ }
2758
+ ```
2759
+
2760
+ **Team** (Team projects):
2761
+
2762
+ ```json
2763
+ {
2764
+ "git_strategy": {
2765
+ "mode": "team",
2766
+ "branch_creation": {
2767
+ "prompt_always": false,
2768
+ "auto_enabled": true
2769
+ }
2770
+ }
2771
+ }
2772
+ ```
2773
+
2774
+ ---
2775
+
2776
+ ## 15. FAQ & Quick Reference
2777
+
2778
+ ### Q1: Is SPEC always required?
2779
+
2780
+ **SPEC generation recommendation criteria:**
2781
+
2782
+ | Condition | SPEC Requirement |
2783
+ | -------------------- | ------------------------------------ |
2784
+ | 1-2 files modified | Optional (can skip for simple cases) |
2785
+ | 3-5 files modified | Recommended (clarify requirements) |
2786
+ | 10+ files modified | Required (high complexity) |
2787
+ | New feature addition | Recommended |
2788
+ | Bug fix | Optional |
2789
+
2790
+ **Proceed without SPEC:**
2791
+
2792
+ ```bash
2793
+ # Skip SPEC and implement directly
2794
+ > Use the expert-backend subagent to"simple bug fix"
2795
+ ```
2796
+
2797
+ **Proceed with SPEC:**
2798
+
2799
+ ```bash
2800
+ > /moai:1-plan "complex feature specification"
2801
+ > /clear
2802
+ > /moai:2-run SPEC-001
2803
+ ```
2804
+
2805
+ ---
2806
+
2807
+ ### Q2: Is MCP server installation required?
2808
+
2809
+ **Required MCP servers (2):**
2810
+
2811
+ 1. **Context7** (Required)
2812
+
2813
+ - Auto-reference latest library API documentation
2814
+ - Prevent hallucination during code generation
2815
+ - Installation: Automatic (included in `.mcp.json`)
2816
+
2817
+ 2. **Sequential-Thinking** (Recommended)
2818
+ - Complex problem analysis
2819
+ - Architecture design, algorithm optimization
2820
+ - Installation: Automatic (included in `.mcp.json`)
2821
+
2822
+ **Optional MCP servers:**
2823
+
2824
+ - Figma MCP: Design-to-code conversion
2825
+ - Playwright MCP: Web automation testing
2826
+ - Notion MCP: Documentation management integration
2827
+
2828
+ **Verify installation:**
2829
+
2830
+ ```bash
2831
+ # Check MCP server list
2832
+ cat .mcp.json
2833
+
2834
+ # Enable/disable MCP servers (save tokens when disabled)
2835
+ > @
2836
+ ─────────────────────────────────────────────────────────
2837
+ ✓ [mcp] context7 enabled (⏎ to toggle)
2838
+ ○ [mcp] playwright disabled (⏎ to toggle)
2839
+ ○ [mcp] notion disabled (⏎ to toggle)
2840
+
2841
+ ```
2842
+
2843
+ ---
2844
+
2845
+ ## 16. 📸 ai-nano-banana Agent Usage Guide
2846
+
2847
+ **Purpose**: Professional image generation using Google Gemini 3 Nano Banana Pro
2848
+
2849
+ **Core Features**:
2850
+
2851
+ - ✅ Generate high-quality images from natural language prompts
2852
+ - ✅ Real-time AI image generation (token efficient)
2853
+ - ✅ Generate directly in Claude Code
2854
+ - ✅ Multiple style support (realistic, artistic, diagram, mockup, etc.)
2855
+ - ✅ Batch image generation
2856
+
2857
+ **Use Scenarios**:
2858
+
2859
+ 1. **UI/UX Mockups**: Website, app screen designs
2860
+ 2. **Technical Diagrams**: Architecture, flowcharts
2861
+ 3. **Document Images**: README, presentations
2862
+ 4. **Marketing Materials**: SNS content, banners
2863
+ 5. **Logos/Icons**: Project branding
2864
+
2865
+ #### Quick Start
2866
+
2867
+ ```bash
2868
+ # In Claude Code
2869
+ > Use the ai-nano-banana subagent to"Generate professional login page UI mockup"
2870
+ ```
2871
+
2872
+ #### Image Generation Prompts
2873
+
2874
+ **Effective Prompt Patterns:**
2875
+
2876
+ 1. **Specify Style**:
2877
+
2878
+ ```
2879
+ "Generate [realistic|artistic|minimalist|3D] style image..."
2880
+ ```
2881
+
2882
+ 2. **Set Quality**:
2883
+
2884
+ ```
2885
+ "Generate [1024x1024|1920x1080] high-resolution professional image..."
2886
+ ```
2887
+
2888
+ 3. **Specify Layout**:
2889
+
2890
+ ```
2891
+ "Generate [dark|light] theme dashboard mockup..."
2892
+ ```
2893
+
2894
+ 4. **Set Background**:
2895
+
2896
+ ```
2897
+ "Modern [white|gradient|black] background..."
2898
+ ```
2899
+
2900
+ 5. **Create Storyboard**:
2901
+
2902
+ ```
2903
+ "Generate 4-panel storyboard: step1, step2, step3, step4"
2904
+ ```
2905
+
2906
+ #### Practical Examples (5 types)
2907
+
2908
+ **1. Web Login Page Mockup**:
2909
+
2910
+ ```
2911
+ Prompt: "Create a modern and clean login page UI mockup with email
2912
+ and password input fields, login button. Minimalist design with blue
2913
+ accent color. 1024x768 resolution, white background, professional
2914
+ and modern feel"
2915
+ ```
2916
+
2917
+ **2. Microservices Architecture Diagram**:
2918
+
2919
+ ```
2920
+ Prompt: "Create a technical diagram showing 5 microservices:
2921
+ API Gateway, User Service, Order Service, Payment Service,
2922
+ Notification Service. Show connections with arrows.
2923
+ Professional technical diagram style with white background"
2924
+ ```
2925
+
2926
+ **3. Mobile App Screen Series**:
2927
+
2928
+ ```
2929
+ Prompt: "Create 3-screen mobile app storyboard:
2930
+ 1) Onboarding welcome screen, 2) User profile screen, 3) Settings screen.
2931
+ iOS style, modern design, clean UI"
2932
+ ```
2933
+
2934
+ **4. SNS Banner (1200x630)**:
2935
+
2936
+ ```
2937
+ Prompt: "Create a professional LinkedIn banner for AI development company.
2938
+ Include 'AI-Powered Development' text with modern tech elements.
2939
+ Dark theme with blue and purple gradient"
2940
+ ```
2941
+
2942
+ **5. Icon Set for Documentation**:
2943
+
2944
+ ```
2945
+ Prompt: "Create 6 simple and professional flat design icons:
2946
+ 1) Code icon, 2) Database icon, 3) Server icon,
2947
+ 4) Security icon, 5) Testing icon, 6) Deployment icon.
2948
+ White background, consistent style"
2949
+ ```
2950
+
2951
+ #### Advanced Features
2952
+
2953
+ - **Batch Generation**: Generate multiple images simultaneously
2954
+ - **Iterative Requests**: Generate multiple versions with fine-tuned prompts
2955
+ - **Image Integration**: Auto-insert generated images in docs/presentations
2956
+ - **Style Consistency**: Generate multiple images in same style
2957
+
2958
+ #### Best Practices
2959
+
2960
+ ✅ DO:
2961
+
2962
+ - Specify concrete style (realistic, minimalist, 3d, etc.)
2963
+ - Clear color descriptions (blue, gradient, dark theme, etc.)
2964
+ - Specify resolution (1024x1024, 1920x1080, etc.)
2965
+ - Provide context (professional, presentation, etc.)
2966
+ - Generate versions with multiple prompts
2967
+
2968
+ ❌ DON'T:
2969
+
2970
+ - Too abstract descriptions
2971
+ - Content with legal/rights issues
2972
+ - Real person portraits (use synthetic faces)
2973
+ - Copyrighted brand logos
2974
+ - Negative content
2975
+
2976
+ #### Gemini 3 Nano Banana Pro Specs
2977
+
2978
+ - Model: Google Gemini 3
2979
+ - Response time: 5-30 seconds
2980
+ - Max resolution: 2048x2048
2981
+ - Token efficiency: ~1,000-2,000 tokens per image
2982
+
2983
+ #### Troubleshooting
2984
+
2985
+ | Problem | Cause | Solution |
2986
+ | ---------------- | ------------------- | --------------------------- |
2987
+ | Generation fails | API error | Simplify prompt |
2988
+ | Low quality | Unclear prompt | Add specific details |
2989
+ | Style mismatch | Style not specified | Specify "realistic" etc. |
2990
+ | Timeout | Complex request | Start with smaller requests |
2991
+
2992
+ #### References
2993
+
2994
+ - Skill: `moai-connector-nano-banana`
2995
+ - Official usage: `/help` → "ai-nano-banana"
2996
+ - Examples: 5 practical examples in this guide
2997
+ - Gemini docs: <https://ai.google.dev/>
2998
+
2999
+ ---
3000
+
3001
+ ## 17. 🚀 GLM Integration with z.ai (Cost-Effective Alternative)
3002
+
3003
+ ### Overview
3004
+
3005
+ For developers concerned about Claude Code usage costs, MoAI-ADK supports **GLM 4.6** integration through **z.ai** at a fraction of the cost. This configuration provides full compatibility with Claude Code while offering significant cost savings.
3006
+
3007
+ ### 💡 Why Choose GLM over Claude?
3008
+
3009
+ | Feature | Claude Code | z.ai GLM 4.6 |
3010
+ | --------------------- | ------------------------------- | ----------------------------- |
3011
+ | **Cost** | $20/month (Pro plan) | **$6-$60/month (Flexible)** |
3012
+ | **Models** | Claude 4.5 Sonnet, Opus, Haiku | GLM 4.6, GLM 4.5-air |
3013
+ | **Compatibility** | Native | **100% Claude Compatible** |
3014
+ | **Token Limits** | Limited | **Unlimited on paid plans** |
3015
+ | **API Access** | Included | **Full API access** |
3016
+ | **Speed** | Fast | **Comparable performance** |
3017
+
3018
+ ### 🎯 GLM Coding Plan Subscription
3019
+
3020
+ **Exclusive Invitation Link**:
3021
+ 🚀 **You've been invited to join the GLM Coding Plan! Enjoy full support for Claude Code, Cline, and 10+ top coding tools. Starting from $3/month.**
3022
+
3023
+ 👉 **Subscribe here**: https://z.ai/subscribe?ic=1NDV03BGWU
3024
+ By subscribing through this link, you'll receive a 10% additional discount and dedicated credits from Z.AI to support MoAI-ADK open source development.
3025
+
3026
+ #### Subscription Plans:
3027
+
3028
+ | Plan | Price | Features | Best For |
3029
+ | ------------- | ---------------------------------- | ----------------------------------------------------------------------- | --------------------------------- |
3030
+ | **Lite** | First month $3<br/>From 2nd month $6/month | • 3x Claude Pro usage<br/>• GLM-4.6 powered<br/>• 10+ coding tools compatible | Lightweight workloads, getting started |
3031
+ | **Pro** | First month $15<br/>From 2nd month $30/month | • All Lite benefits<br/>• 5× Lite plan usage<br/>• 40-60% faster<br/>• Vision, Web Search, Web Reader | Professional developers, teams |
3032
+ | **Max** | First month $30<br/>From 2nd month $60/month | • All Pro benefits<br/>• 4× Pro plan usage<br/>• Guaranteed peak performance<br/>• Early feature access | High-volume workloads, power users |
3033
+ | **Enterprise**| Custom | • Custom pricing<br/>• Dedicated support<br/>• SLA guarantees | Large organizations, custom needs |
3034
+
3035
+ #### Benefits for GLM Coding Plan Subscribers:
3036
+
3037
+ 1. **Massive Cost Savings**: Lite plan at $6/month (3x Claude Pro usage)
3038
+ 2. **Full Tool Compatibility**: Supports Claude Code, Roo Code, Cline, Kilo Code, OpenCode, Crush, Goose, and more
3039
+ 3. **High-Performance Models**: Powered by GLM-4.6 (comparable to Claude 4.5 Sonnet)
3040
+ 4. **Flexible Pricing**: From $6 Lite to $60 Max (scales with your needs)
3041
+ 5. **Performance Options**: Pro plan 40-60% faster, Max plan with guaranteed peak performance
3042
+ 6. **Advanced Features**: Vision Understanding, Web Search, Web Reader MCP (Pro+)
3043
+ 7. **Support MoAI-ADK**: A portion of your subscription supports continued MoAI-ADK development
3044
+
3045
+ #### **🌟 Recommended Upgrade Path**
3046
+
3047
+ **Step 1: Start with Lite Plan ($6/month)**
3048
+ - Get 3x Claude Pro usage at just $6/month
3049
+ - Try GLM-4.6 with your actual projects for 2-3 weeks
3050
+ - Experience compatibility with 10+ coding tools
3051
+
3052
+ **Step 2: Upgrade Based on Usage**
3053
+ - **For regular development**: Upgrade to **Pro ($30/month)** for 40-60% faster performance
3054
+ - **For heavy workloads**: Choose **Max ($60/month)** for guaranteed peak performance
3055
+ - **Power users benefit**: Pro gives 5× Lite usage, Max gives 20× Lite usage
3056
+
3057
+ **Why This Approach Works:**
3058
+ - **Low barrier entry**: Only $6/month to start with professional AI coding
3059
+ - **Scale as needed**: Upgrade only when your workload requires it
3060
+ - **Performance gains**: Pro plan significantly faster for complex tasks
3061
+ - **Advanced features**: Vision, Web Search, and Web Reader MCP available on Pro+
3062
+
3063
+ #### Campaign Details (Credit Rules):
3064
+
3065
+ - 📋 **Official Rules**: https://docs.z.ai/devpack/credit-campaign-rules
3066
+ - 🎁 **Special Offer**: MoAI-ADK users receive additional credits
3067
+ - 💝 **Community Support**: Your subscription helps fund MoAI-ADK development
3068
+ - 🔄 **Flexible Usage**: Credits roll over monthly
3069
+
3070
+ ### ⚙️ Quick Setup: GLM Configuration
3071
+
3072
+ #### Step 1: Subscribe to GLM Coding Plan
3073
+
3074
+ 1. Visit: https://z.ai/subscribe?ic=1NDV03BGWU
3075
+ 2. Choose a plan:
3076
+ - **Lite (First month $3, from 2nd month $6/month)**: Perfect for getting started, 3x Claude Pro usage
3077
+ - **Pro (First month $15, from 2nd month $30/month)**: 40-60% faster, includes Vision and Web features
3078
+ - **Max (First month $30, from 2nd month $60/month)**: Guaranteed performance, early feature access
3079
+ - **Enterprise**: Custom pricing for large organizations
3080
+ 3. Complete registration and payment
3081
+ 4. Note your API token from the dashboard
3082
+
3083
+ **💡 Pro Tip**: Start with the $6 Lite plan to test GLM-4.6, then upgrade to Pro for faster performance or Max for high-volume workloads!
3084
+
3085
+ #### Step 2: Configure MoAI-ADK for GLM
3086
+
3087
+ In Claude Code, run:
3088
+
3089
+ ```bash
3090
+ # Configure GLM with your API token
3091
+ > /moai:0-project --glm-on YOUR_API_TOKEN
3092
+
3093
+ # Or without token (will prompt for input)
3094
+ > /moai:0-project --glm-on
3095
+ ```
3096
+
3097
+ **What happens during configuration:**
3098
+
3099
+ ✅ **API Token Setup**: Securely stores your GLM API token
3100
+ ✅ **Endpoint Configuration**: Sets up z.ai API endpoints
3101
+ ✅ **Model Mapping**: Maps GLM 4.6 to Claude model tiers
3102
+ ✅ **Verification**: Tests connection and model availability
3103
+ ✅ **Fallback Ready**: Keeps Claude as backup option
3104
+
3105
+ #### Step 3: Verify Configuration
3106
+
3107
+ ```bash
3108
+ # Check current configuration
3109
+ > cat .claude/settings.local.json
3110
+
3111
+ # Expected output:
3112
+ {
3113
+ "env": {
3114
+ "ANTHROPIC_AUTH_TOKEN": "your_glm_token_here",
3115
+ "ANTHROPIC_BASE_URL": "https://api.z.ai/api/anthropic",
3116
+ "ANTHROPIC_DEFAULT_HAIKU_MODEL": "glm-4.5-air",
3117
+ "ANTHROPIC_DEFAULT_SONNET_MODEL": "glm-4.6",
3118
+ "ANTHROPIC_DEFAULT_OPUS_MODEL": "glm-4.6"
3119
+ }
3120
+ }
3121
+ ```
3122
+
3123
+ #### Step 4: Restart Claude Code
3124
+
3125
+ ```bash
3126
+ # Exit Claude Code and restart
3127
+ > /exit
3128
+ # Then
3129
+ claude
3130
+ ```
3131
+
3132
+ GLM 4.6 is now active and ready to use!
3133
+
3134
+ ### 🔄 Managing GLM Configuration
3135
+
3136
+ #### Enable GLM Mode:
3137
+
3138
+ ```bash
3139
+ > /moai:0-project --glm-on [YOUR_TOKEN]
3140
+ ```
3141
+
3142
+ #### Disable GLM (Switch back to Claude):
3143
+
3144
+ ```bash
3145
+ > /moai:0-project --glm-off
3146
+ ```
3147
+
3148
+ #### Check Current Mode:
3149
+
3150
+ GLM is active when:
3151
+ - `.claude/settings.local.json` contains GLM configuration
3152
+ - Base URL is set to `https://api.z.ai/api/anthropic`
3153
+ - Models are mapped to GLM variants
3154
+
3155
+ ### 📊 Performance Comparison
3156
+
3157
+ Based on real-world testing with MoAI-ADK:
3158
+
3159
+ | Task | Claude 4.5 Sonnet | GLM 4.6 | Performance Gap |
3160
+ | ------------------------------ | ----------------- | ------------ | --------------- |
3161
+ | **Code Generation** | Excellent | **Excellent** | < 5% difference |
3162
+ | **TDD Implementation** | Excellent | **Very Good** | 10% faster |
3163
+ | **Documentation Writing** | Very Good | **Good** | 15% faster |
3164
+ | **Complex Problem Solving** | Excellent | **Very Good** | Comparable |
3165
+ | **API Rate Limits** | Moderate | **Higher** | 3x-20x more usage |
3166
+ | **Performance Speed** | Fast | **40-60% faster (Pro+)** | Significant improvement |
3167
+ | **Advanced Features** | Basic | **Vision, Web Search, Web Reader (Pro+)** | Enhanced capabilities |
3168
+ | **Cost Efficiency** | $20-$200/month | **$6-$60/month** | **Save up to 70%** |
3169
+
3170
+ ### ✅ Recommended Usage Scenarios
3171
+
3172
+ #### **GLM Lite ($6/month) Usage:**
3173
+ - **Getting Started**: 3x Claude Pro usage at 70% less cost
3174
+ - **Lightweight Workloads**: Small projects, occasional coding
3175
+ - **Learning Projects**: Practice, tutorials, experiments
3176
+ - **Budget-Conscious**: Professional AI coding at just $6/month
3177
+
3178
+ #### **GLM Pro ($30/month) Usage:**
3179
+ - **Professional Developers**: 40-60% faster performance for complex tasks
3180
+ - **Daily Development**: 5× Lite usage limit with advanced features
3181
+ - **Team Collaboration**: Vision understanding, web search capabilities
3182
+ - **Power Users**: Faster responses for complex problem solving
3183
+
3184
+ #### **GLM Max ($60/month) Usage:**
3185
+ - **High-Volume Workloads**: 20× Lite usage for intensive development
3186
+ - **Enterprise Teams**: Guaranteed peak-hour performance
3187
+ - **Continuous Integration**: No rate limits for automated workflows
3188
+ - **Early Adopters**: First access to new features and improvements
3189
+
3190
+ #### **Consider Claude for:**
3191
+ - **Enterprise Production**: Mission-critical deployments
3192
+ - **Complex Research**: Advanced reasoning tasks
3193
+ - **Large-Scale Migration**: Complex system transformations
3194
+ - **Compliance Requirements**: Specific model certifications
3195
+
3196
+ ### 🛠️ Troubleshooting
3197
+
3198
+ | Issue | Solution |
3199
+ | ------------------------ | ------------------------------------------------------------------------ |
3200
+ | **Token not working** | Verify token from z.ai dashboard, ensure Coding Plan subscription |
3201
+ | **Model errors** | Check endpoint URL: `https://api.z.ai/api/anthropic` |
3202
+ | **Slow responses** | GLM may have higher latency during peak hours |
3203
+ | **Connection refused** | Firewall may block z.ai domain, check network settings |
3204
+ | **Fallback needed** | Use `--glm-off` to switch back to Claude temporarily |
3205
+
3206
+ ### 🔗 Useful Links
3207
+
3208
+ - **GLM Coding Plan**: https://z.ai/subscribe?ic=1NDV03BGWU
3209
+ - **Credit Campaign Rules**: https://docs.z.ai/devpack/credit-campaign-rules
3210
+ - **GLM Documentation**: https://docs.z.ai/
3211
+ - **MoAI-ADK GLM Guide**: https://github.com/modu-ai/moai-adk/docs/glm-integration
3212
+ - **Support**: support@z.ai
3213
+
3214
+ ### 💬 Community & Support
3215
+
3216
+ - **Discord**: Join the z.ai community for tips and updates
3217
+ - **GitHub**: Report issues and request features
3218
+ - **Email**: support@z.ai for technical assistance
3219
+ - **MoAI-ADK**: github.com/modu-ai/moai-adk for framework-specific help
3220
+
3221
+ ---
3222
+
3223
+ **Start saving today while maintaining full development productivity!** 🚀
3224
+
3225
+ ## 18. Additional Resources
3226
+
3227
+ ### 🆘 Support (Support)
3228
+
3229
+ **Email Support:**
3230
+
3231
+ - Technical support: [support@mo.ai.kr](mailto:support@mo.ai.kr)
3232
+
3233
+ ### 📊 Star History
3234
+
3235
+ [![Star History Chart](https://api.star-history.com/svg?repos=modu-ai/moai-adk&type=Date)](https://star-history.com/#modu-ai/moai-adk&Date)
3236
+
3237
+ ---
3238
+
3239
+ ## 📝 License
3240
+
3241
+ MoAI-ADK is licensed under the [MIT License](./LICENSE).
3242
+
3243
+ ```text
3244
+ MIT License
3245
+
3246
+ Copyright (c) 2025 MoAI-ADK Team
3247
+
3248
+ Permission is hereby granted, free of charge, to any person obtaining a copy
3249
+ of this software and associated documentation files (the "Software"), to deal
3250
+ in the Software without restriction, including without limitation the rights
3251
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
3252
+ copies of the Software, and to permit persons to whom the Software is
3253
+ furnished to do so, subject to the following conditions:
3254
+
3255
+ The above copyright notice and this permission notice shall be included in all
3256
+ copies or substantial portions of the Software.
3257
+
3258
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
3259
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
3260
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
3261
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3262
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
3263
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
3264
+ SOFTWARE.
3265
+ ```
3266
+
3267
+ ---
3268
+
3269
+ ### Made with ❤️ by MoAI-ADK Team
3270
+
3271
+ **Version:** 0.40.0
3272
+ **Last Updated:** 2026-01-06
3273
+ **Philosophy**: SPEC-First TDD + Agent Orchestration + 85% Token Efficiency
3274
+ **MoAI**: MoAI stands for "Modu-ui AI" (AI for Everyone). Our goal is to make AI accessible to everyone.