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,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,330 +0,0 @@
1
- # GitFlow Protection Policy
2
-
3
- **Document ID**: @DOC:GITFLOW-POLICY-ALIAS
4
- **Published**: 2025-10-17
5
- **Updated**: 2025-10-29
6
- **Status**: **Enforced via GitHub Branch Protection** (v0.8.3+)
7
- **Scope**: Personal and Team modes
8
-
9
- ---
10
-
11
- ## Overview
12
-
13
- MoAI-ADK **enforces** a GitFlow-inspired workflow through GitHub Branch Protection. As of v0.8.3, the `main` branch is protected and requires Pull Requests for all changes, including from administrators.
14
-
15
- **What Changed**: Previously (v0.3.5-v0.8.2), we used an advisory approach with warnings. Now we enforce proper GitFlow to ensure code quality and prevent accidental direct pushes to main.
16
-
17
- ## Key Requirements (Enforced)
18
-
19
- ### 1. Main Branch Access (Enforced)
20
-
21
- | Requirement | Summary | Enforcement |
22
- |-------------|---------|-------------|
23
- | **Merge via develop** | MUST merge `develop` into `main` | ✅ Enforced |
24
- | **Feature branches off develop** | MUST branch from `develop` and raise PRs back to `develop` | ✅ Enforced |
25
- | **Release process** | Release flow: `develop` → `main` (PR required) | ✅ Enforced |
26
- | **Force push** | Blocked on `main` | ✅ Blocked |
27
- | **Direct push** | Blocked on `main` (PR required) | ✅ Blocked |
28
-
29
- ### 2. Git Workflow (Required)
30
-
31
- ```
32
- ┌─────────────────────────────────────────────────────────┐
33
- │ ENFORCED GITFLOW │
34
- │ (GitHub Branch Protection Active) │
35
- └─────────────────────────────────────────────────────────┘
36
-
37
- develop (required base branch)
38
- ↑ ↓
39
- ┌─────────────────┐
40
- │ │
41
- │ developer work │
42
- │ │
43
- ↓ ↑
44
- feature/SPEC-{ID} [PR: feature -> develop]
45
- [code review + approval]
46
- [Merge to develop]
47
-
48
- develop (stable)
49
-
50
- │ (release manager prepares)
51
-
52
- [PR: develop -> main]
53
- [Code review + approval REQUIRED]
54
- [All discussions resolved]
55
- [CI/CD validation]
56
- [tag creation]
57
-
58
- main (protected release)
59
- ```
60
-
61
- **Enforcement**: Direct pushes to `main` are **blocked** via GitHub Branch Protection. All changes must go through Pull Requests.
62
-
63
- ## Technical Implementation
64
-
65
- ### Pre-push Hook (Advisory Mode)
66
-
67
- **Location**: `.git/hooks/pre-push`
68
- **Purpose**: Warn on `main` branch pushes without blocking them
69
-
70
- ```bash
71
- # When attempting to push to main:
72
- ⚠️ ADVISORY: Non-standard GitFlow detected
73
-
74
- Current branch: feature/SPEC-123
75
- Target branch: main
76
-
77
- Recommended GitFlow workflow:
78
- 1. Work on feature/SPEC-{ID} branch (created from develop)
79
- 2. Push to feature/SPEC-{ID} and create PR to develop
80
- 3. Merge into develop after code review
81
- 4. When develop is stable, create PR from develop to main
82
- 5. Release manager merges develop -> main with tag
83
-
84
- ✓ Push will proceed (flexibility mode enabled)
85
- ```
86
-
87
- ### Force Push Advisory
88
-
89
- ```bash
90
- ⚠️ ADVISORY: Force-push to main branch detected
91
-
92
- Recommended approach:
93
- - Use GitHub PR with proper code review
94
- - Ensure changes are merged via fast-forward
95
-
96
- ✓ Push will proceed (flexibility mode enabled)
97
- ```
98
-
99
- ---
100
-
101
- ## Workflow Examples
102
-
103
- ### Scenario 1: Standard Feature Development (Recommended)
104
-
105
- ```bash
106
- # 1. Sync latest code from develop
107
- git checkout develop
108
- git pull origin develop
109
-
110
- # 2. Create a feature branch (from develop)
111
- git checkout -b feature/SPEC-001-new-feature
112
-
113
- # 3. Implement the change
114
- # ... write code and tests ...
115
-
116
- # 4. Commit
117
- git add .
118
- git commit -m "..."
119
-
120
- # 5. Push
121
- git push origin feature/SPEC-001-new-feature
122
-
123
- # 6. Open a PR: feature/SPEC-001-new-feature -> develop
124
-
125
- # 7. Merge into develop after review and approval
126
- ```
127
-
128
- ### Scenario 2: Fast Hotfix (Flexible)
129
-
130
- ```bash
131
- # When an urgent fix is required:
132
-
133
- # Option 1: Recommended (via develop)
134
- git checkout develop
135
- git checkout -b hotfix/critical-bug
136
- # ... apply fix ...
137
- git push origin hotfix/critical-bug
138
- # Open PRs: hotfix -> develop -> main
139
-
140
- # Option 2: Direct fix on main (allowed, not recommended)
141
- git checkout main
142
- # ... apply fix ...
143
- git commit -m "Fix critical bug"
144
- git push origin main # ⚠️ Advisory warning appears but push continues
145
- ```
146
-
147
- ### Scenario 3: Release (Standard or Flexible)
148
-
149
- ```bash
150
- # Standard approach (recommended):
151
- git checkout develop
152
- gh pr create --base main --head develop --title "Release v1.0.0"
153
-
154
- # Direct push (allowed):
155
- git checkout develop
156
- git push origin main # ⚠️ Advisory warning appears but push continues
157
- git tag -a v1.0.0 -m "Release v1.0.0"
158
- git push origin v1.0.0
159
- ```
160
-
161
- ---
162
-
163
- ## Policy Modes
164
-
165
- ### Strict Mode (Active, v0.8.3+) ✅ ENFORCED
166
-
167
- **GitHub Branch Protection Enabled**:
168
- - ✅ **enforce_admins: true** - Administrators must follow all rules
169
- - ✅ **required_pull_request_reviews** - 1 approval required
170
- - ✅ **required_conversation_resolution** - All discussions must be resolved
171
- - ✅ **Block direct pushes to `main`** - PR required for all users
172
- - ✅ **Block force pushes** - Prevents history rewriting
173
- - ✅ **Block branch deletion** - Protects main from accidental deletion
174
-
175
- **What This Means**:
176
- - ❌ No one (including admins) can push directly to `main`
177
- - ✅ All changes must go through Pull Requests
178
- - ✅ PRs require code review approval
179
- - ✅ All code discussions must be resolved before merge
180
- - ✅ Enforces proper GitFlow: feature → develop → main
181
-
182
- ### Advisory Mode (Legacy, v0.3.5 - v0.8.2)
183
-
184
- - ⚠️ Warned but allowed direct pushes to `main`
185
- - ⚠️ Warned but allowed force pushes
186
- - ⚠️ Recommended best practices while preserving flexibility
187
- - ❌ **Deprecated** - Replaced by Strict Mode for better quality control
188
-
189
- ---
190
-
191
- ## Recommended Checklist
192
-
193
- Every contributor should ensure:
194
-
195
- - [ ] `.git/hooks/pre-push` exists and is executable (755)
196
- - [ ] Feature branches fork from `develop`
197
- - [ ] Pull requests target `develop`
198
- - [ ] Releases merge `develop` → `main`
199
-
200
- **Verification Commands**:
201
- ```bash
202
- ls -la .git/hooks/pre-push
203
- git branch -vv
204
- ```
205
-
206
- ---
207
-
208
- ## FAQ
209
-
210
- **Q: Can we merge into `main` from branches other than `develop`?**
211
- A: Yes. You will see an advisory warning, but the merge proceeds. The recommended path remains `develop` → `main`.
212
-
213
- **Q: Are force pushes allowed?**
214
- A: Yes. You receive a warning, but the push succeeds. Use with caution.
215
-
216
- **Q: Can we commit/push directly to `main`?**
217
- A: Yes. Expect an advisory warning, yet the push continues.
218
-
219
- **Q: Can I disable the hook entirely?**
220
- A: Yes. Remove `.git/hooks/pre-push` or strip its execute permission.
221
-
222
- **Q: Why switch to Advisory Mode?**
223
- A: Advisory Mode was used in v0.3.5-v0.8.2. As of v0.8.3, we've switched to Strict Mode with GitHub Branch Protection for better quality control.
224
-
225
- **Q: What if develop falls behind main?**
226
- A: This can happen when hotfixes or releases go directly to main. Regularly sync main → develop to prevent divergence. See "Maintaining develop-main Sync" section below.
227
-
228
- **Q: Can I bypass branch protection in emergencies?**
229
- A: No. Even administrators must follow the PR process. For true emergencies, temporarily disable protection via GitHub Settings (requires admin access), but re-enable immediately after.
230
-
231
- ---
232
-
233
- ## Maintaining develop-main Sync
234
-
235
- ### ⚠️ Critical Rule: develop Must Stay Current
236
-
237
- **Problem**: When main receives direct commits (hotfixes, emergency releases) without syncing back to develop, GitFlow breaks:
238
-
239
- ```
240
- ❌ BAD STATE:
241
- develop: 3 commits ahead, 29 commits behind main
242
- - develop has outdated dependencies
243
- - New features branch from old code
244
- - Merge conflicts multiply over time
245
- ```
246
-
247
- ### Signs of Drift
248
-
249
- Monitor for these warnings:
250
- - `git status` shows "Your branch is X commits behind main"
251
- - Feature branches conflict with main during PR
252
- - CI/CD failures due to dependency mismatches
253
- - Version numbers in develop don't match main
254
-
255
- ### Recovery Procedure
256
-
257
- When develop falls behind main:
258
-
259
- 1. **Assess the Gap**
260
- ```bash
261
- git log --oneline develop..main # Commits in main but not develop
262
- git log --oneline main..develop # Commits in develop but not main
263
- ```
264
-
265
- 2. **Sync Strategy: Merge main into develop (Recommended)**
266
- ```bash
267
- git checkout develop
268
- git pull origin develop # Get latest develop
269
- git merge main # Merge main into develop
270
- # Resolve conflicts if any (prefer main for version/config files)
271
- git push origin develop
272
- ```
273
-
274
- 3. **Emergency Only: Reset develop to main (Destructive)**
275
- ```bash
276
- # ⚠️ ONLY if develop's unique commits are unwanted
277
- git checkout develop
278
- git reset --hard main
279
- git push origin develop --force
280
- ```
281
-
282
- ### Prevention: Regular Sync Schedule
283
-
284
- **After every main release** (REQUIRED):
285
- ```bash
286
- # Immediately after merging develop → main:
287
- git checkout develop
288
- git merge main
289
- git push origin develop
290
- ```
291
-
292
- **Weekly maintenance** (for active projects):
293
- ```bash
294
- # Every Monday morning:
295
- git checkout develop
296
- git pull origin main
297
- git push origin develop
298
- ```
299
-
300
- ### Real-World Case Study (2025-10-29)
301
-
302
- **Situation**: develop was 29 commits behind main due to:
303
- - v0.8.2, v0.8.3 released directly to main
304
- - No reverse sync to develop
305
- - Feature branches contained outdated code
306
-
307
- **Resolution**:
308
- - Merged main → develop (14 file conflicts)
309
- - Resolved conflicts prioritizing main's versions
310
- - TAG validation bypassed for merge commit
311
- - Enabled Strict Mode to prevent future direct pushes
312
-
313
- **Lesson**: With Strict Mode active, this won't happen again. All releases must go through develop → main PR flow.
314
-
315
- ---
316
-
317
- ## Policy Change Log
318
-
319
- | Date | Change | Owner |
320
- |------|------|--------|
321
- | 2025-10-17 | Initial policy drafted (Strict Mode) | git-manager |
322
- | 2025-10-17 | Switched to Advisory Mode (warnings only) | git-manager |
323
- | 2025-10-29 | **Enabled GitHub Branch Protection (Strict Mode)** | Alfred |
324
- | 2025-10-29 | Added develop-main sync guidelines and real-world case study | Alfred |
325
- | 2025-10-29 | Enforced `enforce_admins`, `required_conversation_resolution` | Alfred |
326
-
327
- ---
328
-
329
- **This policy is advisory—adapt it to fit your project needs.**
330
- **Reach out to the team lead or release engineer for questions or suggestions.**