moai-adk 0.4.5__py3-none-any.whl → 0.20.1__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 (433) hide show
  1. moai_adk/__init__.py +1 -1
  2. moai_adk/__main__.py +74 -1
  3. moai_adk/cli/commands/__init__.py +1 -1
  4. moai_adk/cli/commands/analyze.py +119 -0
  5. moai_adk/cli/commands/backup.py +25 -1
  6. moai_adk/cli/commands/doctor.py +31 -5
  7. moai_adk/cli/commands/improve_user_experience.py +307 -0
  8. moai_adk/cli/commands/init.py +111 -10
  9. moai_adk/cli/commands/status.py +33 -3
  10. moai_adk/cli/commands/update.py +921 -130
  11. moai_adk/cli/commands/validate_links.py +120 -0
  12. moai_adk/cli/prompts/init_prompts.py +22 -87
  13. moai_adk/core/analysis/__init__.py +9 -0
  14. moai_adk/core/analysis/session_analyzer.py +388 -0
  15. moai_adk/core/analysis/tag_chain_analyzer.py +344 -0
  16. moai_adk/core/analysis/tag_chain_repair.py +879 -0
  17. moai_adk/core/config/__init__.py +19 -0
  18. moai_adk/core/config/migration.py +235 -0
  19. moai_adk/core/git/__init__.py +1 -1
  20. moai_adk/core/git/branch.py +1 -1
  21. moai_adk/core/git/commit.py +1 -1
  22. moai_adk/core/git/manager.py +1 -1
  23. moai_adk/core/issue_creator.py +313 -0
  24. moai_adk/core/mcp/setup.py +56 -0
  25. moai_adk/core/mcp/setup_old.py +296 -0
  26. moai_adk/core/project/backup_utils.py +1 -1
  27. moai_adk/core/project/checker.py +2 -2
  28. moai_adk/core/project/detector.py +211 -12
  29. moai_adk/core/project/initializer.py +85 -15
  30. moai_adk/core/project/phase_executor.py +76 -13
  31. moai_adk/core/project/validator.py +13 -13
  32. moai_adk/core/quality/__init__.py +1 -1
  33. moai_adk/core/quality/trust_checker.py +1 -1
  34. moai_adk/core/quality/validators/__init__.py +1 -1
  35. moai_adk/core/quality/validators/base_validator.py +1 -1
  36. moai_adk/core/tags/__init__.py +86 -0
  37. moai_adk/core/tags/auto_corrector.py +693 -0
  38. moai_adk/core/tags/ci_validator.py +463 -0
  39. moai_adk/core/tags/cli.py +283 -0
  40. moai_adk/core/tags/generator.py +109 -0
  41. moai_adk/core/tags/inserter.py +99 -0
  42. moai_adk/core/tags/mapper.py +126 -0
  43. moai_adk/core/tags/parser.py +76 -0
  44. moai_adk/core/tags/policy_validator.py +580 -0
  45. moai_adk/core/tags/pre_commit_validator.py +421 -0
  46. moai_adk/core/tags/reporter.py +956 -0
  47. moai_adk/core/tags/rollback_manager.py +525 -0
  48. moai_adk/core/tags/tags.py +149 -0
  49. moai_adk/core/tags/validator.py +897 -0
  50. moai_adk/core/template/__init__.py +1 -1
  51. moai_adk/core/template/backup.py +1 -1
  52. moai_adk/core/template/merger.py +50 -1
  53. moai_adk/core/template/processor.py +119 -13
  54. moai_adk/core/template_engine.py +268 -0
  55. moai_adk/templates/.claude/agents/alfred/backend-expert.md +348 -0
  56. moai_adk/templates/.claude/agents/alfred/cc-manager.md +209 -944
  57. moai_adk/templates/.claude/agents/alfred/database-expert.md +352 -0
  58. moai_adk/templates/.claude/agents/alfred/debug-helper.md +34 -5
  59. moai_adk/templates/.claude/agents/alfred/devops-expert.md +464 -0
  60. moai_adk/templates/.claude/agents/alfred/doc-syncer.md +38 -8
  61. moai_adk/templates/.claude/agents/alfred/format-expert.md +469 -0
  62. moai_adk/templates/.claude/agents/alfred/frontend-expert.md +357 -0
  63. moai_adk/templates/.claude/agents/alfred/git-manager.md +128 -9
  64. moai_adk/templates/.claude/agents/alfred/implementation-planner.md +104 -6
  65. moai_adk/templates/.claude/agents/alfred/project-manager.md +88 -16
  66. moai_adk/templates/.claude/agents/alfred/quality-gate.md +36 -9
  67. moai_adk/templates/.claude/agents/alfred/security-expert.md +270 -0
  68. moai_adk/templates/.claude/agents/alfred/skill-factory.md +865 -0
  69. moai_adk/templates/.claude/agents/alfred/spec-builder.md +214 -43
  70. moai_adk/templates/.claude/agents/alfred/tag-agent.md +111 -9
  71. moai_adk/templates/.claude/agents/alfred/tdd-implementer.md +309 -160
  72. moai_adk/templates/.claude/agents/alfred/trust-checker.md +36 -7
  73. moai_adk/templates/.claude/agents/alfred/ui-ux-expert.md +605 -0
  74. moai_adk/templates/.claude/commands/alfred/0-project.md +393 -966
  75. moai_adk/templates/.claude/commands/alfred/1-plan.md +651 -367
  76. moai_adk/templates/.claude/commands/alfred/2-run.md +388 -241
  77. moai_adk/templates/.claude/commands/alfred/3-sync.md +1921 -410
  78. moai_adk/templates/.claude/commands/alfred/9-feedback.md +153 -0
  79. moai_adk/templates/.claude/commands/alfred/release-new.md +3604 -0
  80. moai_adk/templates/.claude/hooks/alfred/core/project.py +484 -20
  81. moai_adk/templates/.claude/hooks/alfred/core/timeout.py +136 -0
  82. moai_adk/templates/.claude/hooks/alfred/core/ttl_cache.py +108 -0
  83. moai_adk/templates/.claude/hooks/alfred/core/version_cache.py +198 -0
  84. moai_adk/templates/.claude/hooks/alfred/handlers/__init__.py +14 -6
  85. moai_adk/templates/.claude/hooks/alfred/post_tool__enable_streaming_ui.py +50 -0
  86. moai_adk/templates/.claude/hooks/alfred/post_tool__log_changes.py +93 -0
  87. moai_adk/templates/.claude/hooks/alfred/post_tool__tag_auto_corrector.py +407 -0
  88. moai_adk/templates/.claude/hooks/alfred/pre_tool__auto_checkpoint.py +99 -0
  89. moai_adk/templates/.claude/hooks/alfred/pre_tool__realtime_tag_monitor.py +335 -0
  90. moai_adk/templates/.claude/hooks/alfred/pre_tool__tag_policy_validator.py +325 -0
  91. moai_adk/templates/.claude/hooks/alfred/session_end__cleanup.py +93 -0
  92. moai_adk/templates/.claude/hooks/alfred/session_start__auto_cleanup.py +580 -0
  93. moai_adk/templates/.claude/hooks/alfred/session_start__show_project_info.py +298 -0
  94. moai_adk/templates/.claude/hooks/alfred/shared/core/__init__.py +170 -0
  95. moai_adk/templates/.claude/hooks/alfred/{core → shared/core}/checkpoint.py +3 -3
  96. moai_adk/templates/.claude/hooks/alfred/{core → shared/core}/context.py +5 -5
  97. moai_adk/templates/.claude/hooks/alfred/shared/core/project.py +749 -0
  98. moai_adk/templates/.claude/hooks/alfred/shared/core/tags.py +230 -0
  99. moai_adk/templates/.claude/hooks/alfred/shared/core/version_cache.py +198 -0
  100. moai_adk/templates/.claude/hooks/alfred/shared/handlers/__init__.py +21 -0
  101. moai_adk/templates/.claude/hooks/alfred/shared/handlers/daily_analysis.py +351 -0
  102. moai_adk/templates/.claude/hooks/alfred/shared/handlers/notification.py +154 -0
  103. moai_adk/templates/.claude/hooks/alfred/shared/handlers/session.py +174 -0
  104. moai_adk/templates/.claude/hooks/alfred/shared/handlers/tool.py +87 -0
  105. moai_adk/templates/.claude/hooks/alfred/shared/handlers/user.py +61 -0
  106. moai_adk/templates/.claude/hooks/alfred/user_prompt__jit_load_docs.py +111 -0
  107. moai_adk/templates/.claude/hooks/alfred/utils/__init__.py +1 -0
  108. moai_adk/templates/.claude/hooks/alfred/utils/hook_config.py +94 -0
  109. moai_adk/templates/.claude/hooks/alfred/utils/timeout.py +161 -0
  110. moai_adk/templates/.claude/output-styles/alfred/alfred-moai-adk-beginner.md +267 -0
  111. moai_adk/templates/.claude/output-styles/alfred/keating-personal-tutor.md +440 -0
  112. moai_adk/templates/.claude/output-styles/alfred/r2d2-agentic-coding.md +583 -0
  113. moai_adk/templates/.claude/settings.json +96 -14
  114. moai_adk/templates/.claude/skills/moai-alfred-agent-guide/SKILL.md +70 -0
  115. moai_adk/templates/.claude/skills/moai-alfred-agent-guide/examples.md +62 -0
  116. moai_adk/templates/.claude/skills/moai-alfred-agent-guide/reference.md +242 -0
  117. moai_adk/templates/.claude/skills/moai-alfred-ask-user-questions/SKILL.md +237 -0
  118. moai_adk/templates/.claude/skills/moai-alfred-ask-user-questions/examples.md +871 -0
  119. moai_adk/templates/.claude/skills/moai-alfred-ask-user-questions/reference.md +653 -0
  120. moai_adk/templates/.claude/skills/moai-alfred-clone-pattern/README.md +162 -0
  121. moai_adk/templates/.claude/skills/moai-alfred-clone-pattern/SKILL.md +227 -0
  122. moai_adk/templates/.claude/skills/moai-alfred-clone-pattern/examples.md +354 -0
  123. moai_adk/templates/.claude/skills/moai-alfred-clone-pattern/reference.md +158 -0
  124. moai_adk/templates/.claude/skills/moai-alfred-code-reviewer/SKILL.md +179 -79
  125. moai_adk/templates/.claude/skills/moai-alfred-code-reviewer/examples.md +117 -0
  126. moai_adk/templates/.claude/skills/moai-alfred-code-reviewer/scripts/pre-review-check.sh +62 -0
  127. moai_adk/templates/.claude/skills/moai-alfred-config-schema/SKILL.md +132 -0
  128. moai_adk/templates/.claude/skills/moai-alfred-config-schema/examples.md +28 -0
  129. moai_adk/templates/.claude/skills/moai-alfred-config-schema/reference.md +444 -0
  130. moai_adk/templates/.claude/skills/moai-alfred-context-budget/SKILL.md +62 -0
  131. moai_adk/templates/.claude/skills/moai-alfred-context-budget/examples.md +28 -0
  132. moai_adk/templates/.claude/skills/moai-alfred-context-budget/reference.md +405 -0
  133. moai_adk/templates/.claude/skills/moai-alfred-dev-guide/SKILL.md +51 -0
  134. moai_adk/templates/.claude/skills/moai-alfred-dev-guide/examples.md +355 -0
  135. moai_adk/templates/.claude/skills/moai-alfred-dev-guide/reference.md +239 -0
  136. moai_adk/templates/.claude/skills/moai-alfred-expertise-detection/SKILL.md +323 -0
  137. moai_adk/templates/.claude/skills/moai-alfred-expertise-detection/examples.md +286 -0
  138. moai_adk/templates/.claude/skills/moai-alfred-expertise-detection/reference.md +126 -0
  139. moai_adk/templates/.claude/skills/moai-alfred-issue-labels/SKILL.md +229 -0
  140. moai_adk/templates/.claude/skills/moai-alfred-issue-labels/examples.md +4 -0
  141. moai_adk/templates/.claude/skills/moai-alfred-issue-labels/reference.md +150 -0
  142. moai_adk/templates/.claude/skills/moai-alfred-language-detection/SKILL.md +87 -73
  143. moai_adk/templates/.claude/skills/moai-alfred-language-detection/examples.md +29 -0
  144. moai_adk/templates/.claude/skills/moai-alfred-language-detection/reference.md +28 -0
  145. moai_adk/templates/.claude/skills/moai-alfred-personas/README.md +42 -0
  146. moai_adk/templates/.claude/skills/moai-alfred-personas/SKILL.md +429 -0
  147. moai_adk/templates/.claude/skills/moai-alfred-personas/examples.md +520 -0
  148. moai_adk/templates/.claude/skills/moai-alfred-personas/reference.md +405 -0
  149. moai_adk/templates/.claude/skills/moai-alfred-practices/SKILL.md +89 -0
  150. moai_adk/templates/.claude/skills/moai-alfred-practices/examples.md +122 -0
  151. moai_adk/templates/.claude/skills/moai-alfred-practices/reference.md +369 -0
  152. moai_adk/templates/.claude/skills/moai-alfred-proactive-suggestions/SKILL.md +508 -0
  153. moai_adk/templates/.claude/skills/moai-alfred-proactive-suggestions/examples.md +481 -0
  154. moai_adk/templates/.claude/skills/moai-alfred-proactive-suggestions/reference.md +100 -0
  155. moai_adk/templates/.claude/skills/moai-alfred-rules/SKILL.md +77 -0
  156. moai_adk/templates/.claude/skills/moai-alfred-rules/examples.md +265 -0
  157. moai_adk/templates/.claude/skills/moai-alfred-rules/reference.md +539 -0
  158. moai_adk/templates/.claude/skills/moai-alfred-session-state/SKILL.md +320 -0
  159. moai_adk/templates/.claude/skills/moai-alfred-session-state/examples.md +4 -0
  160. moai_adk/templates/.claude/skills/moai-alfred-session-state/reference.md +84 -0
  161. moai_adk/templates/.claude/skills/moai-alfred-spec-authoring/README.md +137 -0
  162. moai_adk/templates/.claude/skills/moai-alfred-spec-authoring/SKILL.md +219 -0
  163. moai_adk/templates/.claude/skills/moai-alfred-spec-authoring/examples/validate-spec.sh +161 -0
  164. moai_adk/templates/.claude/skills/moai-alfred-spec-authoring/examples.md +541 -0
  165. moai_adk/templates/.claude/skills/moai-alfred-spec-authoring/reference.md +622 -0
  166. moai_adk/templates/.claude/skills/moai-alfred-todowrite-pattern/SKILL.md +19 -0
  167. moai_adk/templates/.claude/skills/moai-alfred-todowrite-pattern/examples.md +4 -0
  168. moai_adk/templates/.claude/skills/moai-alfred-todowrite-pattern/reference.md +211 -0
  169. moai_adk/templates/.claude/skills/moai-alfred-workflow/SKILL.md +288 -0
  170. moai_adk/templates/.claude/skills/moai-cc-agents/SKILL.md +269 -0
  171. moai_adk/templates/.claude/skills/moai-cc-agents/templates/agent-template.md +32 -0
  172. moai_adk/templates/.claude/skills/moai-cc-claude-md/SKILL.md +298 -0
  173. moai_adk/templates/.claude/skills/moai-cc-claude-md/templates/CLAUDE-template.md +26 -0
  174. moai_adk/templates/.claude/skills/moai-cc-commands/SKILL.md +307 -0
  175. moai_adk/templates/.claude/skills/moai-cc-commands/templates/command-template.md +21 -0
  176. moai_adk/templates/.claude/skills/moai-cc-hooks/SKILL.md +252 -0
  177. moai_adk/templates/.claude/skills/moai-cc-hooks/scripts/pre-bash-check.sh +19 -0
  178. moai_adk/templates/.claude/skills/moai-cc-hooks/scripts/preserve-permissions.sh +19 -0
  179. moai_adk/templates/.claude/skills/moai-cc-hooks/scripts/validate-bash-command.py +24 -0
  180. moai_adk/templates/.claude/skills/moai-cc-mcp-plugins/SKILL.md +199 -0
  181. moai_adk/templates/.claude/skills/moai-cc-mcp-plugins/templates/settings-mcp-template.json +39 -0
  182. moai_adk/templates/.claude/skills/moai-cc-memory/SKILL.md +316 -0
  183. moai_adk/templates/.claude/skills/moai-cc-memory/templates/session-summary-template.md +18 -0
  184. moai_adk/templates/.claude/skills/moai-cc-settings/SKILL.md +263 -0
  185. moai_adk/templates/.claude/skills/moai-cc-settings/templates/settings-complete-template.json +30 -0
  186. moai_adk/templates/.claude/skills/moai-cc-skill-factory/CHECKLIST.md +482 -0
  187. moai_adk/templates/.claude/skills/moai-cc-skill-factory/EXAMPLES.md +303 -0
  188. moai_adk/templates/.claude/skills/moai-cc-skill-factory/INTERACTIVE-DISCOVERY.md +524 -0
  189. moai_adk/templates/.claude/skills/moai-cc-skill-factory/METADATA.md +477 -0
  190. moai_adk/templates/.claude/skills/moai-cc-skill-factory/PARALLEL-ANALYSIS-REPORT.md +429 -0
  191. moai_adk/templates/.claude/skills/moai-cc-skill-factory/PYTHON-VERSION-MATRIX.md +391 -0
  192. moai_adk/templates/.claude/skills/moai-cc-skill-factory/SKILL-FACTORY-WORKFLOW.md +431 -0
  193. moai_adk/templates/.claude/skills/moai-cc-skill-factory/SKILL-UPDATE-ADVISOR.md +577 -0
  194. moai_adk/templates/.claude/skills/moai-cc-skill-factory/SKILL.md +273 -0
  195. moai_adk/templates/.claude/skills/moai-cc-skill-factory/STEP-BY-STEP-GUIDE.md +466 -0
  196. moai_adk/templates/.claude/skills/moai-cc-skill-factory/STRUCTURE.md +583 -0
  197. moai_adk/templates/.claude/skills/moai-cc-skill-factory/WEB-RESEARCH.md +526 -0
  198. moai_adk/templates/.claude/skills/moai-cc-skill-factory/reference.md +608 -0
  199. moai_adk/templates/.claude/skills/moai-cc-skill-factory/scripts/generate-structure.sh +328 -0
  200. moai_adk/templates/.claude/skills/moai-cc-skill-factory/scripts/validate-skill.sh +312 -0
  201. moai_adk/templates/.claude/skills/moai-cc-skill-factory/templates/SKILL_TEMPLATE.md +245 -0
  202. moai_adk/templates/.claude/skills/moai-cc-skill-factory/templates/examples-template.md +285 -0
  203. moai_adk/templates/.claude/skills/moai-cc-skill-factory/templates/reference-template.md +278 -0
  204. moai_adk/templates/.claude/skills/moai-cc-skill-factory/templates/scripts-template.sh +303 -0
  205. moai_adk/templates/.claude/skills/moai-cc-skills/SKILL.md +291 -0
  206. moai_adk/templates/.claude/skills/moai-cc-skills/templates/SKILL-template.md +15 -0
  207. moai_adk/templates/.claude/skills/moai-change-logger/SKILL.md +563 -0
  208. moai_adk/templates/.claude/skills/moai-design-systems/SKILL.md +802 -0
  209. moai_adk/templates/.claude/skills/moai-design-systems/examples.md +1238 -0
  210. moai_adk/templates/.claude/skills/moai-design-systems/reference.md +673 -0
  211. moai_adk/templates/.claude/skills/moai-domain-backend/SKILL.md +234 -43
  212. moai_adk/templates/.claude/skills/moai-domain-backend/examples.md +1633 -0
  213. moai_adk/templates/.claude/skills/moai-domain-backend/reference.md +660 -0
  214. moai_adk/templates/.claude/skills/moai-domain-cli-tool/SKILL.md +97 -69
  215. moai_adk/templates/.claude/skills/moai-domain-cli-tool/examples.md +29 -0
  216. moai_adk/templates/.claude/skills/moai-domain-cli-tool/reference.md +30 -0
  217. moai_adk/templates/.claude/skills/moai-domain-data-science/SKILL.md +97 -72
  218. moai_adk/templates/.claude/skills/moai-domain-data-science/examples.md +29 -0
  219. moai_adk/templates/.claude/skills/moai-domain-data-science/reference.md +30 -0
  220. moai_adk/templates/.claude/skills/moai-domain-database/SKILL.md +97 -74
  221. moai_adk/templates/.claude/skills/moai-domain-database/examples.md +29 -0
  222. moai_adk/templates/.claude/skills/moai-domain-database/reference.md +30 -0
  223. moai_adk/templates/.claude/skills/moai-domain-devops/SKILL.md +98 -74
  224. moai_adk/templates/.claude/skills/moai-domain-devops/examples.md +29 -0
  225. moai_adk/templates/.claude/skills/moai-domain-devops/reference.md +31 -0
  226. moai_adk/templates/.claude/skills/moai-domain-frontend/SKILL.md +102 -73
  227. moai_adk/templates/.claude/skills/moai-domain-frontend/examples.md +29 -0
  228. moai_adk/templates/.claude/skills/moai-domain-frontend/reference.md +31 -0
  229. moai_adk/templates/.claude/skills/moai-domain-ml/SKILL.md +97 -73
  230. moai_adk/templates/.claude/skills/moai-domain-ml/examples.md +29 -0
  231. moai_adk/templates/.claude/skills/moai-domain-ml/reference.md +30 -0
  232. moai_adk/templates/.claude/skills/moai-domain-mobile-app/SKILL.md +97 -67
  233. moai_adk/templates/.claude/skills/moai-domain-mobile-app/examples.md +29 -0
  234. moai_adk/templates/.claude/skills/moai-domain-mobile-app/reference.md +30 -0
  235. moai_adk/templates/.claude/skills/moai-domain-security/SKILL.md +97 -79
  236. moai_adk/templates/.claude/skills/moai-domain-security/examples.md +29 -0
  237. moai_adk/templates/.claude/skills/moai-domain-security/reference.md +30 -0
  238. moai_adk/templates/.claude/skills/moai-domain-web-api/SKILL.md +97 -71
  239. moai_adk/templates/.claude/skills/moai-domain-web-api/examples.md +29 -0
  240. moai_adk/templates/.claude/skills/moai-domain-web-api/reference.md +30 -0
  241. moai_adk/templates/.claude/skills/moai-essentials-debug/SKILL.md +265 -64
  242. moai_adk/templates/.claude/skills/moai-essentials-debug/examples.md +1064 -0
  243. moai_adk/templates/.claude/skills/moai-essentials-debug/reference.md +1047 -0
  244. moai_adk/templates/.claude/skills/moai-essentials-perf/SKILL.md +87 -78
  245. moai_adk/templates/.claude/skills/moai-essentials-perf/examples.md +29 -0
  246. moai_adk/templates/.claude/skills/moai-essentials-perf/reference.md +28 -0
  247. moai_adk/templates/.claude/skills/moai-essentials-refactor/SKILL.md +87 -70
  248. moai_adk/templates/.claude/skills/moai-essentials-refactor/examples.md +29 -0
  249. moai_adk/templates/.claude/skills/moai-essentials-refactor/reference.md +28 -0
  250. moai_adk/templates/.claude/skills/moai-essentials-review/SKILL.md +87 -86
  251. moai_adk/templates/.claude/skills/moai-essentials-review/examples.md +29 -0
  252. moai_adk/templates/.claude/skills/moai-essentials-review/reference.md +28 -0
  253. moai_adk/templates/.claude/skills/moai-foundation-ears/SKILL.md +80 -62
  254. moai_adk/templates/.claude/skills/moai-foundation-ears/examples.md +29 -0
  255. moai_adk/templates/.claude/skills/moai-foundation-ears/reference.md +28 -0
  256. moai_adk/templates/.claude/skills/moai-foundation-git/SKILL.md +207 -50
  257. moai_adk/templates/.claude/skills/moai-foundation-git/examples.md +29 -0
  258. moai_adk/templates/.claude/skills/moai-foundation-git/reference.md +29 -0
  259. moai_adk/templates/.claude/skills/moai-foundation-langs/SKILL.md +90 -71
  260. moai_adk/templates/.claude/skills/moai-foundation-langs/examples.md +29 -0
  261. moai_adk/templates/.claude/skills/moai-foundation-langs/reference.md +28 -0
  262. moai_adk/templates/.claude/skills/moai-foundation-specs/SKILL.md +78 -58
  263. moai_adk/templates/.claude/skills/moai-foundation-specs/examples.md +29 -0
  264. moai_adk/templates/.claude/skills/moai-foundation-specs/reference.md +28 -0
  265. moai_adk/templates/.claude/skills/moai-foundation-tags/SKILL.md +78 -51
  266. moai_adk/templates/.claude/skills/moai-foundation-tags/examples.md +29 -0
  267. moai_adk/templates/.claude/skills/moai-foundation-tags/reference.md +28 -0
  268. moai_adk/templates/.claude/skills/moai-foundation-trust/.!11330!examples.md +0 -0
  269. moai_adk/templates/.claude/skills/moai-foundation-trust/SKILL.md +253 -32
  270. moai_adk/templates/.claude/skills/moai-foundation-trust/examples.md +0 -0
  271. moai_adk/templates/.claude/skills/moai-foundation-trust/reference.md +1099 -0
  272. moai_adk/templates/.claude/skills/moai-jit-docs-enhanced/SKILL.md +460 -0
  273. moai_adk/templates/.claude/skills/moai-lang-c/SKILL.md +98 -74
  274. moai_adk/templates/.claude/skills/moai-lang-c/examples.md +29 -0
  275. moai_adk/templates/.claude/skills/moai-lang-c/reference.md +31 -0
  276. moai_adk/templates/.claude/skills/moai-lang-cpp/SKILL.md +98 -76
  277. moai_adk/templates/.claude/skills/moai-lang-cpp/examples.md +29 -0
  278. moai_adk/templates/.claude/skills/moai-lang-cpp/reference.md +31 -0
  279. moai_adk/templates/.claude/skills/moai-lang-csharp/SKILL.md +2358 -70
  280. moai_adk/templates/.claude/skills/moai-lang-csharp/examples.md +29 -0
  281. moai_adk/templates/.claude/skills/moai-lang-csharp/reference.md +30 -0
  282. moai_adk/templates/.claude/skills/moai-lang-dart/SKILL.md +2962 -68
  283. moai_adk/templates/.claude/skills/moai-lang-dart/examples.md +29 -0
  284. moai_adk/templates/.claude/skills/moai-lang-dart/reference.md +30 -0
  285. moai_adk/templates/.claude/skills/moai-lang-go/SKILL.md +1898 -70
  286. moai_adk/templates/.claude/skills/moai-lang-go/examples.md +29 -0
  287. moai_adk/templates/.claude/skills/moai-lang-go/reference.md +31 -0
  288. moai_adk/templates/.claude/skills/moai-lang-java/SKILL.md +1465 -68
  289. moai_adk/templates/.claude/skills/moai-lang-java/examples.md +29 -0
  290. moai_adk/templates/.claude/skills/moai-lang-java/reference.md +31 -0
  291. moai_adk/templates/.claude/skills/moai-lang-javascript/SKILL.md +2364 -66
  292. moai_adk/templates/.claude/skills/moai-lang-javascript/examples.md +29 -0
  293. moai_adk/templates/.claude/skills/moai-lang-javascript/reference.md +32 -0
  294. moai_adk/templates/.claude/skills/moai-lang-kotlin/SKILL.md +1630 -69
  295. moai_adk/templates/.claude/skills/moai-lang-kotlin/examples.md +29 -0
  296. moai_adk/templates/.claude/skills/moai-lang-kotlin/reference.md +31 -0
  297. moai_adk/templates/.claude/skills/moai-lang-php/SKILL.md +89 -61
  298. moai_adk/templates/.claude/skills/moai-lang-php/examples.md +29 -0
  299. moai_adk/templates/.claude/skills/moai-lang-php/reference.md +30 -0
  300. moai_adk/templates/.claude/skills/moai-lang-python/SKILL.md +735 -66
  301. moai_adk/templates/.claude/skills/moai-lang-python/examples.md +624 -0
  302. moai_adk/templates/.claude/skills/moai-lang-python/reference.md +316 -0
  303. moai_adk/templates/.claude/skills/moai-lang-r/SKILL.md +97 -73
  304. moai_adk/templates/.claude/skills/moai-lang-r/examples.md +29 -0
  305. moai_adk/templates/.claude/skills/moai-lang-r/reference.md +30 -0
  306. moai_adk/templates/.claude/skills/moai-lang-ruby/SKILL.md +98 -73
  307. moai_adk/templates/.claude/skills/moai-lang-ruby/examples.md +29 -0
  308. moai_adk/templates/.claude/skills/moai-lang-ruby/reference.md +31 -0
  309. moai_adk/templates/.claude/skills/moai-lang-rust/SKILL.md +1834 -70
  310. moai_adk/templates/.claude/skills/moai-lang-rust/examples.md +29 -0
  311. moai_adk/templates/.claude/skills/moai-lang-rust/reference.md +31 -0
  312. moai_adk/templates/.claude/skills/moai-lang-scala/SKILL.md +99 -74
  313. moai_adk/templates/.claude/skills/moai-lang-scala/examples.md +29 -0
  314. moai_adk/templates/.claude/skills/moai-lang-scala/reference.md +30 -0
  315. moai_adk/templates/.claude/skills/moai-lang-shell/SKILL.md +97 -74
  316. moai_adk/templates/.claude/skills/moai-lang-shell/examples.md +29 -0
  317. moai_adk/templates/.claude/skills/moai-lang-shell/reference.md +30 -0
  318. moai_adk/templates/.claude/skills/moai-lang-sql/SKILL.md +98 -74
  319. moai_adk/templates/.claude/skills/moai-lang-sql/examples.md +29 -0
  320. moai_adk/templates/.claude/skills/moai-lang-sql/reference.md +31 -0
  321. moai_adk/templates/.claude/skills/moai-lang-swift/SKILL.md +1959 -69
  322. moai_adk/templates/.claude/skills/moai-lang-swift/examples.md +29 -0
  323. moai_adk/templates/.claude/skills/moai-lang-swift/reference.md +30 -0
  324. moai_adk/templates/.claude/skills/moai-lang-template/SKILL.md +348 -0
  325. moai_adk/templates/.claude/skills/moai-lang-template/VARIABLES.md +98 -0
  326. moai_adk/templates/.claude/skills/moai-lang-typescript/SKILL.md +1230 -66
  327. moai_adk/templates/.claude/skills/moai-lang-typescript/examples.md +29 -0
  328. moai_adk/templates/.claude/skills/moai-lang-typescript/reference.md +34 -0
  329. moai_adk/templates/.claude/skills/moai-learning-optimizer/SKILL.md +575 -0
  330. moai_adk/templates/.claude/skills/moai-project-batch-questions/README.md +50 -0
  331. moai_adk/templates/.claude/skills/moai-project-batch-questions/SKILL.md +304 -0
  332. moai_adk/templates/.claude/skills/moai-project-batch-questions/examples.md +417 -0
  333. moai_adk/templates/.claude/skills/moai-project-batch-questions/reference.md +704 -0
  334. moai_adk/templates/.claude/skills/moai-project-config-manager/README.md +87 -0
  335. moai_adk/templates/.claude/skills/moai-project-config-manager/SKILL.md +552 -0
  336. moai_adk/templates/.claude/skills/moai-project-config-manager/examples.md +1109 -0
  337. moai_adk/templates/.claude/skills/moai-project-config-manager/reference.md +514 -0
  338. moai_adk/templates/.claude/skills/moai-project-config-manager/validate.py +106 -0
  339. moai_adk/templates/.claude/skills/moai-project-documentation/README.md +11 -0
  340. moai_adk/templates/.claude/skills/moai-project-documentation/SKILL.md +622 -0
  341. moai_adk/templates/.claude/skills/moai-project-documentation/examples.md +20 -0
  342. moai_adk/templates/.claude/skills/moai-project-documentation/reference.md +12 -0
  343. moai_adk/templates/.claude/skills/moai-project-language-initializer/README.md +152 -0
  344. moai_adk/templates/.claude/skills/moai-project-language-initializer/SKILL.md +285 -0
  345. moai_adk/templates/.claude/skills/moai-project-language-initializer/examples.md +333 -0
  346. moai_adk/templates/.claude/skills/moai-project-language-initializer/reference.md +386 -0
  347. moai_adk/templates/.claude/skills/moai-project-template-optimizer/README.md +49 -0
  348. moai_adk/templates/.claude/skills/moai-project-template-optimizer/SKILL.md +319 -0
  349. moai_adk/templates/.claude/skills/moai-project-template-optimizer/examples.md +58 -0
  350. moai_adk/templates/.claude/skills/moai-project-template-optimizer/reference.md +123 -0
  351. moai_adk/templates/.claude/skills/moai-session-info/SKILL.md +314 -0
  352. moai_adk/templates/.claude/skills/moai-streaming-ui/SKILL.md +552 -0
  353. moai_adk/templates/.claude/skills/moai-tag-policy-validator/SKILL.md +570 -0
  354. moai_adk/templates/.git-hooks/pre-commit +66 -0
  355. moai_adk/templates/.git-hooks/pre-push +255 -0
  356. moai_adk/templates/.github/workflows/c-tag-validation.yml +11 -0
  357. moai_adk/templates/.github/workflows/cpp-tag-validation.yml +11 -0
  358. moai_adk/templates/.github/workflows/csharp-tag-validation.yml +11 -0
  359. moai_adk/templates/.github/workflows/dart-tag-validation.yml +11 -0
  360. moai_adk/templates/.github/workflows/go-tag-validation.yml +130 -0
  361. moai_adk/templates/.github/workflows/java-tag-validation.yml +11 -0
  362. moai_adk/templates/.github/workflows/javascript-tag-validation.yml +135 -0
  363. moai_adk/templates/.github/workflows/kotlin-tag-validation.yml +11 -0
  364. moai_adk/templates/.github/workflows/moai-gitflow.yml +166 -3
  365. moai_adk/templates/.github/workflows/moai-release-create.yml +100 -0
  366. moai_adk/templates/.github/workflows/moai-release-pipeline.yml +188 -0
  367. moai_adk/templates/.github/workflows/php-tag-validation.yml +11 -0
  368. moai_adk/templates/.github/workflows/python-tag-validation.yml +118 -0
  369. moai_adk/templates/.github/workflows/release.yml +118 -0
  370. moai_adk/templates/.github/workflows/ruby-tag-validation.yml +11 -0
  371. moai_adk/templates/.github/workflows/rust-tag-validation.yml +11 -0
  372. moai_adk/templates/.github/workflows/shell-tag-validation.yml +11 -0
  373. moai_adk/templates/.github/workflows/spec-issue-sync.yml +338 -0
  374. moai_adk/templates/.github/workflows/swift-tag-validation.yml +11 -0
  375. moai_adk/templates/.github/workflows/tag-report.yml +269 -0
  376. moai_adk/templates/.github/workflows/tag-validation.yml +186 -0
  377. moai_adk/templates/.github/workflows/typescript-tag-validation.yml +154 -0
  378. moai_adk/templates/.mcp.json +31 -0
  379. moai_adk/templates/.moai/config.json +80 -7
  380. moai_adk/templates/CLAUDE.md +562 -546
  381. moai_adk/utils/banner.py +5 -5
  382. moai_adk/utils/common.py +294 -0
  383. moai_adk/utils/link_validator.py +235 -0
  384. moai_adk/utils/logger.py +8 -8
  385. moai_adk/utils/user_experience.py +451 -0
  386. moai_adk-0.20.1.dist-info/METADATA +233 -0
  387. moai_adk-0.20.1.dist-info/RECORD +404 -0
  388. moai_adk/templates/.claude/hooks/alfred/README.md +0 -230
  389. moai_adk/templates/.claude/hooks/alfred/alfred_hooks.py +0 -156
  390. moai_adk/templates/.claude/hooks/alfred/core/__init__.py +0 -85
  391. moai_adk/templates/.claude/hooks/alfred/handlers/notification.py +0 -25
  392. moai_adk/templates/.claude/hooks/alfred/handlers/session.py +0 -92
  393. moai_adk/templates/.claude/hooks/alfred/handlers/tool.py +0 -70
  394. moai_adk/templates/.claude/hooks/alfred/handlers/user.py +0 -41
  395. moai_adk/templates/.claude/output-styles/alfred/agentic-coding.md +0 -636
  396. moai_adk/templates/.claude/output-styles/alfred/moai-adk-learning.md +0 -692
  397. moai_adk/templates/.claude/output-styles/alfred/study-with-alfred.md +0 -470
  398. moai_adk/templates/.claude/skills/moai-alfred-debugger-pro/SKILL.md +0 -103
  399. moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/SKILL.md +0 -103
  400. moai_adk/templates/.claude/skills/moai-alfred-git-workflow/SKILL.md +0 -95
  401. moai_adk/templates/.claude/skills/moai-alfred-performance-optimizer/SKILL.md +0 -105
  402. moai_adk/templates/.claude/skills/moai-alfred-refactoring-coach/SKILL.md +0 -97
  403. moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/SKILL.md +0 -97
  404. moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/SKILL.md +0 -90
  405. moai_adk/templates/.claude/skills/moai-alfred-trust-validation/SKILL.md +0 -99
  406. moai_adk/templates/.claude/skills/moai-alfred-tui-survey/SKILL.md +0 -87
  407. moai_adk/templates/.claude/skills/moai-alfred-tui-survey/examples.md +0 -62
  408. moai_adk/templates/.claude/skills/moai-claude-code/SKILL.md +0 -94
  409. moai_adk/templates/.claude/skills/moai-claude-code/examples.md +0 -513
  410. moai_adk/templates/.claude/skills/moai-claude-code/reference.md +0 -433
  411. moai_adk/templates/.claude/skills/moai-claude-code/templates/agent-full.md +0 -332
  412. moai_adk/templates/.claude/skills/moai-claude-code/templates/command-full.md +0 -384
  413. moai_adk/templates/.claude/skills/moai-claude-code/templates/plugin-full.json +0 -363
  414. moai_adk/templates/.claude/skills/moai-claude-code/templates/settings-full.json +0 -595
  415. moai_adk/templates/.claude/skills/moai-claude-code/templates/skill-full.md +0 -496
  416. moai_adk/templates/.claude/skills/moai-lang-clojure/SKILL.md +0 -100
  417. moai_adk/templates/.claude/skills/moai-lang-elixir/SKILL.md +0 -99
  418. moai_adk/templates/.claude/skills/moai-lang-haskell/SKILL.md +0 -100
  419. moai_adk/templates/.claude/skills/moai-lang-julia/SKILL.md +0 -98
  420. moai_adk/templates/.claude/skills/moai-lang-lua/SKILL.md +0 -98
  421. moai_adk/templates/.github/PULL_REQUEST_TEMPLATE.md +0 -69
  422. moai_adk/templates/.moai/memory/development-guide.md +0 -344
  423. moai_adk/templates/.moai/memory/gitflow-protection-policy.md +0 -220
  424. moai_adk/templates/.moai/memory/spec-metadata.md +0 -356
  425. moai_adk/templates/.moai/project/product.md +0 -161
  426. moai_adk/templates/.moai/project/structure.md +0 -156
  427. moai_adk/templates/.moai/project/tech.md +0 -227
  428. moai_adk/templates/__init__.py +0 -2
  429. moai_adk-0.4.5.dist-info/METADATA +0 -369
  430. moai_adk-0.4.5.dist-info/RECORD +0 -152
  431. {moai_adk-0.4.5.dist-info → moai_adk-0.20.1.dist-info}/WHEEL +0 -0
  432. {moai_adk-0.4.5.dist-info → moai_adk-0.20.1.dist-info}/entry_points.txt +0 -0
  433. {moai_adk-0.4.5.dist-info → moai_adk-0.20.1.dist-info}/licenses/LICENSE +0 -0
