moai-adk 0.11.0__py3-none-any.whl → 0.12.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 (268) hide show
  1. moai_adk/core/issue_creator.py +2 -2
  2. moai_adk/core/project/detector.py +195 -12
  3. moai_adk/core/tags/ci_validator.py +1 -1
  4. moai_adk/core/tags/pre_commit_validator.py +1 -1
  5. moai_adk/core/tags/validator.py +1 -1
  6. moai_adk/templates/.claude/agents/alfred/cc-manager.md +316 -0
  7. moai_adk/templates/.claude/agents/alfred/debug-helper.md +208 -0
  8. moai_adk/templates/.claude/agents/alfred/doc-syncer.md +214 -0
  9. moai_adk/templates/.claude/agents/alfred/git-manager.md +406 -0
  10. moai_adk/templates/.claude/agents/alfred/implementation-planner.md +350 -0
  11. moai_adk/templates/.claude/agents/alfred/project-manager.md +273 -0
  12. moai_adk/templates/.claude/agents/alfred/quality-gate.md +343 -0
  13. moai_adk/templates/.claude/agents/alfred/skill-factory.md +865 -0
  14. moai_adk/templates/.claude/agents/alfred/spec-builder.md +287 -0
  15. moai_adk/templates/.claude/agents/alfred/tag-agent.md +287 -0
  16. moai_adk/templates/.claude/agents/alfred/tdd-implementer.md +326 -0
  17. moai_adk/templates/.claude/agents/alfred/trust-checker.md +375 -0
  18. moai_adk/templates/.claude/commands/alfred/0-project.md +1275 -0
  19. moai_adk/templates/.claude/commands/alfred/1-plan.md +734 -0
  20. moai_adk/templates/.claude/commands/alfred/2-run.md +551 -0
  21. moai_adk/templates/.claude/commands/alfred/3-sync.md +689 -0
  22. moai_adk/templates/.claude/commands/alfred/9-feedback.md +149 -0
  23. moai_adk/templates/.claude/hooks/alfred/alfred_hooks.py +206 -0
  24. moai_adk/templates/.claude/hooks/alfred/core/project.py +742 -0
  25. moai_adk/templates/.claude/hooks/alfred/core/timeout.py +136 -0
  26. moai_adk/templates/.claude/hooks/alfred/core/ttl_cache.py +108 -0
  27. moai_adk/templates/.claude/hooks/alfred/core/version_cache.py +198 -0
  28. moai_adk/templates/.claude/hooks/alfred/notification__handle_events.py +95 -0
  29. moai_adk/templates/.claude/hooks/alfred/post_tool__log_changes.py +95 -0
  30. moai_adk/templates/.claude/hooks/alfred/pre_tool__auto_checkpoint.py +101 -0
  31. moai_adk/templates/.claude/hooks/alfred/session_end__cleanup.py +95 -0
  32. moai_adk/templates/.claude/hooks/alfred/session_start__show_project_info.py +97 -0
  33. moai_adk/templates/.claude/hooks/alfred/shared/core/__init__.py +170 -0
  34. moai_adk/templates/.claude/hooks/alfred/shared/core/checkpoint.py +271 -0
  35. moai_adk/templates/.claude/hooks/alfred/shared/core/context.py +67 -0
  36. moai_adk/templates/.claude/hooks/alfred/shared/core/project.py +749 -0
  37. moai_adk/templates/.claude/hooks/alfred/shared/core/tags.py +230 -0
  38. moai_adk/templates/.claude/hooks/alfred/shared/core/version_cache.py +198 -0
  39. moai_adk/templates/.claude/hooks/alfred/shared/handlers/__init__.py +21 -0
  40. moai_adk/templates/.claude/hooks/alfred/shared/handlers/notification.py +154 -0
  41. moai_adk/templates/.claude/hooks/alfred/shared/handlers/session.py +174 -0
  42. moai_adk/templates/.claude/hooks/alfred/shared/handlers/tool.py +87 -0
  43. moai_adk/templates/.claude/hooks/alfred/shared/handlers/user.py +61 -0
  44. moai_adk/templates/.claude/hooks/alfred/stop__handle_interrupt.py +95 -0
  45. moai_adk/templates/.claude/hooks/alfred/subagent_stop__handle_subagent_end.py +95 -0
  46. moai_adk/templates/.claude/hooks/alfred/user_prompt__jit_load_docs.py +111 -0
  47. moai_adk/templates/.claude/hooks/alfred/utils/__init__.py +1 -0
  48. moai_adk/templates/.claude/hooks/alfred/utils/timeout.py +136 -0
  49. moai_adk/templates/.claude/output-styles/alfred/agentic-coding.md +640 -0
  50. moai_adk/templates/.claude/output-styles/alfred/moai-adk-learning.md +696 -0
  51. moai_adk/templates/.claude/output-styles/alfred/study-with-alfred.md +474 -0
  52. moai_adk/templates/.claude/settings.json +144 -0
  53. moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/SKILL.md +113 -0
  54. moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/examples.md +29 -0
  55. moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/reference.md +28 -0
  56. moai_adk/templates/.claude/skills/moai-alfred-git-workflow/SKILL.md +122 -0
  57. moai_adk/templates/.claude/skills/moai-alfred-git-workflow/examples.md +29 -0
  58. moai_adk/templates/.claude/skills/moai-alfred-git-workflow/reference.md +29 -0
  59. moai_adk/templates/.claude/skills/moai-alfred-interactive-questions/SKILL.md +237 -0
  60. moai_adk/templates/.claude/skills/moai-alfred-interactive-questions/examples.md +615 -0
  61. moai_adk/templates/.claude/skills/moai-alfred-interactive-questions/reference.md +653 -0
  62. moai_adk/templates/.claude/skills/moai-alfred-language-detection/SKILL.md +113 -0
  63. moai_adk/templates/.claude/skills/moai-alfred-language-detection/examples.md +29 -0
  64. moai_adk/templates/.claude/skills/moai-alfred-language-detection/reference.md +28 -0
  65. moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/SKILL.md +113 -0
  66. moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/examples.md +29 -0
  67. moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/reference.md +28 -0
  68. moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/SKILL.md +113 -0
  69. moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/examples.md +29 -0
  70. moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/reference.md +28 -0
  71. moai_adk/templates/.claude/skills/moai-alfred-trust-validation/SKILL.md +113 -0
  72. moai_adk/templates/.claude/skills/moai-alfred-trust-validation/examples.md +29 -0
  73. moai_adk/templates/.claude/skills/moai-alfred-trust-validation/reference.md +28 -0
  74. moai_adk/templates/.claude/skills/moai-cc-agents/SKILL.md +269 -0
  75. moai_adk/templates/.claude/skills/moai-cc-agents/templates/agent-template.md +32 -0
  76. moai_adk/templates/.claude/skills/moai-cc-claude-md/SKILL.md +298 -0
  77. moai_adk/templates/.claude/skills/moai-cc-claude-md/templates/CLAUDE-template.md +26 -0
  78. moai_adk/templates/.claude/skills/moai-cc-commands/SKILL.md +307 -0
  79. moai_adk/templates/.claude/skills/moai-cc-commands/templates/command-template.md +21 -0
  80. moai_adk/templates/.claude/skills/moai-cc-hooks/SKILL.md +252 -0
  81. moai_adk/templates/.claude/skills/moai-cc-hooks/scripts/pre-bash-check.sh +19 -0
  82. moai_adk/templates/.claude/skills/moai-cc-hooks/scripts/preserve-permissions.sh +19 -0
  83. moai_adk/templates/.claude/skills/moai-cc-hooks/scripts/validate-bash-command.py +24 -0
  84. moai_adk/templates/.claude/skills/moai-cc-mcp-plugins/SKILL.md +199 -0
  85. moai_adk/templates/.claude/skills/moai-cc-mcp-plugins/templates/settings-mcp-template.json +39 -0
  86. moai_adk/templates/.claude/skills/moai-cc-memory/SKILL.md +316 -0
  87. moai_adk/templates/.claude/skills/moai-cc-memory/templates/session-summary-template.md +18 -0
  88. moai_adk/templates/.claude/skills/moai-cc-settings/SKILL.md +263 -0
  89. moai_adk/templates/.claude/skills/moai-cc-settings/templates/settings-complete-template.json +30 -0
  90. moai_adk/templates/.claude/skills/moai-cc-skills/SKILL.md +291 -0
  91. moai_adk/templates/.claude/skills/moai-cc-skills/templates/SKILL-template.md +15 -0
  92. moai_adk/templates/.claude/skills/moai-domain-backend/SKILL.md +290 -0
  93. moai_adk/templates/.claude/skills/moai-domain-backend/examples.md +1633 -0
  94. moai_adk/templates/.claude/skills/moai-domain-backend/reference.md +660 -0
  95. moai_adk/templates/.claude/skills/moai-domain-cli-tool/SKILL.md +123 -0
  96. moai_adk/templates/.claude/skills/moai-domain-cli-tool/examples.md +29 -0
  97. moai_adk/templates/.claude/skills/moai-domain-cli-tool/reference.md +30 -0
  98. moai_adk/templates/.claude/skills/moai-domain-data-science/SKILL.md +123 -0
  99. moai_adk/templates/.claude/skills/moai-domain-data-science/examples.md +29 -0
  100. moai_adk/templates/.claude/skills/moai-domain-data-science/reference.md +30 -0
  101. moai_adk/templates/.claude/skills/moai-domain-database/SKILL.md +123 -0
  102. moai_adk/templates/.claude/skills/moai-domain-database/examples.md +29 -0
  103. moai_adk/templates/.claude/skills/moai-domain-database/reference.md +30 -0
  104. moai_adk/templates/.claude/skills/moai-domain-devops/SKILL.md +124 -0
  105. moai_adk/templates/.claude/skills/moai-domain-devops/examples.md +29 -0
  106. moai_adk/templates/.claude/skills/moai-domain-devops/reference.md +31 -0
  107. moai_adk/templates/.claude/skills/moai-domain-frontend/SKILL.md +124 -0
  108. moai_adk/templates/.claude/skills/moai-domain-frontend/examples.md +29 -0
  109. moai_adk/templates/.claude/skills/moai-domain-frontend/reference.md +31 -0
  110. moai_adk/templates/.claude/skills/moai-domain-ml/SKILL.md +123 -0
  111. moai_adk/templates/.claude/skills/moai-domain-ml/examples.md +29 -0
  112. moai_adk/templates/.claude/skills/moai-domain-ml/reference.md +30 -0
  113. moai_adk/templates/.claude/skills/moai-domain-mobile-app/SKILL.md +123 -0
  114. moai_adk/templates/.claude/skills/moai-domain-mobile-app/examples.md +29 -0
  115. moai_adk/templates/.claude/skills/moai-domain-mobile-app/reference.md +30 -0
  116. moai_adk/templates/.claude/skills/moai-domain-security/SKILL.md +123 -0
  117. moai_adk/templates/.claude/skills/moai-domain-security/examples.md +29 -0
  118. moai_adk/templates/.claude/skills/moai-domain-security/reference.md +30 -0
  119. moai_adk/templates/.claude/skills/moai-domain-web-api/SKILL.md +123 -0
  120. moai_adk/templates/.claude/skills/moai-domain-web-api/examples.md +29 -0
  121. moai_adk/templates/.claude/skills/moai-domain-web-api/reference.md +30 -0
  122. moai_adk/templates/.claude/skills/moai-essentials-debug/SKILL.md +303 -0
  123. moai_adk/templates/.claude/skills/moai-essentials-debug/examples.md +1064 -0
  124. moai_adk/templates/.claude/skills/moai-essentials-debug/reference.md +1047 -0
  125. moai_adk/templates/.claude/skills/moai-essentials-perf/SKILL.md +113 -0
  126. moai_adk/templates/.claude/skills/moai-essentials-perf/examples.md +29 -0
  127. moai_adk/templates/.claude/skills/moai-essentials-perf/reference.md +28 -0
  128. moai_adk/templates/.claude/skills/moai-essentials-refactor/SKILL.md +113 -0
  129. moai_adk/templates/.claude/skills/moai-essentials-refactor/examples.md +29 -0
  130. moai_adk/templates/.claude/skills/moai-essentials-refactor/reference.md +28 -0
  131. moai_adk/templates/.claude/skills/moai-essentials-review/SKILL.md +113 -0
  132. moai_adk/templates/.claude/skills/moai-essentials-review/examples.md +29 -0
  133. moai_adk/templates/.claude/skills/moai-essentials-review/reference.md +28 -0
  134. moai_adk/templates/.claude/skills/moai-foundation-ears/SKILL.md +116 -0
  135. moai_adk/templates/.claude/skills/moai-foundation-ears/examples.md +29 -0
  136. moai_adk/templates/.claude/skills/moai-foundation-ears/reference.md +28 -0
  137. moai_adk/templates/.claude/skills/moai-foundation-git/SKILL.md +122 -0
  138. moai_adk/templates/.claude/skills/moai-foundation-git/examples.md +29 -0
  139. moai_adk/templates/.claude/skills/moai-foundation-git/reference.md +29 -0
  140. moai_adk/templates/.claude/skills/moai-foundation-langs/SKILL.md +113 -0
  141. moai_adk/templates/.claude/skills/moai-foundation-langs/examples.md +29 -0
  142. moai_adk/templates/.claude/skills/moai-foundation-langs/reference.md +28 -0
  143. moai_adk/templates/.claude/skills/moai-foundation-specs/SKILL.md +113 -0
  144. moai_adk/templates/.claude/skills/moai-foundation-specs/examples.md +29 -0
  145. moai_adk/templates/.claude/skills/moai-foundation-specs/reference.md +28 -0
  146. moai_adk/templates/.claude/skills/moai-foundation-tags/SKILL.md +113 -0
  147. moai_adk/templates/.claude/skills/moai-foundation-tags/examples.md +29 -0
  148. moai_adk/templates/.claude/skills/moai-foundation-tags/reference.md +28 -0
  149. moai_adk/templates/.claude/skills/moai-foundation-trust/SKILL.md +307 -0
  150. moai_adk/templates/.claude/skills/moai-foundation-trust/examples.md +0 -0
  151. moai_adk/templates/.claude/skills/moai-foundation-trust/reference.md +1099 -0
  152. moai_adk/templates/.claude/skills/moai-lang-c/SKILL.md +124 -0
  153. moai_adk/templates/.claude/skills/moai-lang-c/examples.md +29 -0
  154. moai_adk/templates/.claude/skills/moai-lang-c/reference.md +31 -0
  155. moai_adk/templates/.claude/skills/moai-lang-cpp/SKILL.md +124 -0
  156. moai_adk/templates/.claude/skills/moai-lang-cpp/examples.md +29 -0
  157. moai_adk/templates/.claude/skills/moai-lang-cpp/reference.md +31 -0
  158. moai_adk/templates/.claude/skills/moai-lang-csharp/SKILL.md +123 -0
  159. moai_adk/templates/.claude/skills/moai-lang-csharp/examples.md +29 -0
  160. moai_adk/templates/.claude/skills/moai-lang-csharp/reference.md +30 -0
  161. moai_adk/templates/.claude/skills/moai-lang-dart/SKILL.md +123 -0
  162. moai_adk/templates/.claude/skills/moai-lang-dart/examples.md +29 -0
  163. moai_adk/templates/.claude/skills/moai-lang-dart/reference.md +30 -0
  164. moai_adk/templates/.claude/skills/moai-lang-go/SKILL.md +124 -0
  165. moai_adk/templates/.claude/skills/moai-lang-go/examples.md +29 -0
  166. moai_adk/templates/.claude/skills/moai-lang-go/reference.md +31 -0
  167. moai_adk/templates/.claude/skills/moai-lang-java/SKILL.md +124 -0
  168. moai_adk/templates/.claude/skills/moai-lang-java/examples.md +29 -0
  169. moai_adk/templates/.claude/skills/moai-lang-java/reference.md +31 -0
  170. moai_adk/templates/.claude/skills/moai-lang-javascript/SKILL.md +125 -0
  171. moai_adk/templates/.claude/skills/moai-lang-javascript/examples.md +29 -0
  172. moai_adk/templates/.claude/skills/moai-lang-javascript/reference.md +32 -0
  173. moai_adk/templates/.claude/skills/moai-lang-kotlin/SKILL.md +124 -0
  174. moai_adk/templates/.claude/skills/moai-lang-kotlin/examples.md +29 -0
  175. moai_adk/templates/.claude/skills/moai-lang-kotlin/reference.md +31 -0
  176. moai_adk/templates/.claude/skills/moai-lang-php/SKILL.md +123 -0
  177. moai_adk/templates/.claude/skills/moai-lang-php/examples.md +29 -0
  178. moai_adk/templates/.claude/skills/moai-lang-php/reference.md +30 -0
  179. moai_adk/templates/.claude/skills/moai-lang-python/SKILL.md +431 -0
  180. moai_adk/templates/.claude/skills/moai-lang-python/examples.md +624 -0
  181. moai_adk/templates/.claude/skills/moai-lang-python/reference.md +316 -0
  182. moai_adk/templates/.claude/skills/moai-lang-r/SKILL.md +123 -0
  183. moai_adk/templates/.claude/skills/moai-lang-r/examples.md +29 -0
  184. moai_adk/templates/.claude/skills/moai-lang-r/reference.md +30 -0
  185. moai_adk/templates/.claude/skills/moai-lang-ruby/SKILL.md +124 -0
  186. moai_adk/templates/.claude/skills/moai-lang-ruby/examples.md +29 -0
  187. moai_adk/templates/.claude/skills/moai-lang-ruby/reference.md +31 -0
  188. moai_adk/templates/.claude/skills/moai-lang-rust/SKILL.md +124 -0
  189. moai_adk/templates/.claude/skills/moai-lang-rust/examples.md +29 -0
  190. moai_adk/templates/.claude/skills/moai-lang-rust/reference.md +31 -0
  191. moai_adk/templates/.claude/skills/moai-lang-scala/SKILL.md +123 -0
  192. moai_adk/templates/.claude/skills/moai-lang-scala/examples.md +29 -0
  193. moai_adk/templates/.claude/skills/moai-lang-scala/reference.md +30 -0
  194. moai_adk/templates/.claude/skills/moai-lang-shell/SKILL.md +123 -0
  195. moai_adk/templates/.claude/skills/moai-lang-shell/examples.md +29 -0
  196. moai_adk/templates/.claude/skills/moai-lang-shell/reference.md +30 -0
  197. moai_adk/templates/.claude/skills/moai-lang-sql/SKILL.md +124 -0
  198. moai_adk/templates/.claude/skills/moai-lang-sql/examples.md +29 -0
  199. moai_adk/templates/.claude/skills/moai-lang-sql/reference.md +31 -0
  200. moai_adk/templates/.claude/skills/moai-lang-swift/SKILL.md +123 -0
  201. moai_adk/templates/.claude/skills/moai-lang-swift/examples.md +29 -0
  202. moai_adk/templates/.claude/skills/moai-lang-swift/reference.md +30 -0
  203. moai_adk/templates/.claude/skills/moai-lang-typescript/SKILL.md +127 -0
  204. moai_adk/templates/.claude/skills/moai-lang-typescript/examples.md +29 -0
  205. moai_adk/templates/.claude/skills/moai-lang-typescript/reference.md +34 -0
  206. moai_adk/templates/.claude/skills/moai-skill-factory/CHECKLIST.md +482 -0
  207. moai_adk/templates/.claude/skills/moai-skill-factory/EXAMPLES.md +278 -0
  208. moai_adk/templates/.claude/skills/moai-skill-factory/INTERACTIVE-DISCOVERY.md +524 -0
  209. moai_adk/templates/.claude/skills/moai-skill-factory/METADATA.md +477 -0
  210. moai_adk/templates/.claude/skills/moai-skill-factory/PARALLEL-ANALYSIS-REPORT.md +429 -0
  211. moai_adk/templates/.claude/skills/moai-skill-factory/PYTHON-VERSION-MATRIX.md +391 -0
  212. moai_adk/templates/.claude/skills/moai-skill-factory/SKILL-FACTORY-WORKFLOW.md +431 -0
  213. moai_adk/templates/.claude/skills/moai-skill-factory/SKILL-UPDATE-ADVISOR.md +577 -0
  214. moai_adk/templates/.claude/skills/moai-skill-factory/SKILL.md +271 -0
  215. moai_adk/templates/.claude/skills/moai-skill-factory/STEP-BY-STEP-GUIDE.md +466 -0
  216. moai_adk/templates/.claude/skills/moai-skill-factory/STRUCTURE.md +583 -0
  217. moai_adk/templates/.claude/skills/moai-skill-factory/WEB-RESEARCH.md +526 -0
  218. moai_adk/templates/.claude/skills/moai-skill-factory/reference.md +465 -0
  219. moai_adk/templates/.claude/skills/moai-skill-factory/scripts/generate-structure.sh +328 -0
  220. moai_adk/templates/.claude/skills/moai-skill-factory/scripts/validate-skill.sh +312 -0
  221. moai_adk/templates/.claude/skills/moai-skill-factory/templates/SKILL_TEMPLATE.md +245 -0
  222. moai_adk/templates/.claude/skills/moai-skill-factory/templates/examples-template.md +285 -0
  223. moai_adk/templates/.claude/skills/moai-skill-factory/templates/reference-template.md +278 -0
  224. moai_adk/templates/.claude/skills/moai-skill-factory/templates/scripts-template.sh +303 -0
  225. moai_adk/templates/.claude/skills/moai-spec-authoring/README.md +137 -0
  226. moai_adk/templates/.claude/skills/moai-spec-authoring/SKILL.md +219 -0
  227. moai_adk/templates/.claude/skills/moai-spec-authoring/examples/validate-spec.sh +161 -0
  228. moai_adk/templates/.claude/skills/moai-spec-authoring/examples.md +541 -0
  229. moai_adk/templates/.claude/skills/moai-spec-authoring/reference.md +622 -0
  230. moai_adk/templates/.github/workflows/c-tag-validation.yml +83 -0
  231. moai_adk/templates/.github/workflows/cpp-tag-validation.yml +79 -0
  232. moai_adk/templates/.github/workflows/csharp-tag-validation.yml +65 -0
  233. moai_adk/templates/.github/workflows/dart-tag-validation.yml +82 -0
  234. moai_adk/templates/.github/workflows/java-tag-validation.yml +75 -0
  235. moai_adk/templates/.github/workflows/kotlin-tag-validation.yml +67 -0
  236. moai_adk/templates/.github/workflows/php-tag-validation.yml +56 -0
  237. moai_adk/templates/.github/workflows/ruby-tag-validation.yml +68 -0
  238. moai_adk/templates/.github/workflows/rust-tag-validation.yml +73 -0
  239. moai_adk/templates/.github/workflows/shell-tag-validation.yml +65 -0
  240. moai_adk/templates/.github/workflows/swift-tag-validation.yml +79 -0
  241. moai_adk/templates/.moai/config.json +113 -0
  242. moai_adk/templates/.moai/memory/CLAUDE-AGENTS-GUIDE.md +208 -0
  243. moai_adk/templates/.moai/memory/CLAUDE-PRACTICES.md +369 -0
  244. moai_adk/templates/.moai/memory/CLAUDE-RULES.md +539 -0
  245. moai_adk/templates/.moai/memory/DEVELOPMENT-GUIDE.md +344 -0
  246. moai_adk/templates/.moai/memory/GITFLOW-PROTECTION-POLICY.md +330 -0
  247. moai_adk/templates/.moai/memory/ISSUE-LABEL-MAPPING.md +150 -0
  248. moai_adk/templates/.moai/memory/SKILLS-DESCRIPTION-POLICY.md +218 -0
  249. moai_adk/templates/.moai/memory/SPEC-METADATA.md +356 -0
  250. moai_adk/templates/.moai/memory/gitflow-protection-policy.md +330 -0
  251. moai_adk/templates/.moai/memory/spec-metadata.md +356 -0
  252. moai_adk/templates/.moai/project/product.md +161 -0
  253. moai_adk/templates/.moai/project/structure.md +156 -0
  254. moai_adk/templates/.moai/project/tech.md +227 -0
  255. moai_adk/templates/CLAUDE.md +90 -10
  256. moai_adk/templates/workflows/go-tag-validation.yml +130 -0
  257. moai_adk/templates/workflows/javascript-tag-validation.yml +135 -0
  258. moai_adk/templates/workflows/python-tag-validation.yml +118 -0
  259. moai_adk/templates/workflows/typescript-tag-validation.yml +154 -0
  260. {moai_adk-0.11.0.dist-info → moai_adk-0.12.0.dist-info}/METADATA +43 -1
  261. moai_adk-0.12.0.dist-info/RECORD +330 -0
  262. moai_adk-0.11.0.dist-info/RECORD +0 -77
  263. /moai_adk/templates/.github/workflows/{release.yml → moai-adk-release.yml} +0 -0
  264. /moai_adk/templates/.github/workflows/{spec-issue-sync.yml → moai-adk-spec-issue-sync.yml} +0 -0
  265. /moai_adk/templates/.github/workflows/{tag-validation.yml → moai-adk-tag-validation.yml} +0 -0
  266. {moai_adk-0.11.0.dist-info → moai_adk-0.12.0.dist-info}/WHEEL +0 -0
  267. {moai_adk-0.11.0.dist-info → moai_adk-0.12.0.dist-info}/entry_points.txt +0 -0
  268. {moai_adk-0.11.0.dist-info → moai_adk-0.12.0.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,113 @@
1
+ ---
2
+ name: moai-alfred-ears-authoring
3
+ version: 2.0.0
4
+ created: 2025-10-22
5
+ updated: 2025-10-22
6
+ status: active
7
+ description: EARS (Easy Approach to Requirements Syntax) authoring with 5 statement patterns for clear requirements.
8
+ keywords: ['ears', 'requirements', 'specs', 'authoring']
9
+ allowed-tools:
10
+ - Read
11
+ - Bash
12
+ ---
13
+
14
+ # Alfred Ears Authoring Skill
15
+
16
+ ## Skill Metadata
17
+
18
+ | Field | Value |
19
+ | ----- | ----- |
20
+ | **Skill Name** | moai-alfred-ears-authoring |
21
+ | **Version** | 2.0.0 (2025-10-22) |
22
+ | **Allowed tools** | Read (read_file), Bash (terminal) |
23
+ | **Auto-load** | On demand when keywords detected |
24
+ | **Tier** | Alfred |
25
+
26
+ ---
27
+
28
+ ## What It Does
29
+
30
+ EARS (Easy Approach to Requirements Syntax) authoring with 5 statement patterns for clear requirements.
31
+
32
+ **Key capabilities**:
33
+ - ✅ Best practices enforcement for alfred domain
34
+ - ✅ TRUST 5 principles integration
35
+ - ✅ Latest tool versions (2025-10-22)
36
+ - ✅ TDD workflow support
37
+
38
+ ---
39
+
40
+ ## When to Use
41
+
42
+ **Automatic triggers**:
43
+ - Related code discussions and file patterns
44
+ - SPEC implementation (`/alfred:2-run`)
45
+ - Code review requests
46
+
47
+ **Manual invocation**:
48
+ - Review code for TRUST 5 compliance
49
+ - Design new features
50
+ - Troubleshoot issues
51
+
52
+ ---
53
+
54
+ ## Inputs
55
+
56
+ - Language-specific source directories
57
+ - Configuration files
58
+ - Test suites and sample data
59
+
60
+ ## Outputs
61
+
62
+ - Test/lint execution plan
63
+ - TRUST 5 review checkpoints
64
+ - Migration guidance
65
+
66
+ ## Failure Modes
67
+
68
+ - When required tools are not installed
69
+ - When dependencies are missing
70
+ - When test coverage falls below 85%
71
+
72
+ ## Dependencies
73
+
74
+ - Access to project files via Read/Bash tools
75
+ - Integration with `moai-foundation-langs` for language detection
76
+ - Integration with `moai-foundation-trust` for quality gates
77
+
78
+ ---
79
+
80
+ ## References (Latest Documentation)
81
+
82
+ _Documentation links updated 2025-10-22_
83
+
84
+ ---
85
+
86
+ ## Changelog
87
+
88
+ - **v2.0.0** (2025-10-22): Major update with latest tool versions, comprehensive best practices, TRUST 5 integration
89
+ - **v1.0.0** (2025-03-29): Initial Skill release
90
+
91
+ ---
92
+
93
+ ## Works Well With
94
+
95
+ - `moai-foundation-trust` (quality gates)
96
+ - `moai-alfred-code-reviewer` (code review)
97
+ - `moai-essentials-debug` (debugging support)
98
+
99
+ ---
100
+
101
+ ## Best Practices
102
+
103
+ ✅ **DO**:
104
+ - Follow alfred best practices
105
+ - Use latest stable tool versions
106
+ - Maintain test coverage ≥85%
107
+ - Document all public APIs
108
+
109
+ ❌ **DON'T**:
110
+ - Skip quality gates
111
+ - Use deprecated tools
112
+ - Ignore security warnings
113
+ - Mix testing frameworks
@@ -0,0 +1,29 @@
1
+ # moai-alfred-ears-authoring - Working Examples
2
+
3
+ _Last updated: 2025-10-22_
4
+
5
+ ## Example 1: Basic Setup
6
+
7
+ ```bash
8
+ # Setup commands
9
+ # ...
10
+ ```
11
+
12
+ ## Example 2: TDD Workflow
13
+
14
+ ```bash
15
+ # RED: Write failing test
16
+ # GREEN: Implement feature
17
+ # REFACTOR: Improve code
18
+ ```
19
+
20
+ ## Example 3: Quality Gate
21
+
22
+ ```bash
23
+ # Run quality checks
24
+ # Verify coverage ≥85%
25
+ ```
26
+
27
+ ---
28
+
29
+ _For more examples, see SKILL.md reference section_
@@ -0,0 +1,28 @@
1
+ # moai-alfred-ears-authoring - CLI Reference
2
+
3
+ _Last updated: 2025-10-22_
4
+
5
+ ## Quick Reference
6
+
7
+ ### Installation
8
+
9
+ ```bash
10
+ # Installation commands
11
+ ```
12
+
13
+ ### Common Commands
14
+
15
+ ```bash
16
+ # Test
17
+ # Lint
18
+ # Format
19
+ # Build
20
+ ```
21
+
22
+ ## Tool Versions (2025-10-22)
23
+
24
+ _No specific tool versions (workflow/process Skill)_
25
+
26
+ ---
27
+
28
+ _For detailed usage, see SKILL.md_
@@ -0,0 +1,122 @@
1
+ ---
2
+ name: moai-alfred-git-workflow
3
+ version: 2.0.0
4
+ created: 2025-10-22
5
+ updated: 2025-10-22
6
+ status: active
7
+ description: GitFlow automation with feature branches, TDD commits, Draft PR, and PR Ready transitions.
8
+ keywords: ['git', 'gitflow', 'pr', 'commits']
9
+ allowed-tools:
10
+ - Read
11
+ - Bash
12
+ ---
13
+
14
+ # Alfred Git Workflow Skill
15
+
16
+ ## Skill Metadata
17
+
18
+ | Field | Value |
19
+ | ----- | ----- |
20
+ | **Skill Name** | moai-alfred-git-workflow |
21
+ | **Version** | 2.0.0 (2025-10-22) |
22
+ | **Allowed tools** | Read (read_file), Bash (terminal) |
23
+ | **Auto-load** | On demand when keywords detected |
24
+ | **Tier** | Alfred |
25
+
26
+ ---
27
+
28
+ ## What It Does
29
+
30
+ GitFlow automation with feature branches, TDD commits, Draft PR, and PR Ready transitions.
31
+
32
+ **Key capabilities**:
33
+ - ✅ Best practices enforcement for alfred domain
34
+ - ✅ TRUST 5 principles integration
35
+ - ✅ Latest tool versions (2025-10-22)
36
+ - ✅ TDD workflow support
37
+
38
+ ---
39
+
40
+ ## When to Use
41
+
42
+ **Automatic triggers**:
43
+ - Related code discussions and file patterns
44
+ - SPEC implementation (`/alfred:2-run`)
45
+ - Code review requests
46
+
47
+ **Manual invocation**:
48
+ - Review code for TRUST 5 compliance
49
+ - Design new features
50
+ - Troubleshoot issues
51
+
52
+ ---
53
+
54
+ ## Tool Version Matrix (2025-10-22)
55
+
56
+ | Tool | Version | Purpose | Status |
57
+ |------|---------|---------|--------|
58
+ | **Git** | 2.47.0 | Primary | ✅ Current |
59
+ | **GitHub CLI** | 2.63.0 | Primary | ✅ Current |
60
+
61
+ ---
62
+
63
+ ## Inputs
64
+
65
+ - Language-specific source directories
66
+ - Configuration files
67
+ - Test suites and sample data
68
+
69
+ ## Outputs
70
+
71
+ - Test/lint execution plan
72
+ - TRUST 5 review checkpoints
73
+ - Migration guidance
74
+
75
+ ## Failure Modes
76
+
77
+ - When required tools are not installed
78
+ - When dependencies are missing
79
+ - When test coverage falls below 85%
80
+
81
+ ## Dependencies
82
+
83
+ - Access to project files via Read/Bash tools
84
+ - Integration with `moai-foundation-langs` for language detection
85
+ - Integration with `moai-foundation-trust` for quality gates
86
+
87
+ ---
88
+
89
+ ## References (Latest Documentation)
90
+
91
+ _Documentation links updated 2025-10-22_
92
+
93
+ ---
94
+
95
+ ## Changelog
96
+
97
+ - **v2.0.0** (2025-10-22): Major update with latest tool versions, comprehensive best practices, TRUST 5 integration
98
+ - **v1.0.0** (2025-03-29): Initial Skill release
99
+
100
+ ---
101
+
102
+ ## Works Well With
103
+
104
+ - `moai-foundation-trust` (quality gates)
105
+ - `moai-alfred-code-reviewer` (code review)
106
+ - `moai-essentials-debug` (debugging support)
107
+
108
+ ---
109
+
110
+ ## Best Practices
111
+
112
+ ✅ **DO**:
113
+ - Follow alfred best practices
114
+ - Use latest stable tool versions
115
+ - Maintain test coverage ≥85%
116
+ - Document all public APIs
117
+
118
+ ❌ **DON'T**:
119
+ - Skip quality gates
120
+ - Use deprecated tools
121
+ - Ignore security warnings
122
+ - Mix testing frameworks
@@ -0,0 +1,29 @@
1
+ # moai-alfred-git-workflow - Working Examples
2
+
3
+ _Last updated: 2025-10-22_
4
+
5
+ ## Example 1: Basic Setup
6
+
7
+ ```bash
8
+ # Setup commands
9
+ # ...
10
+ ```
11
+
12
+ ## Example 2: TDD Workflow
13
+
14
+ ```bash
15
+ # RED: Write failing test
16
+ # GREEN: Implement feature
17
+ # REFACTOR: Improve code
18
+ ```
19
+
20
+ ## Example 3: Quality Gate
21
+
22
+ ```bash
23
+ # Run quality checks
24
+ # Verify coverage ≥85%
25
+ ```
26
+
27
+ ---
28
+
29
+ _For more examples, see SKILL.md reference section_
@@ -0,0 +1,29 @@
1
+ # moai-alfred-git-workflow - CLI Reference
2
+
3
+ _Last updated: 2025-10-22_
4
+
5
+ ## Quick Reference
6
+
7
+ ### Installation
8
+
9
+ ```bash
10
+ # Installation commands
11
+ ```
12
+
13
+ ### Common Commands
14
+
15
+ ```bash
16
+ # Test
17
+ # Lint
18
+ # Format
19
+ # Build
20
+ ```
21
+
22
+ ## Tool Versions (2025-10-22)
23
+
24
+ - **Git**: 2.47.0
25
+ - **GitHub CLI**: 2.63.0
26
+
27
+ ---
28
+
29
+ _For detailed usage, see SKILL.md_
@@ -0,0 +1,237 @@
1
+ ---
2
+ name: moai-alfred-interactive-questions
3
+ version: 3.1.0
4
+ created: 2025-10-22
5
+ updated: 2025-10-27
6
+ status: active
7
+ description: Guide Alfred sub-agents to actively invoke AskUserQuestion for ambiguous decisions.
8
+ keywords: ['interactive', 'clarification', 'decision-making', 'AskUserQuestion']
9
+ allowed-tools:
10
+ - AskUserQuestion
11
+ ---
12
+
13
+ # Alfred Interactive Questions - Skill Guide
14
+
15
+ ## Skill Metadata
16
+
17
+ | Field | Value |
18
+ | ----- | ----- |
19
+ | **Skill Name** | moai-alfred-interactive-questions |
20
+ | **Version** | 3.1.0 (2025-10-27) |
21
+ | **Core Tool** | `AskUserQuestion` (Claude Code built-in) |
22
+ | **Auto-load** | When Alfred detects ambiguity in requests |
23
+ | **Tier** | Alfred (Workflow Orchestration) |
24
+
25
+ ---
26
+
27
+ ## What It Does
28
+
29
+ **Purpose**: Empower Alfred sub-agents to **actively ask clarifying questions** whenever user intent is ambiguous, rather than guessing.
30
+
31
+ Leverages Claude Code's native `AskUserQuestion` tool to collect explicit, structured user input that transforms vague requests into precise specifications.
32
+
33
+ **Key capabilities**:
34
+ - ✅ Single-select & multi-select option types
35
+ - ✅ 1-4 questions per survey (avoid fatigue)
36
+ - ✅ 2-4 options per question (prevent choice overload)
37
+ - ✅ Automatic "Other" option for custom input
38
+ - ✅ Conditional branching based on answers
39
+ - ✅ Integration across all Alfred commands (Plan/Run/Sync)
40
+ - ✅ Reduces ambiguity → fewer iterations → faster execution
41
+
42
+ ---
43
+
44
+ ## When to Ask (Trigger Patterns)
45
+
46
+ ### ✅ ASK when user intent is ambiguous:
47
+
48
+ 1. **Vague noun phrases**: "Add dashboard", "Refactor auth", "Improve performance"
49
+ 2. **Missing scope**: No specification of WHERE, WHO, WHAT, HOW, WHEN
50
+ 3. **Multiple valid paths**: ≥2 reasonable implementation approaches
51
+ 4. **Trade-off decisions**: Speed vs quality, simple vs comprehensive, etc.
52
+ 5. **Risky operations**: Destructive actions needing explicit consent
53
+
54
+ ### ❌ DON'T ask when:
55
+ - User explicitly specified exact requirements
56
+ - Decision is automatic (no choices)
57
+ - Single obvious path exists
58
+ - Quick yes/no confirmation only (maybe, but keep it brief)
59
+
60
+ ---
61
+
62
+ ## Core Principle: Just Ask!
63
+
64
+ **Golden Rule**: When in doubt, **ask the user** instead of guessing.
65
+
66
+ **Why**:
67
+ - ✅ User sees exactly what you'll do → no surprises
68
+ - ✅ Single interaction vs 3-5 rounds of back-and-forth
69
+ - ✅ Fast → execute with certainty
70
+ - ✅ Reduces "vibe coding" frustration
71
+
72
+ **Pattern**:
73
+ ```
74
+ Ambiguous request detected
75
+
76
+ Call AskUserQuestion({questions: [...]})
77
+
78
+ User selects from clear options
79
+
80
+ Proceed with confirmed specifications
81
+ ```
82
+
83
+ ---
84
+
85
+ ## Quick Start: Minimal Invocation
86
+
87
+ ```typescript
88
+ const answer = await AskUserQuestion({
89
+ questions: [
90
+ {
91
+ question: "How should we implement this?",
92
+ header: "Approach", // max 12 chars
93
+ multiSelect: false,
94
+ options: [
95
+ {
96
+ label: "Option 1", // 1-5 words
97
+ description: "What it does and why you'd pick it."
98
+ },
99
+ {
100
+ label: "Option 2",
101
+ description: "Alternative with different trade-offs."
102
+ }
103
+ ]
104
+ }
105
+ ]
106
+ });
107
+
108
+ // Returns: { "Approach": "Option 1" }
109
+ ```
110
+
111
+ ---
112
+
113
+ ## Key Constraints
114
+
115
+ | Constraint | Reason |
116
+ |-----------|--------|
117
+ | **1-4 questions max** | Avoid user fatigue |
118
+ | **2-4 options per Q** | Prevent choice overload |
119
+ | **Header ≤12 chars** | TUI layout fit |
120
+ | **Label 1-5 words** | Quick scanning |
121
+ | **Description required** | Enables informed choice |
122
+ | **Auto "Other" option** | Always available for custom input |
123
+
124
+ ---
125
+
126
+ ## Top 5 Usage Patterns
127
+
128
+ ### Pattern 1: Implementation Approach
129
+ **Trigger**: "Add feature X" or "Build Y" without specifics
130
+
131
+ ### Pattern 2: Confirmation (Risky Operations)
132
+ **Trigger**: Destructive action (delete, migrate, reset)
133
+
134
+ ### Pattern 3: Multi-Option Feature Selection
135
+ **Trigger**: "Which framework/library/approach?"
136
+
137
+ ### Pattern 4: Multi-Select (Independent Features)
138
+ **Trigger**: "Which features to enable/include?"
139
+
140
+ ### Pattern 5: Sequential Questions (Conditional Flow)
141
+ **Trigger**: Dependent decisions (Q2 depends on Q1 answer)
142
+
143
+ > **Detailed examples and code**: See [examples.md](examples.md)
144
+
145
+ ---
146
+
147
+ ## Integration with Alfred Sub-agents
148
+
149
+ | Sub-agent | When to Ask | Example Trigger |
150
+ |-----------|-------------|-----------------|
151
+ | **spec-builder** (`/alfred:1-plan`) | SPEC title vague, scope undefined | "Add feature" without specifics |
152
+ | **code-builder** (`/alfred:2-run`) | Implementation approach unclear | Multiple valid implementation paths |
153
+ | **doc-syncer** (`/alfred:3-sync`) | Sync scope unclear | Full vs partial sync decision |
154
+
155
+ > **Detailed integration patterns**: See [reference.md](reference.md)
156
+
157
+ ---
158
+
159
+ ## Best Practices Summary
160
+
161
+ ### ✅ DO
162
+ - **Be specific**: "Which database type?" not "What should we use?"
163
+ - **Provide context**: Include file names, scope, or impact
164
+ - **Order logically**: General → Specific; safest option first
165
+ - **Flag risks**: Use "NOT RECOMMENDED" or "CAUTION:" prefixes
166
+ - **Explain trade-offs**: Mention time, resources, complexity
167
+
168
+ ### ❌ DON'T
169
+ - **Overuse questions**: Only ask when ambiguous
170
+ - **Too many options**: 2-4 per question max
171
+ - **Vague labels**: "Option A", "Use tokens", "Option 2"
172
+ - **Skip descriptions**: User needs rationale
173
+ - **Hide trade-offs**: Always mention implications
174
+
175
+ > **Complete best practices guide**: See [reference.md](reference.md)
176
+
177
+ ---
178
+
179
+ ## Error Handling
180
+
181
+ ### User Cancels (ESC key)
182
+ ```typescript
183
+ try {
184
+ const answer = await AskUserQuestion({...});
185
+ } catch (error) {
186
+ console.log("User cancelled survey");
187
+ // Fall back to default or abort
188
+ }
189
+ ```
190
+
191
+ ### Validate Custom Input ("Other" option)
192
+ ```typescript
193
+ const answer = await AskUserQuestion({...});
194
+
195
+ if (answer["Header"] === "Other" || !VALID_OPTIONS.includes(answer["Header"])) {
196
+ validateCustomInput(answer["Header"]);
197
+ }
198
+ ```
199
+
200
+ ---
201
+
202
+ ## Related Skills
203
+
204
+ - `moai-alfred-spec-metadata-validation` (SPEC clarity)
205
+ - `moai-alfred-ears-authoring` (requirement phrasing)
206
+ - `moai-foundation-specs` (SPEC structure)
207
+
208
+ ---
209
+
210
+ ## Quick Reference
211
+
212
+ **When to use**:
213
+ - User intent is ambiguous
214
+ - Multiple valid approaches exist
215
+ - Architectural decisions with trade-offs
216
+ - Approvals needed before risky ops
217
+
218
+ **How**:
219
+ 1. Detect ambiguity (vague request, multiple paths, etc.)
220
+ 2. Call `AskUserQuestion({ questions: [...] })`
221
+ 3. User selects from clear options
222
+ 4. Proceed with confirmed specifications
223
+
224
+ **Benefits**:
225
+ - ✅ Certainty instead of guessing
226
+ - ✅ Single interaction vs 3-5 iterations
227
+ - ✅ Faster, happier users
228
+ - ✅ Less "vibe coding" frustration
229
+
230
+ ---
231
+
232
+ **For detailed API specifications**: [reference.md](reference.md)
233
+ **For real-world examples**: [examples.md](examples.md)
234
+
235
+ ---
236
+
237
+ **End of Skill** | Refactored 2025-10-27