moai-adk 0.15.1__py3-none-any.whl → 0.25.4__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 (417) hide show
  1. moai_adk/__init__.py +1 -2
  2. moai_adk/__main__.py +85 -2
  3. moai_adk/cli/__init__.py +0 -1
  4. moai_adk/cli/commands/__init__.py +0 -1
  5. moai_adk/cli/commands/analyze.py +127 -0
  6. moai_adk/cli/commands/backup.py +5 -3
  7. moai_adk/cli/commands/doctor.py +35 -11
  8. moai_adk/cli/commands/improve_user_experience.py +348 -0
  9. moai_adk/cli/commands/init.py +150 -23
  10. moai_adk/cli/commands/language.py +269 -0
  11. moai_adk/cli/commands/migrate.py +158 -0
  12. moai_adk/cli/commands/status.py +13 -12
  13. moai_adk/cli/commands/update.py +364 -60
  14. moai_adk/cli/commands/validate_links.py +118 -0
  15. moai_adk/cli/main.py +3 -2
  16. moai_adk/cli/prompts/init_prompts.py +79 -82
  17. moai_adk/core/__init__.py +0 -1
  18. moai_adk/core/analysis/__init__.py +9 -0
  19. moai_adk/core/analysis/session_analyzer.py +439 -0
  20. moai_adk/core/claude_integration.py +421 -0
  21. moai_adk/core/command_helpers.py +270 -0
  22. moai_adk/core/config/__init__.py +6 -0
  23. moai_adk/core/config/auto_spec_config.py +346 -0
  24. moai_adk/core/config/migration.py +133 -12
  25. moai_adk/core/context_manager.py +279 -0
  26. moai_adk/core/diagnostics/slash_commands.py +0 -1
  27. moai_adk/core/error_recovery_system.py +1289 -0
  28. moai_adk/core/git/__init__.py +0 -1
  29. moai_adk/core/git/branch.py +0 -1
  30. moai_adk/core/git/branch_manager.py +4 -4
  31. moai_adk/core/git/checkpoint.py +1 -5
  32. moai_adk/core/git/commit.py +0 -1
  33. moai_adk/core/git/event_detector.py +3 -5
  34. moai_adk/core/git/manager.py +0 -1
  35. moai_adk/core/hooks/post_tool_auto_spec_completion.py +925 -0
  36. moai_adk/core/integration/__init__.py +22 -0
  37. moai_adk/core/integration/engine.py +169 -0
  38. moai_adk/core/integration/integration_tester.py +225 -0
  39. moai_adk/core/integration/models.py +88 -0
  40. moai_adk/core/integration/utils.py +211 -0
  41. moai_adk/core/issue_creator.py +28 -18
  42. moai_adk/core/language_config.py +202 -0
  43. moai_adk/core/language_validator.py +556 -0
  44. moai_adk/core/mcp/setup.py +113 -0
  45. moai_adk/core/migration/__init__.py +18 -0
  46. moai_adk/core/migration/backup_manager.py +208 -0
  47. moai_adk/core/migration/file_migrator.py +218 -0
  48. moai_adk/core/migration/version_detector.py +143 -0
  49. moai_adk/core/migration/version_migrator.py +228 -0
  50. moai_adk/core/performance/__init__.py +6 -0
  51. moai_adk/core/performance/cache_system.py +318 -0
  52. moai_adk/core/performance/parallel_processor.py +116 -0
  53. moai_adk/core/project/__init__.py +0 -1
  54. moai_adk/core/project/backup_utils.py +2 -7
  55. moai_adk/core/project/checker.py +3 -3
  56. moai_adk/core/project/detector.py +20 -40
  57. moai_adk/core/project/initializer.py +42 -17
  58. moai_adk/core/project/phase_executor.py +415 -58
  59. moai_adk/core/project/validator.py +6 -25
  60. moai_adk/core/quality/__init__.py +1 -1
  61. moai_adk/core/quality/trust_checker.py +64 -110
  62. moai_adk/core/quality/validators/__init__.py +1 -1
  63. moai_adk/core/quality/validators/base_validator.py +1 -1
  64. moai_adk/core/rollback_manager.py +993 -0
  65. moai_adk/core/session_manager.py +667 -0
  66. moai_adk/core/spec/confidence_scoring.py +749 -0
  67. moai_adk/core/spec/ears_template_engine.py +1182 -0
  68. moai_adk/core/spec/quality_validator.py +721 -0
  69. moai_adk/core/spec_status_manager.py +488 -0
  70. moai_adk/core/template/__init__.py +0 -1
  71. moai_adk/core/template/backup.py +41 -1
  72. moai_adk/core/template/config.py +11 -12
  73. moai_adk/core/template/languages.py +0 -1
  74. moai_adk/core/template/merger.py +79 -22
  75. moai_adk/core/template/processor.py +614 -40
  76. moai_adk/core/template_engine.py +36 -27
  77. moai_adk/foundation/git/commit_templates.py +565 -0
  78. moai_adk/foundation/trust/trust_principles.py +725 -0
  79. moai_adk/foundation/trust/validation_checklist.py +1678 -0
  80. moai_adk/statusline/__init__.py +38 -0
  81. moai_adk/statusline/alfred_detector.py +107 -0
  82. moai_adk/statusline/config.py +364 -0
  83. moai_adk/statusline/enhanced_output_style_detector.py +364 -0
  84. moai_adk/statusline/git_collector.py +190 -0
  85. moai_adk/statusline/main.py +228 -0
  86. moai_adk/statusline/metrics_tracker.py +78 -0
  87. moai_adk/statusline/renderer.py +327 -0
  88. moai_adk/statusline/update_checker.py +135 -0
  89. moai_adk/statusline/version_reader.py +647 -0
  90. moai_adk/templates/.git-hooks/pre-commit +66 -0
  91. moai_adk/templates/.git-hooks/pre-push +116 -4
  92. moai_adk/templates/.github/workflows/moai-gitflow.yml +1 -7
  93. moai_adk/templates/.github/workflows/spec-issue-sync.yml +0 -1
  94. moai_adk/templates/.gitignore +44 -0
  95. moai_adk/templates/.mcp.json +22 -0
  96. moai_adk/templates/CLAUDE.md +450 -1071
  97. moai_adk/utils/__init__.py +0 -1
  98. moai_adk/utils/banner.py +0 -1
  99. moai_adk/utils/common.py +308 -0
  100. moai_adk/utils/link_validator.py +249 -0
  101. moai_adk/utils/logger.py +4 -9
  102. moai_adk/utils/safe_file_reader.py +210 -0
  103. moai_adk/utils/user_experience.py +531 -0
  104. moai_adk-0.25.4.dist-info/METADATA +2279 -0
  105. moai_adk-0.25.4.dist-info/RECORD +112 -0
  106. moai_adk/core/tags/__init__.py +0 -86
  107. moai_adk/core/tags/ci_validator.py +0 -463
  108. moai_adk/core/tags/cli.py +0 -283
  109. moai_adk/core/tags/generator.py +0 -109
  110. moai_adk/core/tags/inserter.py +0 -99
  111. moai_adk/core/tags/mapper.py +0 -126
  112. moai_adk/core/tags/parser.py +0 -76
  113. moai_adk/core/tags/pre_commit_validator.py +0 -393
  114. moai_adk/core/tags/reporter.py +0 -956
  115. moai_adk/core/tags/tags.py +0 -149
  116. moai_adk/core/tags/validator.py +0 -897
  117. moai_adk/templates/.claude/agents/alfred/backend-expert.md +0 -319
  118. moai_adk/templates/.claude/agents/alfred/cc-manager.md +0 -316
  119. moai_adk/templates/.claude/agents/alfred/debug-helper.md +0 -208
  120. moai_adk/templates/.claude/agents/alfred/devops-expert.md +0 -464
  121. moai_adk/templates/.claude/agents/alfred/doc-syncer.md +0 -214
  122. moai_adk/templates/.claude/agents/alfred/frontend-expert.md +0 -357
  123. moai_adk/templates/.claude/agents/alfred/git-manager.md +0 -406
  124. moai_adk/templates/.claude/agents/alfred/implementation-planner.md +0 -423
  125. moai_adk/templates/.claude/agents/alfred/project-manager.md +0 -312
  126. moai_adk/templates/.claude/agents/alfred/quality-gate.md +0 -343
  127. moai_adk/templates/.claude/agents/alfred/skill-factory.md +0 -865
  128. moai_adk/templates/.claude/agents/alfred/spec-builder.md +0 -426
  129. moai_adk/templates/.claude/agents/alfred/tag-agent.md +0 -361
  130. moai_adk/templates/.claude/agents/alfred/tdd-implementer.md +0 -428
  131. moai_adk/templates/.claude/agents/alfred/trust-checker.md +0 -375
  132. moai_adk/templates/.claude/agents/alfred/ui-ux-expert.md +0 -571
  133. moai_adk/templates/.claude/commands/alfred/0-project.md +0 -1854
  134. moai_adk/templates/.claude/commands/alfred/1-plan.md +0 -880
  135. moai_adk/templates/.claude/commands/alfred/2-run.md +0 -793
  136. moai_adk/templates/.claude/commands/alfred/3-sync.md +0 -1084
  137. moai_adk/templates/.claude/commands/alfred/9-feedback.md +0 -149
  138. moai_adk/templates/.claude/hooks/alfred/core/project.py +0 -748
  139. moai_adk/templates/.claude/hooks/alfred/core/timeout.py +0 -136
  140. moai_adk/templates/.claude/hooks/alfred/core/ttl_cache.py +0 -108
  141. moai_adk/templates/.claude/hooks/alfred/core/version_cache.py +0 -198
  142. moai_adk/templates/.claude/hooks/alfred/handlers/__init__.py +0 -29
  143. moai_adk/templates/.claude/hooks/alfred/post_tool__log_changes.py +0 -94
  144. moai_adk/templates/.claude/hooks/alfred/pre_tool__auto_checkpoint.py +0 -100
  145. moai_adk/templates/.claude/hooks/alfred/session_end__cleanup.py +0 -94
  146. moai_adk/templates/.claude/hooks/alfred/session_start__show_project_info.py +0 -94
  147. moai_adk/templates/.claude/hooks/alfred/shared/core/__init__.py +0 -170
  148. moai_adk/templates/.claude/hooks/alfred/shared/core/checkpoint.py +0 -271
  149. moai_adk/templates/.claude/hooks/alfred/shared/core/context.py +0 -67
  150. moai_adk/templates/.claude/hooks/alfred/shared/core/project.py +0 -749
  151. moai_adk/templates/.claude/hooks/alfred/shared/core/tags.py +0 -230
  152. moai_adk/templates/.claude/hooks/alfred/shared/core/version_cache.py +0 -198
  153. moai_adk/templates/.claude/hooks/alfred/shared/handlers/__init__.py +0 -21
  154. moai_adk/templates/.claude/hooks/alfred/shared/handlers/notification.py +0 -154
  155. moai_adk/templates/.claude/hooks/alfred/shared/handlers/session.py +0 -174
  156. moai_adk/templates/.claude/hooks/alfred/shared/handlers/tool.py +0 -87
  157. moai_adk/templates/.claude/hooks/alfred/shared/handlers/user.py +0 -61
  158. moai_adk/templates/.claude/hooks/alfred/user_prompt__jit_load_docs.py +0 -112
  159. moai_adk/templates/.claude/hooks/alfred/utils/__init__.py +0 -1
  160. moai_adk/templates/.claude/hooks/alfred/utils/timeout.py +0 -161
  161. moai_adk/templates/.claude/settings.json +0 -144
  162. moai_adk/templates/.claude/skills/moai-alfred-agent-guide/SKILL.md +0 -70
  163. moai_adk/templates/.claude/skills/moai-alfred-agent-guide/examples.md +0 -62
  164. moai_adk/templates/.claude/skills/moai-alfred-agent-guide/reference.md +0 -242
  165. moai_adk/templates/.claude/skills/moai-alfred-config-schema/SKILL.md +0 -56
  166. moai_adk/templates/.claude/skills/moai-alfred-config-schema/examples.md +0 -28
  167. moai_adk/templates/.claude/skills/moai-alfred-config-schema/reference.md +0 -444
  168. moai_adk/templates/.claude/skills/moai-alfred-context-budget/SKILL.md +0 -62
  169. moai_adk/templates/.claude/skills/moai-alfred-context-budget/examples.md +0 -28
  170. moai_adk/templates/.claude/skills/moai-alfred-context-budget/reference.md +0 -405
  171. moai_adk/templates/.claude/skills/moai-alfred-dev-guide/SKILL.md +0 -51
  172. moai_adk/templates/.claude/skills/moai-alfred-dev-guide/examples.md +0 -355
  173. moai_adk/templates/.claude/skills/moai-alfred-dev-guide/reference.md +0 -239
  174. moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/SKILL.md +0 -113
  175. moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/examples.md +0 -29
  176. moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/reference.md +0 -28
  177. moai_adk/templates/.claude/skills/moai-alfred-expertise-detection/SKILL.md +0 -323
  178. moai_adk/templates/.claude/skills/moai-alfred-expertise-detection/examples.md +0 -286
  179. moai_adk/templates/.claude/skills/moai-alfred-expertise-detection/reference.md +0 -126
  180. moai_adk/templates/.claude/skills/moai-alfred-git-workflow/SKILL.md +0 -122
  181. moai_adk/templates/.claude/skills/moai-alfred-git-workflow/examples.md +0 -29
  182. moai_adk/templates/.claude/skills/moai-alfred-git-workflow/reference.md +0 -29
  183. moai_adk/templates/.claude/skills/moai-alfred-gitflow-policy/SKILL.md +0 -74
  184. moai_adk/templates/.claude/skills/moai-alfred-gitflow-policy/examples.md +0 -4
  185. moai_adk/templates/.claude/skills/moai-alfred-gitflow-policy/reference.md +0 -269
  186. moai_adk/templates/.claude/skills/moai-alfred-interactive-questions/SKILL.md +0 -237
  187. moai_adk/templates/.claude/skills/moai-alfred-interactive-questions/examples.md +0 -615
  188. moai_adk/templates/.claude/skills/moai-alfred-interactive-questions/reference.md +0 -653
  189. moai_adk/templates/.claude/skills/moai-alfred-issue-labels/SKILL.md +0 -19
  190. moai_adk/templates/.claude/skills/moai-alfred-issue-labels/examples.md +0 -4
  191. moai_adk/templates/.claude/skills/moai-alfred-issue-labels/reference.md +0 -150
  192. moai_adk/templates/.claude/skills/moai-alfred-language-detection/SKILL.md +0 -113
  193. moai_adk/templates/.claude/skills/moai-alfred-language-detection/examples.md +0 -29
  194. moai_adk/templates/.claude/skills/moai-alfred-language-detection/reference.md +0 -28
  195. moai_adk/templates/.claude/skills/moai-alfred-persona-roles/SKILL.md +0 -198
  196. moai_adk/templates/.claude/skills/moai-alfred-persona-roles/examples.md +0 -431
  197. moai_adk/templates/.claude/skills/moai-alfred-persona-roles/reference.md +0 -141
  198. moai_adk/templates/.claude/skills/moai-alfred-practices/SKILL.md +0 -89
  199. moai_adk/templates/.claude/skills/moai-alfred-practices/examples.md +0 -122
  200. moai_adk/templates/.claude/skills/moai-alfred-practices/reference.md +0 -369
  201. moai_adk/templates/.claude/skills/moai-alfred-proactive-suggestions/SKILL.md +0 -508
  202. moai_adk/templates/.claude/skills/moai-alfred-proactive-suggestions/examples.md +0 -481
  203. moai_adk/templates/.claude/skills/moai-alfred-proactive-suggestions/reference.md +0 -100
  204. moai_adk/templates/.claude/skills/moai-alfred-reporting/SKILL.md +0 -273
  205. moai_adk/templates/.claude/skills/moai-alfred-rules/SKILL.md +0 -77
  206. moai_adk/templates/.claude/skills/moai-alfred-rules/examples.md +0 -265
  207. moai_adk/templates/.claude/skills/moai-alfred-rules/reference.md +0 -539
  208. moai_adk/templates/.claude/skills/moai-alfred-session-state/SKILL.md +0 -19
  209. moai_adk/templates/.claude/skills/moai-alfred-session-state/examples.md +0 -4
  210. moai_adk/templates/.claude/skills/moai-alfred-session-state/reference.md +0 -84
  211. moai_adk/templates/.claude/skills/moai-alfred-spec-authoring/README.md +0 -137
  212. moai_adk/templates/.claude/skills/moai-alfred-spec-authoring/SKILL.md +0 -219
  213. moai_adk/templates/.claude/skills/moai-alfred-spec-authoring/examples/validate-spec.sh +0 -161
  214. moai_adk/templates/.claude/skills/moai-alfred-spec-authoring/examples.md +0 -541
  215. moai_adk/templates/.claude/skills/moai-alfred-spec-authoring/reference.md +0 -622
  216. moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-extended/SKILL.md +0 -115
  217. moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-extended/examples.md +0 -4
  218. moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-extended/reference.md +0 -348
  219. moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/SKILL.md +0 -113
  220. moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/examples.md +0 -29
  221. moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/reference.md +0 -28
  222. moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/SKILL.md +0 -113
  223. moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/examples.md +0 -29
  224. moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/reference.md +0 -28
  225. moai_adk/templates/.claude/skills/moai-alfred-todowrite-pattern/SKILL.md +0 -19
  226. moai_adk/templates/.claude/skills/moai-alfred-todowrite-pattern/examples.md +0 -4
  227. moai_adk/templates/.claude/skills/moai-alfred-todowrite-pattern/reference.md +0 -211
  228. moai_adk/templates/.claude/skills/moai-alfred-trust-validation/SKILL.md +0 -113
  229. moai_adk/templates/.claude/skills/moai-alfred-trust-validation/examples.md +0 -29
  230. moai_adk/templates/.claude/skills/moai-alfred-trust-validation/reference.md +0 -28
  231. moai_adk/templates/.claude/skills/moai-alfred-workflow/SKILL.md +0 -288
  232. moai_adk/templates/.claude/skills/moai-cc-agents/SKILL.md +0 -269
  233. moai_adk/templates/.claude/skills/moai-cc-agents/templates/agent-template.md +0 -32
  234. moai_adk/templates/.claude/skills/moai-cc-claude-md/SKILL.md +0 -298
  235. moai_adk/templates/.claude/skills/moai-cc-claude-md/templates/CLAUDE-template.md +0 -26
  236. moai_adk/templates/.claude/skills/moai-cc-commands/SKILL.md +0 -307
  237. moai_adk/templates/.claude/skills/moai-cc-commands/templates/command-template.md +0 -21
  238. moai_adk/templates/.claude/skills/moai-cc-hooks/SKILL.md +0 -252
  239. moai_adk/templates/.claude/skills/moai-cc-hooks/scripts/pre-bash-check.sh +0 -19
  240. moai_adk/templates/.claude/skills/moai-cc-hooks/scripts/preserve-permissions.sh +0 -19
  241. moai_adk/templates/.claude/skills/moai-cc-hooks/scripts/validate-bash-command.py +0 -24
  242. moai_adk/templates/.claude/skills/moai-cc-mcp-plugins/SKILL.md +0 -199
  243. moai_adk/templates/.claude/skills/moai-cc-mcp-plugins/templates/settings-mcp-template.json +0 -39
  244. moai_adk/templates/.claude/skills/moai-cc-memory/SKILL.md +0 -316
  245. moai_adk/templates/.claude/skills/moai-cc-memory/templates/session-summary-template.md +0 -18
  246. moai_adk/templates/.claude/skills/moai-cc-settings/SKILL.md +0 -263
  247. moai_adk/templates/.claude/skills/moai-cc-settings/templates/settings-complete-template.json +0 -30
  248. moai_adk/templates/.claude/skills/moai-cc-skill-descriptions/SKILL.md +0 -19
  249. moai_adk/templates/.claude/skills/moai-cc-skill-descriptions/examples.md +0 -4
  250. moai_adk/templates/.claude/skills/moai-cc-skill-descriptions/reference.md +0 -218
  251. moai_adk/templates/.claude/skills/moai-cc-skill-factory/CHECKLIST.md +0 -482
  252. moai_adk/templates/.claude/skills/moai-cc-skill-factory/EXAMPLES.md +0 -278
  253. moai_adk/templates/.claude/skills/moai-cc-skill-factory/INTERACTIVE-DISCOVERY.md +0 -524
  254. moai_adk/templates/.claude/skills/moai-cc-skill-factory/METADATA.md +0 -477
  255. moai_adk/templates/.claude/skills/moai-cc-skill-factory/PARALLEL-ANALYSIS-REPORT.md +0 -429
  256. moai_adk/templates/.claude/skills/moai-cc-skill-factory/PYTHON-VERSION-MATRIX.md +0 -391
  257. moai_adk/templates/.claude/skills/moai-cc-skill-factory/SKILL-FACTORY-WORKFLOW.md +0 -431
  258. moai_adk/templates/.claude/skills/moai-cc-skill-factory/SKILL-UPDATE-ADVISOR.md +0 -577
  259. moai_adk/templates/.claude/skills/moai-cc-skill-factory/SKILL.md +0 -271
  260. moai_adk/templates/.claude/skills/moai-cc-skill-factory/STEP-BY-STEP-GUIDE.md +0 -466
  261. moai_adk/templates/.claude/skills/moai-cc-skill-factory/STRUCTURE.md +0 -583
  262. moai_adk/templates/.claude/skills/moai-cc-skill-factory/WEB-RESEARCH.md +0 -526
  263. moai_adk/templates/.claude/skills/moai-cc-skill-factory/reference.md +0 -465
  264. moai_adk/templates/.claude/skills/moai-cc-skill-factory/scripts/generate-structure.sh +0 -328
  265. moai_adk/templates/.claude/skills/moai-cc-skill-factory/scripts/validate-skill.sh +0 -312
  266. moai_adk/templates/.claude/skills/moai-cc-skill-factory/templates/SKILL_TEMPLATE.md +0 -245
  267. moai_adk/templates/.claude/skills/moai-cc-skill-factory/templates/examples-template.md +0 -285
  268. moai_adk/templates/.claude/skills/moai-cc-skill-factory/templates/reference-template.md +0 -278
  269. moai_adk/templates/.claude/skills/moai-cc-skill-factory/templates/scripts-template.sh +0 -303
  270. moai_adk/templates/.claude/skills/moai-cc-skills/SKILL.md +0 -291
  271. moai_adk/templates/.claude/skills/moai-cc-skills/templates/SKILL-template.md +0 -15
  272. moai_adk/templates/.claude/skills/moai-design-systems/SKILL.md +0 -802
  273. moai_adk/templates/.claude/skills/moai-design-systems/examples.md +0 -1238
  274. moai_adk/templates/.claude/skills/moai-design-systems/reference.md +0 -673
  275. moai_adk/templates/.claude/skills/moai-domain-backend/SKILL.md +0 -290
  276. moai_adk/templates/.claude/skills/moai-domain-backend/examples.md +0 -1633
  277. moai_adk/templates/.claude/skills/moai-domain-backend/reference.md +0 -660
  278. moai_adk/templates/.claude/skills/moai-domain-cli-tool/SKILL.md +0 -123
  279. moai_adk/templates/.claude/skills/moai-domain-cli-tool/examples.md +0 -29
  280. moai_adk/templates/.claude/skills/moai-domain-cli-tool/reference.md +0 -30
  281. moai_adk/templates/.claude/skills/moai-domain-data-science/SKILL.md +0 -123
  282. moai_adk/templates/.claude/skills/moai-domain-data-science/examples.md +0 -29
  283. moai_adk/templates/.claude/skills/moai-domain-data-science/reference.md +0 -30
  284. moai_adk/templates/.claude/skills/moai-domain-database/SKILL.md +0 -123
  285. moai_adk/templates/.claude/skills/moai-domain-database/examples.md +0 -29
  286. moai_adk/templates/.claude/skills/moai-domain-database/reference.md +0 -30
  287. moai_adk/templates/.claude/skills/moai-domain-devops/SKILL.md +0 -124
  288. moai_adk/templates/.claude/skills/moai-domain-devops/examples.md +0 -29
  289. moai_adk/templates/.claude/skills/moai-domain-devops/reference.md +0 -31
  290. moai_adk/templates/.claude/skills/moai-domain-frontend/SKILL.md +0 -128
  291. moai_adk/templates/.claude/skills/moai-domain-frontend/examples.md +0 -29
  292. moai_adk/templates/.claude/skills/moai-domain-frontend/reference.md +0 -31
  293. moai_adk/templates/.claude/skills/moai-domain-ml/SKILL.md +0 -123
  294. moai_adk/templates/.claude/skills/moai-domain-ml/examples.md +0 -29
  295. moai_adk/templates/.claude/skills/moai-domain-ml/reference.md +0 -30
  296. moai_adk/templates/.claude/skills/moai-domain-mobile-app/SKILL.md +0 -123
  297. moai_adk/templates/.claude/skills/moai-domain-mobile-app/examples.md +0 -29
  298. moai_adk/templates/.claude/skills/moai-domain-mobile-app/reference.md +0 -30
  299. moai_adk/templates/.claude/skills/moai-domain-security/SKILL.md +0 -123
  300. moai_adk/templates/.claude/skills/moai-domain-security/examples.md +0 -29
  301. moai_adk/templates/.claude/skills/moai-domain-security/reference.md +0 -30
  302. moai_adk/templates/.claude/skills/moai-domain-web-api/SKILL.md +0 -123
  303. moai_adk/templates/.claude/skills/moai-domain-web-api/examples.md +0 -29
  304. moai_adk/templates/.claude/skills/moai-domain-web-api/reference.md +0 -30
  305. moai_adk/templates/.claude/skills/moai-essentials-debug/SKILL.md +0 -303
  306. moai_adk/templates/.claude/skills/moai-essentials-debug/examples.md +0 -1064
  307. moai_adk/templates/.claude/skills/moai-essentials-debug/reference.md +0 -1047
  308. moai_adk/templates/.claude/skills/moai-essentials-perf/SKILL.md +0 -113
  309. moai_adk/templates/.claude/skills/moai-essentials-perf/examples.md +0 -29
  310. moai_adk/templates/.claude/skills/moai-essentials-perf/reference.md +0 -28
  311. moai_adk/templates/.claude/skills/moai-essentials-refactor/SKILL.md +0 -113
  312. moai_adk/templates/.claude/skills/moai-essentials-refactor/examples.md +0 -29
  313. moai_adk/templates/.claude/skills/moai-essentials-refactor/reference.md +0 -28
  314. moai_adk/templates/.claude/skills/moai-essentials-review/SKILL.md +0 -113
  315. moai_adk/templates/.claude/skills/moai-essentials-review/examples.md +0 -29
  316. moai_adk/templates/.claude/skills/moai-essentials-review/reference.md +0 -28
  317. moai_adk/templates/.claude/skills/moai-foundation-ears/SKILL.md +0 -116
  318. moai_adk/templates/.claude/skills/moai-foundation-ears/examples.md +0 -29
  319. moai_adk/templates/.claude/skills/moai-foundation-ears/reference.md +0 -28
  320. moai_adk/templates/.claude/skills/moai-foundation-git/SKILL.md +0 -122
  321. moai_adk/templates/.claude/skills/moai-foundation-git/examples.md +0 -29
  322. moai_adk/templates/.claude/skills/moai-foundation-git/reference.md +0 -29
  323. moai_adk/templates/.claude/skills/moai-foundation-langs/SKILL.md +0 -113
  324. moai_adk/templates/.claude/skills/moai-foundation-langs/examples.md +0 -29
  325. moai_adk/templates/.claude/skills/moai-foundation-langs/reference.md +0 -28
  326. moai_adk/templates/.claude/skills/moai-foundation-specs/SKILL.md +0 -113
  327. moai_adk/templates/.claude/skills/moai-foundation-specs/examples.md +0 -29
  328. moai_adk/templates/.claude/skills/moai-foundation-specs/reference.md +0 -28
  329. moai_adk/templates/.claude/skills/moai-foundation-tags/SKILL.md +0 -113
  330. moai_adk/templates/.claude/skills/moai-foundation-tags/examples.md +0 -29
  331. moai_adk/templates/.claude/skills/moai-foundation-tags/reference.md +0 -28
  332. moai_adk/templates/.claude/skills/moai-foundation-trust/SKILL.md +0 -307
  333. moai_adk/templates/.claude/skills/moai-foundation-trust/examples.md +0 -0
  334. moai_adk/templates/.claude/skills/moai-foundation-trust/reference.md +0 -1099
  335. moai_adk/templates/.claude/skills/moai-lang-c/SKILL.md +0 -124
  336. moai_adk/templates/.claude/skills/moai-lang-c/examples.md +0 -29
  337. moai_adk/templates/.claude/skills/moai-lang-c/reference.md +0 -31
  338. moai_adk/templates/.claude/skills/moai-lang-cpp/SKILL.md +0 -124
  339. moai_adk/templates/.claude/skills/moai-lang-cpp/examples.md +0 -29
  340. moai_adk/templates/.claude/skills/moai-lang-cpp/reference.md +0 -31
  341. moai_adk/templates/.claude/skills/moai-lang-csharp/SKILL.md +0 -123
  342. moai_adk/templates/.claude/skills/moai-lang-csharp/examples.md +0 -29
  343. moai_adk/templates/.claude/skills/moai-lang-csharp/reference.md +0 -30
  344. moai_adk/templates/.claude/skills/moai-lang-dart/SKILL.md +0 -123
  345. moai_adk/templates/.claude/skills/moai-lang-dart/examples.md +0 -29
  346. moai_adk/templates/.claude/skills/moai-lang-dart/reference.md +0 -30
  347. moai_adk/templates/.claude/skills/moai-lang-go/SKILL.md +0 -127
  348. moai_adk/templates/.claude/skills/moai-lang-go/examples.md +0 -29
  349. moai_adk/templates/.claude/skills/moai-lang-go/reference.md +0 -31
  350. moai_adk/templates/.claude/skills/moai-lang-java/SKILL.md +0 -126
  351. moai_adk/templates/.claude/skills/moai-lang-java/examples.md +0 -29
  352. moai_adk/templates/.claude/skills/moai-lang-java/reference.md +0 -31
  353. moai_adk/templates/.claude/skills/moai-lang-javascript/SKILL.md +0 -125
  354. moai_adk/templates/.claude/skills/moai-lang-javascript/examples.md +0 -29
  355. moai_adk/templates/.claude/skills/moai-lang-javascript/reference.md +0 -32
  356. moai_adk/templates/.claude/skills/moai-lang-kotlin/SKILL.md +0 -124
  357. moai_adk/templates/.claude/skills/moai-lang-kotlin/examples.md +0 -29
  358. moai_adk/templates/.claude/skills/moai-lang-kotlin/reference.md +0 -31
  359. moai_adk/templates/.claude/skills/moai-lang-php/SKILL.md +0 -126
  360. moai_adk/templates/.claude/skills/moai-lang-php/examples.md +0 -29
  361. moai_adk/templates/.claude/skills/moai-lang-php/reference.md +0 -30
  362. moai_adk/templates/.claude/skills/moai-lang-python/SKILL.md +0 -433
  363. moai_adk/templates/.claude/skills/moai-lang-python/examples.md +0 -624
  364. moai_adk/templates/.claude/skills/moai-lang-python/reference.md +0 -316
  365. moai_adk/templates/.claude/skills/moai-lang-r/SKILL.md +0 -123
  366. moai_adk/templates/.claude/skills/moai-lang-r/examples.md +0 -29
  367. moai_adk/templates/.claude/skills/moai-lang-r/reference.md +0 -30
  368. moai_adk/templates/.claude/skills/moai-lang-ruby/SKILL.md +0 -124
  369. moai_adk/templates/.claude/skills/moai-lang-ruby/examples.md +0 -29
  370. moai_adk/templates/.claude/skills/moai-lang-ruby/reference.md +0 -31
  371. moai_adk/templates/.claude/skills/moai-lang-rust/SKILL.md +0 -127
  372. moai_adk/templates/.claude/skills/moai-lang-rust/examples.md +0 -29
  373. moai_adk/templates/.claude/skills/moai-lang-rust/reference.md +0 -31
  374. moai_adk/templates/.claude/skills/moai-lang-scala/SKILL.md +0 -125
  375. moai_adk/templates/.claude/skills/moai-lang-scala/examples.md +0 -29
  376. moai_adk/templates/.claude/skills/moai-lang-scala/reference.md +0 -30
  377. moai_adk/templates/.claude/skills/moai-lang-shell/SKILL.md +0 -123
  378. moai_adk/templates/.claude/skills/moai-lang-shell/examples.md +0 -29
  379. moai_adk/templates/.claude/skills/moai-lang-shell/reference.md +0 -30
  380. moai_adk/templates/.claude/skills/moai-lang-sql/SKILL.md +0 -124
  381. moai_adk/templates/.claude/skills/moai-lang-sql/examples.md +0 -29
  382. moai_adk/templates/.claude/skills/moai-lang-sql/reference.md +0 -31
  383. moai_adk/templates/.claude/skills/moai-lang-swift/SKILL.md +0 -123
  384. moai_adk/templates/.claude/skills/moai-lang-swift/examples.md +0 -29
  385. moai_adk/templates/.claude/skills/moai-lang-swift/reference.md +0 -30
  386. moai_adk/templates/.claude/skills/moai-lang-typescript/SKILL.md +0 -133
  387. moai_adk/templates/.claude/skills/moai-lang-typescript/examples.md +0 -29
  388. moai_adk/templates/.claude/skills/moai-lang-typescript/reference.md +0 -34
  389. moai_adk/templates/.claude/skills/moai-project-documentation.md +0 -622
  390. moai_adk/templates/.github/workflows/c-tag-validation.yml +0 -11
  391. moai_adk/templates/.github/workflows/cpp-tag-validation.yml +0 -11
  392. moai_adk/templates/.github/workflows/csharp-tag-validation.yml +0 -11
  393. moai_adk/templates/.github/workflows/dart-tag-validation.yml +0 -11
  394. moai_adk/templates/.github/workflows/go-tag-validation.yml +0 -130
  395. moai_adk/templates/.github/workflows/java-tag-validation.yml +0 -11
  396. moai_adk/templates/.github/workflows/javascript-tag-validation.yml +0 -135
  397. moai_adk/templates/.github/workflows/kotlin-tag-validation.yml +0 -11
  398. moai_adk/templates/.github/workflows/php-tag-validation.yml +0 -11
  399. moai_adk/templates/.github/workflows/python-tag-validation.yml +0 -118
  400. moai_adk/templates/.github/workflows/release.yml +0 -118
  401. moai_adk/templates/.github/workflows/ruby-tag-validation.yml +0 -11
  402. moai_adk/templates/.github/workflows/rust-tag-validation.yml +0 -11
  403. moai_adk/templates/.github/workflows/shell-tag-validation.yml +0 -11
  404. moai_adk/templates/.github/workflows/swift-tag-validation.yml +0 -11
  405. moai_adk/templates/.github/workflows/tag-report.yml +0 -269
  406. moai_adk/templates/.github/workflows/tag-validation.yml +0 -186
  407. moai_adk/templates/.github/workflows/typescript-tag-validation.yml +0 -154
  408. moai_adk/templates/.moai/config.json +0 -115
  409. moai_adk/templates/workflows/go-tag-validation.yml +0 -30
  410. moai_adk/templates/workflows/javascript-tag-validation.yml +0 -41
  411. moai_adk/templates/workflows/python-tag-validation.yml +0 -42
  412. moai_adk/templates/workflows/typescript-tag-validation.yml +0 -31
  413. moai_adk-0.15.1.dist-info/METADATA +0 -3094
  414. moai_adk-0.15.1.dist-info/RECORD +0 -365
  415. {moai_adk-0.15.1.dist-info → moai_adk-0.25.4.dist-info}/WHEEL +0 -0
  416. {moai_adk-0.15.1.dist-info → moai_adk-0.25.4.dist-info}/entry_points.txt +0 -0
  417. {moai_adk-0.15.1.dist-info → moai_adk-0.25.4.dist-info}/licenses/LICENSE +0 -0
