@bonesofspring/ai-rules 0.2.78 → 0.2.84

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.
Files changed (904) hide show
  1. package/CHANGELOG.md +97 -0
  2. package/README.md +4 -2
  3. package/bin/lib/engine-scripts.js +6 -0
  4. package/bin/lib/merged-config.js +49 -0
  5. package/bin/lib/seed-ai-local-team.js +4 -0
  6. package/bin/mavis-install.js +53 -3
  7. package/docs/MAVIS-COMPATIBILITY.md +136 -8
  8. package/docs/PRESET-CONTRIBUTION.md +9 -0
  9. package/docs/TEAM-DB.md +118 -15
  10. package/docs/openapi/team-db.v1.json +2879 -1858
  11. package/package.json +8 -1
  12. package/presets/_shared/ai-local/scripts/check-task-repositories.mjs +282 -0
  13. package/presets/_shared/ai-local/scripts/check-verification.mjs +13 -6
  14. package/presets/_shared/ai-local/scripts/rr-migrate-repositories.mjs +531 -0
  15. package/presets/_shared/ai-local/scripts/run-compact.mjs +38 -10
  16. package/presets/_shared/ai-local/scripts/team-db-api.mjs +211 -12
  17. package/presets/_shared/ai-local/scripts/team-db-openapi.mjs +289 -3
  18. package/presets/_shared/ai-local/scripts/team-db-project.mjs +857 -1
  19. package/presets/_shared/ai-local/scripts/team-db-schema.mjs +68 -0
  20. package/presets/_shared/ai-local/scripts/team-db-tracker.mjs +29 -10
  21. package/presets/_shared/ai-local/scripts/team-db.mjs +46 -1
  22. package/presets/_shared/core/agent-team/agent-team-orchestrator.md +1 -0
  23. package/presets/_shared/core/review/code-review-mr.md +19 -4
  24. package/presets/_shared/hooks/chain-team-phases.sh.tmpl +109 -1
  25. package/presets/_shared/hooks/compact-shell-output.mjs +16 -1
  26. package/presets/claude/android-kotlin/agents/code-reviewer.md +5 -1
  27. package/presets/claude/android-kotlin/agents/task-router.md +2 -0
  28. package/presets/claude/android-kotlin/commands/README.md +1 -0
  29. package/presets/claude/android-kotlin/commands/rr-migrate-repositories.md +59 -0
  30. package/presets/claude/android-kotlin/commands/task.md +4 -0
  31. package/presets/claude/android-kotlin/commands/update.md +1 -0
  32. package/presets/claude/android-kotlin/hooks/chain-team-phases.sh +109 -1
  33. package/presets/claude/android-kotlin/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
  34. package/presets/claude/android-kotlin/rules/tooling-and-review/code-review.md +19 -4
  35. package/presets/claude/android-kotlin/skills/code-review/SKILL.md +2 -1
  36. package/presets/claude/go/agents/code-reviewer.md +5 -1
  37. package/presets/claude/go/agents/task-router.md +2 -0
  38. package/presets/claude/go/commands/README.md +1 -0
  39. package/presets/claude/go/commands/rr-migrate-repositories.md +59 -0
  40. package/presets/claude/go/commands/task.md +4 -0
  41. package/presets/claude/go/commands/update.md +1 -0
  42. package/presets/claude/go/hooks/chain-team-phases.sh +109 -1
  43. package/presets/claude/go/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
  44. package/presets/claude/go/rules/tooling-and-review/code-review.md +19 -4
  45. package/presets/claude/go/skills/code-review/SKILL.md +2 -1
  46. package/presets/claude/ios-swift/agents/code-reviewer.md +5 -1
  47. package/presets/claude/ios-swift/agents/task-router.md +2 -0
  48. package/presets/claude/ios-swift/commands/README.md +1 -0
  49. package/presets/claude/ios-swift/commands/rr-migrate-repositories.md +59 -0
  50. package/presets/claude/ios-swift/commands/task.md +4 -0
  51. package/presets/claude/ios-swift/commands/update.md +1 -0
  52. package/presets/claude/ios-swift/hooks/chain-team-phases.sh +109 -1
  53. package/presets/claude/ios-swift/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
  54. package/presets/claude/ios-swift/rules/tooling-and-review/code-review.md +19 -4
  55. package/presets/claude/ios-swift/skills/code-review/SKILL.md +2 -1
  56. package/presets/claude/java/agents/code-reviewer.md +5 -1
  57. package/presets/claude/java/agents/task-router.md +2 -0
  58. package/presets/claude/java/commands/README.md +1 -0
  59. package/presets/claude/java/commands/rr-migrate-repositories.md +59 -0
  60. package/presets/claude/java/commands/task.md +4 -0
  61. package/presets/claude/java/commands/update.md +1 -0
  62. package/presets/claude/java/hooks/chain-team-phases.sh +109 -1
  63. package/presets/claude/java/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
  64. package/presets/claude/java/rules/tooling-and-review/code-review.md +19 -4
  65. package/presets/claude/java/skills/code-review/SKILL.md +2 -1
  66. package/presets/claude/mcp-ts/agents/task-router.md +2 -0
  67. package/presets/claude/mcp-ts/commands/README.md +1 -0
  68. package/presets/claude/mcp-ts/commands/rr-migrate-repositories.md +59 -0
  69. package/presets/claude/mcp-ts/commands/task.md +4 -0
  70. package/presets/claude/mcp-ts/commands/update.md +1 -0
  71. package/presets/claude/mcp-ts/hooks/chain-team-phases.sh +109 -1
  72. package/presets/claude/mcp-ts/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
  73. package/presets/claude/mcp-ts/rules/tooling-and-review/code-review.md +19 -4
  74. package/presets/claude/mol/REPO_AGENTS.md +1 -1
  75. package/presets/claude/mol/agents/code-reviewer.md +5 -1
  76. package/presets/claude/mol/agents/task-router.md +3 -1
  77. package/presets/claude/mol/commands/README.md +1 -0
  78. package/presets/claude/mol/commands/rr-migrate-repositories.md +59 -0
  79. package/presets/claude/mol/commands/task.md +4 -0
  80. package/presets/claude/mol/commands/update.md +1 -0
  81. package/presets/claude/mol/hooks/chain-team-phases.sh +109 -1
  82. package/presets/claude/mol/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
  83. package/presets/claude/mol/rules/tooling-and-review/code-review-mr.md +19 -4
  84. package/presets/claude/mol/skills/code-review/SKILL.md +2 -1
  85. package/presets/claude/next/REPO_AGENTS.md +1 -1
  86. package/presets/claude/next/agents/code-reviewer.md +5 -1
  87. package/presets/claude/next/agents/task-router.md +3 -1
  88. package/presets/claude/next/commands/README.md +1 -0
  89. package/presets/claude/next/commands/rr-migrate-repositories.md +59 -0
  90. package/presets/claude/next/commands/task.md +4 -0
  91. package/presets/claude/next/commands/ui-start.md +12 -4
  92. package/presets/claude/next/commands/ui-stop.md +5 -2
  93. package/presets/claude/next/commands/update.md +1 -0
  94. package/presets/claude/next/hooks/chain-team-phases.sh +109 -1
  95. package/presets/claude/next/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
  96. package/presets/claude/next/rules/tooling-and-review/code-review-mr.md +19 -4
  97. package/presets/claude/next/skills/code-review/SKILL.md +2 -1
  98. package/presets/claude/nuxt/agents/code-reviewer.md +5 -1
  99. package/presets/claude/nuxt/agents/task-router.md +3 -1
  100. package/presets/claude/nuxt/commands/README.md +1 -0
  101. package/presets/claude/nuxt/commands/rr-migrate-repositories.md +59 -0
  102. package/presets/claude/nuxt/commands/task.md +4 -0
  103. package/presets/claude/nuxt/commands/update.md +1 -0
  104. package/presets/claude/nuxt/hooks/chain-team-phases.sh +109 -1
  105. package/presets/claude/nuxt/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
  106. package/presets/claude/nuxt/rules/tooling-and-review/code-review-mr.md +19 -4
  107. package/presets/claude/nuxt/skills/code-review/SKILL.md +2 -1
  108. package/presets/claude/php-hexagonal/agents/code-reviewer.md +5 -1
  109. package/presets/claude/php-hexagonal/agents/task-router.md +2 -0
  110. package/presets/claude/php-hexagonal/commands/README.md +1 -0
  111. package/presets/claude/php-hexagonal/commands/rr-migrate-repositories.md +59 -0
  112. package/presets/claude/php-hexagonal/commands/task.md +4 -0
  113. package/presets/claude/php-hexagonal/commands/update.md +1 -0
  114. package/presets/claude/php-hexagonal/hooks/chain-team-phases.sh +109 -1
  115. package/presets/claude/php-hexagonal/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
  116. package/presets/claude/php-hexagonal/rules/tooling-and-review/code-review.md +19 -4
  117. package/presets/claude/php-hexagonal/skills/code-review/SKILL.md +2 -1
  118. package/presets/claude/php-laravel/agents/code-reviewer.md +5 -1
  119. package/presets/claude/php-laravel/agents/task-router.md +2 -0
  120. package/presets/claude/php-laravel/commands/README.md +1 -0
  121. package/presets/claude/php-laravel/commands/rr-migrate-repositories.md +59 -0
  122. package/presets/claude/php-laravel/commands/task.md +4 -0
  123. package/presets/claude/php-laravel/commands/update.md +1 -0
  124. package/presets/claude/php-laravel/hooks/chain-team-phases.sh +109 -1
  125. package/presets/claude/php-laravel/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
  126. package/presets/claude/php-laravel/rules/tooling-and-review/code-review.md +19 -4
  127. package/presets/claude/php-laravel/skills/code-review/SKILL.md +2 -1
  128. package/presets/claude/svelte/agents/code-reviewer.md +5 -1
  129. package/presets/claude/svelte/agents/task-router.md +3 -1
  130. package/presets/claude/svelte/commands/README.md +1 -0
  131. package/presets/claude/svelte/commands/rr-migrate-repositories.md +59 -0
  132. package/presets/claude/svelte/commands/task.md +4 -0
  133. package/presets/claude/svelte/commands/update.md +1 -0
  134. package/presets/claude/svelte/hooks/chain-team-phases.sh +109 -1
  135. package/presets/claude/svelte/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
  136. package/presets/claude/svelte/rules/tooling-and-review/code-review-mr.md +19 -4
  137. package/presets/claude/svelte/skills/code-review/SKILL.md +2 -1
  138. package/presets/cursor/android-kotlin/agents/code-reviewer.md +5 -1
  139. package/presets/cursor/android-kotlin/agents/task-router.md +2 -0
  140. package/presets/cursor/android-kotlin/commands/README.md +1 -0
  141. package/presets/cursor/android-kotlin/commands/rr-migrate-repositories.md +59 -0
  142. package/presets/cursor/android-kotlin/commands/task.md +4 -0
  143. package/presets/cursor/android-kotlin/commands/update.md +1 -0
  144. package/presets/cursor/android-kotlin/hooks/chain-team-phases.sh +109 -1
  145. package/presets/cursor/android-kotlin/hooks/compact-shell-output.mjs +16 -1
  146. package/presets/cursor/android-kotlin/rules/code-review-mr.mdc +19 -4
  147. package/presets/cursor/android-kotlin/skills/code-review/SKILL.md +2 -1
  148. package/presets/cursor/go/agents/code-reviewer.md +5 -1
  149. package/presets/cursor/go/agents/task-router.md +2 -0
  150. package/presets/cursor/go/commands/README.md +1 -0
  151. package/presets/cursor/go/commands/rr-migrate-repositories.md +59 -0
  152. package/presets/cursor/go/commands/task.md +4 -0
  153. package/presets/cursor/go/commands/update.md +1 -0
  154. package/presets/cursor/go/hooks/chain-team-phases.sh +109 -1
  155. package/presets/cursor/go/hooks/compact-shell-output.mjs +16 -1
  156. package/presets/cursor/go/rules/code-review-mr.mdc +19 -4
  157. package/presets/cursor/go/skills/code-review/SKILL.md +2 -1
  158. package/presets/cursor/ios-swift/agents/code-reviewer.md +5 -1
  159. package/presets/cursor/ios-swift/agents/task-router.md +2 -0
  160. package/presets/cursor/ios-swift/commands/README.md +1 -0
  161. package/presets/cursor/ios-swift/commands/rr-migrate-repositories.md +59 -0
  162. package/presets/cursor/ios-swift/commands/task.md +4 -0
  163. package/presets/cursor/ios-swift/commands/update.md +1 -0
  164. package/presets/cursor/ios-swift/hooks/chain-team-phases.sh +109 -1
  165. package/presets/cursor/ios-swift/hooks/compact-shell-output.mjs +16 -1
  166. package/presets/cursor/ios-swift/rules/code-review-mr.mdc +19 -4
  167. package/presets/cursor/ios-swift/skills/code-review/SKILL.md +2 -1
  168. package/presets/cursor/java/agents/code-reviewer.md +5 -1
  169. package/presets/cursor/java/agents/task-router.md +2 -0
  170. package/presets/cursor/java/commands/README.md +1 -0
  171. package/presets/cursor/java/commands/rr-migrate-repositories.md +59 -0
  172. package/presets/cursor/java/commands/task.md +4 -0
  173. package/presets/cursor/java/commands/update.md +1 -0
  174. package/presets/cursor/java/hooks/chain-team-phases.sh +109 -1
  175. package/presets/cursor/java/hooks/compact-shell-output.mjs +16 -1
  176. package/presets/cursor/java/rules/code-review-mr.mdc +19 -4
  177. package/presets/cursor/java/skills/code-review/SKILL.md +2 -1
  178. package/presets/cursor/mcp-ts/agents/task-router.md +2 -0
  179. package/presets/cursor/mcp-ts/commands/README.md +1 -0
  180. package/presets/cursor/mcp-ts/commands/rr-migrate-repositories.md +59 -0
  181. package/presets/cursor/mcp-ts/commands/task.md +4 -0
  182. package/presets/cursor/mcp-ts/commands/update.md +1 -0
  183. package/presets/cursor/mcp-ts/hooks/chain-team-phases.sh +109 -1
  184. package/presets/cursor/mcp-ts/hooks/compact-shell-output.mjs +16 -1
  185. package/presets/cursor/mcp-ts/rules/code-review-mr.mdc +19 -4
  186. package/presets/cursor/mol/REPO_AGENTS.md +1 -1
  187. package/presets/cursor/mol/agents/code-reviewer.md +5 -1
  188. package/presets/cursor/mol/agents/task-router.md +3 -1
  189. package/presets/cursor/mol/commands/README.md +1 -0
  190. package/presets/cursor/mol/commands/rr-migrate-repositories.md +59 -0
  191. package/presets/cursor/mol/commands/task.md +4 -0
  192. package/presets/cursor/mol/commands/update.md +1 -0
  193. package/presets/cursor/mol/hooks/chain-team-phases.sh +109 -1
  194. package/presets/cursor/mol/hooks/compact-shell-output.mjs +16 -1
  195. package/presets/cursor/mol/rules/code-review-mr.mdc +19 -4
  196. package/presets/cursor/mol/skills/code-review/SKILL.md +2 -1
  197. package/presets/cursor/next/REPO_AGENTS.md +1 -1
  198. package/presets/cursor/next/agents/code-reviewer.md +5 -1
  199. package/presets/cursor/next/agents/task-router.md +3 -1
  200. package/presets/cursor/next/commands/README.md +1 -0
  201. package/presets/cursor/next/commands/rr-migrate-repositories.md +59 -0
  202. package/presets/cursor/next/commands/task.md +4 -0
  203. package/presets/cursor/next/commands/ui-start.md +12 -4
  204. package/presets/cursor/next/commands/ui-stop.md +5 -2
  205. package/presets/cursor/next/commands/update.md +1 -0
  206. package/presets/cursor/next/hooks/README.md +2 -0
  207. package/presets/cursor/next/hooks/chain-team-phases.sh +109 -1
  208. package/presets/cursor/next/hooks/compact-shell-output.mjs +16 -1
  209. package/presets/cursor/next/rules/code-review-mr.mdc +19 -4
  210. package/presets/cursor/next/skills/code-review/SKILL.md +2 -1
  211. package/presets/cursor/nuxt/agents/code-reviewer.md +5 -1
  212. package/presets/cursor/nuxt/agents/task-router.md +3 -1
  213. package/presets/cursor/nuxt/commands/README.md +1 -0
  214. package/presets/cursor/nuxt/commands/rr-migrate-repositories.md +59 -0
  215. package/presets/cursor/nuxt/commands/task.md +4 -0
  216. package/presets/cursor/nuxt/commands/update.md +1 -0
  217. package/presets/cursor/nuxt/hooks/chain-team-phases.sh +109 -1
  218. package/presets/cursor/nuxt/hooks/compact-shell-output.mjs +16 -1
  219. package/presets/cursor/nuxt/rules/code-review-mr.mdc +19 -4
  220. package/presets/cursor/nuxt/skills/code-review/SKILL.md +2 -1
  221. package/presets/cursor/php-hexagonal/agents/code-reviewer.md +5 -1
  222. package/presets/cursor/php-hexagonal/agents/task-router.md +2 -0
  223. package/presets/cursor/php-hexagonal/commands/README.md +1 -0
  224. package/presets/cursor/php-hexagonal/commands/rr-migrate-repositories.md +59 -0
  225. package/presets/cursor/php-hexagonal/commands/task.md +4 -0
  226. package/presets/cursor/php-hexagonal/commands/update.md +1 -0
  227. package/presets/cursor/php-hexagonal/hooks/chain-team-phases.sh +109 -1
  228. package/presets/cursor/php-hexagonal/hooks/compact-shell-output.mjs +16 -1
  229. package/presets/cursor/php-hexagonal/rules/code-review-mr.mdc +19 -4
  230. package/presets/cursor/php-hexagonal/skills/code-review/SKILL.md +2 -1
  231. package/presets/cursor/php-laravel/agents/code-reviewer.md +5 -1
  232. package/presets/cursor/php-laravel/agents/task-router.md +2 -0
  233. package/presets/cursor/php-laravel/commands/README.md +1 -0
  234. package/presets/cursor/php-laravel/commands/rr-migrate-repositories.md +59 -0
  235. package/presets/cursor/php-laravel/commands/task.md +4 -0
  236. package/presets/cursor/php-laravel/commands/update.md +1 -0
  237. package/presets/cursor/php-laravel/hooks/chain-team-phases.sh +109 -1
  238. package/presets/cursor/php-laravel/hooks/compact-shell-output.mjs +16 -1
  239. package/presets/cursor/php-laravel/rules/code-review-mr.mdc +19 -4
  240. package/presets/cursor/php-laravel/skills/code-review/SKILL.md +2 -1
  241. package/presets/cursor/svelte/agents/code-reviewer.md +5 -1
  242. package/presets/cursor/svelte/agents/task-router.md +3 -1
  243. package/presets/cursor/svelte/commands/README.md +1 -0
  244. package/presets/cursor/svelte/commands/rr-migrate-repositories.md +59 -0
  245. package/presets/cursor/svelte/commands/task.md +4 -0
  246. package/presets/cursor/svelte/commands/update.md +1 -0
  247. package/presets/cursor/svelte/hooks/chain-team-phases.sh +109 -1
  248. package/presets/cursor/svelte/hooks/compact-shell-output.mjs +16 -1
  249. package/presets/cursor/svelte/rules/code-review-mr.mdc +19 -4
  250. package/presets/cursor/svelte/skills/code-review/SKILL.md +2 -1
  251. package/presets/mavis/android-kotlin/MAVIS.md +9 -3
  252. package/presets/mavis/android-kotlin/README.md +3 -1
  253. package/presets/mavis/android-kotlin/adapter-map.json +111 -43
  254. package/presets/mavis/android-kotlin/agents/code-reviewer.md +5 -1
  255. package/presets/mavis/android-kotlin/agents/task-router.md +2 -0
  256. package/presets/mavis/android-kotlin/commands/README.md +1 -0
  257. package/presets/mavis/android-kotlin/commands/rr-migrate-repositories.md +54 -0
  258. package/presets/mavis/android-kotlin/commands/task.md +4 -0
  259. package/presets/mavis/android-kotlin/commands/update.md +1 -0
  260. package/presets/mavis/android-kotlin/hooks/README.md +29 -7
  261. package/presets/mavis/android-kotlin/hooks/chain-team-phases.sh +109 -1
  262. package/presets/mavis/android-kotlin/hooks/mavis-chain-hook.mjs +143 -0
  263. package/presets/mavis/android-kotlin/hooks/run-hook.mjs +103 -0
  264. package/presets/mavis/android-kotlin/minimax-hooks/hooks.json +28 -0
  265. package/presets/mavis/android-kotlin/native-skills/README.md +15 -0
  266. package/presets/mavis/android-kotlin/native-skills/ci-investigation/SKILL.md +53 -0
  267. package/presets/mavis/android-kotlin/native-skills/code-review/SKILL.md +62 -0
  268. package/presets/mavis/android-kotlin/native-skills/debug-investigation/SKILL.md +72 -0
  269. package/presets/mavis/android-kotlin/native-skills/feature-delivery/SKILL.md +51 -0
  270. package/presets/mavis/android-kotlin/native-skills/instrumentation-ui-e2e/SKILL.md +23 -0
  271. package/presets/mavis/android-kotlin/native-skills/migrate-tasks/SKILL.md +43 -0
  272. package/presets/mavis/android-kotlin/native-skills/mockup-review/SKILL.md +34 -0
  273. package/presets/mavis/android-kotlin/native-skills/rr-migrate-repositories/SKILL.md +61 -0
  274. package/presets/mavis/android-kotlin/native-skills/rr-scheduler-start/SKILL.md +34 -0
  275. package/presets/mavis/android-kotlin/native-skills/spec-authoring/SKILL.md +31 -0
  276. package/presets/mavis/android-kotlin/native-skills/spec-discovery/SKILL.md +63 -0
  277. package/presets/mavis/android-kotlin/native-skills/spec-start/SKILL.md +31 -0
  278. package/presets/mavis/android-kotlin/native-skills/task/SKILL.md +79 -0
  279. package/presets/mavis/android-kotlin/native-skills/task-continue/SKILL.md +74 -0
  280. package/presets/mavis/android-kotlin/native-skills/technical-retro/SKILL.md +72 -0
  281. package/presets/mavis/android-kotlin/native-skills/unit-testing/SKILL.md +38 -0
  282. package/presets/mavis/android-kotlin/native-skills/update/SKILL.md +44 -0
  283. package/presets/mavis/android-kotlin/native-skills/ux-design/SKILL.md +41 -0
  284. package/presets/mavis/android-kotlin/native-skills/write-adr/SKILL.md +46 -0
  285. package/presets/mavis/android-kotlin/rules/agent-team-orchestrator.md +1 -0
  286. package/presets/mavis/android-kotlin/rules/code-review-mr.md +19 -4
  287. package/presets/mavis/android-kotlin/skills/code-review/SKILL.md +2 -1
  288. package/presets/mavis/go/MAVIS.md +9 -3
  289. package/presets/mavis/go/README.md +3 -1
  290. package/presets/mavis/go/adapter-map.json +101 -39
  291. package/presets/mavis/go/agents/code-reviewer.md +5 -1
  292. package/presets/mavis/go/agents/task-router.md +2 -0
  293. package/presets/mavis/go/commands/README.md +1 -0
  294. package/presets/mavis/go/commands/rr-migrate-repositories.md +54 -0
  295. package/presets/mavis/go/commands/task.md +4 -0
  296. package/presets/mavis/go/commands/update.md +1 -0
  297. package/presets/mavis/go/hooks/README.md +29 -7
  298. package/presets/mavis/go/hooks/chain-team-phases.sh +109 -1
  299. package/presets/mavis/go/hooks/mavis-chain-hook.mjs +143 -0
  300. package/presets/mavis/go/hooks/run-hook.mjs +103 -0
  301. package/presets/mavis/go/minimax-hooks/hooks.json +28 -0
  302. package/presets/mavis/go/native-skills/README.md +15 -0
  303. package/presets/mavis/go/native-skills/ci-investigation/SKILL.md +24 -0
  304. package/presets/mavis/go/native-skills/code-review/SKILL.md +48 -0
  305. package/presets/mavis/go/native-skills/debug-investigation/SKILL.md +55 -0
  306. package/presets/mavis/go/native-skills/feature-delivery/SKILL.md +43 -0
  307. package/presets/mavis/go/native-skills/integration-testing/SKILL.md +21 -0
  308. package/presets/mavis/go/native-skills/migrate-tasks/SKILL.md +43 -0
  309. package/presets/mavis/go/native-skills/rr-migrate-repositories/SKILL.md +61 -0
  310. package/presets/mavis/go/native-skills/rr-scheduler-start/SKILL.md +34 -0
  311. package/presets/mavis/go/native-skills/spec-authoring/SKILL.md +31 -0
  312. package/presets/mavis/go/native-skills/spec-discovery/SKILL.md +63 -0
  313. package/presets/mavis/go/native-skills/spec-start/SKILL.md +31 -0
  314. package/presets/mavis/go/native-skills/task/SKILL.md +77 -0
  315. package/presets/mavis/go/native-skills/task-continue/SKILL.md +72 -0
  316. package/presets/mavis/go/native-skills/technical-retro/SKILL.md +72 -0
  317. package/presets/mavis/go/native-skills/unit-testing/SKILL.md +20 -0
  318. package/presets/mavis/go/native-skills/update/SKILL.md +44 -0
  319. package/presets/mavis/go/native-skills/write-adr/SKILL.md +46 -0
  320. package/presets/mavis/go/rules/agent-team-orchestrator.md +1 -0
  321. package/presets/mavis/go/rules/code-review-mr.md +19 -4
  322. package/presets/mavis/go/skills/code-review/SKILL.md +2 -1
  323. package/presets/mavis/ios-swift/MAVIS.md +9 -3
  324. package/presets/mavis/ios-swift/README.md +3 -1
  325. package/presets/mavis/ios-swift/adapter-map.json +111 -43
  326. package/presets/mavis/ios-swift/agents/code-reviewer.md +5 -1
  327. package/presets/mavis/ios-swift/agents/task-router.md +2 -0
  328. package/presets/mavis/ios-swift/commands/README.md +1 -0
  329. package/presets/mavis/ios-swift/commands/rr-migrate-repositories.md +54 -0
  330. package/presets/mavis/ios-swift/commands/task.md +4 -0
  331. package/presets/mavis/ios-swift/commands/update.md +1 -0
  332. package/presets/mavis/ios-swift/hooks/README.md +29 -7
  333. package/presets/mavis/ios-swift/hooks/chain-team-phases.sh +109 -1
  334. package/presets/mavis/ios-swift/hooks/mavis-chain-hook.mjs +143 -0
  335. package/presets/mavis/ios-swift/hooks/run-hook.mjs +103 -0
  336. package/presets/mavis/ios-swift/minimax-hooks/hooks.json +28 -0
  337. package/presets/mavis/ios-swift/native-skills/README.md +15 -0
  338. package/presets/mavis/ios-swift/native-skills/ci-investigation/SKILL.md +53 -0
  339. package/presets/mavis/ios-swift/native-skills/code-review/SKILL.md +62 -0
  340. package/presets/mavis/ios-swift/native-skills/debug-investigation/SKILL.md +72 -0
  341. package/presets/mavis/ios-swift/native-skills/feature-delivery/SKILL.md +51 -0
  342. package/presets/mavis/ios-swift/native-skills/migrate-tasks/SKILL.md +43 -0
  343. package/presets/mavis/ios-swift/native-skills/mockup-review/SKILL.md +34 -0
  344. package/presets/mavis/ios-swift/native-skills/rr-migrate-repositories/SKILL.md +61 -0
  345. package/presets/mavis/ios-swift/native-skills/rr-scheduler-start/SKILL.md +34 -0
  346. package/presets/mavis/ios-swift/native-skills/spec-authoring/SKILL.md +31 -0
  347. package/presets/mavis/ios-swift/native-skills/spec-discovery/SKILL.md +63 -0
  348. package/presets/mavis/ios-swift/native-skills/spec-start/SKILL.md +31 -0
  349. package/presets/mavis/ios-swift/native-skills/task/SKILL.md +79 -0
  350. package/presets/mavis/ios-swift/native-skills/task-continue/SKILL.md +74 -0
  351. package/presets/mavis/ios-swift/native-skills/technical-retro/SKILL.md +72 -0
  352. package/presets/mavis/ios-swift/native-skills/unit-testing/SKILL.md +38 -0
  353. package/presets/mavis/ios-swift/native-skills/update/SKILL.md +44 -0
  354. package/presets/mavis/ios-swift/native-skills/ux-design/SKILL.md +41 -0
  355. package/presets/mavis/ios-swift/native-skills/write-adr/SKILL.md +46 -0
  356. package/presets/mavis/ios-swift/native-skills/xcuitest-e2e/SKILL.md +39 -0
  357. package/presets/mavis/ios-swift/rules/agent-team-orchestrator.md +1 -0
  358. package/presets/mavis/ios-swift/rules/code-review-mr.md +19 -4
  359. package/presets/mavis/ios-swift/skills/code-review/SKILL.md +2 -1
  360. package/presets/mavis/java/MAVIS.md +9 -3
  361. package/presets/mavis/java/README.md +3 -1
  362. package/presets/mavis/java/adapter-map.json +101 -39
  363. package/presets/mavis/java/agents/code-reviewer.md +5 -1
  364. package/presets/mavis/java/agents/task-router.md +2 -0
  365. package/presets/mavis/java/commands/README.md +1 -0
  366. package/presets/mavis/java/commands/rr-migrate-repositories.md +54 -0
  367. package/presets/mavis/java/commands/task.md +4 -0
  368. package/presets/mavis/java/commands/update.md +1 -0
  369. package/presets/mavis/java/hooks/README.md +29 -7
  370. package/presets/mavis/java/hooks/chain-team-phases.sh +109 -1
  371. package/presets/mavis/java/hooks/mavis-chain-hook.mjs +143 -0
  372. package/presets/mavis/java/hooks/run-hook.mjs +103 -0
  373. package/presets/mavis/java/minimax-hooks/hooks.json +28 -0
  374. package/presets/mavis/java/native-skills/README.md +15 -0
  375. package/presets/mavis/java/native-skills/ci-investigation/SKILL.md +24 -0
  376. package/presets/mavis/java/native-skills/code-review/SKILL.md +48 -0
  377. package/presets/mavis/java/native-skills/debug-investigation/SKILL.md +55 -0
  378. package/presets/mavis/java/native-skills/feature-delivery/SKILL.md +43 -0
  379. package/presets/mavis/java/native-skills/integration-testing/SKILL.md +21 -0
  380. package/presets/mavis/java/native-skills/migrate-tasks/SKILL.md +43 -0
  381. package/presets/mavis/java/native-skills/rr-migrate-repositories/SKILL.md +61 -0
  382. package/presets/mavis/java/native-skills/rr-scheduler-start/SKILL.md +34 -0
  383. package/presets/mavis/java/native-skills/spec-authoring/SKILL.md +31 -0
  384. package/presets/mavis/java/native-skills/spec-discovery/SKILL.md +63 -0
  385. package/presets/mavis/java/native-skills/spec-start/SKILL.md +31 -0
  386. package/presets/mavis/java/native-skills/task/SKILL.md +77 -0
  387. package/presets/mavis/java/native-skills/task-continue/SKILL.md +72 -0
  388. package/presets/mavis/java/native-skills/technical-retro/SKILL.md +72 -0
  389. package/presets/mavis/java/native-skills/unit-testing/SKILL.md +20 -0
  390. package/presets/mavis/java/native-skills/update/SKILL.md +44 -0
  391. package/presets/mavis/java/native-skills/write-adr/SKILL.md +46 -0
  392. package/presets/mavis/java/rules/agent-team-orchestrator.md +1 -0
  393. package/presets/mavis/java/rules/code-review-mr.md +19 -4
  394. package/presets/mavis/java/skills/code-review/SKILL.md +2 -1
  395. package/presets/mavis/mcp-ts/MAVIS.md +9 -3
  396. package/presets/mavis/mcp-ts/README.md +3 -1
  397. package/presets/mavis/mcp-ts/adapter-map.json +84 -31
  398. package/presets/mavis/mcp-ts/agents/task-router.md +2 -0
  399. package/presets/mavis/mcp-ts/commands/README.md +1 -0
  400. package/presets/mavis/mcp-ts/commands/rr-migrate-repositories.md +54 -0
  401. package/presets/mavis/mcp-ts/commands/task.md +4 -0
  402. package/presets/mavis/mcp-ts/commands/update.md +1 -0
  403. package/presets/mavis/mcp-ts/hooks/README.md +29 -7
  404. package/presets/mavis/mcp-ts/hooks/chain-team-phases.sh +109 -1
  405. package/presets/mavis/mcp-ts/hooks/mavis-chain-hook.mjs +143 -0
  406. package/presets/mavis/mcp-ts/hooks/run-hook.mjs +103 -0
  407. package/presets/mavis/mcp-ts/minimax-hooks/hooks.json +28 -0
  408. package/presets/mavis/mcp-ts/native-skills/README.md +15 -0
  409. package/presets/mavis/mcp-ts/native-skills/code-review/SKILL.md +31 -0
  410. package/presets/mavis/mcp-ts/native-skills/debug-investigation/SKILL.md +51 -0
  411. package/presets/mavis/mcp-ts/native-skills/feature-delivery/SKILL.md +42 -0
  412. package/presets/mavis/mcp-ts/native-skills/migrate-tasks/SKILL.md +43 -0
  413. package/presets/mavis/mcp-ts/native-skills/rr-migrate-repositories/SKILL.md +61 -0
  414. package/presets/mavis/mcp-ts/native-skills/rr-scheduler-start/SKILL.md +34 -0
  415. package/presets/mavis/mcp-ts/native-skills/spec-authoring/SKILL.md +31 -0
  416. package/presets/mavis/mcp-ts/native-skills/spec-discovery/SKILL.md +63 -0
  417. package/presets/mavis/mcp-ts/native-skills/spec-start/SKILL.md +31 -0
  418. package/presets/mavis/mcp-ts/native-skills/task/SKILL.md +77 -0
  419. package/presets/mavis/mcp-ts/native-skills/task-continue/SKILL.md +72 -0
  420. package/presets/mavis/mcp-ts/native-skills/technical-retro/SKILL.md +95 -0
  421. package/presets/mavis/mcp-ts/native-skills/unit-testing/SKILL.md +22 -0
  422. package/presets/mavis/mcp-ts/native-skills/update/SKILL.md +44 -0
  423. package/presets/mavis/mcp-ts/rules/agent-team-orchestrator.md +1 -0
  424. package/presets/mavis/mcp-ts/rules/code-review-mr.md +19 -4
  425. package/presets/mavis/mol/MAVIS.md +9 -3
  426. package/presets/mavis/mol/README.md +3 -1
  427. package/presets/mavis/mol/REPO_AGENTS.md +1 -1
  428. package/presets/mavis/mol/adapter-map.json +101 -39
  429. package/presets/mavis/mol/agents/code-reviewer.md +5 -1
  430. package/presets/mavis/mol/agents/task-router.md +3 -1
  431. package/presets/mavis/mol/commands/README.md +1 -0
  432. package/presets/mavis/mol/commands/rr-migrate-repositories.md +54 -0
  433. package/presets/mavis/mol/commands/task.md +4 -0
  434. package/presets/mavis/mol/commands/update.md +1 -0
  435. package/presets/mavis/mol/hooks/README.md +29 -7
  436. package/presets/mavis/mol/hooks/chain-team-phases.sh +109 -1
  437. package/presets/mavis/mol/hooks/mavis-chain-hook.mjs +143 -0
  438. package/presets/mavis/mol/hooks/run-hook.mjs +103 -0
  439. package/presets/mavis/mol/minimax-hooks/hooks.json +28 -0
  440. package/presets/mavis/mol/native-skills/README.md +15 -0
  441. package/presets/mavis/mol/native-skills/ci-investigation/SKILL.md +49 -0
  442. package/presets/mavis/mol/native-skills/code-review/SKILL.md +61 -0
  443. package/presets/mavis/mol/native-skills/debug-investigation/SKILL.md +63 -0
  444. package/presets/mavis/mol/native-skills/feature-delivery/SKILL.md +44 -0
  445. package/presets/mavis/mol/native-skills/migrate-tasks/SKILL.md +43 -0
  446. package/presets/mavis/mol/native-skills/rr-migrate-repositories/SKILL.md +61 -0
  447. package/presets/mavis/mol/native-skills/rr-scheduler-start/SKILL.md +34 -0
  448. package/presets/mavis/mol/native-skills/spec-authoring/SKILL.md +31 -0
  449. package/presets/mavis/mol/native-skills/spec-discovery/SKILL.md +63 -0
  450. package/presets/mavis/mol/native-skills/spec-start/SKILL.md +31 -0
  451. package/presets/mavis/mol/native-skills/task/SKILL.md +82 -0
  452. package/presets/mavis/mol/native-skills/task-continue/SKILL.md +74 -0
  453. package/presets/mavis/mol/native-skills/task-evil/SKILL.md +89 -0
  454. package/presets/mavis/mol/native-skills/technical-retro/SKILL.md +72 -0
  455. package/presets/mavis/mol/native-skills/unit-testing/SKILL.md +38 -0
  456. package/presets/mavis/mol/native-skills/update/SKILL.md +44 -0
  457. package/presets/mavis/mol/native-skills/write-adr/SKILL.md +46 -0
  458. package/presets/mavis/mol/rules/agent-team-orchestrator.md +1 -0
  459. package/presets/mavis/mol/rules/code-review-mr.md +19 -4
  460. package/presets/mavis/mol/skills/code-review/SKILL.md +2 -1
  461. package/presets/mavis/next/MAVIS.md +9 -3
  462. package/presets/mavis/next/README.md +3 -1
  463. package/presets/mavis/next/REPO_AGENTS.md +1 -1
  464. package/presets/mavis/next/adapter-map.json +135 -52
  465. package/presets/mavis/next/agents/code-reviewer.md +5 -1
  466. package/presets/mavis/next/agents/task-router.md +3 -1
  467. package/presets/mavis/next/commands/README.md +1 -0
  468. package/presets/mavis/next/commands/rr-migrate-repositories.md +54 -0
  469. package/presets/mavis/next/commands/task.md +4 -0
  470. package/presets/mavis/next/commands/ui-start.md +12 -4
  471. package/presets/mavis/next/commands/ui-stop.md +5 -2
  472. package/presets/mavis/next/commands/update.md +1 -0
  473. package/presets/mavis/next/hooks/README.md +29 -7
  474. package/presets/mavis/next/hooks/chain-team-phases.sh +109 -1
  475. package/presets/mavis/next/hooks/mavis-chain-hook.mjs +143 -0
  476. package/presets/mavis/next/hooks/run-hook.mjs +103 -0
  477. package/presets/mavis/next/minimax-hooks/hooks.json +28 -0
  478. package/presets/mavis/next/native-skills/README.md +15 -0
  479. package/presets/mavis/next/native-skills/ci-investigation/SKILL.md +50 -0
  480. package/presets/mavis/next/native-skills/code-review/SKILL.md +62 -0
  481. package/presets/mavis/next/native-skills/debug-investigation/SKILL.md +64 -0
  482. package/presets/mavis/next/native-skills/feature-delivery/SKILL.md +45 -0
  483. package/presets/mavis/next/native-skills/figma-fidelity/SKILL.md +131 -0
  484. package/presets/mavis/next/native-skills/migrate-tasks/SKILL.md +43 -0
  485. package/presets/mavis/next/native-skills/mockup-review/SKILL.md +44 -0
  486. package/presets/mavis/next/native-skills/playwright-e2e/SKILL.md +39 -0
  487. package/presets/mavis/next/native-skills/react-performance/SKILL.md +49 -0
  488. package/presets/mavis/next/native-skills/rr-migrate-repositories/SKILL.md +61 -0
  489. package/presets/mavis/next/native-skills/rr-scheduler-start/SKILL.md +34 -0
  490. package/presets/mavis/next/native-skills/spec-authoring/SKILL.md +31 -0
  491. package/presets/mavis/next/native-skills/spec-discovery/SKILL.md +63 -0
  492. package/presets/mavis/next/native-skills/spec-start/SKILL.md +31 -0
  493. package/presets/mavis/next/native-skills/task/SKILL.md +88 -0
  494. package/presets/mavis/next/native-skills/task-continue/SKILL.md +87 -0
  495. package/presets/mavis/next/native-skills/task-evil/SKILL.md +89 -0
  496. package/presets/mavis/next/native-skills/technical-retro/SKILL.md +72 -0
  497. package/presets/mavis/next/native-skills/ui-start/SKILL.md +64 -0
  498. package/presets/mavis/next/native-skills/ui-stop/SKILL.md +48 -0
  499. package/presets/mavis/next/native-skills/unit-testing/SKILL.md +40 -0
  500. package/presets/mavis/next/native-skills/update/SKILL.md +44 -0
  501. package/presets/mavis/next/native-skills/ux-design/SKILL.md +41 -0
  502. package/presets/mavis/next/native-skills/write-adr/SKILL.md +46 -0
  503. package/presets/mavis/next/rules/agent-team-orchestrator.md +1 -0
  504. package/presets/mavis/next/rules/code-review-mr.md +19 -4
  505. package/presets/mavis/next/skills/code-review/SKILL.md +2 -1
  506. package/presets/mavis/nuxt/MAVIS.md +9 -3
  507. package/presets/mavis/nuxt/README.md +3 -1
  508. package/presets/mavis/nuxt/adapter-map.json +116 -45
  509. package/presets/mavis/nuxt/agents/code-reviewer.md +5 -1
  510. package/presets/mavis/nuxt/agents/task-router.md +3 -1
  511. package/presets/mavis/nuxt/commands/README.md +1 -0
  512. package/presets/mavis/nuxt/commands/rr-migrate-repositories.md +54 -0
  513. package/presets/mavis/nuxt/commands/task.md +4 -0
  514. package/presets/mavis/nuxt/commands/update.md +1 -0
  515. package/presets/mavis/nuxt/hooks/README.md +29 -7
  516. package/presets/mavis/nuxt/hooks/chain-team-phases.sh +109 -1
  517. package/presets/mavis/nuxt/hooks/mavis-chain-hook.mjs +143 -0
  518. package/presets/mavis/nuxt/hooks/run-hook.mjs +103 -0
  519. package/presets/mavis/nuxt/minimax-hooks/hooks.json +28 -0
  520. package/presets/mavis/nuxt/native-skills/README.md +15 -0
  521. package/presets/mavis/nuxt/native-skills/ci-investigation/SKILL.md +50 -0
  522. package/presets/mavis/nuxt/native-skills/code-review/SKILL.md +61 -0
  523. package/presets/mavis/nuxt/native-skills/debug-investigation/SKILL.md +64 -0
  524. package/presets/mavis/nuxt/native-skills/feature-delivery/SKILL.md +52 -0
  525. package/presets/mavis/nuxt/native-skills/migrate-tasks/SKILL.md +43 -0
  526. package/presets/mavis/nuxt/native-skills/mockup-review/SKILL.md +34 -0
  527. package/presets/mavis/nuxt/native-skills/playwright-e2e/SKILL.md +43 -0
  528. package/presets/mavis/nuxt/native-skills/rr-migrate-repositories/SKILL.md +61 -0
  529. package/presets/mavis/nuxt/native-skills/rr-scheduler-start/SKILL.md +34 -0
  530. package/presets/mavis/nuxt/native-skills/spec-authoring/SKILL.md +31 -0
  531. package/presets/mavis/nuxt/native-skills/spec-discovery/SKILL.md +63 -0
  532. package/presets/mavis/nuxt/native-skills/spec-start/SKILL.md +31 -0
  533. package/presets/mavis/nuxt/native-skills/task/SKILL.md +79 -0
  534. package/presets/mavis/nuxt/native-skills/task-continue/SKILL.md +74 -0
  535. package/presets/mavis/nuxt/native-skills/technical-retro/SKILL.md +72 -0
  536. package/presets/mavis/nuxt/native-skills/unit-testing/SKILL.md +38 -0
  537. package/presets/mavis/nuxt/native-skills/update/SKILL.md +44 -0
  538. package/presets/mavis/nuxt/native-skills/ux-design/SKILL.md +41 -0
  539. package/presets/mavis/nuxt/native-skills/vue-performance/SKILL.md +58 -0
  540. package/presets/mavis/nuxt/native-skills/write-adr/SKILL.md +46 -0
  541. package/presets/mavis/nuxt/rules/agent-team-orchestrator.md +1 -0
  542. package/presets/mavis/nuxt/rules/code-review-mr.md +19 -4
  543. package/presets/mavis/nuxt/skills/code-review/SKILL.md +2 -1
  544. package/presets/mavis/php-hexagonal/MAVIS.md +9 -3
  545. package/presets/mavis/php-hexagonal/README.md +3 -1
  546. package/presets/mavis/php-hexagonal/adapter-map.json +101 -39
  547. package/presets/mavis/php-hexagonal/agents/code-reviewer.md +5 -1
  548. package/presets/mavis/php-hexagonal/agents/task-router.md +2 -0
  549. package/presets/mavis/php-hexagonal/commands/README.md +1 -0
  550. package/presets/mavis/php-hexagonal/commands/rr-migrate-repositories.md +54 -0
  551. package/presets/mavis/php-hexagonal/commands/task.md +4 -0
  552. package/presets/mavis/php-hexagonal/commands/update.md +1 -0
  553. package/presets/mavis/php-hexagonal/hooks/README.md +29 -7
  554. package/presets/mavis/php-hexagonal/hooks/chain-team-phases.sh +109 -1
  555. package/presets/mavis/php-hexagonal/hooks/mavis-chain-hook.mjs +143 -0
  556. package/presets/mavis/php-hexagonal/hooks/run-hook.mjs +103 -0
  557. package/presets/mavis/php-hexagonal/minimax-hooks/hooks.json +28 -0
  558. package/presets/mavis/php-hexagonal/native-skills/README.md +15 -0
  559. package/presets/mavis/php-hexagonal/native-skills/ci-investigation/SKILL.md +24 -0
  560. package/presets/mavis/php-hexagonal/native-skills/code-review/SKILL.md +48 -0
  561. package/presets/mavis/php-hexagonal/native-skills/debug-investigation/SKILL.md +55 -0
  562. package/presets/mavis/php-hexagonal/native-skills/feature-delivery/SKILL.md +43 -0
  563. package/presets/mavis/php-hexagonal/native-skills/integration-testing/SKILL.md +21 -0
  564. package/presets/mavis/php-hexagonal/native-skills/migrate-tasks/SKILL.md +43 -0
  565. package/presets/mavis/php-hexagonal/native-skills/rr-migrate-repositories/SKILL.md +61 -0
  566. package/presets/mavis/php-hexagonal/native-skills/rr-scheduler-start/SKILL.md +34 -0
  567. package/presets/mavis/php-hexagonal/native-skills/spec-authoring/SKILL.md +31 -0
  568. package/presets/mavis/php-hexagonal/native-skills/spec-discovery/SKILL.md +63 -0
  569. package/presets/mavis/php-hexagonal/native-skills/spec-start/SKILL.md +31 -0
  570. package/presets/mavis/php-hexagonal/native-skills/task/SKILL.md +77 -0
  571. package/presets/mavis/php-hexagonal/native-skills/task-continue/SKILL.md +72 -0
  572. package/presets/mavis/php-hexagonal/native-skills/technical-retro/SKILL.md +72 -0
  573. package/presets/mavis/php-hexagonal/native-skills/unit-testing/SKILL.md +20 -0
  574. package/presets/mavis/php-hexagonal/native-skills/update/SKILL.md +44 -0
  575. package/presets/mavis/php-hexagonal/native-skills/write-adr/SKILL.md +46 -0
  576. package/presets/mavis/php-hexagonal/rules/agent-team-orchestrator.md +1 -0
  577. package/presets/mavis/php-hexagonal/rules/code-review-mr.md +19 -4
  578. package/presets/mavis/php-hexagonal/skills/code-review/SKILL.md +2 -1
  579. package/presets/mavis/php-laravel/MAVIS.md +9 -3
  580. package/presets/mavis/php-laravel/README.md +3 -1
  581. package/presets/mavis/php-laravel/adapter-map.json +101 -39
  582. package/presets/mavis/php-laravel/agents/code-reviewer.md +5 -1
  583. package/presets/mavis/php-laravel/agents/task-router.md +2 -0
  584. package/presets/mavis/php-laravel/commands/README.md +1 -0
  585. package/presets/mavis/php-laravel/commands/rr-migrate-repositories.md +54 -0
  586. package/presets/mavis/php-laravel/commands/task.md +4 -0
  587. package/presets/mavis/php-laravel/commands/update.md +1 -0
  588. package/presets/mavis/php-laravel/hooks/README.md +29 -7
  589. package/presets/mavis/php-laravel/hooks/chain-team-phases.sh +109 -1
  590. package/presets/mavis/php-laravel/hooks/mavis-chain-hook.mjs +143 -0
  591. package/presets/mavis/php-laravel/hooks/run-hook.mjs +103 -0
  592. package/presets/mavis/php-laravel/minimax-hooks/hooks.json +28 -0
  593. package/presets/mavis/php-laravel/native-skills/README.md +15 -0
  594. package/presets/mavis/php-laravel/native-skills/ci-investigation/SKILL.md +24 -0
  595. package/presets/mavis/php-laravel/native-skills/code-review/SKILL.md +48 -0
  596. package/presets/mavis/php-laravel/native-skills/debug-investigation/SKILL.md +55 -0
  597. package/presets/mavis/php-laravel/native-skills/feature-delivery/SKILL.md +43 -0
  598. package/presets/mavis/php-laravel/native-skills/integration-testing/SKILL.md +21 -0
  599. package/presets/mavis/php-laravel/native-skills/migrate-tasks/SKILL.md +43 -0
  600. package/presets/mavis/php-laravel/native-skills/rr-migrate-repositories/SKILL.md +61 -0
  601. package/presets/mavis/php-laravel/native-skills/rr-scheduler-start/SKILL.md +34 -0
  602. package/presets/mavis/php-laravel/native-skills/spec-authoring/SKILL.md +31 -0
  603. package/presets/mavis/php-laravel/native-skills/spec-discovery/SKILL.md +63 -0
  604. package/presets/mavis/php-laravel/native-skills/spec-start/SKILL.md +31 -0
  605. package/presets/mavis/php-laravel/native-skills/task/SKILL.md +77 -0
  606. package/presets/mavis/php-laravel/native-skills/task-continue/SKILL.md +72 -0
  607. package/presets/mavis/php-laravel/native-skills/technical-retro/SKILL.md +72 -0
  608. package/presets/mavis/php-laravel/native-skills/unit-testing/SKILL.md +20 -0
  609. package/presets/mavis/php-laravel/native-skills/update/SKILL.md +44 -0
  610. package/presets/mavis/php-laravel/native-skills/write-adr/SKILL.md +46 -0
  611. package/presets/mavis/php-laravel/rules/agent-team-orchestrator.md +1 -0
  612. package/presets/mavis/php-laravel/rules/code-review-mr.md +19 -4
  613. package/presets/mavis/php-laravel/skills/code-review/SKILL.md +2 -1
  614. package/presets/mavis/platform-contract.json +18 -5
  615. package/presets/mavis/svelte/MAVIS.md +9 -3
  616. package/presets/mavis/svelte/README.md +3 -1
  617. package/presets/mavis/svelte/adapter-map.json +116 -45
  618. package/presets/mavis/svelte/agents/code-reviewer.md +5 -1
  619. package/presets/mavis/svelte/agents/task-router.md +3 -1
  620. package/presets/mavis/svelte/commands/README.md +1 -0
  621. package/presets/mavis/svelte/commands/rr-migrate-repositories.md +54 -0
  622. package/presets/mavis/svelte/commands/task.md +4 -0
  623. package/presets/mavis/svelte/commands/update.md +1 -0
  624. package/presets/mavis/svelte/hooks/README.md +29 -7
  625. package/presets/mavis/svelte/hooks/chain-team-phases.sh +109 -1
  626. package/presets/mavis/svelte/hooks/mavis-chain-hook.mjs +143 -0
  627. package/presets/mavis/svelte/hooks/run-hook.mjs +103 -0
  628. package/presets/mavis/svelte/minimax-hooks/hooks.json +28 -0
  629. package/presets/mavis/svelte/native-skills/README.md +15 -0
  630. package/presets/mavis/svelte/native-skills/ci-investigation/SKILL.md +50 -0
  631. package/presets/mavis/svelte/native-skills/code-review/SKILL.md +61 -0
  632. package/presets/mavis/svelte/native-skills/debug-investigation/SKILL.md +64 -0
  633. package/presets/mavis/svelte/native-skills/feature-delivery/SKILL.md +52 -0
  634. package/presets/mavis/svelte/native-skills/migrate-tasks/SKILL.md +43 -0
  635. package/presets/mavis/svelte/native-skills/mockup-review/SKILL.md +34 -0
  636. package/presets/mavis/svelte/native-skills/playwright-e2e/SKILL.md +43 -0
  637. package/presets/mavis/svelte/native-skills/rr-migrate-repositories/SKILL.md +61 -0
  638. package/presets/mavis/svelte/native-skills/rr-scheduler-start/SKILL.md +34 -0
  639. package/presets/mavis/svelte/native-skills/spec-authoring/SKILL.md +31 -0
  640. package/presets/mavis/svelte/native-skills/spec-discovery/SKILL.md +63 -0
  641. package/presets/mavis/svelte/native-skills/spec-start/SKILL.md +31 -0
  642. package/presets/mavis/svelte/native-skills/svelte-performance/SKILL.md +57 -0
  643. package/presets/mavis/svelte/native-skills/task/SKILL.md +79 -0
  644. package/presets/mavis/svelte/native-skills/task-continue/SKILL.md +74 -0
  645. package/presets/mavis/svelte/native-skills/technical-retro/SKILL.md +72 -0
  646. package/presets/mavis/svelte/native-skills/unit-testing/SKILL.md +38 -0
  647. package/presets/mavis/svelte/native-skills/update/SKILL.md +44 -0
  648. package/presets/mavis/svelte/native-skills/ux-design/SKILL.md +41 -0
  649. package/presets/mavis/svelte/native-skills/write-adr/SKILL.md +46 -0
  650. package/presets/mavis/svelte/rules/agent-team-orchestrator.md +1 -0
  651. package/presets/mavis/svelte/rules/code-review-mr.md +19 -4
  652. package/presets/mavis/svelte/skills/code-review/SKILL.md +2 -1
  653. package/presets/opencode/android-kotlin/adapter-map.json +9 -1
  654. package/presets/opencode/android-kotlin/agents/code-reviewer.md +5 -1
  655. package/presets/opencode/android-kotlin/agents/task-router.md +2 -0
  656. package/presets/opencode/android-kotlin/commands/README.md +1 -0
  657. package/presets/opencode/android-kotlin/commands/rr-migrate-repositories.md +62 -0
  658. package/presets/opencode/android-kotlin/commands/task.md +4 -0
  659. package/presets/opencode/android-kotlin/commands/update.md +1 -0
  660. package/presets/opencode/android-kotlin/hooks/chain-team-phases.sh +109 -1
  661. package/presets/opencode/android-kotlin/rules/agent-team-orchestrator.md +1 -0
  662. package/presets/opencode/android-kotlin/rules/code-review-mr.md +19 -4
  663. package/presets/opencode/android-kotlin/skills/code-review/SKILL.md +2 -1
  664. package/presets/opencode/go/adapter-map.json +9 -1
  665. package/presets/opencode/go/agents/code-reviewer.md +5 -1
  666. package/presets/opencode/go/agents/task-router.md +2 -0
  667. package/presets/opencode/go/commands/README.md +1 -0
  668. package/presets/opencode/go/commands/rr-migrate-repositories.md +62 -0
  669. package/presets/opencode/go/commands/task.md +4 -0
  670. package/presets/opencode/go/commands/update.md +1 -0
  671. package/presets/opencode/go/hooks/chain-team-phases.sh +109 -1
  672. package/presets/opencode/go/rules/agent-team-orchestrator.md +1 -0
  673. package/presets/opencode/go/rules/code-review-mr.md +19 -4
  674. package/presets/opencode/go/skills/code-review/SKILL.md +2 -1
  675. package/presets/opencode/ios-swift/adapter-map.json +9 -1
  676. package/presets/opencode/ios-swift/agents/code-reviewer.md +5 -1
  677. package/presets/opencode/ios-swift/agents/task-router.md +2 -0
  678. package/presets/opencode/ios-swift/commands/README.md +1 -0
  679. package/presets/opencode/ios-swift/commands/rr-migrate-repositories.md +62 -0
  680. package/presets/opencode/ios-swift/commands/task.md +4 -0
  681. package/presets/opencode/ios-swift/commands/update.md +1 -0
  682. package/presets/opencode/ios-swift/hooks/chain-team-phases.sh +109 -1
  683. package/presets/opencode/ios-swift/rules/agent-team-orchestrator.md +1 -0
  684. package/presets/opencode/ios-swift/rules/code-review-mr.md +19 -4
  685. package/presets/opencode/ios-swift/skills/code-review/SKILL.md +2 -1
  686. package/presets/opencode/java/adapter-map.json +9 -1
  687. package/presets/opencode/java/agents/code-reviewer.md +5 -1
  688. package/presets/opencode/java/agents/task-router.md +2 -0
  689. package/presets/opencode/java/commands/README.md +1 -0
  690. package/presets/opencode/java/commands/rr-migrate-repositories.md +62 -0
  691. package/presets/opencode/java/commands/task.md +4 -0
  692. package/presets/opencode/java/commands/update.md +1 -0
  693. package/presets/opencode/java/hooks/chain-team-phases.sh +109 -1
  694. package/presets/opencode/java/rules/agent-team-orchestrator.md +1 -0
  695. package/presets/opencode/java/rules/code-review-mr.md +19 -4
  696. package/presets/opencode/java/skills/code-review/SKILL.md +2 -1
  697. package/presets/opencode/mcp-ts/adapter-map.json +9 -1
  698. package/presets/opencode/mcp-ts/agents/task-router.md +2 -0
  699. package/presets/opencode/mcp-ts/commands/README.md +1 -0
  700. package/presets/opencode/mcp-ts/commands/rr-migrate-repositories.md +62 -0
  701. package/presets/opencode/mcp-ts/commands/task.md +4 -0
  702. package/presets/opencode/mcp-ts/commands/update.md +1 -0
  703. package/presets/opencode/mcp-ts/hooks/chain-team-phases.sh +109 -1
  704. package/presets/opencode/mcp-ts/rules/agent-team-orchestrator.md +1 -0
  705. package/presets/opencode/mcp-ts/rules/code-review-mr.md +19 -4
  706. package/presets/opencode/mol/REPO_AGENTS.md +1 -1
  707. package/presets/opencode/mol/adapter-map.json +9 -1
  708. package/presets/opencode/mol/agents/code-reviewer.md +5 -1
  709. package/presets/opencode/mol/agents/task-router.md +3 -1
  710. package/presets/opencode/mol/commands/README.md +1 -0
  711. package/presets/opencode/mol/commands/rr-migrate-repositories.md +62 -0
  712. package/presets/opencode/mol/commands/task.md +4 -0
  713. package/presets/opencode/mol/commands/update.md +1 -0
  714. package/presets/opencode/mol/hooks/chain-team-phases.sh +109 -1
  715. package/presets/opencode/mol/rules/agent-team-orchestrator.md +1 -0
  716. package/presets/opencode/mol/rules/code-review-mr.md +19 -4
  717. package/presets/opencode/mol/skills/code-review/SKILL.md +2 -1
  718. package/presets/opencode/next/REPO_AGENTS.md +1 -1
  719. package/presets/opencode/next/adapter-map.json +9 -1
  720. package/presets/opencode/next/agents/code-reviewer.md +5 -1
  721. package/presets/opencode/next/agents/task-router.md +3 -1
  722. package/presets/opencode/next/commands/README.md +1 -0
  723. package/presets/opencode/next/commands/rr-migrate-repositories.md +62 -0
  724. package/presets/opencode/next/commands/task.md +4 -0
  725. package/presets/opencode/next/commands/ui-start.md +12 -4
  726. package/presets/opencode/next/commands/ui-stop.md +5 -2
  727. package/presets/opencode/next/commands/update.md +1 -0
  728. package/presets/opencode/next/hooks/chain-team-phases.sh +109 -1
  729. package/presets/opencode/next/rules/agent-team-orchestrator.md +1 -0
  730. package/presets/opencode/next/rules/code-review-mr.md +19 -4
  731. package/presets/opencode/next/skills/code-review/SKILL.md +2 -1
  732. package/presets/opencode/nuxt/adapter-map.json +9 -1
  733. package/presets/opencode/nuxt/agents/code-reviewer.md +5 -1
  734. package/presets/opencode/nuxt/agents/task-router.md +3 -1
  735. package/presets/opencode/nuxt/commands/README.md +1 -0
  736. package/presets/opencode/nuxt/commands/rr-migrate-repositories.md +62 -0
  737. package/presets/opencode/nuxt/commands/task.md +4 -0
  738. package/presets/opencode/nuxt/commands/update.md +1 -0
  739. package/presets/opencode/nuxt/hooks/chain-team-phases.sh +109 -1
  740. package/presets/opencode/nuxt/rules/agent-team-orchestrator.md +1 -0
  741. package/presets/opencode/nuxt/rules/code-review-mr.md +19 -4
  742. package/presets/opencode/nuxt/skills/code-review/SKILL.md +2 -1
  743. package/presets/opencode/php-hexagonal/adapter-map.json +9 -1
  744. package/presets/opencode/php-hexagonal/agents/code-reviewer.md +5 -1
  745. package/presets/opencode/php-hexagonal/agents/task-router.md +2 -0
  746. package/presets/opencode/php-hexagonal/commands/README.md +1 -0
  747. package/presets/opencode/php-hexagonal/commands/rr-migrate-repositories.md +62 -0
  748. package/presets/opencode/php-hexagonal/commands/task.md +4 -0
  749. package/presets/opencode/php-hexagonal/commands/update.md +1 -0
  750. package/presets/opencode/php-hexagonal/hooks/chain-team-phases.sh +109 -1
  751. package/presets/opencode/php-hexagonal/rules/agent-team-orchestrator.md +1 -0
  752. package/presets/opencode/php-hexagonal/rules/code-review-mr.md +19 -4
  753. package/presets/opencode/php-hexagonal/skills/code-review/SKILL.md +2 -1
  754. package/presets/opencode/php-laravel/adapter-map.json +9 -1
  755. package/presets/opencode/php-laravel/agents/code-reviewer.md +5 -1
  756. package/presets/opencode/php-laravel/agents/task-router.md +2 -0
  757. package/presets/opencode/php-laravel/commands/README.md +1 -0
  758. package/presets/opencode/php-laravel/commands/rr-migrate-repositories.md +62 -0
  759. package/presets/opencode/php-laravel/commands/task.md +4 -0
  760. package/presets/opencode/php-laravel/commands/update.md +1 -0
  761. package/presets/opencode/php-laravel/hooks/chain-team-phases.sh +109 -1
  762. package/presets/opencode/php-laravel/rules/agent-team-orchestrator.md +1 -0
  763. package/presets/opencode/php-laravel/rules/code-review-mr.md +19 -4
  764. package/presets/opencode/php-laravel/skills/code-review/SKILL.md +2 -1
  765. package/presets/opencode/plugins/task-status/README.md +16 -7
  766. package/presets/opencode/plugins/task-status/deepseek.ts +217 -0
  767. package/presets/opencode/plugins/task-status/details-data.ts +39 -2
  768. package/presets/opencode/plugins/task-status/prompt-text.ts +18 -8
  769. package/presets/opencode/plugins/task-status/task-view.ts +253 -63
  770. package/presets/opencode/plugins/task-status/tui.tsx +48 -11
  771. package/presets/opencode/svelte/adapter-map.json +9 -1
  772. package/presets/opencode/svelte/agents/code-reviewer.md +5 -1
  773. package/presets/opencode/svelte/agents/task-router.md +3 -1
  774. package/presets/opencode/svelte/commands/README.md +1 -0
  775. package/presets/opencode/svelte/commands/rr-migrate-repositories.md +62 -0
  776. package/presets/opencode/svelte/commands/task.md +4 -0
  777. package/presets/opencode/svelte/commands/update.md +1 -0
  778. package/presets/opencode/svelte/hooks/chain-team-phases.sh +109 -1
  779. package/presets/opencode/svelte/rules/agent-team-orchestrator.md +1 -0
  780. package/presets/opencode/svelte/rules/code-review-mr.md +19 -4
  781. package/presets/opencode/svelte/skills/code-review/SKILL.md +2 -1
  782. package/presets/zcode/android-kotlin/adapter-map.json +9 -1
  783. package/presets/zcode/android-kotlin/agents/code-reviewer.md +5 -1
  784. package/presets/zcode/android-kotlin/agents/task-router.md +2 -0
  785. package/presets/zcode/android-kotlin/commands/README.md +1 -0
  786. package/presets/zcode/android-kotlin/commands/rr-migrate-repositories.md +62 -0
  787. package/presets/zcode/android-kotlin/commands/task.md +4 -0
  788. package/presets/zcode/android-kotlin/commands/update.md +1 -0
  789. package/presets/zcode/android-kotlin/hooks/chain-team-phases.sh +109 -1
  790. package/presets/zcode/android-kotlin/rules/agent-team-orchestrator.md +1 -0
  791. package/presets/zcode/android-kotlin/rules/code-review-mr.md +19 -4
  792. package/presets/zcode/android-kotlin/skills/code-review/SKILL.md +2 -1
  793. package/presets/zcode/go/adapter-map.json +9 -1
  794. package/presets/zcode/go/agents/code-reviewer.md +5 -1
  795. package/presets/zcode/go/agents/task-router.md +2 -0
  796. package/presets/zcode/go/commands/README.md +1 -0
  797. package/presets/zcode/go/commands/rr-migrate-repositories.md +62 -0
  798. package/presets/zcode/go/commands/task.md +4 -0
  799. package/presets/zcode/go/commands/update.md +1 -0
  800. package/presets/zcode/go/hooks/chain-team-phases.sh +109 -1
  801. package/presets/zcode/go/rules/agent-team-orchestrator.md +1 -0
  802. package/presets/zcode/go/rules/code-review-mr.md +19 -4
  803. package/presets/zcode/go/skills/code-review/SKILL.md +2 -1
  804. package/presets/zcode/ios-swift/adapter-map.json +9 -1
  805. package/presets/zcode/ios-swift/agents/code-reviewer.md +5 -1
  806. package/presets/zcode/ios-swift/agents/task-router.md +2 -0
  807. package/presets/zcode/ios-swift/commands/README.md +1 -0
  808. package/presets/zcode/ios-swift/commands/rr-migrate-repositories.md +62 -0
  809. package/presets/zcode/ios-swift/commands/task.md +4 -0
  810. package/presets/zcode/ios-swift/commands/update.md +1 -0
  811. package/presets/zcode/ios-swift/hooks/chain-team-phases.sh +109 -1
  812. package/presets/zcode/ios-swift/rules/agent-team-orchestrator.md +1 -0
  813. package/presets/zcode/ios-swift/rules/code-review-mr.md +19 -4
  814. package/presets/zcode/ios-swift/skills/code-review/SKILL.md +2 -1
  815. package/presets/zcode/java/adapter-map.json +9 -1
  816. package/presets/zcode/java/agents/code-reviewer.md +5 -1
  817. package/presets/zcode/java/agents/task-router.md +2 -0
  818. package/presets/zcode/java/commands/README.md +1 -0
  819. package/presets/zcode/java/commands/rr-migrate-repositories.md +62 -0
  820. package/presets/zcode/java/commands/task.md +4 -0
  821. package/presets/zcode/java/commands/update.md +1 -0
  822. package/presets/zcode/java/hooks/chain-team-phases.sh +109 -1
  823. package/presets/zcode/java/rules/agent-team-orchestrator.md +1 -0
  824. package/presets/zcode/java/rules/code-review-mr.md +19 -4
  825. package/presets/zcode/java/skills/code-review/SKILL.md +2 -1
  826. package/presets/zcode/mcp-ts/adapter-map.json +9 -1
  827. package/presets/zcode/mcp-ts/agents/task-router.md +2 -0
  828. package/presets/zcode/mcp-ts/commands/README.md +1 -0
  829. package/presets/zcode/mcp-ts/commands/rr-migrate-repositories.md +62 -0
  830. package/presets/zcode/mcp-ts/commands/task.md +4 -0
  831. package/presets/zcode/mcp-ts/commands/update.md +1 -0
  832. package/presets/zcode/mcp-ts/hooks/chain-team-phases.sh +109 -1
  833. package/presets/zcode/mcp-ts/rules/agent-team-orchestrator.md +1 -0
  834. package/presets/zcode/mcp-ts/rules/code-review-mr.md +19 -4
  835. package/presets/zcode/mol/REPO_AGENTS.md +1 -1
  836. package/presets/zcode/mol/adapter-map.json +9 -1
  837. package/presets/zcode/mol/agents/code-reviewer.md +5 -1
  838. package/presets/zcode/mol/agents/task-router.md +3 -1
  839. package/presets/zcode/mol/commands/README.md +1 -0
  840. package/presets/zcode/mol/commands/rr-migrate-repositories.md +62 -0
  841. package/presets/zcode/mol/commands/task.md +4 -0
  842. package/presets/zcode/mol/commands/update.md +1 -0
  843. package/presets/zcode/mol/hooks/chain-team-phases.sh +109 -1
  844. package/presets/zcode/mol/rules/agent-team-orchestrator.md +1 -0
  845. package/presets/zcode/mol/rules/code-review-mr.md +19 -4
  846. package/presets/zcode/mol/skills/code-review/SKILL.md +2 -1
  847. package/presets/zcode/next/REPO_AGENTS.md +1 -1
  848. package/presets/zcode/next/adapter-map.json +9 -1
  849. package/presets/zcode/next/agents/code-reviewer.md +5 -1
  850. package/presets/zcode/next/agents/task-router.md +3 -1
  851. package/presets/zcode/next/commands/README.md +1 -0
  852. package/presets/zcode/next/commands/rr-migrate-repositories.md +62 -0
  853. package/presets/zcode/next/commands/task.md +4 -0
  854. package/presets/zcode/next/commands/ui-start.md +12 -4
  855. package/presets/zcode/next/commands/ui-stop.md +5 -2
  856. package/presets/zcode/next/commands/update.md +1 -0
  857. package/presets/zcode/next/hooks/chain-team-phases.sh +109 -1
  858. package/presets/zcode/next/rules/agent-team-orchestrator.md +1 -0
  859. package/presets/zcode/next/rules/code-review-mr.md +19 -4
  860. package/presets/zcode/next/skills/code-review/SKILL.md +2 -1
  861. package/presets/zcode/nuxt/adapter-map.json +9 -1
  862. package/presets/zcode/nuxt/agents/code-reviewer.md +5 -1
  863. package/presets/zcode/nuxt/agents/task-router.md +3 -1
  864. package/presets/zcode/nuxt/commands/README.md +1 -0
  865. package/presets/zcode/nuxt/commands/rr-migrate-repositories.md +62 -0
  866. package/presets/zcode/nuxt/commands/task.md +4 -0
  867. package/presets/zcode/nuxt/commands/update.md +1 -0
  868. package/presets/zcode/nuxt/hooks/chain-team-phases.sh +109 -1
  869. package/presets/zcode/nuxt/rules/agent-team-orchestrator.md +1 -0
  870. package/presets/zcode/nuxt/rules/code-review-mr.md +19 -4
  871. package/presets/zcode/nuxt/skills/code-review/SKILL.md +2 -1
  872. package/presets/zcode/php-hexagonal/adapter-map.json +9 -1
  873. package/presets/zcode/php-hexagonal/agents/code-reviewer.md +5 -1
  874. package/presets/zcode/php-hexagonal/agents/task-router.md +2 -0
  875. package/presets/zcode/php-hexagonal/commands/README.md +1 -0
  876. package/presets/zcode/php-hexagonal/commands/rr-migrate-repositories.md +62 -0
  877. package/presets/zcode/php-hexagonal/commands/task.md +4 -0
  878. package/presets/zcode/php-hexagonal/commands/update.md +1 -0
  879. package/presets/zcode/php-hexagonal/hooks/chain-team-phases.sh +109 -1
  880. package/presets/zcode/php-hexagonal/rules/agent-team-orchestrator.md +1 -0
  881. package/presets/zcode/php-hexagonal/rules/code-review-mr.md +19 -4
  882. package/presets/zcode/php-hexagonal/skills/code-review/SKILL.md +2 -1
  883. package/presets/zcode/php-laravel/adapter-map.json +9 -1
  884. package/presets/zcode/php-laravel/agents/code-reviewer.md +5 -1
  885. package/presets/zcode/php-laravel/agents/task-router.md +2 -0
  886. package/presets/zcode/php-laravel/commands/README.md +1 -0
  887. package/presets/zcode/php-laravel/commands/rr-migrate-repositories.md +62 -0
  888. package/presets/zcode/php-laravel/commands/task.md +4 -0
  889. package/presets/zcode/php-laravel/commands/update.md +1 -0
  890. package/presets/zcode/php-laravel/hooks/chain-team-phases.sh +109 -1
  891. package/presets/zcode/php-laravel/rules/agent-team-orchestrator.md +1 -0
  892. package/presets/zcode/php-laravel/rules/code-review-mr.md +19 -4
  893. package/presets/zcode/php-laravel/skills/code-review/SKILL.md +2 -1
  894. package/presets/zcode/svelte/adapter-map.json +9 -1
  895. package/presets/zcode/svelte/agents/code-reviewer.md +5 -1
  896. package/presets/zcode/svelte/agents/task-router.md +3 -1
  897. package/presets/zcode/svelte/commands/README.md +1 -0
  898. package/presets/zcode/svelte/commands/rr-migrate-repositories.md +62 -0
  899. package/presets/zcode/svelte/commands/task.md +4 -0
  900. package/presets/zcode/svelte/commands/update.md +1 -0
  901. package/presets/zcode/svelte/hooks/chain-team-phases.sh +109 -1
  902. package/presets/zcode/svelte/rules/agent-team-orchestrator.md +1 -0
  903. package/presets/zcode/svelte/rules/code-review-mr.md +19 -4
  904. package/presets/zcode/svelte/skills/code-review/SKILL.md +2 -1