@@ -1,227 +0,0 @@
1
- ---
2
- id: TECH-001
3
- version: 0.1.1
4
- status: active
5
- created: 2025-10-01
6
- updated: 2025-10-17
7
- author: @tech-lead
8
- priority: medium
9
- ---
10
-
11
- # {{PROJECT_NAME}} Technology Stack
12
-
13
- ## HISTORY
14
-
15
- ### v0.1.1 (2025-10-17)
16
- - **UPDATED**: Template version synced (v0.3.8)
17
- - **AUTHOR**: @Alfred
18
- - **SECTIONS**: Metadata standardization (single `author` field, added `priority`)
19
-
20
- ### v0.1.0 (2025-10-01)
21
- - **INITIAL**: Authored the technology stack document
22
- - **AUTHOR**: @tech-lead
23
- - **SECTIONS**: Stack, Framework, Quality, Security, Deploy
24
-
25
- ---
26
-
27
- ## @DOC:STACK-001 Languages & Runtimes
28
-
29
- ### Primary Language
30
-
31
- - **Language**: [Chosen primary language]
32
- - **Version Range**: [Supported versions]
33
- - **Rationale**: [Justification and trade-offs]
34
- - **Package Manager**: [Tool used to manage dependencies]
35
-
36
- ### Multi-Platform Support
37
-
38
- | Platform | Support Level | Validation Tooling | Key Constraints |
39
- | ----------- | ------------- | ------------------- | --------------- |
40
- | **Windows** | [Supported?] | [Validation method] | [Constraints] |
41
- | **macOS** | [Supported?] | [Validation method] | [Constraints] |
42
- | **Linux** | [Supported?] | [Validation method] | [Constraints] |
43
-
44
- ## @DOC:FRAMEWORK-001 Core Frameworks & Libraries
45
-
46
- ### 1. Runtime Dependencies
47
-
48
- ```json
49
- {
50
- "dependencies": {
51
- "[library1]": "[version]",
52
- "[library2]": "[version]",
53
- "[library3]": "[version]"
54
- }
55
- }
56
- ```
57
-
58
- ### 2. Development Tooling
59
-
60
- ```json
61
- {
62
- "devDependencies": {
63
- "[dev-tool1]": "[version]",
64
- "[dev-tool2]": "[version]",
65
- "[dev-tool3]": "[version]"
66
- }
67
- }
68
- ```
69
-
70
- ### 3. Build System
71
-
72
- - **Build Tool**: [Selected build tool]
73
- - **Bundling**: [Bundler and configuration]
74
- - **Targets**: [Build targets such as browser, Node.js, etc.]
75
- - **Performance Goals**: [Desired build duration]
76
-
77
- ## @DOC:QUALITY-001 Quality Gates & Policies
78
-
79
- ### Test Coverage
80
-
81
- - **Target**: [Coverage percentage goal]
82
- - **Measurement Tool**: [Tooling used]
83
- - **Failure Response**: [Actions when coverage falls short]
84
-
85
- ### Static Analysis
86
-
87
- | Tool | Role | Config File | Failure Handling |
88
- | -------------- | --------- | ------------- | ---------------- |
89
- | [linter] | [Purpose] | [config file] | [Action] |
90
- | [formatter] | [Purpose] | [config file] | [Action] |
91
- | [type-checker] | [Purpose] | [config file] | [Action] |
92
-
93
- ### Automation Scripts
94
-
95
- ```bash
96
- # Quality gate pipeline
97
- [test-command] # Run tests
98
- [lint-command] # Enforce code quality
99
- [type-check-command] # Validate types
100
- [build-command] # Verify builds
101
- ```
102
-
103
- ## @DOC:SECURITY-001 Security Policy & Operations
104
-
105
- ### Secret Management
106
-
107
- - **Policy**: [Approach to handling secrets]
108
- - **Tooling**: [Services or tools in use]
109
- - **Verification**: [Automation to validate compliance]
110
-
111
- ### Dependency Security
112
-
113
- ```json
114
- {
115
- "security": {
116
- "audit_tool": "[security-audit-tool]",
117
- "update_policy": "[update-policy]",
118
- "vulnerability_threshold": "[allowed-threshold]"
119
- }
120
- }
121
- ```
122
-
123
- ### Logging Policy
124
-
125
- - **Log Levels**: [Define log levels]
126
- - **Sensitive Data Masking**: [Masking rules]
127
- - **Retention Policy**: [Log retention period]
128
-
129
- ## @DOC:DEPLOY-001 Release Channels & Strategy
130
-
131
- ### 1. Distribution Channels
132
-
133
- - **Primary Channel**: [Main release path]
134
- - **Release Procedure**: [Deployment process]
135
- - **Versioning Policy**: [Version management strategy]
136
- - **Rollback Strategy**: [Rollback plan]
137
-
138
- ### 2. Developer Setup
139
-
140
- ```bash
141
- # Developer mode setup
142
- [local-install-command]
143
- [dependency-install-command]
144
- [dev-environment-command]
145
- ```
146
-
147
- ### 3. CI/CD Pipeline
148
-
149
- | Stage | Objective | Tooling | Success Criteria |
150
- | --------- | ----------- | ------- | ---------------- |
151
- | [Stage 1] | [Objective] | [Tool] | [Condition] |
152
- | [Stage 2] | [Objective] | [Tool] | [Condition] |
153
- | [Stage 3] | [Objective] | [Tool] | [Condition] |
154
-
155
- ## Environment Profiles
156
-
157
- ### Development (`dev`)
158
-
159
- ```bash
160
- export PROJECT_MODE=development
161
- export LOG_LEVEL=debug
162
- [dev-env-command]
163
- ```
164
-
165
- ### Test (`test`)
166
-
167
- ```bash
168
- export PROJECT_MODE=test
169
- export LOG_LEVEL=info
170
- [test-env-command]
171
- ```
172
-
173
- ### Production (`production`)
174
-
175
- ```bash
176
- export PROJECT_MODE=production
177
- export LOG_LEVEL=warning
178
- [prod-env-command]
179
- ```
180
-
181
- ## @CODE:TECH-DEBT-001 Technical Debt Management
182
-
183
- ### Current Debt
184
-
185
- 1. **[debt-item-1]** – [Description and priority]
186
- 2. **[debt-item-2]** – [Description and priority]
187
- 3. **[debt-item-3]** – [Description and priority]
188
-
189
- ### Remediation Plan
190
-
191
- - **Short term (1 month)**: [Immediate fixes]
192
- - **Mid term (3 months)**: [Progressive improvements]
193
- - **Long term (6+ months)**: [Strategic upgrades]
194
-
195
- ## EARS Technical Requirements Guide
196
-
197
- ### Using EARS for the Stack
198
-
199
- Apply EARS patterns when documenting technical decisions and quality gates:
200
-
201
- #### Technology Stack EARS Example
202
- ```markdown
203
- ### Ubiquitous Requirements (Baseline)
204
- - The system shall guarantee TypeScript type safety.
205
- - The system shall provide cross-platform compatibility.
206
-
207
- ### Event-driven Requirements
208
- - WHEN code is committed, the system shall run tests automatically.
209
- - WHEN a build fails, the system shall notify developers immediately.
210
-
211
- ### State-driven Requirements
212
- - WHILE in development mode, the system shall offer hot reloading.
213
- - WHILE in production mode, the system shall produce optimized builds.
214
-
215
- ### Optional Features
216
- - WHERE Docker is available, the system may support container-based deployment.
217
- - WHERE CI/CD is configured, the system may execute automated deployments.
218
-
219
- ### Constraints
220
- - IF a dependency vulnerability is detected, the system shall halt the build.
221
- - Test coverage shall remain at or above 85%.
222
- - Build time shall not exceed 5 minutes.
223
- ```
224
-
225
- ---
226
-
227
- _This technology stack guides tool selection and quality gates when `/alfred:2-run` runs._
@@ -1,2 +0,0 @@
1
- # @CODE:TEST-INTEGRATION-001 | SPEC: SPEC-TEST-INTEGRATION-001/spec.md
2
- """MoAI-ADK Templates Package"""
@@ -1,369 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: moai-adk
3
- Version: 0.4.5
4
- Summary: MoAI Agentic Development Kit - SPEC-First TDD with Alfred SuperAgent
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.13
18
- Classifier: Topic :: Software Development :: Libraries :: Python Modules
19
- Classifier: Topic :: Software Development :: Quality Assurance
20
- Classifier: Topic :: Software Development :: Testing
21
- Requires-Python: >=3.13
22
- Requires-Dist: click>=8.1.0
23
- Requires-Dist: gitpython>=3.1.45
24
- Requires-Dist: packaging>=21.0
25
- Requires-Dist: pyfiglet>=1.0.2
26
- Requires-Dist: questionary>=2.0.0
27
- Requires-Dist: rich>=13.0.0
28
- Provides-Extra: dev
29
- Requires-Dist: mypy>=1.7.0; extra == 'dev'
30
- Requires-Dist: pytest-cov>=7.0.0; extra == 'dev'
31
- Requires-Dist: pytest-xdist>=3.8.0; extra == 'dev'
32
- Requires-Dist: pytest>=8.4.2; extra == 'dev'
33
- Requires-Dist: ruff>=0.1.0; extra == 'dev'
34
- Requires-Dist: types-pyyaml>=6.0.0; extra == 'dev'
35
- Provides-Extra: security
36
- Requires-Dist: bandit>=1.8.0; extra == 'security'
37
- Requires-Dist: pip-audit>=2.7.0; extra == 'security'
38
- Description-Content-Type: text/markdown
39
-
40
- # MoAI-ADK (Agentic Development Kit)
41
-
42
- [한국어](README.md) | [English](README.en.md) | [ไทย](README.th.md) | [日本語](README.ja.md) | [中文](README.zh.md) | [हिन्दी](README.hi.md)
43
-
44
- [![PyPI version](https://img.shields.io/pypi/v/moai-adk)](https://pypi.org/project/moai-adk/)
45
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
46
- [![Python](https://img.shields.io/badge/Python-3.13+-blue)](https://www.python.org/)
47
- [![Tests](https://github.com/modu-ai/moai-adk/actions/workflows/moai-gitflow.yml/badge.svg)](https://github.com/modu-ai/moai-adk/actions/workflows/moai-gitflow.yml)
48
- [![codecov](https://codecov.io/gh/modu-ai/moai-adk/branch/develop/graph/badge.svg)](https://codecov.io/gh/modu-ai/moai-adk)
49
- [![Coverage](https://img.shields.io/badge/coverage-87.66%25-brightgreen)](https://github.com/modu-ai/moai-adk)
50
-
51
- > **MoAI-ADK는 AI와 함께 명세(SPEC) → 테스트(TDD) → 코드 → 문서를 자연스럽게 잇는 개발 워크플로우를 제공합니다.**
52
-
53
- ---
54
-
55
- ## 1. MoAI-ADK 한눈에 보기
56
-
57
- | 질문 | 바로 보기 |
58
- | --- | --- |
59
- | 처음 접했는데 무엇인가요? | [MoAI-ADK란?](#moai-adk란) |
60
- | 어떻게 시작하나요? | [5분 Quick Start](#5-분-quick-start) |
61
- | 기본 흐름이 궁금해요 | [기본 워크플로우 (0 → 3)](#기본-워크플로우-0--3) |
62
- | Plan / Run / Sync 명령은 무엇을 하나요? | [핵심 명령 요약](#핵심-명령-요약) |
63
- | SPEC·TDD·TAG가 뭐죠? | [핵심 개념 쉽게 이해하기](#핵심-개념-쉽게-이해하기) |
64
- | 에이전트/Skills가 궁금해요 | [Sub-agent & Skills 개요](#sub-agent--skills-개요) |
65
- | 더 깊이 공부하고 싶어요 | [추가 자료](#추가-자료) |
66
-
67
- ---
68
-
69
- ## MoAI-ADK란?
70
-
71
- MoAI-ADK(MoAI Agentic Development Kit)는 **AI가 개발 과정 전체를 도와주는 오픈소스 툴킷**입니다. “먼저 SPEC(요구사항 명세)을 만들고, 테스트(TDD)로 확인한 뒤, 문서와 코드가 항상 동기화된다”는 원칙을 Alfred SuperAgent가 대신 지켜 줍니다.
72
-
73
- 입문자라도 다음 세 가지만 기억하면 됩니다.
74
-
75
- 1. **무엇을 만들지(SPEC)** 먼저 말한다.
76
- 2. **테스트 먼저 작성(TDD)** 후 코드를 채운다.
77
- 3. **문서/README/CHANGELOG**까지 자동으로 맞춰 둔다.
78
-
79
- 이 과정을 `/alfred` 명령 네 가지로 반복하면 전체 프로젝트가 일관되게 정리됩니다.
80
-
81
- ---
82
-
83
- ## 왜 필요한가요?
84
-
85
- | 고민 | MoAI-ADK가 도와주는 방법 |
86
- | --- | --- |
87
- | “AI가 만든 코드를 믿기 어렵다” | 명세 → 테스트 → 구현 → 문서가 한 TAG 체인으로 연결됩니다. |
88
- | “프로젝트 전체 맥락이 없어서 같은 질문을 반복한다” | Alfred가 핵심 문서와 히스토리를 기억하고 다시 안내합니다. |
89
- | “프롬프트 작성이 어렵다” | `/alfred` 명령과 준비된 Skills가 표준화된 프롬프트를 대신 제공합니다. |
90
- | “문서와 코드가 따로 놀아요” | `/alfred:3-sync`가 README/CHANGELOG/Living Doc을 자동으로 맞춥니다. |
91
-
92
- ---
93
-
94
- ## 5-분 Quick Start
95
-
96
- ```bash
97
- # 1. (선택) uv 설치 — pip보다 훨씬 빠른 Python 패키지 관리자
98
- curl -LsSf https://astral.sh/uv/install.sh | sh
99
-
100
- # 2. MoAI-ADK 설치 (tool 모드: 전역-격리 실행)
101
- uv tool install moai-adk
102
-
103
- # 3. 새 프로젝트 시작
104
- moai-adk init my-project
105
- cd my-project
106
-
107
- # 4. Claude Code(또는 CLI)에서 Alfred 호출
108
- claude # Claude Code 실행 후 아래 명령 사용
109
- /alfred:0-project "프로젝트 이름"
110
- ```
111
-
112
- > 🔍 확인용 명령: `moai-adk doctor` — Python/uv 버전, `.moai/` 구조, 에이전트/Skills 구성이 모두 준비됐는지 점검합니다.
113
-
114
- ---
115
-
116
- ## MoAI-ADK 최신 버전 유지하기
117
-
118
- ### 버전 확인
119
- ```bash
120
- # 현재 설치된 버전 확인
121
- moai-adk --version
122
-
123
- # PyPI에서 최신 버전 확인
124
- uv tool list # moai-adk의 현재 버전 확인
125
- ```
126
-
127
- ### 업그레이드 하기
128
-
129
- #### 방법 1: moai-adk 자체 업데이트 명령어 (가장 간단)
130
- ```bash
131
- # MoAI-ADK 자체 업데이트 명령어 - 에이전트/Skills 템플릿도 함께 업데이트
132
- moai-adk update
133
-
134
- # 업데이트 후 프로젝트에 새 템플릿 적용 (선택)
135
- moai-adk init .
136
- ```
137
-
138
- #### 방법 2: uv tool 명령어로 업그레이드
139
-
140
- **특정 도구만 업그레이드 (권장)**
141
- ```bash
142
- # moai-adk만 최신 버전으로 업그레이드
143
- uv tool upgrade moai-adk
144
- ```
145
-
146
- **모든 설치된 도구 업그레이드**
147
- ```bash
148
- # 모든 uv tool 도구를 최신 버전으로 업그레이트
149
- uv tool update
150
- ```
151
-
152
- **특정 버전으로 설치**
153
- ```bash
154
- # 특정 버전으로 재설치 (예: 0.4.2)
155
- uv tool install moai-adk==0.4.2
156
- ```
157
-
158
- ### 업데이트 후 확인
159
- ```bash
160
- # 1. 설치된 버전 확인
161
- moai-adk --version
162
-
163
- # 2. 프로젝트 정상 작동 확인
164
- moai-adk doctor
165
-
166
- # 3. 기존 프로젝트에 새 템플릿 적용 (필요한 경우)
167
- cd your-project
168
- moai-adk init . # 기존 코드는 유지, .moai/ 구조와 템플릿만 업데이트
169
-
170
- # 4. Alfred에서 업데이트된 기능 확인
171
- cd your-project
172
- claude
173
- /alfred:0-project # 새로운 언어 선택 기능 등을 확인
174
- ```
175
-
176
- > 💡 **Tip**:
177
- > - `moai-adk update`: MoAI-ADK 패키지 버전 업데이트 + 에이전트/Skills 템플릿 동기화
178
- > - `moai-adk init .`: 기존 프로젝트에 새 템플릿 적용 (코드는 안전하게 유지)
179
- > - 두 명령을 함께 실행하면 완전한 업데이트가 완료됩니다.
180
- > - 주요 업데이트(minor/major)가 나오면 위 절차를 실행하여 새로운 에이전트/Skills를 활용할 수 있습니다.
181
-
182
- ---
183
-
184
- ## 기본 워크플로우 (0 → 3)
185
-
186
- Alfred는 네 개의 명령으로 프로젝트를 반복 개발합니다.
187
-
188
- ```mermaid
189
- %%{init: {'theme':'neutral'}}%%
190
- graph TD
191
- Start([사용자 요청]) --> Init[0. Init<br/>/alfred:0-project]
192
- Init --> Plan[1. Plan & SPEC<br/>/alfred:1-plan]
193
- Plan --> Run[2. Run & TDD<br/>/alfred:2-run]
194
- Run --> Sync[3. Sync & Docs<br/>/alfred:3-sync]
195
- Sync --> Plan
196
- Sync -.-> End([릴리스])
197
- ```
198
-
199
- ### 0. INIT — 프로젝트 준비
200
- - 프로젝트 소개, 타깃, 언어, 모드(locale) 질문
201
- - `.moai/config.json`, `.moai/project/*` 문서 5종 자동 생성
202
- - 언어 감지 및 추천 Skill Pack 배치 (Foundation + Essentials + Domain/Language)
203
- - 템플릿 정리, 초깃 Git/백업 체크
204
-
205
- ### 1. PLAN — 무엇을 만들지 합의
206
- - EARS 템플릿으로 SPEC 작성 (`@SPEC:ID` 포함)
207
- - Plan Board, 구현 아이디어, 위험 요소 정리
208
- - Team 모드라면 브랜치/초기 Draft PR 자동 생성
209
-
210
- ### 2. RUN — 테스트 주도 개발(TDD)
211
- - Phase 1 `implementation-planner`: 라이브러리, 폴더, TAG 설계
212
- - Phase 2 `tdd-implementer`: RED(실패 테스트) → GREEN(최소 구현) → REFACTOR(정리)
213
- - quality-gate가 TRUST 5 원칙, 커버리지 변화를 검증
214
-
215
- ### 3. SYNC — 문서 & PR 정리
216
- - Living Document, README, CHANGELOG 등 문서 동기화
217
- - TAG 체인 검증 및 orphan TAG 복구
218
- - Sync Report 생성, Draft → Ready for Review 전환, `--auto-merge` 옵션 지원
219
-
220
- ---
221
-
222
- ## 핵심 명령 요약
223
-
224
- | 명령 | 무엇을 하나요? | 대표 산출물 |
225
- | --- | --- | --- |
226
- | `/alfred:0-project` | 프로젝트 설명 수집, 설정·문서 생성, Skill 추천 | `.moai/config.json`, `.moai/project/*`, 초기 보고서 |
227
- | `/alfred:1-plan <설명>` | 요구사항 분석, SPEC 초안, Plan Board 작성 | `.moai/specs/SPEC-*/spec.md`, plan/acceptance 문서, feature 브랜치 |
228
- | `/alfred:2-run <SPEC-ID>` | TDD 실행, 테스트/구현/리팩토링, 품질 검증 | `tests/`, `src/` 구현, 품질 리포트, TAG 연결 |
229
- | `/alfred:3-sync` | 문서/README/CHANGELOG 동기화, TAG/PR 상태 정리 | `docs/`, `.moai/reports/sync-report.md`, Ready PR |
230
-
231
- > ❗ 모든 명령은 **Phase 0(선택) → Phase 1 → Phase 2 → Phase 3** 순환 구조를 유지합니다. 실행 중 상태와 다음 단계 제안은 Alfred가 자동으로 보고합니다.
232
-
233
- ---
234
-
235
- ## 핵심 개념 쉽게 이해하기
236
-
237
- ### SPEC-First (요구사항 먼저)
238
- - **왜?** 집을 짓기 전에 설계도가 필요하듯, 구현 전에 무엇을 만들지 정리합니다.
239
- - **어떻게?** `/alfred:1-plan`이 EARS 형식으로 “WHEN… THEN…“ 구조를 갖춘 SPEC을 만들어 줍니다.
240
- - **결과**: `@SPEC:ID` 태그가 있는 문서 + Plan Board + Acceptance 기준.
241
-
242
- ### TDD (Test-Driven Development)
243
- - **RED**: 실패하는 테스트를 먼저 작성합니다.
244
- - **GREEN**: 테스트가 통과하도록 가장 단순한 코드를 작성합니다.
245
- - **REFACTOR**: 코드 구조를 다듬고 중복을 제거합니다.
246
- - `/alfred:2-run`이 이 과정을 자동으로 진행하며 RED/GREEN/REFACTOR 커밋 로그를 남깁니다.
247
-
248
- ### TAG 시스템
249
- - `@SPEC:ID` → `@TEST:ID` → `@CODE:ID` → `@DOC:ID` 순서로 연결됩니다.
250
- - 코드 어디에서든 TAG만 검색하면 관련 SPEC·테스트·문서를 한 번에 추적할 수 있습니다.
251
- - `/alfred:3-sync`가 TAG 인벤토리를 점검하고 orphan TAG를 알려줍니다.
252
-
253
- ### TRUST 5 원칙
254
- 1. **Test First** — 테스트는 항상 먼저 작성
255
- 2. **Readable** — 짧은 함수, 일관된 스타일 유지
256
- 3. **Unified** — 아키텍처와 타입/계약을 일관되게 유지
257
- 4. **Secured** — 입력 검증, 비밀정보 보호, 정적 분석 수행
258
- 5. **Trackable** — TAG, Git 히스토리, 문서가 함께 움직임
259
-
260
- > 더 자세한 규칙은 `.moai/memory/development-guide.md`에서 확인하세요.
261
-
262
- ---
263
-
264
- ## 첫 번째 실습: Todo API 예제
265
-
266
- 1. **Plan**
267
- ```bash
268
- /alfred:1-plan "할 일 추가, 조회, 수정, 삭제 API"
269
- ```
270
- Alfred가 SPEC(`.moai/specs/SPEC-TODO-001/spec.md`)과 plan/acceptance 문서를 만들어 줍니다.
271
-
272
- 2. **Run**
273
- ```bash
274
- /alfred:2-run TODO-001
275
- ```
276
- 테스트(`tests/test_todo_api.py`), 구현(`src/todo/`), 리포트가 자동 생성됩니다.
277
-
278
- 3. **Sync**
279
- ```bash
280
- /alfred:3-sync
281
- ```
282
- `docs/api/todo.md`, TAG 체인, Sync Report가 업데이트됩니다.
283
-
284
- 4. **검증 명령**
285
- ```bash
286
- rg '@(SPEC|TEST|CODE|DOC):TODO-001' -n
287
- pytest tests/test_todo_api.py -v
288
- cat docs/api/todo.md
289
- ```
290
-
291
- > 15분이면 SPEC → TDD → 문서가 모두 연결된 Todo API가 완성됩니다.
292
-
293
- ---
294
-
295
- ## Sub-agent & Skills 개요
296
-
297
- Alfred는 **19명의 팀**(SuperAgent 1 + Core Sub-agent 10 + 0-project Sub-agent 6 + Built-in 2)과 **44개의 Claude Skills**를 조합해 작업합니다.
298
-
299
- ### Core Sub-agents (Plan → Run → Sync)
300
-
301
- | Sub-agent | 모델 | 역할 |
302
- | --- | --- | --- |
303
- | project-manager 📋 | Sonnet | 프로젝트 초기화, 메타데이터 인터뷰 |
304
- | spec-builder 🏗️ | Sonnet | Plan 보드, EARS SPEC 작성 |
305
- | code-builder 💎 | Sonnet | `implementation-planner` + `tdd-implementer`로 TDD 전체 수행 |
306
- | doc-syncer 📖 | Haiku | Living Doc, README, CHANGELOG 동기화 |
307
- | tag-agent 🏷️ | Haiku | TAG 인벤토리, orphan 탐지 |
308
- | git-manager 🚀 | Haiku | GitFlow, Draft/Ready, Auto Merge |
309
- | debug-helper 🔍 | Sonnet | 실패 분석, fix-forward 전략 |
310
- | trust-checker ✅ | Haiku | TRUST 5 품질 게이트 |
311
- | quality-gate 🛡️ | Haiku | 커버리지 변화 및 릴리스 차단 조건 검토 |
312
- | cc-manager 🛠️ | Sonnet | Claude Code 세션 최적화, Skill 배포 |
313
-
314
- ### Skills (Progressive Disclosure)
315
- - **Foundation (6)**: TRUST, TAG, SPEC, EARS, Git, Language 감지
316
- - **Essentials (4)**: Debug, Refactor, Review, Performance
317
- - **Domain (10)**: Backend, Web API, Security, Data, Mobile 등
318
- - **Language (23)**: Python, TypeScript, Go, Rust, Java, Swift 등 주요 언어 패키지
319
- - **Claude Code Ops (1)**: 세션 설정, Output Style 관리
320
-
321
- > Skills는 `.claude/skills/` 디렉터리에 저장된 500단어 이하 가이드입니다. 필요할 때만 로드되어 컨텍스트 비용을 줄입니다.
322
-
323
- ---
324
-
325
- ## AI 모델 선택 가이드
326
-
327
- | 상황 | 기본 모델 | 이유 |
328
- | --- | --- | --- |
329
- | 명세/설계/리팩토링/문제 해결 | **Claude 4.5 Sonnet** | 깊은 추론과 구조화된 작성에 강함 |
330
- | 문서 동기화, TAG 검사, Git 자동화 | **Claude 4.5 Haiku** | 빠른 반복 작업, 문자열 처리에 강함 |
331
-
332
- - 패턴화된 작업은 Haiku로 시작하고, 복잡한 판단이 필요하면 Sonnet으로 전환하세요.
333
- - 수동으로 모델을 변경했다면 “왜 전환했는지” 로그에 남겨두면 협업에 도움이 됩니다.
334
-
335
- ---
336
-
337
- ## 자주 묻는 질문 (FAQ)
338
-
339
- - **Q. 기존 프로젝트에 설치해도 되나요?**
340
- - A. 가능합니다. `moai-adk init .` 을 실행하면 기존 코드를 건드리지 않고 `.moai/` 구조만 추가합니다.
341
- - **Q. 테스트 실행은 어떻게 하나요?**
342
- - A. `/alfred:2-run`이 먼저 실행하고, 필요하면 `pytest`, `pnpm test` 등 언어별 명령을 다시 실행하세요.
343
- - **Q. 문서가 항상 최신인지 확인하는 방법은?**
344
- - A. `/alfred:3-sync`가 Sync Report를 생성합니다. Pull Request에서 보고서를 확인하세요.
345
- - **Q. 수동으로 진행할 수도 있나요?**
346
- - A. 가능하지만, SPEC → TEST → CODE → DOC 순서를 지키고 TAG를 꼭 남겨야 합니다.
347
-
348
- ---
349
-
350
- ## 추가 자료
351
-
352
- | 목적 | 리소스 |
353
- | --- | --- |
354
- | Skills 세부 구조 | `docs/skills/overview.md` 및 Tier별 문서 |
355
- | Sub-agent 상세 | `docs/agents/overview.md` |
356
- | 워크플로우 가이드 | `docs/guides/workflow/` (Plan/Run/Sync) |
357
- | 개발 가드라인 | `.moai/memory/development-guide.md`, `.moai/memory/spec-metadata.md` |
358
- | 업데이트 계획 | `CHANGELOG.md`, `UPDATE-PLAN-0.4.0.md` |
359
-
360
- ---
361
-
362
- ## 커뮤니티 & 지원
363
-
364
- - GitHub Repo: <https://github.com/modu-ai/moai-adk>
365
- - Issues & Discussions: 버그, 기능 요청, 아이디어 공유 환영합니다.
366
- - PyPI: <https://pypi.org/project/moai-adk/>
367
- - 문의: 프로젝트 내 `CONTRIBUTING.md` 가이드를 참고하세요.
368
-
369
- > 🙌 “SPEC 없이는 CODE도 없다” — Alfred와 함께 일관된 AI 개발 문화를 경험해 보세요.