@@ -1,429 +0,0 @@
1
- # 🔬 Skill Factory - 병렬 분석 보고서
2
-
3
- **분석 일시**: 2025-10-22
4
- **분석 대상**: 4개 계층별 스킬 (Foundation, Alfred, Domain, Language)
5
- **분석 방식**: 병렬 에이전트 분석 (동시 실행)
6
- **분석 도구**: skill-factory 에이전트 + general-purpose 에이전트
7
-
8
- ---
9
-
10
- ## 📊 Executive Summary
11
-
12
- 4개 계층별 스킬을 동시에 분석한 결과, **구조는 우수하나 실행 가이드가 부족한** 패턴이 발견되었습니다.
13
-
14
- | 계층 | 스킬명 | 점수 | 상태 | 핵심 문제 |
15
- |-----|-------|------|------|---------|
16
- | **Foundation** | moai-foundation-trust | 75/100 | 🟡 개선필요 | 구체적인 검증 명령어 부족 |
17
- | **Alfred** | moai-alfred-tag-scanning | 68/100 | 🔴 미완성 | 템플릿 파일 누락, 예시 부족 |
18
- | **Domain** | moai-domain-backend | 75/100 | 🟡 개선필요 | 코드 예시 부족, 보안/배포 누락 |
19
- | **Language** | moai-lang-python | 85/100 | 🟢 우수 | 최적화 완료, 경미한 개선만 필요 |
20
-
21
- **평균 점수**: **75.75/100** (B+)
22
- **종합 평가**: ⚠️ **구조적으로 견고하나, 실무 적용 가이드 강화 필요**
23
-
24
- ---
25
-
26
- ## 🔍 상세 분석 결과
27
-
28
- ### 1️⃣ Foundation 계층: `moai-foundation-trust` (75/100)
29
-
30
- #### 📋 메타데이터
31
- ```yaml
32
- name: moai-foundation-trust
33
- description: TRUST 5-principles 검증 (Test 85%+, Readable, Unified, Secured, Trackable)
34
- tier: Foundation (핵심)
35
- auto_load: SessionStart (부트스트랩 단계)
36
- trigger_cues: TRUST 준수 확인, 릴리즈 준비 검증, 품질 게이트 적용
37
- ```
38
-
39
- #### ✅ 강점
40
- 1. **YAML 메타데이터 완벽**: name, description, allowed-tools 모두 구성됨
41
- 2. **원칙 정의 명확**: TRUST 5개 원칙이 구체적으로 설명됨
42
- 3. **문서 구조 표준**: 13개 섹션이 일관되게 구성됨
43
- 4. **학술 기반**: SonarSource, ISO/IEC 25010 등 표준 인용
44
- 5. **다른 스킬 연계**: moai-foundation-tags, moai-foundation-specs 통합
45
-
46
- #### ⚠️ 약점
47
- | 항목 | 문제 | 영향도 |
48
- |-----|------|--------|
49
- | **"How it works" 심화 부족** | 각 TRUST 원칙 검증 방법이 1-2줄로만 설명 | HIGH |
50
- | **코드 예시 없음** | pytest-cov 명령어, ruff 설정 등 미제공 | HIGH |
51
- | **언어별 도구 매핑 부재** | Python/Go/Rust별 검증 도구 차이 미언급 | MEDIUM |
52
- | **예시 부족** | Examples 섹션이 일반적이고 추상적 | MEDIUM |
53
- | **실패 복구 절차 미흡** | Failure Modes에 구체적 에러 해결법 없음 | LOW |
54
-
55
- #### 🎯 개선 우선순위
56
- ```
57
- 1. [HIGH] 언어별 TRUST 검증 명령어 매트릭스 작성
58
- - Python: pytest --cov=src --cov-fail-under=85 -q
59
- - Go: go test -cover ./...
60
- - Rust: cargo test --doc && cargo tarpaulin --out Html
61
- - TypeScript: vitest --coverage --min-coverage=85
62
-
63
- 2. [HIGH] 자동화 검증 스크립트 템플릿 제공
64
- - CI/CD 파이프라인에서 실행 가능한 쉘 스크립트
65
- - 각 TRUST 원칙별 독립 검사 함수
66
-
67
- 3. [MEDIUM] 실전 예시 확대
68
- - 커버리지 85% 미달 시 대응 방법
69
- - TAG 체인 깨짐 복구 절차
70
- - 보안 취약점 발견 시 조치
71
- ```
72
-
73
- ---
74
-
75
- ### 2️⃣ Alfred 계층: `moai-alfred-tag-scanning` (68/100)
76
-
77
- #### 📋 메타데이터
78
- ```yaml
79
- name: moai-alfred-tag-scanning
80
- description: @TAG 마커 직접 스캔하여 TAG 인벤토리 생성 (CODE-FIRST 원칙)
81
- tier: Alfred (워크플로우 내부)
82
- auto_load: /alfred:3-sync 추적 가능성 게이트
83
- trigger_cues: TAG Scan, TAG List, TAG Inventory, Find orphan TAG, Check TAG chain
84
- ```
85
-
86
- #### ✅ 강점
87
- 1. **명확한 CODE-FIRST 원칙**: 캐시 없이 직접 스캔 강조
88
- 2. **구체적인 명령어 제시**: `rg '@(SPEC|TEST|CODE|DOC):' -n .moai/specs/ tests/ src/ docs/`
89
- 3. **포괄적 TAG 유형 커버**: @SPEC, @TEST, @CODE, @DOC 모두 다룸
90
- 4. **완벽한 메타데이터**: YAML frontmatter 100점
91
-
92
- #### 🔴 심각한 문제
93
- | 항목 | 문제 | 영향도 |
94
- |-----|------|--------|
95
- | **👉 템플릿 파일 누락** | `templates/tag-inventory-template.md` 선언하나 미존재 | CRITICAL |
96
- | **"How it works" 알고리즘 부재** | TAG 인벤토리 생성 논리 미설명 | HIGH |
97
- | **예시 예정 텍스트** | "Examples" 섹션이 보일러플레이트로 채워짐 | HIGH |
98
- | **Best Practices 공용** | 일반적인 보일러플레이트, TAG 특화 가이드 없음 | MEDIUM |
99
- | **결과 포맷 미정의** | JSON/Markdown/CSV 출력 형식 불명확 | MEDIUM |
100
- | **orphan TAG 복구 절차 미흡** | 깨진 TAG 수리 워크플로우 없음 | MEDIUM |
101
-
102
- #### 🎯 개선 우선순위
103
- ```
104
- 1. [CRITICAL] 누락 파일 생성
105
- ✓ templates/tag-inventory-template.md
106
- - TAG 인벤토리 샘플 출력 (JSON/Markdown)
107
- - 정상 TAG 체인 예시
108
- - 깨진 TAG 체인 예시
109
-
110
- 2. [HIGH] "How it works" 알고리즘 상세화
111
- - TAG 스캔 순서 (SPEC → TEST → CODE → DOC)
112
- - orphan TAG 감지 로직
113
- - 중복 ID 처리 방법
114
- - TAG 체인 검증 규칙
115
-
116
- 3. [HIGH] 3-5개 구체적 사용 사례
117
- - "TAG-001 → TEST 없음 → orphan 감지"
118
- - "중복 @CODE:AUTH-001 발견"
119
- - "깨진 SPEC 참조 수리" 워크플로우
120
-
121
- 4. [MEDIUM] 에러 처리 가이드
122
- - 잘못된 TAG 형식 (@CODE-001 vs @CODE:001)
123
- - 권한 문제로 인한 스캔 실패
124
- - 매우 큰 코드베이스 성능 최적화
125
- ```
126
-
127
- #### 📝 결과물 예시
128
- ```markdown
129
- # TAG-scanning 개선된 템플릿
130
-
131
- ## 정상 TAG 체인 (✅)
132
- @SPEC:AUTH-001 → tests/auth.test.ts (@TEST:AUTH-001) → src/auth.ts (@CODE:AUTH-001) → docs/auth.md (@DOC:AUTH-001)
133
-
134
- ## orphan TAG (❌)
135
- @CODE:PAYMENT-005 발견 → SPEC/TEST/DOC 없음 → 고아 태그 경고
136
-
137
- ## 중복 ID (⚠️)
138
- @CODE:UTIL-003 (3개 파일에서 발견) → 중복 경고
139
- ```
140
-
141
- ---
142
-
143
- ### 3️⃣ Domain 계층: `moai-domain-backend` (75/100)
144
-
145
- #### 📋 메타데이터
146
- ```yaml
147
- name: moai-domain-backend
148
- description: 백엔드 아키텍처 및 확장성 가이드 (서버 API, 인프라 설계)
149
- tier: Domain (전문 분야)
150
- auto_load: 백엔드 아키텍처 요청 시 온디맨드 로드
151
- trigger_cues: Service layering, API orchestration, Caching, Background job design
152
- ```
153
-
154
- #### ✅ 강점
155
- 1. **5개 핵심 영역 체계화**: Server Architecture, API Design, Caching, DB Optimization, Scalability Patterns
156
- 2. **포괄적 기술 참조**: Redis, Kafka, gRPC, GraphQL 언급
157
- 3. **아키텍처 패턴 다양화**: Monolith, Microservices, Serverless 포함
158
- 4. **업계 표준 인용**: AWS Well-Architected, 12-Factor App
159
-
160
- #### 🟡 주요 약점
161
- | 항목 | 문제 | 영향도 |
162
- |-----|------|--------|
163
- | **코드 예시 거의 없음** | bash 명령어 2줄만 존재, Python/Go/Node.js 코드 부재 | HIGH |
164
- | **보안 패턴 누락** | JWT/OAuth2, RBAC, secrets 관리 미언급 | HIGH |
165
- | **관찰성(Observability) 부족** | 로깅, 메트릭(Prometheus), 트레이싱(Jaeger) 없음 | MEDIUM |
166
- | **언어별 가이드 부재** | Express vs Gin vs FastAPI 비교 없음 | MEDIUM |
167
- | **배포/DevOps 누락** | Docker, K8s, CI/CD 가이드 없음 | MEDIUM |
168
- | **복원력(Resilience) 패턴 미흡** | Circuit breaker, 재시도, timeout 등 미언급 | MEDIUM |
169
-
170
- #### 🎯 개선 우선순위
171
- ```
172
- 1. [HIGH] 코드 예시 5개 추가 (언어별 1개)
173
- - Python FastAPI: /users 엔드포인트 (dependency injection 포함)
174
- - Go Gin: 미들웨어 기반 요청 로깅
175
- - Node.js Express: Redis 캐시 래퍼
176
- - TypeScript: gRPC 클라이언트 설정
177
- - Docker: 멀티스테이지 빌드 예시
178
-
179
- 2. [HIGH] 보안 섹션 신설
180
- - JWT 토큰 검증 (예시 코드)
181
- - RBAC 구현 (미들웨어 기반)
182
- - Secrets 관리 (환경 변수 vs Vault)
183
- - 입력 검증 (데이터 새니타이징)
184
-
185
- 3. [MEDIUM] 관찰성 패턴
186
- - 구조화된 로깅 (JSON 형식)
187
- - Prometheus 메트릭 (HTTP latency, errors)
188
- - Jaeger 분산 트레이싱 통합
189
-
190
- 4. [MEDIUM] 언어별 비교 테이블
191
- - Express (Node.js) vs Gin (Go) vs FastAPI (Python)
192
- - 프레임워크별 성능, 학습곡선, 커뮤니티 규모
193
-
194
- 5. [LOW] DevOps 통합
195
- - Docker 헬스체크 설정
196
- - Blue-green 배포 전략
197
- - Kubernetes 서비스 디스커버리
198
- ```
199
-
200
- ---
201
-
202
- ### 4️⃣ Language 계층: `moai-lang-python` (85/100) ⭐
203
-
204
- #### 📋 메타데이터
205
- ```yaml
206
- name: moai-lang-python
207
- description: Python 베스트 프랙티스 (pytest, mypy, ruff, black, uv 패키지 관리)
208
- tier: Language (언어 특화)
209
- auto_load: Python 키워드 감지 시 온디맨드 로드
210
- trigger_cues: Python 코드 논의, 프레임워크 가이드, .py 파일 확장자
211
- ```
212
-
213
- #### ✅ 강점
214
- 1. **현대적 도구 스택**: pytest, mypy(strict), ruff, black, uv - 2025년 최신 표준
215
- 2. **TRUST 5 완벽 준수**: Test(pytest), Readable(black), Unified(mypy), Secured(ruff), Trackable(TAG)
216
- 3. **명확한 통합**: Alfred /alfred:2-run 워크플로우와 명시적 연결
217
- 4. **구체적인 수치**: 파일 300 LOC, 함수 50 LOC, 커버리지 85% 명시
218
- 5. **표준 준수**: 13개 섹션, YAML frontmatter, Changelog 완비
219
-
220
- #### 🟢 경미한 개선 사항
221
- | 항목 | 문제 | 영향도 |
222
- |-----|------|--------|
223
- | **코드 예시 최소** | bash 한 줄만 존재, pytest/mypy 코드 없음 | LOW |
224
- | **워크플로우 심화 부족** | RED→GREEN→REFACTOR TDD 사이클 자세히 설명 없음 | LOW |
225
- | **패턴 가이드 부재** | Context manager, decorator, async/await 미언급 | LOW |
226
- | **템플릿 파일 없음** | pyproject.toml, pytest.ini 참조 구성 미제공 | LOW |
227
-
228
- #### 🎯 경미한 개선 사항 (선택적)
229
- ```
230
- 1. [LOW] 3-5개 Python 코드 예시 추가
231
- - pytest fixture + parametrize 활용
232
- - mypy strict 모드 타입 힌트
233
- - pyproject.toml ruff/black 설정
234
-
235
- 2. [LOW] TDD 워크플로우 확대
236
- - pytest watch 모드로 RED 단계 자동화
237
- - 혹은 pre-commit 훅 (ruff + black + mypy)
238
-
239
- 3. [LOW] 일반적인 Python 함정
240
- - 가변 기본 인자 (mutable default arguments)
241
- - 리스트 컴프리헨션 vs 제너레이터
242
- - 순환 import 피하기
243
-
244
- 4. [LOW] 지원 템플릿 파일 (선택)
245
- - pyproject.toml 참조 구성
246
- - pytest.ini strict 마커 설정
247
- - .gitignore Python 표준
248
-
249
- ---
250
-
251
- ## 📊 계층별 종합 점수
252
-
253
- | 계층 | 스킬 | 점수 | 등급 | 상태 |
254
- |-----|------|------|------|------|
255
- | **Foundation** | trust | 75 | B | 🟡 개선필요 |
256
- | **Alfred** | tag-scanning | 68 | C+ | 🔴 미완성 |
257
- | **Domain** | backend | 75 | B | 🟡 개선필요 |
258
- | **Language** | python | 85 | B+ | 🟢 우수 |
259
- | **평균** | - | **75.75** | **B+** | 🟡 |
260
-
261
- ---
262
-
263
- ## 🚀 Cross-Tier 패턴 분석
264
-
265
- ### 공통 강점
266
- ✅ **메타데이터 구조**: 모든 스킬이 표준화된 YAML frontmatter 준수
267
- ✅ **문서 체계**: 13개 표준 섹션으로 일관된 구성
268
- ✅ **연계성**: 다른 스킬과의 관계 명시
269
- ✅ **표준 준수**: Foundation 원칙 (TRUST, EARS 등) 인식
270
-
271
- ### 공통 약점
272
- ❌ **코드 예시 부족**: 대부분 스킬이 이론 중심, 실무 코드 미제공
273
- ❌ **워크플로우 가이드 부족**: HOW-TO 섹션이 도구 나열에 그침
274
- ❌ **에러 처리 미흡**: Failure Modes가 추상적, 구체적 복구 절차 없음
275
- ❌ **템플릿/스크립트 부재**: 참조 설정, 자동화 스크립트 미제공
276
- ❌ **예시 실전성 낮음**: Examples 섹션이 일반적 또는 보일러플레이트
277
-
278
- ### 개선 방향 (전사 차원)
279
- ```
280
- Tier 1 [시급] 템플릿/스크립트 라이브러리 구축
281
- ├─ Python: pyproject.toml, pytest.ini, conftest.py
282
- ├─ Go: go.mod, Makefile, main_test.go
283
- ├─ TypeScript: tsconfig.json, vitest.config.ts, jest.config.js
284
- └─ Rust: Cargo.toml, lib.rs, tests/
285
-
286
- Tier 2 [근래] 워크플로우별 상세 가이드
287
- ├─ RED: 실패하는 테스트 작성 (각 언어별 예시)
288
- ├─ GREEN: 최소한의 구현 (각 언어별 예시)
289
- └─ REFACTOR: 코드 개선 (패턴 카탈로그)
290
-
291
- Tier 3 [진행 중] 예시 강화
292
- ├─ 각 스킬당 최소 3개의 실전 사용 사례
293
- ├─ 성공 시나리오 + 실패 시나리오 포함
294
- └─ 각 시나리오별 출력 로그 제시
295
-
296
- Tier 4 [지속] 에러 처리 체계화
297
- ├─ 공통 에러 패턴 카탈로그
298
- ├─ 각 에러별 진단 명령어
299
- └─ 복구 절차 (자동화 가능한 스크립트)
300
- ```
301
-
302
- ---
303
-
304
- ## 📈 개선 영향도 분석
305
-
306
- ### 임팩트 높음 (High Impact)
307
- ```
308
- Alfred: tag-scanning 완성
309
- - 현재: 68 → 목표: 85 (↑25%)
310
- - 노력: 8-10시간
311
- - ROI: 매우 높음 (핵심 추적 시스템)
312
-
313
- Foundation: trust 심화
314
- - 현재: 75 → 목표: 90 (↑20%)
315
- - 노력: 6-8시간
316
- - ROI: 높음 (모든 프로젝트의 품질 게이트)
317
- ```
318
-
319
- ### 임팩트 중간 (Medium Impact)
320
- ```
321
- Domain: backend 확장
322
- - 현재: 75 → 목표: 90 (↑20%)
323
- - 노력: 10-12시간
324
- - ROI: 중간 (백엔드 프로젝트에만 적용)
325
- ```
326
-
327
- ### 임팩트 낮음 (Low Impact)
328
- ```
329
- Language: python 최적화
330
- - 현재: 85 → 목표: 92 (↑8%)
331
- - 노력: 2-3시간
332
- - ROI: 낮음 (이미 충분히 좋은 상태)
333
- ```
334
-
335
- ---
336
-
337
- ## 🎯 권장 액션 플랜
338
-
339
- ### Phase 1: 긴급 (1주일)
340
- - ✅ TAG-scanning 누락 템플릿 파일 생성
341
- - ✅ Trust 언어별 검증 명령어 매트릭스 추가
342
- - ✅ Backend 코드 예시 5개 최소 추가
343
-
344
- ### Phase 2: 진행 중 (2주일)
345
- - 🔄 Alfred tag-scanning 예시 확대 (5개 실제 사례)
346
- - 🔄 Trust 자동화 검증 스크립트 템플릿
347
- - 🔄 Backend 보안 섹션 신설
348
-
349
- ### Phase 3: 지속 (1개월)
350
- - 📋 모든 스킬에 에러 처리 가이드 추가
351
- - 📋 CI/CD 파이프라인 예시 통합
352
- - 📋 각 스킬별 검증 테스트 작성
353
-
354
- ---
355
-
356
- ## 📚 참고: 병렬 분석 수행 방식 설명
357
-
358
- ### 🔬 분석 프로세스 (4단계)
359
-
360
- #### Step 1️⃣: 대상 선정
361
- ```
362
- Foundation 계층 → moai-foundation-trust (핵심 원칙)
363
- Alfred 계층 → moai-alfred-tag-scanning (추적 시스템)
364
- Domain 계층 → moai-domain-backend (아키텍처)
365
- Language 계층 → moai-lang-python (최신 표준)
366
- ```
367
-
368
- #### Step 2️⃣: 병렬 분석 에이전트 실행
369
- ```bash
370
- Agent 1 (Task) → Foundation Trust 분석
371
- Agent 2 (Task) → Alfred Tag-scanning 분석 # 동시 실행 (병렬)
372
- Agent 3 (Task) → Domain Backend 분석 # 동시 실행 (병렬)
373
- Agent 4 (Task) → Language Python 분석 # 동시 실행 (병렬)
374
- ```
375
-
376
- #### Step 3️⃣: 각 에이전트 분석 항목
377
- ```
378
- ✓ 메타데이터 검토 (YAML frontmatter, 버전, 설명)
379
- ✓ 문서 구조 분석 (섹션 수, 제목, 목차)
380
- ✓ 핵심 내용 평가 (정확성, 완결성, 심화도)
381
- ✓ 코드 예시 확인 (유무, 실전성, 복잡도)
382
- ✓ 완성도 점수 매김 (0-100)
383
- ✓ 강점/약점 분류
384
- ✓ 개선사항 제안 (우선순위별)
385
- ```
386
-
387
- #### Step 4️⃣: 결과 통합
388
- ```
389
- 4개 분석 결과 JSON → 계층별 요약 테이블
390
- → Cross-Tier 패턴 발견
391
- → 종합 권장사항 수립
392
- → 액션 플랜 수립
393
- ```
394
-
395
- ### ⏱️ 효율성 비교
396
- ```
397
- 순차 분석 (Sequential) : 4 × 15분 = 60분
398
- 병렬 분석 (Parallel) : 15분 (동시 실행)
399
- 효율 개선 : 4배 빠름 (300% 개선)
400
- ```
401
-
402
- ### 🧠 병렬 분석의 이점
403
- 1. **시간 효율**: 동시 실행으로 4배 빠른 완료
404
- 2. **Cross-Tier 비교**: 여러 계층을 동시에 평가하여 패턴 발견 용이
405
- 3. **일관된 평가**: 동일 기준으로 동시 진행하여 편향 최소화
406
- 4. **종합 인사이트**: 개별 분석 후 통합으로 높은 수준의 통찰 가능
407
-
408
- ---
409
-
410
- ## 🎓 Skill Factory 에이전트의 역할
411
-
412
- ### 에이전트 책임
413
- - ✅ YAML 메타데이터 구조 검증
414
- - ✅ 문서 표준 준수도 평가
415
- - ✅ 내용 완전성 점수 매김
416
- - ✅ 개선사항 구체화 및 우선순위 지정
417
- - ✅ 다른 스킬과의 연계성 분석
418
-
419
- ### 통합 분석 정보
420
- - 📊 계층별 평균 점수 계산
421
- - 📈 패턴 분석 (공통 강점/약점)
422
- - 🎯 영향도 분석 (개선 시 ROI)
423
- - 📋 액션 플랜 수립
424
-
425
- ---
426
-
427
- **분석 완료 일시**: 2025-10-22 14:30 UTC
428
- **분석 에이전트**: skill-factory (메인), general-purpose (4개 병렬)
429
- **다음 단계**: [권장 액션 플랜 Phase 1 실행]