moai-adk 0.10.1__py3-none-any.whl → 0.11.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of moai-adk might be problematic. Click here for more details.

Files changed (245) hide show
  1. moai_adk/core/project/phase_executor.py +4 -0
  2. moai_adk/core/tags/ci_validator.py +33 -3
  3. moai_adk/core/template_engine.py +6 -2
  4. moai_adk/templates/.github/workflows/moai-gitflow.yml +6 -1
  5. moai_adk/templates/.github/workflows/release.yml +6 -2
  6. moai_adk/templates/.github/workflows/tag-validation.yml +53 -8
  7. moai_adk/templates/CLAUDE.md +458 -67
  8. {moai_adk-0.10.1.dist-info → moai_adk-0.11.0.dist-info}/METADATA +28 -13
  9. moai_adk-0.11.0.dist-info/RECORD +77 -0
  10. moai_adk/templates/.claude/agents/alfred/cc-manager.md +0 -316
  11. moai_adk/templates/.claude/agents/alfred/debug-helper.md +0 -208
  12. moai_adk/templates/.claude/agents/alfred/doc-syncer.md +0 -214
  13. moai_adk/templates/.claude/agents/alfred/git-manager.md +0 -406
  14. moai_adk/templates/.claude/agents/alfred/implementation-planner.md +0 -350
  15. moai_adk/templates/.claude/agents/alfred/project-manager.md +0 -273
  16. moai_adk/templates/.claude/agents/alfred/quality-gate.md +0 -343
  17. moai_adk/templates/.claude/agents/alfred/skill-factory.md +0 -865
  18. moai_adk/templates/.claude/agents/alfred/spec-builder.md +0 -287
  19. moai_adk/templates/.claude/agents/alfred/tag-agent.md +0 -287
  20. moai_adk/templates/.claude/agents/alfred/tdd-implementer.md +0 -326
  21. moai_adk/templates/.claude/agents/alfred/trust-checker.md +0 -375
  22. moai_adk/templates/.claude/commands/alfred/0-project.md +0 -1189
  23. moai_adk/templates/.claude/commands/alfred/1-plan.md +0 -728
  24. moai_adk/templates/.claude/commands/alfred/2-run.md +0 -545
  25. moai_adk/templates/.claude/commands/alfred/3-sync.md +0 -683
  26. moai_adk/templates/.claude/commands/alfred/9-feedback.md +0 -149
  27. moai_adk/templates/.claude/hooks/alfred/alfred_hooks.py +0 -209
  28. moai_adk/templates/.claude/hooks/alfred/core/project.py +0 -750
  29. moai_adk/templates/.claude/hooks/alfred/core/version_cache.py +0 -198
  30. moai_adk/templates/.claude/hooks/alfred/notification__handle_events.py +0 -102
  31. moai_adk/templates/.claude/hooks/alfred/post_tool__log_changes.py +0 -102
  32. moai_adk/templates/.claude/hooks/alfred/pre_tool__auto_checkpoint.py +0 -108
  33. moai_adk/templates/.claude/hooks/alfred/session_end__cleanup.py +0 -102
  34. moai_adk/templates/.claude/hooks/alfred/session_start__show_project_info.py +0 -102
  35. moai_adk/templates/.claude/hooks/alfred/shared/core/__init__.py +0 -170
  36. moai_adk/templates/.claude/hooks/alfred/shared/core/checkpoint.py +0 -271
  37. moai_adk/templates/.claude/hooks/alfred/shared/core/context.py +0 -67
  38. moai_adk/templates/.claude/hooks/alfred/shared/core/project.py +0 -756
  39. moai_adk/templates/.claude/hooks/alfred/shared/core/tags.py +0 -198
  40. moai_adk/templates/.claude/hooks/alfred/shared/core/version_cache.py +0 -198
  41. moai_adk/templates/.claude/hooks/alfred/shared/handlers/__init__.py +0 -21
  42. moai_adk/templates/.claude/hooks/alfred/shared/handlers/notification.py +0 -25
  43. moai_adk/templates/.claude/hooks/alfred/shared/handlers/session.py +0 -175
  44. moai_adk/templates/.claude/hooks/alfred/shared/handlers/tool.py +0 -90
  45. moai_adk/templates/.claude/hooks/alfred/shared/handlers/user.py +0 -61
  46. moai_adk/templates/.claude/hooks/alfred/stop__handle_interrupt.py +0 -102
  47. moai_adk/templates/.claude/hooks/alfred/subagent_stop__handle_subagent_end.py +0 -102
  48. moai_adk/templates/.claude/hooks/alfred/user_prompt__jit_load_docs.py +0 -120
  49. moai_adk/templates/.claude/output-styles/alfred/agentic-coding.md +0 -640
  50. moai_adk/templates/.claude/output-styles/alfred/moai-adk-learning.md +0 -696
  51. moai_adk/templates/.claude/output-styles/alfred/study-with-alfred.md +0 -474
  52. moai_adk/templates/.claude/settings.json +0 -144
  53. moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/SKILL.md +0 -113
  54. moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/examples.md +0 -29
  55. moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/reference.md +0 -28
  56. moai_adk/templates/.claude/skills/moai-alfred-git-workflow/SKILL.md +0 -122
  57. moai_adk/templates/.claude/skills/moai-alfred-git-workflow/examples.md +0 -29
  58. moai_adk/templates/.claude/skills/moai-alfred-git-workflow/reference.md +0 -29
  59. moai_adk/templates/.claude/skills/moai-alfred-interactive-questions/SKILL.md +0 -237
  60. moai_adk/templates/.claude/skills/moai-alfred-interactive-questions/examples.md +0 -615
  61. moai_adk/templates/.claude/skills/moai-alfred-interactive-questions/reference.md +0 -653
  62. moai_adk/templates/.claude/skills/moai-alfred-language-detection/SKILL.md +0 -113
  63. moai_adk/templates/.claude/skills/moai-alfred-language-detection/examples.md +0 -29
  64. moai_adk/templates/.claude/skills/moai-alfred-language-detection/reference.md +0 -28
  65. moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/SKILL.md +0 -113
  66. moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/examples.md +0 -29
  67. moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/reference.md +0 -28
  68. moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/SKILL.md +0 -113
  69. moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/examples.md +0 -29
  70. moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/reference.md +0 -28
  71. moai_adk/templates/.claude/skills/moai-alfred-trust-validation/SKILL.md +0 -113
  72. moai_adk/templates/.claude/skills/moai-alfred-trust-validation/examples.md +0 -29
  73. moai_adk/templates/.claude/skills/moai-alfred-trust-validation/reference.md +0 -28
  74. moai_adk/templates/.claude/skills/moai-cc-agents/SKILL.md +0 -269
  75. moai_adk/templates/.claude/skills/moai-cc-agents/templates/agent-template.md +0 -32
  76. moai_adk/templates/.claude/skills/moai-cc-claude-md/SKILL.md +0 -298
  77. moai_adk/templates/.claude/skills/moai-cc-claude-md/templates/CLAUDE-template.md +0 -26
  78. moai_adk/templates/.claude/skills/moai-cc-commands/SKILL.md +0 -307
  79. moai_adk/templates/.claude/skills/moai-cc-commands/templates/command-template.md +0 -21
  80. moai_adk/templates/.claude/skills/moai-cc-hooks/SKILL.md +0 -252
  81. moai_adk/templates/.claude/skills/moai-cc-hooks/scripts/pre-bash-check.sh +0 -19
  82. moai_adk/templates/.claude/skills/moai-cc-hooks/scripts/preserve-permissions.sh +0 -19
  83. moai_adk/templates/.claude/skills/moai-cc-hooks/scripts/validate-bash-command.py +0 -24
  84. moai_adk/templates/.claude/skills/moai-cc-mcp-plugins/SKILL.md +0 -199
  85. moai_adk/templates/.claude/skills/moai-cc-mcp-plugins/templates/settings-mcp-template.json +0 -39
  86. moai_adk/templates/.claude/skills/moai-cc-memory/SKILL.md +0 -316
  87. moai_adk/templates/.claude/skills/moai-cc-memory/templates/session-summary-template.md +0 -18
  88. moai_adk/templates/.claude/skills/moai-cc-settings/SKILL.md +0 -263
  89. moai_adk/templates/.claude/skills/moai-cc-settings/templates/settings-complete-template.json +0 -30
  90. moai_adk/templates/.claude/skills/moai-cc-skills/SKILL.md +0 -291
  91. moai_adk/templates/.claude/skills/moai-cc-skills/templates/SKILL-template.md +0 -15
  92. moai_adk/templates/.claude/skills/moai-domain-backend/SKILL.md +0 -290
  93. moai_adk/templates/.claude/skills/moai-domain-backend/examples.md +0 -1633
  94. moai_adk/templates/.claude/skills/moai-domain-backend/reference.md +0 -660
  95. moai_adk/templates/.claude/skills/moai-domain-cli-tool/SKILL.md +0 -123
  96. moai_adk/templates/.claude/skills/moai-domain-cli-tool/examples.md +0 -29
  97. moai_adk/templates/.claude/skills/moai-domain-cli-tool/reference.md +0 -30
  98. moai_adk/templates/.claude/skills/moai-domain-data-science/SKILL.md +0 -123
  99. moai_adk/templates/.claude/skills/moai-domain-data-science/examples.md +0 -29
  100. moai_adk/templates/.claude/skills/moai-domain-data-science/reference.md +0 -30
  101. moai_adk/templates/.claude/skills/moai-domain-database/SKILL.md +0 -123
  102. moai_adk/templates/.claude/skills/moai-domain-database/examples.md +0 -29
  103. moai_adk/templates/.claude/skills/moai-domain-database/reference.md +0 -30
  104. moai_adk/templates/.claude/skills/moai-domain-devops/SKILL.md +0 -124
  105. moai_adk/templates/.claude/skills/moai-domain-devops/examples.md +0 -29
  106. moai_adk/templates/.claude/skills/moai-domain-devops/reference.md +0 -31
  107. moai_adk/templates/.claude/skills/moai-domain-frontend/SKILL.md +0 -124
  108. moai_adk/templates/.claude/skills/moai-domain-frontend/examples.md +0 -29
  109. moai_adk/templates/.claude/skills/moai-domain-frontend/reference.md +0 -31
  110. moai_adk/templates/.claude/skills/moai-domain-ml/SKILL.md +0 -123
  111. moai_adk/templates/.claude/skills/moai-domain-ml/examples.md +0 -29
  112. moai_adk/templates/.claude/skills/moai-domain-ml/reference.md +0 -30
  113. moai_adk/templates/.claude/skills/moai-domain-mobile-app/SKILL.md +0 -123
  114. moai_adk/templates/.claude/skills/moai-domain-mobile-app/examples.md +0 -29
  115. moai_adk/templates/.claude/skills/moai-domain-mobile-app/reference.md +0 -30
  116. moai_adk/templates/.claude/skills/moai-domain-security/SKILL.md +0 -123
  117. moai_adk/templates/.claude/skills/moai-domain-security/examples.md +0 -29
  118. moai_adk/templates/.claude/skills/moai-domain-security/reference.md +0 -30
  119. moai_adk/templates/.claude/skills/moai-domain-web-api/SKILL.md +0 -123
  120. moai_adk/templates/.claude/skills/moai-domain-web-api/examples.md +0 -29
  121. moai_adk/templates/.claude/skills/moai-domain-web-api/reference.md +0 -30
  122. moai_adk/templates/.claude/skills/moai-essentials-debug/SKILL.md +0 -303
  123. moai_adk/templates/.claude/skills/moai-essentials-debug/examples.md +0 -1064
  124. moai_adk/templates/.claude/skills/moai-essentials-debug/reference.md +0 -1047
  125. moai_adk/templates/.claude/skills/moai-essentials-perf/SKILL.md +0 -113
  126. moai_adk/templates/.claude/skills/moai-essentials-perf/examples.md +0 -29
  127. moai_adk/templates/.claude/skills/moai-essentials-perf/reference.md +0 -28
  128. moai_adk/templates/.claude/skills/moai-essentials-refactor/SKILL.md +0 -113
  129. moai_adk/templates/.claude/skills/moai-essentials-refactor/examples.md +0 -29
  130. moai_adk/templates/.claude/skills/moai-essentials-refactor/reference.md +0 -28
  131. moai_adk/templates/.claude/skills/moai-essentials-review/SKILL.md +0 -113
  132. moai_adk/templates/.claude/skills/moai-essentials-review/examples.md +0 -29
  133. moai_adk/templates/.claude/skills/moai-essentials-review/reference.md +0 -28
  134. moai_adk/templates/.claude/skills/moai-foundation-ears/SKILL.md +0 -116
  135. moai_adk/templates/.claude/skills/moai-foundation-ears/examples.md +0 -29
  136. moai_adk/templates/.claude/skills/moai-foundation-ears/reference.md +0 -28
  137. moai_adk/templates/.claude/skills/moai-foundation-git/SKILL.md +0 -122
  138. moai_adk/templates/.claude/skills/moai-foundation-git/examples.md +0 -29
  139. moai_adk/templates/.claude/skills/moai-foundation-git/reference.md +0 -29
  140. moai_adk/templates/.claude/skills/moai-foundation-langs/SKILL.md +0 -113
  141. moai_adk/templates/.claude/skills/moai-foundation-langs/examples.md +0 -29
  142. moai_adk/templates/.claude/skills/moai-foundation-langs/reference.md +0 -28
  143. moai_adk/templates/.claude/skills/moai-foundation-specs/SKILL.md +0 -113
  144. moai_adk/templates/.claude/skills/moai-foundation-specs/examples.md +0 -29
  145. moai_adk/templates/.claude/skills/moai-foundation-specs/reference.md +0 -28
  146. moai_adk/templates/.claude/skills/moai-foundation-tags/SKILL.md +0 -113
  147. moai_adk/templates/.claude/skills/moai-foundation-tags/examples.md +0 -29
  148. moai_adk/templates/.claude/skills/moai-foundation-tags/reference.md +0 -28
  149. moai_adk/templates/.claude/skills/moai-foundation-trust/SKILL.md +0 -307
  150. moai_adk/templates/.claude/skills/moai-foundation-trust/examples.md +0 -0
  151. moai_adk/templates/.claude/skills/moai-foundation-trust/reference.md +0 -1099
  152. moai_adk/templates/.claude/skills/moai-lang-c/SKILL.md +0 -124
  153. moai_adk/templates/.claude/skills/moai-lang-c/examples.md +0 -29
  154. moai_adk/templates/.claude/skills/moai-lang-c/reference.md +0 -31
  155. moai_adk/templates/.claude/skills/moai-lang-cpp/SKILL.md +0 -124
  156. moai_adk/templates/.claude/skills/moai-lang-cpp/examples.md +0 -29
  157. moai_adk/templates/.claude/skills/moai-lang-cpp/reference.md +0 -31
  158. moai_adk/templates/.claude/skills/moai-lang-csharp/SKILL.md +0 -123
  159. moai_adk/templates/.claude/skills/moai-lang-csharp/examples.md +0 -29
  160. moai_adk/templates/.claude/skills/moai-lang-csharp/reference.md +0 -30
  161. moai_adk/templates/.claude/skills/moai-lang-dart/SKILL.md +0 -123
  162. moai_adk/templates/.claude/skills/moai-lang-dart/examples.md +0 -29
  163. moai_adk/templates/.claude/skills/moai-lang-dart/reference.md +0 -30
  164. moai_adk/templates/.claude/skills/moai-lang-go/SKILL.md +0 -124
  165. moai_adk/templates/.claude/skills/moai-lang-go/examples.md +0 -29
  166. moai_adk/templates/.claude/skills/moai-lang-go/reference.md +0 -31
  167. moai_adk/templates/.claude/skills/moai-lang-java/SKILL.md +0 -124
  168. moai_adk/templates/.claude/skills/moai-lang-java/examples.md +0 -29
  169. moai_adk/templates/.claude/skills/moai-lang-java/reference.md +0 -31
  170. moai_adk/templates/.claude/skills/moai-lang-javascript/SKILL.md +0 -125
  171. moai_adk/templates/.claude/skills/moai-lang-javascript/examples.md +0 -29
  172. moai_adk/templates/.claude/skills/moai-lang-javascript/reference.md +0 -32
  173. moai_adk/templates/.claude/skills/moai-lang-kotlin/SKILL.md +0 -124
  174. moai_adk/templates/.claude/skills/moai-lang-kotlin/examples.md +0 -29
  175. moai_adk/templates/.claude/skills/moai-lang-kotlin/reference.md +0 -31
  176. moai_adk/templates/.claude/skills/moai-lang-php/SKILL.md +0 -123
  177. moai_adk/templates/.claude/skills/moai-lang-php/examples.md +0 -29
  178. moai_adk/templates/.claude/skills/moai-lang-php/reference.md +0 -30
  179. moai_adk/templates/.claude/skills/moai-lang-python/SKILL.md +0 -431
  180. moai_adk/templates/.claude/skills/moai-lang-python/examples.md +0 -624
  181. moai_adk/templates/.claude/skills/moai-lang-python/reference.md +0 -316
  182. moai_adk/templates/.claude/skills/moai-lang-r/SKILL.md +0 -123
  183. moai_adk/templates/.claude/skills/moai-lang-r/examples.md +0 -29
  184. moai_adk/templates/.claude/skills/moai-lang-r/reference.md +0 -30
  185. moai_adk/templates/.claude/skills/moai-lang-ruby/SKILL.md +0 -124
  186. moai_adk/templates/.claude/skills/moai-lang-ruby/examples.md +0 -29
  187. moai_adk/templates/.claude/skills/moai-lang-ruby/reference.md +0 -31
  188. moai_adk/templates/.claude/skills/moai-lang-rust/SKILL.md +0 -124
  189. moai_adk/templates/.claude/skills/moai-lang-rust/examples.md +0 -29
  190. moai_adk/templates/.claude/skills/moai-lang-rust/reference.md +0 -31
  191. moai_adk/templates/.claude/skills/moai-lang-scala/SKILL.md +0 -123
  192. moai_adk/templates/.claude/skills/moai-lang-scala/examples.md +0 -29
  193. moai_adk/templates/.claude/skills/moai-lang-scala/reference.md +0 -30
  194. moai_adk/templates/.claude/skills/moai-lang-shell/SKILL.md +0 -123
  195. moai_adk/templates/.claude/skills/moai-lang-shell/examples.md +0 -29
  196. moai_adk/templates/.claude/skills/moai-lang-shell/reference.md +0 -30
  197. moai_adk/templates/.claude/skills/moai-lang-sql/SKILL.md +0 -124
  198. moai_adk/templates/.claude/skills/moai-lang-sql/examples.md +0 -29
  199. moai_adk/templates/.claude/skills/moai-lang-sql/reference.md +0 -31
  200. moai_adk/templates/.claude/skills/moai-lang-swift/SKILL.md +0 -123
  201. moai_adk/templates/.claude/skills/moai-lang-swift/examples.md +0 -29
  202. moai_adk/templates/.claude/skills/moai-lang-swift/reference.md +0 -30
  203. moai_adk/templates/.claude/skills/moai-lang-typescript/SKILL.md +0 -127
  204. moai_adk/templates/.claude/skills/moai-lang-typescript/examples.md +0 -29
  205. moai_adk/templates/.claude/skills/moai-lang-typescript/reference.md +0 -34
  206. moai_adk/templates/.claude/skills/moai-skill-factory/CHECKLIST.md +0 -482
  207. moai_adk/templates/.claude/skills/moai-skill-factory/EXAMPLES.md +0 -278
  208. moai_adk/templates/.claude/skills/moai-skill-factory/INTERACTIVE-DISCOVERY.md +0 -524
  209. moai_adk/templates/.claude/skills/moai-skill-factory/METADATA.md +0 -477
  210. moai_adk/templates/.claude/skills/moai-skill-factory/PARALLEL-ANALYSIS-REPORT.md +0 -429
  211. moai_adk/templates/.claude/skills/moai-skill-factory/PYTHON-VERSION-MATRIX.md +0 -391
  212. moai_adk/templates/.claude/skills/moai-skill-factory/SKILL-FACTORY-WORKFLOW.md +0 -431
  213. moai_adk/templates/.claude/skills/moai-skill-factory/SKILL-UPDATE-ADVISOR.md +0 -577
  214. moai_adk/templates/.claude/skills/moai-skill-factory/SKILL.md +0 -271
  215. moai_adk/templates/.claude/skills/moai-skill-factory/STEP-BY-STEP-GUIDE.md +0 -466
  216. moai_adk/templates/.claude/skills/moai-skill-factory/STRUCTURE.md +0 -583
  217. moai_adk/templates/.claude/skills/moai-skill-factory/WEB-RESEARCH.md +0 -526
  218. moai_adk/templates/.claude/skills/moai-skill-factory/reference.md +0 -465
  219. moai_adk/templates/.claude/skills/moai-skill-factory/scripts/generate-structure.sh +0 -328
  220. moai_adk/templates/.claude/skills/moai-skill-factory/scripts/validate-skill.sh +0 -312
  221. moai_adk/templates/.claude/skills/moai-skill-factory/templates/SKILL_TEMPLATE.md +0 -245
  222. moai_adk/templates/.claude/skills/moai-skill-factory/templates/examples-template.md +0 -285
  223. moai_adk/templates/.claude/skills/moai-skill-factory/templates/reference-template.md +0 -278
  224. moai_adk/templates/.claude/skills/moai-skill-factory/templates/scripts-template.sh +0 -303
  225. moai_adk/templates/.claude/skills/moai-spec-authoring/README.md +0 -137
  226. moai_adk/templates/.claude/skills/moai-spec-authoring/SKILL.md +0 -219
  227. moai_adk/templates/.claude/skills/moai-spec-authoring/examples/validate-spec.sh +0 -161
  228. moai_adk/templates/.claude/skills/moai-spec-authoring/examples.md +0 -541
  229. moai_adk/templates/.claude/skills/moai-spec-authoring/reference.md +0 -622
  230. moai_adk/templates/.moai/config.json +0 -113
  231. moai_adk/templates/.moai/memory/CLAUDE-AGENTS-GUIDE.md +0 -208
  232. moai_adk/templates/.moai/memory/CLAUDE-PRACTICES.md +0 -369
  233. moai_adk/templates/.moai/memory/CLAUDE-RULES.md +0 -539
  234. moai_adk/templates/.moai/memory/DEVELOPMENT-GUIDE.md +0 -344
  235. moai_adk/templates/.moai/memory/ISSUE-LABEL-MAPPING.md +0 -150
  236. moai_adk/templates/.moai/memory/SKILLS-DESCRIPTION-POLICY.md +0 -218
  237. moai_adk/templates/.moai/memory/gitflow-protection-policy.md +0 -330
  238. moai_adk/templates/.moai/memory/spec-metadata.md +0 -356
  239. moai_adk/templates/.moai/project/product.md +0 -161
  240. moai_adk/templates/.moai/project/structure.md +0 -156
  241. moai_adk/templates/.moai/project/tech.md +0 -227
  242. moai_adk-0.10.1.dist-info/RECORD +0 -309
  243. {moai_adk-0.10.1.dist-info → moai_adk-0.11.0.dist-info}/WHEEL +0 -0
  244. {moai_adk-0.10.1.dist-info → moai_adk-0.11.0.dist-info}/entry_points.txt +0 -0
  245. {moai_adk-0.10.1.dist-info → moai_adk-0.11.0.dist-info}/licenses/LICENSE +0 -0