@@ -0,0 +1,31 @@
1
+ ---
2
+ name: spec-authoring
3
+ description: "Author or bootstrap consumer docs/specs (INDEX, page/feature templates, frontmatter v1). Use with task-analyst author mode, /spec-start, or when brief AC requests Generate/Bootstrap."
4
+ ---
5
+
6
+
7
+ <!-- shared-core: quality/anti-hallucination-load-line.md -->
8
+
9
+ Load `anti-hallucination-contract` before asserting code, APIs, schemas, tool behavior, or task status.
10
+
11
+ # Spec authoring
12
+
13
+ Requestable — not always-on. Load **`product-specs`** + **`product-specs-authoring`** first.
14
+
15
+ ## Steps
16
+
17
+ 1. **Resolve mode** — Generate (tree exists) vs Bootstrap (create INDEX + templates + first spec). Refuse inventing INDEX without explicit intent/AC/`/spec-start`.
18
+ 2. **Ensure templates** — if consumer `docs/specs/_templates/` missing, copy from package SoT `presets/_shared/assets/docs-specs/_templates/` (or seeded init assets).
19
+ 3. **Fill frontmatter v1** — all array keys present (may be `[]`); prefer `type: feature` on backend/MCP; default `status: draft`.
20
+ 4. **Fill required body headings** — page: Overview, Entry/actors, Primary flows, States, Acceptance criteria; feature: Overview, Shared behavior/constraints, Related pages. Use `N/A` explicitly when needed.
21
+ 5. **Update INDEX** in the **same change set** (columns: id, type, domain, title, path, optional routes/aliases/status).
22
+ 6. **Self-check** against `product-specs-authoring` checklist; put blockers in `open_questions`.
23
+ 7. **Handoff** — list created/updated paths + INDEX diff for human gate (`after:task-analyst`). Approve before feature-developer.
24
+
25
+ ## Sources
26
+
27
+ Cite AC / user / Figma / labeled code inference. Do not invent product behavior.
28
+
29
+ ## mcp-ts
30
+
31
+ Analyst-only path (no tech-writer). `routes` = app modules; `ui`/`store` = `[]`.
@@ -0,0 +1,63 @@
1
+ ---
2
+ name: spec-discovery
3
+ description: "Opt-in research-before-spec for task-analyst author mode. 11 named methods plus a mandatory claim ledger. Use when the user or AC asks discovery before generating docs/specs — not default /task consume."
4
+ ---
5
+
6
+
7
+ <!-- shared-core: quality/anti-hallucination-load-line.md -->
8
+
9
+ Load `anti-hallucination-contract` before asserting code, APIs, schemas, tool behavior, or task status.
10
+
11
+ # Spec discovery
12
+
13
+ Requestable — **not** always-on. Load **only** in **task-analyst author mode** when the user or AC asks research-before-spec (including `/spec-start` with that intent). Never default consume `/task`. Not a pipeline step.
14
+
15
+ Load **`product-specs`** (and **`product-specs-authoring`** after this skill if authoring follows). Do **not** invent product behavior. Do **not** create a second spec-file tree.
16
+
17
+ ## Load policy
18
+
19
+ 1. Pick a **subset** of methods that fit the task — not all 11 every time.
20
+ 2. **`claim-ledger` is mandatory** whenever this skill runs.
21
+ 3. Write chronological notes to `.ai.local/team/tasks/<slug>/.memlog.md` (append-only). Do **not** mutate `status.json` / `metrics.json`.
22
+ 4. Discovery output lives in memlog + `brief.md` sections. Then hand off to skill **`spec-authoring`** (or stop if `specMode: none`).
23
+
24
+ Backend / MCP stacks: skip UI-only examples; prefer `analog-scan`, `code-archaeology`, `problem-define`, `assumption-audit`, `claim-ledger`.
25
+
26
+ ## Methods
27
+
28
+ | Method | Produces | Skip when |
29
+ |--------|----------|-----------|
30
+ | **intake-capture** | Raw idea, origin, first unknowns → memlog + brief Research inputs | User prompt + AC already complete |
31
+ | **index-locator** | Related INDEX rows + linked spec paths + gaps | `specMode: none` or INDEX absent without consume intent |
32
+ | **code-archaeology** | Observed behavior labeled `inferred`/`draft` with path citations | Greenfield with no relevant code |
33
+ | **research-pack-scan** | Claims from `team/tasks/<slug>/research/**` or user-supplied paths | No research paths cited |
34
+ | **evidence-against** | Reasons the idea may fail | Internal spike with no product/external risk |
35
+ | **problem-define** | Who hurts, goals, non-goals, cost of inaction → brief | Brief Goal + Out of scope already exhaustive |
36
+ | **concept-shape** | 2–3 approach options + appetite (small/medium/large); no API design | `architecture.md` exists or one obvious path |
37
+ | **working-backwards-check** | Headline + 5 customer objections + verdict `forged` / `needs-heat` / `cracked` | Consume mode with approved specs |
38
+ | **assumption-audit** | Assumption register → brief Assumptions + `open_questions` | Never skip in author mode (keep lightweight) |
39
+ | **analog-scan** | 2–3 repo analogs via `reference-features` / code search | No plausible analog |
40
+ | **claim-ledger** | Markdown table `source → claim` for every product-behavior claim | **Never skip** when this skill is loaded |
41
+
42
+ ## Claim ledger (required)
43
+
44
+ Block spec authoring until every product-behavior claim has a source:
45
+
46
+ ```markdown
47
+ | Source | Claim |
48
+ |--------|-------|
49
+ | brief AC-3 | Checkout shows empty cart copy |
50
+ | code-archaeology inferred | Empty state uses an illustration |
51
+ ```
52
+
53
+ Sources: AC / user / UI copy / labeled code inference / research path. Unsourced claims → `open_questions`.
54
+
55
+ ## Memlog
56
+
57
+ Path: `.ai.local/team/tasks/<slug>/.memlog.md`. Chronological `## YYYY-MM-DD` headings. Optional tags: `decision`, `assumption`, `override`, `event`, `claim`.
58
+
59
+ ## Forbidden
60
+
61
+ - 108-technique catalogs, HTML composers, party-mode, five `assess.*` slash commands, Python memlog runtime.
62
+ - Dummy INDEX rows when `specMode: none`.
63
+ - Dumping the whole `docs/specs/**` tree — locator is INDEX → linked page + optional `feature.md`.
@@ -0,0 +1,31 @@
1
+ ---
2
+ name: spec-start
3
+ description: "Bootstrap or generate docs/specs (INDEX + page/feature) via task-analyst author mode. Optional docs-only path with human gate."
4
+ ---
5
+
6
+ > **Invocation.** The text after the command name is the task description. MiniMax Code appends it to this skill as `User: <args>`; treat it as the argument of the procedure below.
7
+
8
+ # Spec start — generate / bootstrap product specs
9
+
10
+ Routes intent **`spec-gen`** (or bootstrap) → **task-analyst** in **author mode** → human gate (`after:task-analyst`) → stop, or continue to feature-developer if the user asked to implement after.
11
+
12
+ ## What to do
13
+
14
+ 1. Extract description from arguments after `/spec-start` (domain, page/feature ids, sources).
15
+ 2. Generate a **slug** (kebab-case, ≤48 chars), e.g. `spec-<domain>-<id>`.
16
+ 3. Ensure `.ai.local/team/tasks/<slug>/` exists (Write artifacts; not Shell mkdir).
17
+ 4. Write `.ai.local/team/active-task.json` → `{ "slug": "<slug>" }`.
18
+ 5. Write minimal `pipeline.json`: task-analyst → (optional stop) → feature-developer only if user asked implement-after. **No separate spec-author agent.**
19
+ 6. Invoke **task-analyst** with: author mode; load **`product-specs`** + **`product-specs-authoring`** + skill **`spec-authoring`**; Bootstrap if `docs/specs/` absent, else Generate. Optional: if arguments/AC ask research-before-spec, also load skill **`spec-discovery`** (not default).
20
+ 7. Wait for analyst. **Do not** invoke feature-developer until human gate passes.
21
+
22
+ ## Human gate
23
+
24
+ - Show created/updated spec paths and INDEX diff.
25
+ - Ask user to approve drafts (`status: draft` → promote) or send edits.
26
+ - Continue: `/task-continue <slug>` only after approval when implementation follows; otherwise stop after docs.
27
+
28
+ ## Notes
29
+
30
+ - Greenfield invent of INDEX is allowed **only** via this command, explicit ask, or AC bootstrap language.
31
+ - mcp-ts: analyst-only author/sync (no tech-writer).
@@ -0,0 +1,82 @@
1
+ ---
2
+ name: task
3
+ description: "Route a natural-language task through the agent-team pipeline: task-router, pipeline.json, and the first planned specialist."
4
+ ---
5
+
6
+ > **Invocation.** The text after the command name is the task description. MiniMax Code appends it to this skill as `User: <args>`; treat it as the argument of the procedure below.
7
+
8
+ Route a natural-language task through the agent-team pipeline: task-router, pipeline.json, and the first planned specialist.
9
+
10
+ <!-- shared-core: quality/anti-hallucination-load-line.md -->
11
+
12
+ Load `anti-hallucination-contract` before asserting code, APIs, schemas, tool behavior, or task status.
13
+
14
+ # Task — unified entry point (router + pipeline)
15
+
16
+ Main command for task intake. Parent agent = orchestrator (`agent-team-orchestrator.md`). Intake for work requests without `/task` — `agent-team-intake.md`.
17
+
18
+ ## Arguments
19
+
20
+ Everything after `/task` is the task description in natural language.
21
+
22
+ Examples:
23
+
24
+ - `/task Добавить фильтр по дате в Order History` (Add date filter to Order History) <!-- i18n-keep: E4 -->
25
+ - `/task Order History падает при пустом списке — пофикси` (Order History crashes on empty list — fix it) <!-- i18n-keep: E4 -->
26
+ - `/task CI упал на type-check в PR` (CI failed on type-check in PR) <!-- i18n-keep: E4 -->
27
+ - `/task Миграция HTTP-клиента на fetch` (Migrate HTTP client to fetch) <!-- i18n-keep: E4 -->
28
+ - `/task Проверь a11y формы логина` (Check login form a11y) <!-- i18n-keep: E4 -->
29
+ - `/task Покрой unit-тестами mapper payments` (Cover payments mapper with unit tests) <!-- i18n-keep: E4 -->
30
+ - `/task Напиши changelog для релиза фильтров` (Write changelog for filters release) <!-- i18n-keep: E4 -->
31
+ - `/task Сделай ревью моих изменений в store/orders` (Review my changes in store/orders) <!-- i18n-keep: E4 -->
32
+ - `/task Напиши e2e для сценария оплаты` (Write e2e for payment scenario) <!-- i18n-keep: E4 -->
33
+ - `/task Ревью макета https://figma.com/design/...` (Review a Figma mockup) <!-- i18n-keep: E4 -->
34
+ - `/task Разработай UX для Order History` (Design UX flows without Figma) <!-- i18n-keep: E4 -->
35
+
36
+ ## Procedure
37
+
38
+ 1. **Slug** — kebab-case from the description (≤48 characters). Create `.ai.local/team/tasks/<slug>/` via **Write** (e.g. placeholder `pipeline.json` or empty marker) — runtime/hook owns `status.json` — **not** via Shell `mkdir` (sandbox → `Operation not permitted`). Also write the user's **verbatim** prompt to `.ai.local/team/tasks/<slug>/prompt.md` (write-if-absent; never overwrite on resume; not a manifest `artifacts[]` body). In the same step write `goal.md`: `Goal`, `User value`, `Success criteria`, `Non-goals`, and Derived from `prompt.md`. The goal is a formulated outcome, not a copy of the prompt (see **agent-artifact-contracts** § Goal artifact). Do **not** create the follow-up ledger `prompt-log.md` here; it is created on the first subsequent user-authored prompt (see **agent-artifact-contracts** § Prompt log).
39
+ 2. **Router** — invoke subagent **task-router** with the task description and slug path.
40
+ 3. **Plan** — show the user the table from `pipeline.json`: intent, steps, skipped, humanGates, and the `goal.md` fields.
41
+ 4. **Intent retro** — if `intent === "retro"`, run `/technical-retro` and **stop**.
42
+ 5. **Confirm plan** — **stop** and ask the user to confirm the plan and the `goal.md` fields before any specialist runs. Wait for explicit approval before invoking `steps[0]`. A change to the plan at this point is a named `planRevision` (see Plan contract), not a silent edit. Record the confirmation verbatim in `prompt-log.md`.
43
+ 6. **Start** — after confirmation:
44
+ - confirm `pipeline.json` and `active-task.json`;
45
+ - **do not** write lifecycle fields in `status.json` / `metrics.json` yourself — orchestration runtime/hook owns them (see **agent-artifact-contracts**). If `status.json` is missing, only minimal bootstrap is allowed (`slug`, `intent`, `pipelineIndex: 0`, `currentAgent: steps[0]`, `state: in_progress`) — **do not** increment `pipelineIndex` manually;
46
+ - invoke subagent for `pipeline.steps[0].agent` (slug, artifact paths, scope).
47
+ 7. **After each agent** — wait for hook handoff / reconciliation terminal receipt → `status.state`; do not start the next step until `status.json` reflects handoff (or until there is a `followup_message` from the hook).
48
+ 8. **Human gate** — if after the current step there is a gate in `humanGates` (`after:<agent>`), after the agent finishes **stop** and ask for `/task-continue <slug>`.
49
+
50
+ ## Repositories (mandatory)
51
+
52
+ The repositories a task touches are part of its intake: `pipeline.json` must carry `"repositories": [<registry ids>]`, or `"repositories": []` together with `"repositoriesInference": "unknown"` when the request names none. The router reads `.ai.local/team/repositories.json` and records the same list as link rows; the field is never defaulted; `node .ai.local/scripts/check-task-repositories.mjs` audits the store and the chain hook blocks a task-router receipt that omits it. See `agents/task-router.md`.
53
+
54
+ ## Plan contract
55
+
56
+ Intake runs the planning workflow before any implementation: **goal frame** (goal, user value, success + result-evaluation criteria) → **requirements + AC-IDs** → **information-sufficiency** verdict (`sufficient` | `insufficient`) → decompose with a **dependency graph** (`dependsOn[]`, DAG, critical path) and, for large flows, **epics / stages** with exit criteria. The plan is revisable: a **plan revision** is a named, recorded operation (`planRevision`), and progress is checkpointed to `.memlog.md` (with the optional `contextBudget` note) so a run can resume.
57
+
58
+ The producer closes each wave with a **pre-receipt self-review** — a `## Self-review` block in the owned artifact (goal/AC coverage, evidence, alignment/drift) — and names **context loss** vs **context excess/noise**; a detected drift triggers a **re-anchor**: re-read the goal frame + `decomposition.md`, repair, re-run the affected gate, and record append-only in `.memlog.md` (`event:` line, or `decision: replan rev N → N+1`). No new pipeline step; ratchets down for `bounded`/`spike`.
59
+
60
+ Before any specialist runs, `goal.md` is written and shown with the plan. When the pipeline reaches a terminal state, write `outcome.md` and roll up `review-ledger.md` (see **agent-artifact-contracts**). A `fair: yes` row appends one signal per distinct signature, then runs `node .ai.local/scripts/run.mjs` once. Preset-prose targets stay staged for `/technical-retro`.
61
+
62
+ ## Do not
63
+
64
+ - Invoke developer before router and (if in pipeline) analyst/architect.
65
+ - Invoke `steps[0]` before the user confirms the plan.
66
+ - Hardcode role order — only `pipeline.json`.
67
+ - Skip human gate without explicit continue.
68
+
69
+ ## If slug is taken
70
+
71
+ - `awaitingHumanGate` / `state: awaiting_approval` → offer artifact review or `/task-continue <slug>`.
72
+ - `in_progress` → ask: continue or new slug.
73
+
74
+
75
+ ## Dialogue language
76
+
77
+ The always-on language rule already resolved the user-facing language on this turn (`.ai.local` `## Language` → prompt language → English; mixed → dominant). Record that tag in the `prompt.md` header (`language: <BCP-47>`) and reuse it for every user-facing message and `/task-continue`. This command records the tag. See `language-policy`.
78
+
79
+
80
+ ## Metrics
81
+
82
+ Runtime/hook owns `metrics.json` and `status.json` attempt ledgers. Before the first invocation ensure `task_started` and one `activeAttempts[attemptId]` + `attempt_started` exist (router/runtime bootstrap — parent must not invent parallel indices). On `/task-continue`, run the installed chain hook `end_human_gate` action (or wrapper) so `human_gate_ended` lands before the next attempt. Do not calculate durations in agents.
@@ -0,0 +1,74 @@
1
+ ---
2
+ name: task-continue
3
+ description: "Continue an agent-team task after a human gate, pause, or review changes request using pipeline.json and status.json."
4
+ ---
5
+
6
+ > **Invocation.** The text after the command name is the task description. MiniMax Code appends it to this skill as `User: <args>`; treat it as the argument of the procedure below.
7
+
8
+ # Task continue — after human gate or pause
9
+
10
+ Resume the pipeline from `pipeline.json`.
11
+
12
+ ## Arguments
13
+
14
+ `<slug>` — task identifier.
15
+
16
+ ## Preconditions
17
+
18
+ 1. Read `.ai.local/team/tasks/<slug>/pipeline.json` and `status.json`.
19
+ 2. Continue if:
20
+ - `awaitingHumanGate: true` or `state: awaiting_approval`, **or**
21
+ - `state: changes_requested` (after review), **or**
22
+ - the task was interrupted and must resume from `pipelineIndex`.
23
+
24
+ ## Algorithm
25
+
26
+ 1. Write `.ai.local/team/active-task.json` → `{ "slug": "<slug>" }`.
27
+ 2. **Human gate resume** (`awaitingHumanGate` / `awaiting_approval`):
28
+ 1. **Do not** manually increment `pipelineIndex` or invent `currentAgent` first.
29
+ 2. Close the gate + activate the next attempt via the **installed** hook (single authority for ledger + status):
30
+
31
+ ```bash
32
+ printf '%s\n' '{"status":"completed","action":"end_human_gate","activateNext":true}' | bash .mavis/hooks/chain-team-phases.sh
33
+ ```
34
+
35
+ 3. Re-read `status.json` (and the hook `followup_message`).
36
+ 4. Invoke the subagent named in `status.currentAgent` / followup — do **not** advance the pipeline a second time.
37
+ 3. **Review `changes_requested`** (not a human gate): if `currentAgent` is **`mockup-reviewer`**, this is the FAIL-only mockup gate — do **not** retry `feature-developer`. Read `mockup-review.md` and resume via the human-gate path (`end_human_gate` / `activateNext`). Otherwise: set `currentAgent` to `feature-developer` (same index / find developer in steps), `state: in_progress`, then invoke developer. Do **not** call `end_human_gate` unless `activeHumanGateEventId` is set.
38
+ 4. **`blocked` + `currentAgent: mockup-reviewer`** (`BLOCKED_MCP`): skip-forward via the same `end_human_gate`/`activateNext` path (explicit «proceed without MCP»). Do not invent DS claims.
39
+ 5. **Other resume**: restore `pipelineIndex` / `currentAgent` from status and invoke that agent.
40
+ 6. After the invoked agent completes, `chain-team-phases.sh` on `subagentStop` continues the chain when `autoChain: true`.
41
+
42
+ ## Checkpoint & resume
43
+
44
+ Resume from the on-disk checkpoint, not from chat: read `.ai.local/team/tasks/<slug>/focus.md` first (a view, not the system of record), then `artifact-manifest.json` (authoritative paths per producer) and `.memlog.md` (`## <date>` + `event:` entries), skip completed waves, and continue at the first stage whose exit criteria are unmet. Record produced paths on the `implementation` manifest entry as you go. Do **not** overwrite or duplicate `.ai.local/team/tasks/<slug>/prompt.md` — it records the original ask (write-if-absent). Append the `/task-continue` arguments (when present) and any gate feedback verbatim to `.ai.local/team/tasks/<slug>/prompt-log.md` (`seq` = max + 1; skip when the invocation carries no new user words).
45
+
46
+ Plan revision during execution is a named, auditable operation: an evaluation oracle failing twice, a scope/requirement change, or a newly discovered dependency triggers `decision: replan rev N → N+1` in `.memlog.md`, an edit to `decomposition.md` (+ optional `planRevision`), and a **re-run of the affected gate**.
47
+
48
+ A producer-side **re-anchor** (detected context loss / excess against the framed goal) is recorded append-only in `.memlog.md` (`event:` line, or `decision: replan rev N → N+1` when the plan changes); resume reads that line with the checkpoint and does not re-derive the correction from chat.
49
+
50
+ ## Self-learning loop (optional)
51
+
52
+ The chain hook runs the loop after every producer receipt; with the hook disabled or no auto-chain, run it yourself:
53
+
54
+ In-task self-learning loop: run `node .ai.local/scripts/run.mjs` at the pre-receipt self-review when the engine exists; capture one wrong-turn with `node .ai.local/scripts/signals.mjs --append '<json>'` and inspect read-only with `node .ai.local/scripts/run.mjs --status`.
55
+
56
+ Never pass `--strict` from this path — it exits 1 when capture is broken and would fail a healthy resume. The
57
+ store deduplicates, so a second run appends nothing.
58
+
59
+ ## Artifacts for handoff
60
+
61
+ | Agent | Read |
62
+ |-------|------|
63
+ | feature-developer | brief.md (incl. **Related specs**), decomposition.md, ux-design.md (if present), mockup-review.md (if present), validation-report.md (if retry), review.md (if retry), architecture.md; if `docs/specs/INDEX.md` exists → load **`product-specs`** |
64
+ | build-verifier | git diff, decomposition.md |
65
+ | code-reviewer | brief.md, validation-report.md, git diff |
66
+ | mockup-reviewer | mockup-review.md |
67
+ | qa-tester | brief.md, decomposition.md, scope from pipeline step |
68
+
69
+ ## Product specs (docs/specs)
70
+
71
+ When the next agent is **feature-developer** (or other implementer): if `docs/specs/INDEX.md` exists or brief lists approved specs, instruct them to load **`product-specs`** and honor **Related specs** / approved generated specs as behavior SoT. Soft-fail on miss; never invent product behavior.
72
+
73
+ If analyst ran **author mode**, confirm human approved drafts before developer. Pass spec paths + INDEX diff in the handoff. No-op if INDEX is absent and no approved specs.
74
+
@@ -0,0 +1,89 @@
1
+ ---
2
+ name: task-evil
3
+ description: "Run the task pipeline without plan confirmation, human gates, or questions: choose the recommended option, record assumptions, and stop only on a hard blocker."
4
+ ---
5
+
6
+ > **Invocation.** The text after the command name is the task description. MiniMax Code appends it to this skill as `User: <args>`; treat it as the argument of the procedure below.
7
+
8
+ # Task evil — autonomous pipeline
9
+
10
+ Run the task end-to-end without asking the user for confirmation or decisions. Treat the original request as approval for the plan and for implementation choices inside the stated goal. Do not use the host question tool and do not ask in prose.
11
+
12
+ This command removes human checkpoints, not engineering gates. Keep `build-verifier`, `code-reviewer`, `mockup-reviewer`, `api-contract-reviewer`, security, a11y, and every `.ai.local` gate. Never commit or push.
13
+
14
+ <!-- shared-core: quality/anti-hallucination-load-line.md -->
15
+
16
+ Load `anti-hallucination-contract` before asserting code, APIs, schemas, tool behavior, or task status.
17
+
18
+ ## Arguments
19
+
20
+ Everything after `/task-evil` is the task description in natural language.
21
+
22
+ ## Procedure
23
+
24
+ 1. **Slug** — kebab-case from the description (≤48 characters). Create `.ai.local/team/tasks/<slug>/` via **Write** (placeholder `pipeline.json` or empty marker), `prompt.md` (verbatim, write-if-absent), `goal.md` (Goal, User value, Success criteria, Non-goals, Derived from `prompt.md`), `autonomy.md` (the contract below), and `decisions.md` (the table header below). The runtime/hook owns `status.json`; do not create it with Shell.
25
+ 2. **Router** — invoke subagent `task-router` with the task description, the slug path, and `Autonomy: auto`.
26
+ 3. **Plan** — do not stop. Read `pipeline.json` and confirm `active-task.json`. If `pipeline.autonomy.mode` is not `auto`, write `blocked.md` with the router reason and stop. If `autonomy.mode` is `auto` and `humanGates` is not empty, set `humanGates: []` and record the override as a `D-N` row. Otherwise continue; the hook owns `focus.md`.
27
+ 4. **Start** — do not write lifecycle fields in `status.json` / `metrics.json`; if `status.json` is missing, bootstrap only `slug`, `intent`, `pipelineIndex: 0`, `currentAgent: steps[0]`, `state: in_progress`. Invoke `steps[0].agent`.
28
+ 5. **After each agent** — on a manual-hook host (Claude, Mavis, OpenCode, ZCode), run the installed chain hook (`.<host>/hooks/chain-team-phases.sh`); on Cursor, wait for the `subagentStop` hook. Read `status.json` and the hook `followup_message`, then dispatch the agent named by the handoff. Do not advance from chat.
29
+ 6. **Retries** — follow the hook on `changes_requested` and `validation_failed`; cap two retries per gate. After the cap, write `blocked.md` with the failing gate and the fresh evidence, then stop.
30
+ 7. **Forced gates** — `humanGates` is empty, so any `awaiting_approval` is a failure gate. Do not call `end_human_gate`; write `blocked.md` with the gate and artifact, then stop. A `mockup-reviewer` FAIL or `mockup-change-requested` is always a hard stop: the fix belongs in the design source.
31
+ 8. **Terminal** — write `outcome.md` with assumptions and residual risks, roll up `review-ledger.md`, and report in the resolved dialogue language. Do not commit or push.
32
+
33
+ Every Task handoff starts with:
34
+
35
+ > Read `.ai.local/team/tasks/<slug>/autonomy.md` and `decisions.md` first. Autonomy: auto. Do not ask. Choose the recommended option, record D-N in `decisions.md`, and continue. Return `blocked` only for a hard stop.
36
+
37
+ ## Autonomy contract
38
+
39
+ Write this to `autonomy.md`:
40
+
41
+ ```markdown
42
+ # Autonomy contract
43
+
44
+ Mode: auto
45
+
46
+ ## Approval envelope
47
+ The original prompt approves the plan and implementation choices inside the stated goal. A goal change or scope expansion is a hard stop.
48
+
49
+ ## Answer policy
50
+ - Prefer the repository analog and the existing pattern.
51
+ - Prefer the smallest reversible change.
52
+ - Prefer the conservative security, privacy, and compliance option.
53
+ - Prefer the smallest blast radius when two options are equally safe.
54
+ - Record each decision as `D-N` in `decisions.md`: decision, alternatives, why, reversible, evidence.
55
+ - Do not ask and do not call the question tool.
56
+
57
+ ## Hard stops
58
+ Write `blocked.md` and stop on:
59
+ - destructive or irreversible operations;
60
+ - auth, payments, PII, or a compliance boundary;
61
+ - a public API or contract change without a source of truth;
62
+ - a missing external source (Figma MCP, credentials) whose absence would force invented claims;
63
+ - a goal change or scope expansion;
64
+ - conflicting acceptance criteria or an impossible task;
65
+ - a repeated gate failure after two retries;
66
+ - `mockup-reviewer` FAIL or `mockup-change-requested`;
67
+ - `changes_requested` or `validation_failed` with no `feature-developer` step;
68
+ - a `.ai.local` rule conflict or an R-03 escalation.
69
+
70
+ ## Quality gates
71
+ `build-verifier`, `code-reviewer`, `mockup-reviewer`, `api-contract-reviewer`, security, a11y, and every `.ai.local` gate stay. Do not lower `profile` or the task level.
72
+ ```
73
+
74
+ ## Decisions table
75
+
76
+ Write this header to `decisions.md`:
77
+
78
+ ```markdown
79
+ | ID | Stage | Decision | Alternatives | Why | Reversible | Evidence |
80
+ |----|-------|----------|--------------|-----|------------|----------|
81
+ ```
82
+
83
+ ## Do not
84
+
85
+ - Invoke `steps[0]` before `pipeline.json` exists.
86
+ - Ask the user to confirm the plan or a question.
87
+ - Call `end_human_gate` on a forced failure gate.
88
+ - Skip a quality gate or lower the task level.
89
+ - Commit or push.
@@ -0,0 +1,72 @@
1
+ ---
2
+ name: technical-retro
3
+ description: "Facilitates technical retrospectives for tasks, sprints, incidents, releases, and agent-team pipelines. Use when the user asks for retro, postmortem, process review, or action items after delivery."
4
+ ---
5
+
6
+
7
+ <!-- shared-core: quality/anti-hallucination-load-line.md -->
8
+
9
+ Load `anti-hallucination-contract` before asserting code, APIs, schemas, tool behavior, or task status.
10
+
11
+ # Technical Retro
12
+
13
+ ## Inputs
14
+
15
+ Ask for missing period, focus, task slug, participants, or format constraints. If a slug is provided, read `.ai.local/team/tasks/<slug>/` artifacts and local git status/diff. Do not invent facts not present in artifacts or the user's message.
16
+
17
+ ## Facilitation Principles
18
+
19
+ - Focus on process and system behavior, not blame.
20
+ - Separate facts, interpretations, and proposed actions.
21
+ - Balance what worked with what slowed delivery.
22
+ - Keep action items concrete, owned, and measurable.
23
+
24
+ ## Default Structure
25
+
26
+ 1. Goal and scope.
27
+ 2. Timeline or factual observations.
28
+ 3. What worked.
29
+ 4. What hurt quality, speed, or confidence.
30
+ 5. Root causes for the top one or two issues.
31
+ 6. Experiments and action items.
32
+
33
+ ## Agent Team Block
34
+
35
+ For `/task` pipelines, include router, analyst, developer, **build-verifier**, reviewer, QA/e2e, hooks, and rules.
36
+
37
+ ## Wrong-turn taxonomy (optional)
38
+
39
+ When artifacts or the user mention agent mistakes, tag incidents:
40
+
41
+ | Kind | Signal |
42
+ |------|--------|
43
+ | `correction` | User pushback («no», «don't», «actually») |
44
+ | `retry` | Same tool/approach 2+ times before success |
45
+ | `waste` | Many searches before the right file |
46
+ | `reversal` | Edit then revert / delete |
47
+ | `dead-end` | Env/tool failure (missing binary, wrong path) |
48
+
49
+ Severity: **high** (explicit correction / large waste) · **med** · **low**. Confidence 0–100 — be honest; low-confidence items are optional.
50
+
51
+ ## Preset feedback loop
52
+
53
+ Read structured evidence before proposing changes: `.ai.local/signals.jsonl` (wrong-turn signals grouped by
54
+ `signature` — the machine-enforced Rule of Three: ≥2 distinct tasks → edit a local rule / `conventions.md` gotcha,
55
+ ≥3 → new rule) and `.ai.local/rule-changes.jsonl` (applied and **staged** mutations with `before` snapshots).
56
+ Reconstruct issues from these ledgers, not free text. Every appended signal sets `finding_category` (`correctness` | `contract` | `perf` | `hygiene` | `process`) so the signature ledger can turn a repeated `gate-changes-requested` into a rule instead of only counting it.
57
+
58
+ If the same issue appeared in **2+** tasks (or **3+** for packaging a new rule/skill — Rule of Three), add section
59
+ **Preset updates**:
60
+
61
+ - Proposed change to `.mavis/rules/`, `.mavis/agents/`, `.mavis/skills/`, or **`.ai.local/conventions.md`**
62
+ (prefer conventions for project gotchas)
63
+ - One concrete snippet or file path
64
+ - Whether it belongs in always-on vs globs vs skill vs conventions (see `PRESET-CONTRIBUTION` → Building blocks)
65
+
66
+ **Human promote.** `staged` entries (new rules, `override: kill`, Decisions, compliance, high-severity) are the
67
+ human-promote set: move a `.ai.local/rules-library/<stem>.md` seed to `.ai.local/rules/` or approve a staged edit,
68
+ and record the promotion in `.ai.local/rule-changes.jsonl`.
69
+
70
+ Do not apply preset or conventions changes without user approval.
71
+
72
+ In-task self-learning loop: run `node .ai.local/scripts/run.mjs` at the pre-receipt self-review when the engine exists; capture one wrong-turn with `node .ai.local/scripts/signals.mjs --append '<json>'` and inspect read-only with `node .ai.local/scripts/run.mjs --status`.
@@ -0,0 +1,38 @@
1
+ ---
2
+ name: unit-testing
3
+ description: "Plans, generates, and heals unit tests for `$mol` modules — view models, state, pure logic — as co-located `<name>.test.ts` suites under the `mol-testing` rules. Use for unit test planning, generation, or fixing failing unit tests."
4
+ ---
5
+
6
+
7
+ <!-- shared-core: quality/anti-hallucination-load-line.md -->
8
+
9
+ Load `anti-hallucination-contract` before asserting code, APIs, schemas, tool behavior, or task status.
10
+
11
+ # Unit Testing
12
+
13
+ ## Project Layout
14
+
15
+ - Test root: the module folder itself — co-located `<name>.test.ts` next to `<name>.view.ts` / `<name>.view.tree` (see `mol-testing`).
16
+ - Namespace: tests declare `namespace $.$$` and register via `$mol_test({ ... })`; assertions via `$mol_assert_equal` / `$mol_assert_ok`; stubs via `$mol_stub`.
17
+ - Legacy `*.test.ts` / `*.test.tsx` — do not rename without a separate task.
18
+ - Runner: the module test bundles built by MAM (`-/<env>.test.js`); view models are instantiated directly — reactivity makes them testable without a DOM.
19
+
20
+ Follow **`mol-testing.md`** (Cursor) or **`rules/testing/mol-testing.md`** (Claude).
21
+
22
+ ## Planner
23
+
24
+ Write or update `.ai.local/team/tasks/<slug>/unit-test-plan.md` (or `.ai.local/team/...`).
25
+
26
+ Each scenario needs a `$mol_test` case name in the project locale (default English), capital letter after each sentence. Cover view-model behavior branches, state homes, and component interactions per AC. Record the co-located target path `<module>/<name>.test.ts`.
27
+
28
+ ## Generator
29
+
30
+ Implement specs from `unit-test-plan.md` at the co-located `<name>.test.ts` path. Reference the class under test by its full `$`-name through `$.$$.` — no import statements. Reuse `$mol_stub` and existing test utilities. Do not change production code.
31
+
32
+ ## Healer
33
+
34
+ Fix mocks, async timing, selectors, and setup — preserve business assertions. Use `unit-test-plan.md` and `brief.md` as the behavior contract.
35
+
36
+ ## Validation
37
+
38
+ Run affected `$mol_test` bundles (module test build) when feasible. Report command, pass/fail, and remaining gaps vs plan.
@@ -0,0 +1,44 @@
1
+ ---
2
+ name: update
3
+ description: "Reinstall the preset recorded for each tool that is already installed."
4
+ ---
5
+
6
+ > **Invocation.** The text after the command name is the task description. MiniMax Code appends it to this skill as `User: <args>`; treat it as the argument of the procedure below.
7
+
8
+ # Update
9
+
10
+ Reinstall every tool that already has an install manifest, using the `preset` recorded in that manifest.
11
+
12
+ ## What to do
13
+
14
+ 1. From the repository root, run:
15
+
16
+ ```bash
17
+ npx @bonesofspring/ai-rules update
18
+ ```
19
+
20
+ 2. Report the CLI summary to the user in their native language. It names each tool and the preset it kept.
21
+ 3. State the outcome in plain words. Exit code 0 means the update finished successfully. Any other exit means it did not finish successfully: quote stderr and stop.
22
+ 4. Do not report the numeric exit code.
23
+ 5. Commit the update on its own. Managed trees (`.cursor/`, `.claude/`, `.mavis/`, `.opencode/`, `.zcode/`, `.ai.local/scripts/`) and app work never share a commit or a merge request.
24
+
25
+ ## Record
26
+
27
+ `init` writes `platform` and `preset` into `<tool>/.ai-rules-install.json`:
28
+
29
+ - `.cursor/.ai-rules-install.json`
30
+ - `.claude/.ai-rules-install.json`
31
+ - `.mavis/.ai-rules-install.json`
32
+ - `.opencode/.ai-rules-install.json`
33
+ - `.zcode/.ai-rules-install.json`
34
+
35
+ `update` reads those files. A tool without that file stays uninstalled. Report the result in the user's native language (`language-policy`).
36
+
37
+ ## Version check
38
+
39
+ See `## Preset version` in `REPO_AGENTS.md`. That check opens with a level-2 heading and a blockquote naming the installed version, the latest version, and this command.
40
+
41
+ ## Do not
42
+
43
+ - Pass `--preset` or a tool name. To switch preset, run `init <tool> --preset <name>`.
44
+ - Delete `.ai.local/`.
@@ -0,0 +1,46 @@
1
+ ---
2
+ name: write-adr
3
+ description: "Author an Architecture Decision Record (ADR) with Context, Decision, Consequences, and Links. Use when capturing a durable technical choice for the team."
4
+ ---
5
+
6
+
7
+ <!-- shared-core: quality/anti-hallucination-load-line.md -->
8
+
9
+ Load `anti-hallucination-contract` before asserting code, APIs, schemas, tool behavior, or task status.
10
+
11
+ # Write ADR
12
+
13
+ On-demand skill for durable architecture decisions. Stack-agnostic sections — fill with project-specific paths and links.
14
+
15
+ ## When to use
16
+
17
+ - Choosing between non-trivial alternatives (storage, layering, library, API shape).
18
+ - Recording a decision that future agents/humans should not silently reverse.
19
+ - User asks for an ADR, decision log, or “why did we pick X”.
20
+
21
+ ## Template
22
+
23
+ Create (or append) a short markdown ADR in the repo’s agreed location (e.g. `docs/adr/`, `.ai.local/team/`, wiki). Suggested filename: `NNNN-short-title.md`.
24
+
25
+ ```markdown
26
+ # ADR NNNN: <Title>
27
+
28
+ ## Context
29
+ What problem / constraint / force requires a decision?
30
+
31
+ ## Decision
32
+ What we chose (one clear option). Include rejected alternatives briefly if useful.
33
+
34
+ ## Consequences
35
+ Positive and negative outcomes; follow-up work; what becomes harder.
36
+
37
+ ## Links
38
+ Related PRs, issues, rules, prior ADRs, diagrams.
39
+ ```
40
+
41
+ ## Guidelines
42
+
43
+ - Prefer one decision per ADR.
44
+ - Keep Context factual; Decision imperative and short.
45
+ - Link living gotchas to `.ai.local/conventions.md` when the decision becomes a recurring local pattern.
46
+ - Do not put ADR bodies only in root `AGENTS.md` (overwrite on init).
@@ -132,6 +132,7 @@ Each slug has one `artifact-manifest.json` at `.ai.local/team/tasks/<slug>/`. Th
132
132
  - Agents upsert only the items they own in `manifest.artifacts[]` and preserve all foreign items in that array. Parallel agents use distinct IDs. Every write is a whole-file merge through `node .ai.local/scripts/manifest.mjs upsert …` under `.manifest.lock` (see the installed `team/README.md` § artifact-manifest.json — write protocol); the parent does not need to serialize merges, and a fragment/replace edit of the JSON is forbidden. The top-level array key is `artifacts` — not `entries`; see `agent-artifact-contracts.md` for the schema callout.
133
133
  - The orchestration runtime/hook is the single writer for `status.json` lifecycle fields and `metrics.json`. Agents read status for eligibility but never rewrite unrelated state, gate, retry, attempt, timestamp, or metrics fields.
134
134
  - Missing/stale manifests are reported as a handoff gap; fall back to `brief.md`, `decomposition.md`, and `pipeline.json` rather than inventing authority.
135
+ - A step that names a gate agent (`build-verifier`, `code-reviewer`, `mockup-reviewer`, `security-reviewer`, `accessibility-reviewer`, `api-contract-reviewer`, `performance-auditor`) is a promise the plan made to the diff: the hook blocks `completed` while its receipt is missing, with or without `.ai.local/pipeline-gates.json`. An intentional skip is recorded in `status.skippedSteps` with its reason — never by dropping the step quietly.
135
136
 
136
137
  ## Out-of-band producer passes
137
138