moai-adk 0.15.0__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 -392
  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 -1525
  134. moai_adk/templates/.claude/commands/alfred/1-plan.md +0 -802
  135. moai_adk/templates/.claude/commands/alfred/2-run.md +0 -709
  136. moai_adk/templates/.claude/commands/alfred/3-sync.md +0 -1009
  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.0.dist-info/METADATA +0 -3079
  414. moai_adk-0.15.0.dist-info/RECORD +0 -365
  415. {moai_adk-0.15.0.dist-info → moai_adk-0.25.4.dist-info}/WHEEL +0 -0
  416. {moai_adk-0.15.0.dist-info → moai_adk-0.25.4.dist-info}/entry_points.txt +0 -0
  417. {moai_adk-0.15.0.dist-info → moai_adk-0.25.4.dist-info}/licenses/LICENSE +0 -0
@@ -1,218 +0,0 @@
1
- # Skills Description 개선 정책
2
-
3
- > MoAI-ADK의 모든 Skills에 적용되는 description 작성 표준
4
-
5
- ---
6
-
7
- ## 🎯 설명 (Description) 작성 원칙
8
-
9
- ### 1. 기본 구조
10
-
11
- 모든 Skill의 description은 다음 3가지를 포함해야 합니다:
12
-
13
- ```
14
- [What it does]: 간단한 기능 설명 (8-12 단어)
15
- [Key capabilities]: 핵심 기능 목록 (2-3개)
16
- [When to use]: 사용 시점 (3-5개 트리거 키워드, "Use when" 사용)
17
- ```
18
-
19
- ### 2. 작성 템플릿
20
-
21
- **기본 템플릿**:
22
- ```
23
- description: [기능 설명]. [핵심 기능]. Use when [트리거1], [트리거2], or [트리거3].
24
- ```
25
-
26
- **확장 템플릿** (필요 시):
27
- ```
28
- description: [기능 설명]. [핵심 기능1], [핵심 기능2]. Use when [트리거1], [트리거2], [트리거3], or [트리거4]. Automatically activates [연관 Skills] for [목적].
29
- ```
30
-
31
- ### 3. Skills 카테고리별 템플릿
32
-
33
- #### Foundation Skills (moai-foundation-*)
34
- ```
35
- description: [기능]. [핵심 기능 (예: validation, authoring)]. Use when [작업1], [작업2], [작업3], or [작업4].
36
- ```
37
- **예시**:
38
- - ✅ "Validates SPEC YAML frontmatter (7 required fields) and HISTORY section. Use when creating SPEC documents, validating SPEC metadata, checking SPEC structure, or authoring specifications."
39
- - ❌ "SPEC metadata validation" (너무 짧음)
40
-
41
- #### Alfred Skills (moai-alfred-*)
42
- ```
43
- description: [기능]. [핵심 능력]. Use when [검증/분석/관리 대상], [조건], or [상황]. Automatically activates [연관 Skills] for [목적].
44
- ```
45
- **예시**:
46
- - ✅ "Validates TRUST 5-principles (Test 85%+, Code constraints, Architecture unity, Security, TAG trackability). Use when validating code quality, checking TRUST compliance, verifying test coverage, or analyzing security patterns. Automatically activates moai-foundation-trust and language-specific skills for comprehensive validation."
47
- - ❌ "TRUST validation" (너무 짧고 트리거 키워드 없음)
48
-
49
- #### Language Skills (moai-lang-*)
50
- ```
51
- description: [언어] best practices with [주요 도구]. Use when [개발 활동], [패턴], or [특수 케이스].
52
- ```
53
- **예시**:
54
- - ✅ "Python best practices with pytest, mypy, ruff, black. Use when writing Python code, implementing tests, type-checking, formatting code, or following PEP standards."
55
- - ❌ "Python best practices" (너무 일반적)
56
-
57
- #### Domain Skills (moai-domain-*)
58
- ```
59
- description: [도메인] development with [주요 기술/패턴]. Use when [도메인 활동1], [도메인 활동2], or [특수 상황].
60
- ```
61
- **예시**:
62
- - ✅ "Backend API development with REST patterns, authentication, error handling. Use when designing REST APIs, implementing authentication, or building backend services."
63
- - ❌ "Backend development" (구체성 부족)
64
-
65
- ### 4. 트리거 키워드 가이드
66
-
67
- #### 작업 중심 키워드
68
- - "creating [artifact]", "writing [code/docs]", "implementing [feature]"
69
- - "validating [aspect]", "checking [quality]", "verifying [compliance]"
70
- - "analyzing [code/data]", "debugging [issue]", "diagnosing [problem]"
71
-
72
- #### 조건 중심 키워드
73
- - "when working with [file type/framework]"
74
- - "when developing [feature/component]"
75
- - "when applying [pattern/practice]"
76
-
77
- #### 상황 중심 키워드
78
- - "for [workflow/process]", "during [phase/stage]"
79
- - "to [achieve goal/outcome]"
80
-
81
- ### 5. 금지 사항 (Anti-patterns)
82
-
83
- ❌ **너무 짧음**:
84
- ```
85
- description: Helps with documents
86
- ```
87
-
88
- ❌ **트리거 키워드 없음**:
89
- ```
90
- description: PDF processing tool
91
- ```
92
-
93
- ❌ **"I can", "You can" 사용** (첫 인칭 회피):
94
- ```
95
- description: I help you process Excel files
96
- ```
97
-
98
- ❌ **기술적 세부사항만**:
99
- ```
100
- description: Uses pdfplumber library
101
- ```
102
-
103
- ---
104
-
105
- ## 📊 Skills 목록별 개선 체크리스트
106
-
107
- ### Priority 1: Foundation Skills (7개)
108
- - [ ] moai-foundation-specs ✅ 완료
109
- - [ ] moai-foundation-ears ✅ 완료
110
- - [ ] moai-foundation-tags
111
- - [ ] moai-foundation-trust
112
- - [ ] moai-foundation-langs
113
- - [ ] moai-claude-code
114
- - [ ] moai-foundation-git
115
-
116
- ### Priority 2: Alfred Skills (10개)
117
- - [ ] moai-alfred-tag-scanning
118
- - [ ] moai-alfred-trust-validation
119
- - [ ] moai-alfred-spec-metadata-validation
120
- - [ ] moai-alfred-code-reviewer
121
- - [ ] moai-alfred-git-workflow
122
- - [ ] moai-alfred-ears-authoring
123
- - [ ] moai-alfred-debugger-pro
124
- - [ ] moai-alfred-language-detection
125
- - [ ] moai-alfred-performance-optimizer
126
- - [ ] moai-alfred-refactoring-coach
127
-
128
- ### Priority 3: Language Skills (20개)
129
- - moai-lang-typescript
130
- - moai-lang-python
131
- - moai-lang-go
132
- - moai-lang-rust
133
- - moai-lang-java
134
- - ... (14개 더)
135
-
136
- ### Priority 4: Domain Skills (12개)
137
- - moai-domain-backend
138
- - moai-domain-frontend
139
- - moai-domain-web-api
140
- - moai-domain-database
141
- - ... (8개 더)
142
-
143
- ### Priority 5: Essentials Skills (4개)
144
- - moai-essentials-debug
145
- - moai-essentials-review
146
- - moai-essentials-refactor
147
- - moai-essentials-perf
148
-
149
- ---
150
-
151
- ## 🔧 개선 방법
152
-
153
- ### 방법 1: 개별 Edit (고품질)
154
- 각 Skill의 `description` 필드를 수작업 Edit
155
- - 이점: 각 Skill에 최적화된 description
156
- - 단점: 시간이 오래 걸림 (60+ Skills)
157
-
158
- ### 방법 2: 정책 기반 일괄 개선 (효율성)
159
- 템플릿을 기반으로 Pattern matching으로 우선순위별 개선
160
- 1. Priority 1-2: 개별 Edit (가장 중요)
161
- 2. Priority 3-5: 템플릿 기반 일괄 적용
162
-
163
- ### 현재 진행 상태
164
- - ✅ moai-foundation-specs (Priority 1)
165
- - ✅ moai-foundation-ears (Priority 1)
166
- - ⏳ 나머지 50+ Skills (Priority 2-5)
167
-
168
- ---
169
-
170
- ## 📝 작성 예시
171
-
172
- ### 좋은 예시
173
-
174
- #### Foundation Skill
175
- ```yaml
176
- description: Validates SPEC YAML frontmatter (7 required fields id, version, status, created, updated, author, priority) and HISTORY section. Use when creating SPEC documents, validating SPEC metadata, checking SPEC structure, or authoring specifications.
177
- ```
178
-
179
- #### Alfred Skill
180
- ```yaml
181
- description: Generates descriptive commit messages by analyzing git diffs. Use when writing commit messages, reviewing staged changes, or summarizing code modifications. Automatically activates git-workflow skill for advanced patterns.
182
- ```
183
-
184
- #### Language Skill
185
- ```yaml
186
- description: TypeScript best practices with Vitest, Biome, strict typing. Use when implementing TypeScript code, writing tests, checking code quality, or applying type safety patterns.
187
- ```
188
-
189
- #### Domain Skill
190
- ```yaml
191
- description: REST API design patterns with authentication, versioning, error handling. Use when designing REST APIs, implementing authentication, building backend services, or managing API versions.
192
- ```
193
-
194
- ### 수정 전 vs 수정 후
195
-
196
- | Skill | Before | After |
197
- |-------|--------|-------|
198
- | moai-foundation-specs | "Validates SPEC YAML frontmatter (7 required fields) and HISTORY section" | "Validates SPEC YAML frontmatter (7 required fields id, version, status, created, updated, author, priority) and HISTORY section. Use when creating SPEC documents, validating SPEC metadata, checking SPEC structure, or authoring specifications." |
199
- | moai-foundation-ears | "EARS requirement authoring guide (Ubiquitous/Event/State/Optional/Constraints)" | "EARS requirement authoring guide covering Ubiquitous/Event/State/Optional/Constraints syntax patterns. Use when writing requirements, authoring specifications, defining system behavior, or creating functional requirements." |
200
-
201
- ---
202
-
203
- ## ✅ 최종 검증 체크리스트
204
-
205
- 각 Skill의 description이 다음을 만족하는지 확인:
206
-
207
- - [ ] **"What it does"**: 명확한 기능 설명 (명사 + 동사)
208
- - [ ] **"Use when"**: 3~5개 구체적 트리거 키워드 포함
209
- - [ ] **길이**: 한 줄 (150-200 자 권장)
210
- - [ ] **관계**: 연관된 Skills 명시 (선택)
211
- - [ ] **발견성**: 검색 키워드 포함 (sub-agent가 발견 가능)
212
- - [ ] **첫 인칭 회피**: "I", "You", "Our" 사용 안 함
213
- - [ ] **기술 중심성 회피**: 라이브러리/도구명보다 기능/목적 우선
214
-
215
- ---
216
-
217
- **작성일**: 2025-10-20
218
- **최종 업데이트**: Phase 2 진행 중
@@ -1,482 +0,0 @@
1
- # Skill Quality Validation Checklist
2
-
3
- This checklist ensures every Skill meets MoAI-ADK quality standards before publication. Use this guide for pre-publication audits and release validation.
4
-
5
- ---
6
-
7
- ## Pre-Publication Audit (40 Points)
8
-
9
- Complete this checklist before committing a new Skill to the repository.
10
-
11
- ### Metadata Completeness (8 Points)
12
-
13
- - [ ] **name** field present
14
- - [ ] ≤ 64 characters
15
- - [ ] Gerund format (action verb)
16
- - [ ] Specific and discoverable (not generic like "Python Helper")
17
- - Points: 2
18
-
19
- - [ ] **description** field present
20
- - [ ] ≤ 1024 characters
21
- - [ ] Includes 3+ discoverable keywords
22
- - [ ] Describes both WHAT (capabilities) and WHEN (use cases)
23
- - [ ] Written in third person ("The Skill does X")
24
- - Points: 3
25
-
26
- - [ ] **allowed-tools** field present
27
- - [ ] Tools actually used by Skill
28
- - [ ] Minimal scope (no overly broad patterns)
29
- - [ ] Properly comma-separated
30
- - Points: 1
31
-
32
- - [ ] YAML frontmatter valid
33
- - [ ] Starts with `---`
34
- - [ ] Ends with `---`
35
- - [ ] No tabs (spaces only)
36
- - Points: 2
37
-
38
- **Subtotal**: 8 points
39
-
40
- ### Content Quality (16 Points)
41
-
42
- - [ ] **SKILL.md completeness**
43
- - [ ] ≤ 500 lines total
44
- - [ ] Clear overview/introduction section
45
- - [ ] Progressive Disclosure pattern applied
46
- - [ ] Relative paths used for cross-file links
47
- - Points: 4
48
-
49
- - [ ] **Examples included**
50
- - [ ] At least 1 example per major concept
51
- - [ ] Concrete code or pseudocode shown
52
- - [ ] Examples match skill's freedom level
53
- - Points: 2
54
-
55
- - [ ] **Terminology consistency**
56
- - [ ] Key terms defined once (glossary section)
57
- - [ ] Same term used consistently (no synonyms)
58
- - [ ] No conflicting definitions
59
- - Points: 2
60
-
61
- - [ ] **Anti-patterns avoided**
62
- - [ ] No time-sensitive information
63
- - [ ] No Windows-style paths (`\`)
64
- - [ ] No absolute paths
65
- - [ ] No vague instructions ("make it fast")
66
- - Points: 2
67
-
68
- - [ ] **File organization**
69
- - [ ] One level deep (no nested subdirs)
70
- - [ ] Forward slashes in all paths
71
- - [ ] Clear file naming (kebab-case for scripts)
72
- - Points: 2
73
-
74
- - [ ] **Supporting files (if present)**
75
- - [ ] reference.md has clear structure
76
- - [ ] examples.md demonstrates 3-4 scenarios
77
- - [ ] Files progressively disclosed (not duplicating SKILL.md)
78
- - Points: 2
79
-
80
- **Subtotal**: 16 points
81
-
82
- ### Multi-Model Compatibility (8 Points)
83
-
84
- Test Skill with Haiku, Sonnet, and Opus (or equivalent):
85
-
86
- - [ ] **Haiku activation test**
87
- - [ ] Skill activates on relevant request
88
- - [ ] Simple examples understood
89
- - [ ] Can follow basic patterns
90
- - Points: 2
91
-
92
- - [ ] **Sonnet full capability test**
93
- - [ ] Exploits full Skill depth
94
- - [ ] Connects concepts across sections
95
- - [ ] Uses all provided patterns
96
- - Points: 3
97
-
98
- - [ ] **Opus extension test** (if Opus available)
99
- - [ ] Can extend patterns beyond examples
100
- - [ ] Applies concepts to novel scenarios
101
- - [ ] Integrates with broader knowledge
102
- - Points: 3
103
-
104
- **Subtotal**: 8 points
105
-
106
- ### Security & Compliance (8 Points)
107
-
108
- - [ ] **No sensitive data**
109
- - [ ] No credentials, API keys, secrets
110
- - [ ] No private email addresses
111
- - [ ] No internal URLs or IPs
112
- - Points: 2
113
-
114
- - [ ] **Scripts security**
115
- - [ ] Error handling included (`set -euo pipefail` for Bash)
116
- - [ ] Input validation present
117
- - [ ] Safe file operations (with backups)
118
- - [ ] Exit codes properly used
119
- - Points: 2
120
-
121
- - [ ] **No risky assumptions**
122
- - [ ] No "assuming ~/config exists"
123
- - [ ] No system-state dependencies
124
- - [ ] Platform-agnostic paths
125
- - Points: 2
126
-
127
- - [ ] **Destructive operations protected**
128
- - [ ] `rm`, `mv`, `mv` require confirmation
129
- - [ ] Rollback options documented
130
- - [ ] Warnings clearly marked
131
- - Points: 2
132
-
133
- **Subtotal**: 8 points
134
-
135
- ---
136
-
137
- ## Verification Checklist (30 Points)
138
-
139
- ### File Structure (6 Points)
140
-
141
- - [ ] Root directory named correctly (skill-name format)
142
- - [ ] SKILL.md present in root
143
- - [ ] All files at one level (no nesting)
144
- - [ ] scripts/ subdirectory (if scripts present)
145
- - [ ] templates/ subdirectory (if templates present)
146
- - [ ] No extra directories or files
147
- - Points: 6
148
-
149
- ### File Validity (6 Points)
150
-
151
- - [ ] All `.md` files are valid Markdown
152
- - [ ] Headers properly formatted (`#`, `##`, etc.)
153
- - [ ] Code blocks properly fenced (` ``` `)
154
- - [ ] Links properly formatted (`[text](path)`)
155
- - Points: 2
156
-
157
- - [ ] All scripts have proper shebang
158
- - [ ] Bash: `#!/bin/bash`
159
- - [ ] Python: `#!/usr/bin/env python3`
160
- - [ ] Permissions: 755 or `chmod +x`
161
- - Points: 2
162
-
163
- - [ ] YAML frontmatter parses correctly
164
- - [ ] No syntax errors
165
- - [ ] Proper indentation
166
- - [ ] All required fields present
167
- - Points: 2
168
-
169
- ### Progressive Disclosure (6 Points)
170
-
171
- - [ ] **Level 1 (Metadata)**
172
- - [ ] Name, description, allowed-tools complete
173
- - [ ] YAML valid
174
- - Points: 2
175
-
176
- - [ ] **Level 2 (Main Instructions)**
177
- - [ ] SKILL.md standalone and complete
178
- - [ ] Can understand without reading Level 3
179
- - Points: 2
180
-
181
- - [ ] **Level 3 (Resources)**
182
- - [ ] Supporting files referenced but not required
183
- - [ ] Scripts/templates optional enhancements
184
- - [ ] No circular dependencies
185
- - Points: 2
186
-
187
- ### Reference Accuracy (6 Points)
188
-
189
- - [ ] All links valid
190
- - [ ] `[text](reference.md)` links work
191
- - [ ] No broken internal links
192
- - [ ] No external links (except documentation)
193
- - Points: 2
194
-
195
- - [ ] All file paths relative
196
- - [ ] No absolute paths
197
- - [ ] Forward slashes throughout
198
- - [ ] Platform-agnostic
199
- - Points: 2
200
-
201
- - [ ] Scripts and templates discoverable
202
- - [ ] Referenced in SKILL.md
203
- - [ ] Clear usage instructions
204
- - [ ] Easy to find and use
205
- - Points: 2
206
-
207
- ### Completeness (6 Points)
208
-
209
- - [ ] All referenced files exist
210
- - [ ] Every link points to existing file
211
- - [ ] No dangling references
212
- - Points: 2
213
-
214
- - [ ] No TODO or incomplete sections
215
- - [ ] All sections written
216
- - [ ] No placeholder text
217
- - [ ] No "TBD" or "coming soon"
218
- - Points: 2
219
-
220
- - [ ] Documentation complete
221
- - [ ] Scripts have usage comments
222
- - [ ] Templates have placeholders documented
223
- - [ ] All examples explained
224
- - Points: 2
225
-
226
- ---
227
-
228
- ## Release Gate Checks (15 Points)
229
-
230
- Performed before merge to production:
231
-
232
- ### Final Review (5 Points)
233
-
234
- - [ ] At least 1 peer review completed
235
- - [ ] No critical issues flagged
236
- - [ ] All feedback addressed
237
- - Points: 5
238
-
239
- ### Automated Checks (5 Points)
240
-
241
- - [ ] YAML syntax valid
242
- - [ ] Markdown renders without errors
243
- - [ ] All file paths accessible
244
- - [ ] No forbidden patterns detected
245
- - Points: 5
246
-
247
- ### Documentation (5 Points)
248
-
249
- - [ ] Skill registered in `.moai/memory/skill-registry.md`
250
- - [ ] CHANGELOG entry added
251
- - [ ] Version number set (start with 0.1.0)
252
- - Points: 5
253
-
254
- ---
255
-
256
- ## Quick Validation Script
257
-
258
- Use this bash script for automated validation:
259
-
260
- ```bash
261
- #!/bin/bash
262
- set -euo pipefail
263
-
264
- SKILL_PATH=$1
265
- SCORE=0
266
- MAX_SCORE=85
267
-
268
- echo "🔍 Validating Skill: $SKILL_PATH"
269
- echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
270
-
271
- # Check SKILL.md exists
272
- if [[ -f "$SKILL_PATH/SKILL.md" ]]; then
273
- echo "✓ SKILL.md found"
274
- ((SCORE+=5))
275
- else
276
- echo "✗ SKILL.md missing"
277
- fi
278
-
279
- # Check metadata
280
- if grep -q "^name:" "$SKILL_PATH/SKILL.md"; then
281
- echo "✓ name field present"
282
- ((SCORE+=2))
283
- else
284
- echo "✗ name field missing"
285
- fi
286
-
287
- if grep -q "^description:" "$SKILL_PATH/SKILL.md"; then
288
- echo "✓ description field present"
289
- ((SCORE+=2))
290
- else
291
- echo "✗ description field missing"
292
- fi
293
-
294
- # Check file count
295
- FILE_COUNT=$(find "$SKILL_PATH" -maxdepth 1 -type f | wc -l)
296
- if [[ $FILE_COUNT -lt 10 ]]; then
297
- echo "✓ Reasonable file count ($FILE_COUNT files)"
298
- ((SCORE+=3))
299
- else
300
- echo "⚠ Many files ($FILE_COUNT), consider consolidation"
301
- fi
302
-
303
- # Check line count
304
- SKILL_LINES=$(wc -l < "$SKILL_PATH/SKILL.md" || echo 0)
305
- if [[ $SKILL_LINES -le 500 ]]; then
306
- echo "✓ SKILL.md within limits ($SKILL_LINES lines)"
307
- ((SCORE+=3))
308
- else
309
- echo "✗ SKILL.md too large ($SKILL_LINES lines, max 500)"
310
- fi
311
-
312
- echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
313
- echo "Score: $SCORE/$MAX_SCORE"
314
-
315
- if [[ $SCORE -ge 75 ]]; then
316
- echo "✅ Ready for publication"
317
- exit 0
318
- else
319
- echo "❌ Needs improvement"
320
- exit 1
321
- fi
322
- ```
323
-
324
- **Usage**:
325
- ```bash
326
- ./validate-skill.sh /path/to/skill-name
327
- ```
328
-
329
- ---
330
-
331
- ## Audit Report Template
332
-
333
- Document your validation results:
334
-
335
- ```markdown
336
- # Skill Audit Report: [Skill Name]
337
-
338
- **Date**: [YYYY-MM-DD]
339
- **Reviewer**: [Name]
340
- **Status**: ✅ PASS / ❌ FAIL
341
-
342
- ## Metadata Completeness
343
- - [x] name (64 chars max)
344
- - [x] description (includes triggers)
345
- - [x] allowed-tools (minimal)
346
- Score: 8/8
347
-
348
- ## Content Quality
349
- - [x] SKILL.md ≤ 500 lines
350
- - [x] Examples included
351
- - [x] Terminology consistent
352
- Score: 16/16
353
-
354
- ## Multi-Model Compatibility
355
- - [x] Haiku: Can activate and use
356
- - [x] Sonnet: Full exploitation
357
- - [x] Opus: Can extend patterns
358
- Score: 8/8
359
-
360
- ## Security & Compliance
361
- - [x] No sensitive data
362
- - [x] Scripts have error handling
363
- - [x] No risky assumptions
364
- - [x] Destructive ops protected
365
- Score: 8/8
366
-
367
- ## File Structure
368
- - [x] Proper organization
369
- - [x] All files valid
370
- - [x] Progressive Disclosure applied
371
- - [x] References accurate
372
- Score: 24/24
373
-
374
- ## Release Gate
375
- - [x] Peer reviewed
376
- - [x] Automated checks pass
377
- - [x] Documentation complete
378
- Score: 15/15
379
-
380
- ---
381
-
382
- ## Total Score: 85/85 ✅
383
-
384
- ### Notes
385
- - Exceeded all quality gates
386
- - Excellent example coverage
387
- - Well-structured documentation
388
-
389
- ### Recommendations
390
- - None; ready for merge
391
-
392
- ### Approved By
393
- [Signature/Name]
394
- ```
395
-
396
- ---
397
-
398
- ## Common Issues & Fixes
399
-
400
- | Issue | Points Lost | Fix | Prevention |
401
- |-------|------------|-----|-----------|
402
- | SKILL.md > 500 lines | -5 | Split into reference.md | Plan file structure upfront |
403
- | No examples | -4 | Add 1+ concrete examples | Add during initial draft |
404
- | Time-sensitive data | -8 | Remove dates, use "current" | Security audit before draft |
405
- | Vague descriptions | -5 | Add specific keywords | Test description with Haiku |
406
- | Broken links | -3 | Verify all references | Run automated checker |
407
- | Windows paths | -2 | Replace `\` with `/` | Use linter/CI check |
408
- | No error handling | -3 | Add `set -euo pipefail` | Script template with safety |
409
-
410
- ---
411
-
412
- ## Passing Criteria
413
-
414
- | Score | Status | Action |
415
- |-------|--------|--------|
416
- | 85-95 | ✅ Pass | Ready for merge |
417
- | 75-84 | ⚠️ Minor issues | Fix and retest |
418
- | 65-74 | ❌ Significant gaps | Major revisions needed |
419
- | <65 | 🔴 Critical issues | Consider redesign |
420
-
421
- ---
422
-
423
- ## Checklist Scoring Breakdown
424
-
425
- ```
426
- Metadata Completeness ............ 8/8 points
427
- Content Quality .................. 16/16 points
428
- Multi-Model Compatibility ........ 8/8 points
429
- Security & Compliance ............ 8/8 points
430
- File Structure ................... 6/6 points
431
- File Validity .................... 6/6 points
432
- Progressive Disclosure ........... 6/6 points
433
- Reference Accuracy ............... 6/6 points
434
- Completeness ..................... 6/6 points
435
- Final Review ..................... 5/5 points
436
- Automated Checks ................. 5/5 points
437
- Documentation .................... 5/5 points
438
- ─────────────────────────────────────────
439
- TOTAL ............................ 85/85 points
440
- ```
441
-
442
- ---
443
-
444
- ## Continuous Quality
445
-
446
- ### Before Merge
447
- - [ ] All checklist items completed
448
- - [ ] Score ≥ 85/85
449
- - [ ] Peer review approved
450
- - [ ] No blocking issues
451
-
452
- ### After Merge
453
- - [ ] Monitor activation patterns
454
- - [ ] Gather feedback from users
455
- - [ ] Update if gaps discovered
456
- - [ ] Version bump for significant changes
457
-
458
- ---
459
-
460
- ## Related References
461
-
462
- - [SKILL.md](SKILL.md) — Main Skill framework
463
- - [METADATA.md](METADATA.md) — Metadata specifications
464
- - [STRUCTURE.md](STRUCTURE.md) — File organization
465
- - [EXAMPLES.md](EXAMPLES.md) — Real-world examples
466
- - [INTERACTIVE-DISCOVERY.md](INTERACTIVE-DISCOVERY.md) — TUI discovery patterns
467
- - [WEB-RESEARCH.md](WEB-RESEARCH.md) — Web research strategies
468
- - [SKILL-UPDATE-ADVISOR.md](SKILL-UPDATE-ADVISOR.md) — Skill analysis & updates
469
-
470
- ---
471
-
472
- **Version**: 0.3.0 (with Interactive Discovery, Web Research, & Update Advisor)
473
- **Last Updated**: 2025-10-22
474
- **Framework**: MoAI-ADK + Claude Code Skills + skill-factory
475
- **Key Enhancements**:
476
- - ✅ Interactive TUI surveys for requirement gathering
477
- - ✅ Web research integration for latest information
478
- - ✅ Skill update analysis & recommendations
479
- - ✅ Official documentation validation
480
- - ✅ Progressive Disclosure pattern
481
- - ✅ Freedom level framework
482
- - ✅ Multi-model compatibility testing