@@ -1,465 +0,0 @@
1
- # Skill Factory Reference
2
-
3
- > Complete guide to creating high-quality Claude Code Skills
4
-
5
- _Last updated: 2025-10-22_
6
-
7
- ---
8
-
9
- ## Skill Creation Workflow
10
-
11
- ### Phase 1: Discovery (15 min)
12
-
13
- **Objective**: Define scope and gather requirements
14
-
15
- **Activities**:
16
- 1. Identify the gap or need
17
- 2. Research official documentation
18
- 3. Collect examples and best practices
19
- 4. Define target audience and trigger scenarios
20
-
21
- **Deliverables**:
22
- - Problem statement (1-2 sentences)
23
- - List of 5+ trigger keywords
24
- - 3-5 reference URLs
25
- - Target skill tier (Foundation/Essentials/Alfred/Domain/Language)
26
-
27
- ---
28
-
29
- ### Phase 2: Design (20 min)
30
-
31
- **Objective**: Structure the skill content and metadata
32
-
33
- **Activities**:
34
- 1. Write skill name (gerund + domain, ≤64 chars)
35
- 2. Draft description (capabilities + triggers, ≤1024 chars)
36
- 3. List allowed tools (minimal set)
37
- 4. Outline content structure (High/Medium/Low freedom)
38
-
39
- **Deliverables**:
40
- - Complete YAML frontmatter
41
- - Content outline with sections
42
- - Freedom level breakdown (% allocation)
43
-
44
- ---
45
-
46
- ### Phase 3: Production (60 min)
47
-
48
- **Objective**: Write the skill content
49
-
50
- **Activities**:
51
- 1. Write SKILL.md (main instructions, ≤500 lines)
52
- 2. Create reference.md (detailed docs)
53
- 3. Write examples.md (3-4 real-world scenarios)
54
- 4. Add scripts/ and templates/ (if needed)
55
-
56
- **Deliverables**:
57
- - Complete skill package
58
- - All documentation files
59
- - Supporting resources
60
-
61
- ---
62
-
63
- ### Phase 4: Validation (20 min)
64
-
65
- **Objective**: Ensure quality and consistency
66
-
67
- **Activities**:
68
- 1. Run through CHECKLIST.md
69
- 2. Test with multiple Claude models (Haiku/Sonnet)
70
- 3. Verify metadata completeness
71
- 4. Check for anti-patterns
72
-
73
- **Deliverables**:
74
- - Validation report
75
- - Test results
76
- - Quality gate confirmation
77
-
78
- ---
79
-
80
- ## Skill Metadata Design
81
-
82
- ### Name Format
83
-
84
- **Pattern**: `<gerund-verb> <domain>`
85
-
86
- **Examples**:
87
- ```
88
- ✅ Debugging Go Applications with Delve
89
- ✅ Processing CSV Files with Python
90
- ✅ Managing Docker Containers
91
- ✅ Implementing OAuth2 Authentication
92
-
93
- ❌ Python Helper # Too generic
94
- ❌ Go Debug Tool # Not gerund form
95
- ❌ CSV Processing Utility with Multiple Format Support # Too long
96
- ```
97
-
98
- ### Description Template
99
-
100
- ```
101
- [Primary capability], [secondary capability], or [tertiary capability].
102
- Use when [trigger scenario 1], [trigger scenario 2], or [user mentions keywords].
103
- ```
104
-
105
- **Real Example**:
106
- ```
107
- Extract text and tables from PDF files, create and edit spreadsheets,
108
- generate business reports, or merge documents. Use when working with
109
- PDF documents, Excel files, CSV data, or when the user mentions document
110
- extraction, data export, or report generation.
111
- ```
112
-
113
- **Keyword Density**: Aim for 10-15 discoverable keywords in description.
114
-
115
- ---
116
-
117
- ## Content Structure Guidelines
118
-
119
- ### Freedom Level Framework
120
-
121
- | Level | Allocation | Content Type | Example |
122
- |-------|-----------|--------------|---------|
123
- | **High** | 30-40% | Principles, trade-offs, considerations | Architecture decisions |
124
- | **Medium** | 40-50% | Patterns, pseudocode, annotated code | Data validation workflows |
125
- | **Low** | 10-20% | Ready-to-run scripts, specific commands | Bash operations, file handling |
126
-
127
- ### Section Templates
128
-
129
- #### High Freedom Section
130
-
131
- ```markdown
132
- ## Architecture Trade-offs
133
-
134
- | Pattern | Pros | Cons | When to Use |
135
- |---------|------|------|-------------|
136
- | Monolith | Simple deployment | Hard to scale | MVP, single team |
137
- | Microservices | Independent scaling | Complex networking | 10+ teams |
138
- | Serverless | Zero ops | Cold starts | Event-driven workloads |
139
-
140
- **Decision Framework**:
141
- 1. Assess team size and structure
142
- 2. Consider deployment frequency
143
- 3. Evaluate scaling requirements
144
- 4. Analyze operational complexity
145
- ```
146
-
147
- #### Medium Freedom Section
148
-
149
- ```markdown
150
- ## Data Validation Pattern
151
-
152
- **Pseudocode**:
153
- ```pseudocode
154
- 1. Load data from source
155
- 2. For each field:
156
- a. Check type matches schema
157
- b. Validate constraints (range, format)
158
- c. Flag violations with location
159
- 3. If all checks pass:
160
- → Proceed to next stage
161
- 4. Else:
162
- → Report errors with suggested fixes
163
- ```
164
-
165
- **Example (Python)**:
166
- ```python
167
- def validate_user_input(data: dict) -> ValidationResult:
168
- errors = []
169
- if not isinstance(data.get("age"), int):
170
- errors.append("Age must be integer")
171
- if data.get("age", 0) < 0:
172
- errors.append("Age must be non-negative")
173
- return ValidationResult(valid=len(errors) == 0, errors=errors)
174
- ```
175
- ```
176
-
177
- #### Low Freedom Section
178
-
179
- ```markdown
180
- ## Safe File Copy Script
181
-
182
- ```bash
183
- #!/bin/bash
184
- set -euo pipefail # Exit on error, undefined var, pipe fail
185
-
186
- SOURCE="$1"
187
- DEST="$2"
188
-
189
- # Validation
190
- if [[ ! -f "$SOURCE" ]]; then
191
- echo "ERROR: Source file not found: $SOURCE" >&2
192
- exit 1
193
- fi
194
-
195
- if [[ ! -d "$DEST" ]]; then
196
- echo "ERROR: Destination directory not found: $DEST" >&2
197
- exit 1
198
- fi
199
-
200
- # Execute with confirmation
201
- cp "$SOURCE" "$DEST/"
202
- echo "✓ File copied: $SOURCE → $DEST"
203
- exit 0
204
- ```
205
-
206
- **Usage**:
207
- ```bash
208
- ./safe-copy.sh /path/to/source.txt /path/to/dest/
209
- ```
210
- ```
211
-
212
- ---
213
-
214
- ## Web Research Integration
215
-
216
- ### Research Strategy
217
-
218
- **Step 1: Identify Official Sources**
219
- ```
220
- Priority 1: Official documentation (project websites, GitHub repos)
221
- Priority 2: Framework authors' blogs/articles
222
- Priority 3: Industry standards (IEEE, IETF, W3C)
223
- Priority 4: Reputable developer platforms (MDN, Microsoft Docs)
224
- ```
225
-
226
- **Step 2: Validate Currency**
227
- ```
228
- - Check publication/update dates (prefer 2024-2025)
229
- - Verify version numbers match current stable releases
230
- - Cross-reference multiple sources for consistency
231
- - Flag deprecated patterns or outdated recommendations
232
- ```
233
-
234
- **Step 3: Extract Patterns**
235
- ```
236
- - Copy canonical examples
237
- - Note best practices explicitly stated
238
- - Document anti-patterns warned against
239
- - Capture tool version requirements
240
- ```
241
-
242
- ### Search Query Templates
243
-
244
- ```
245
- # Official documentation
246
- "<technology> official documentation 2024 2025"
247
- "<technology> best practices guide latest"
248
-
249
- # Tool versions
250
- "<tool> latest stable version 2025"
251
- "<framework> migration guide <old-version> to <new-version>"
252
-
253
- # Best practices
254
- "<domain> industry standards 2024"
255
- "<technology> production best practices"
256
- ```
257
-
258
- ---
259
-
260
- ## Example Coverage Requirements
261
-
262
- ### Minimum Requirements
263
-
264
- - **3-4 complete examples** per skill
265
- - Each example must include:
266
- - Context (what problem it solves)
267
- - Code/configuration snippets
268
- - Expected output
269
- - Common pitfalls
270
-
271
- ### Example Template
272
-
273
- ```markdown
274
- ## Example 1: [Scenario Name]
275
-
276
- ### Context
277
- Brief description of the problem and solution approach.
278
-
279
- ### Prerequisites
280
- - Dependency 1
281
- - Dependency 2
282
-
283
- ### Implementation
284
-
285
- ```language
286
- # Code example with inline comments
287
- def example_function():
288
- """Docstring explaining purpose."""
289
- # Implementation details
290
- pass
291
- ```
292
-
293
- ### Expected Output
294
- ```
295
- Sample output demonstrating success
296
- ```
297
-
298
- ### Common Pitfalls
299
- - ❌ **Problem**: Description of common mistake
300
- - ✅ **Solution**: How to avoid it
301
- ```
302
-
303
- ---
304
-
305
- ## Anti-Patterns to Avoid
306
-
307
- ### Time-Sensitive Information
308
-
309
- ❌ **DON'T**:
310
- ```markdown
311
- Today's date is 2025-01-15, so use the latest version released last week.
312
- ```
313
-
314
- ✅ **DO**:
315
- ```markdown
316
- Use the latest stable version (check official releases page).
317
- ```
318
-
319
- ### Vague Instructions
320
-
321
- ❌ **DON'T**:
322
- ```markdown
323
- Make it fast and efficient.
324
- ```
325
-
326
- ✅ **DO**:
327
- ```markdown
328
- Profile with `py-spy` to identify bottlenecks. Target: <10ms latency for 95th percentile.
329
- ```
330
-
331
- ### Nested File References
332
-
333
- ❌ **DON'T**:
334
- ```markdown
335
- See docs/api/v2/reference/examples/advanced.md
336
- ```
337
-
338
- ✅ **DO**:
339
- ```markdown
340
- See [reference.md](reference.md) for detailed API documentation.
341
- ```
342
-
343
- ---
344
-
345
- ## Progressive Disclosure Pattern
346
-
347
- ### Three-Level Information Architecture
348
-
349
- **Level 1: SKILL.md** (Always loaded)
350
- - Quick start (5-10 min read)
351
- - Core concepts (high-level)
352
- - Common patterns
353
- - Link to level 2
354
-
355
- **Level 2: reference.md** (On-demand)
356
- - Detailed specifications
357
- - Complete API reference
358
- - Edge cases and constraints
359
- - Link to level 3
360
-
361
- **Level 3: examples.md + scripts/** (As needed)
362
- - Real-world scenarios
363
- - Production-ready templates
364
- - Utility scripts
365
- - Troubleshooting guide
366
-
367
- ### Linking Strategy
368
-
369
- ```markdown
370
- <!-- SKILL.md -->
371
- For detailed API reference, see [reference.md](reference.md).
372
-
373
- <!-- reference.md -->
374
- For working examples, see [examples.md](examples.md).
375
-
376
- <!-- examples.md -->
377
- Utility scripts available in [scripts/](scripts/) directory.
378
- ```
379
-
380
- ---
381
-
382
- ## Quality Validation Checklist
383
-
384
- ### Metadata Validation
385
-
386
- - [ ] Name ≤64 characters, gerund format
387
- - [ ] Description ≤1024 characters, includes 5+ keywords
388
- - [ ] `allowed-tools` is minimal and justified
389
- - [ ] YAML frontmatter is valid (proper indentation, no tabs)
390
-
391
- ### Content Quality
392
-
393
- - [ ] SKILL.md ≤500 lines
394
- - [ ] All major concepts have examples
395
- - [ ] Terminology is consistent (glossary provided)
396
- - [ ] No time-sensitive information
397
- - [ ] Relative paths used throughout
398
- - [ ] Freedom level breakdown documented
399
-
400
- ### Specificity & Discoverability
401
-
402
- - [ ] Name is specific (not "Helper" or "Utility")
403
- - [ ] Description includes problem domain keywords
404
- - [ ] Triggers match likely user search terms
405
- - [ ] Scope is bounded (1-3 related domains)
406
-
407
- ### Multi-Model Testing
408
-
409
- - [ ] Haiku: Can understand concise examples
410
- - [ ] Sonnet: Exploits full skill capabilities
411
- - [ ] All models: Activate on correct triggers
412
-
413
- ---
414
-
415
- ## Skill Versioning Strategy
416
-
417
- ### Version Numbering
418
-
419
- Follow Semantic Versioning:
420
- - **Major** (X.0.0): Breaking changes, restructure
421
- - **Minor** (0.X.0): New sections, significant additions
422
- - **Patch** (0.0.X): Typo fixes, clarifications
423
-
424
- ### Changelog Format
425
-
426
- ```markdown
427
- ## Changelog
428
-
429
- ### v2.0.0 (2025-10-22)
430
- - **BREAKING**: Restructure freedom levels
431
- - **FEATURE**: Add web research integration
432
- - **FEATURE**: Include 5 new examples
433
-
434
- ### v1.1.0 (2025-08-15)
435
- - **FEATURE**: Add Go examples
436
- - **FIX**: Clarify pseudocode notation
437
-
438
- ### v1.0.0 (2025-06-01)
439
- - **INITIAL**: First production release
440
- ```
441
-
442
- ---
443
-
444
- ## Resources
445
-
446
- **Official Claude Skills Documentation**:
447
- - Claude Code Skills guide (official Anthropic docs)
448
-
449
- **Skill Factory Components**:
450
- - [METADATA.md](METADATA.md) — Metadata authoring
451
- - [STRUCTURE.md](STRUCTURE.md) — File organization
452
- - [EXAMPLES.md](EXAMPLES.md) — Real-world case studies
453
- - [CHECKLIST.md](CHECKLIST.md) — Quality validation
454
- - [WEB-RESEARCH.md](WEB-RESEARCH.md) — Research strategies
455
-
456
- **External Resources**:
457
- - Semantic Versioning: https://semver.org/
458
- - YAML Specification: https://yaml.org/spec/
459
- - Markdown Guide: https://www.markdownguide.org/
460
-
461
- ---
462
-
463
- **Last Updated**: 2025-10-22
464
- **Version**: 2.0.0
465
- **Maintained by**: MoAI-ADK Foundation Team