@bonesofspring/ai-rules 0.2.27 → 0.2.28

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 (773) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/bin/cli.js +13 -2
  3. package/bin/lib/seed-ai-local-team.js +43 -5
  4. package/bin/opencode-install.js +58 -0
  5. package/docs/OPENCODE-COMPATIBILITY.md +1 -1
  6. package/docs/OPENCODE.md +15 -5
  7. package/package.json +2 -1
  8. package/presets/claude/android-kotlin/CLAUDE.md +12 -0
  9. package/presets/claude/android-kotlin/agents/accessibility-reviewer.md +15 -0
  10. package/presets/claude/android-kotlin/agents/api-contract-reviewer.md +16 -1
  11. package/presets/claude/android-kotlin/agents/build-verifier.md +17 -0
  12. package/presets/claude/android-kotlin/agents/ci-investigator.md +25 -0
  13. package/presets/claude/android-kotlin/agents/code-reviewer.md +16 -0
  14. package/presets/claude/android-kotlin/agents/codebase-analyzer.md +15 -0
  15. package/presets/claude/android-kotlin/agents/debugger.md +25 -0
  16. package/presets/claude/android-kotlin/agents/feature-developer.md +25 -0
  17. package/presets/claude/android-kotlin/agents/instrumentation-test-generator.md +16 -0
  18. package/presets/claude/android-kotlin/agents/instrumentation-test-healer.md +16 -0
  19. package/presets/claude/android-kotlin/agents/instrumentation-test-planner.md +16 -0
  20. package/presets/claude/android-kotlin/agents/migration-specialist.md +15 -0
  21. package/presets/claude/android-kotlin/agents/mockup-reviewer.md +15 -0
  22. package/presets/claude/android-kotlin/agents/openspec-author.md +15 -0
  23. package/presets/claude/android-kotlin/agents/performance-auditor.md +15 -0
  24. package/presets/claude/android-kotlin/agents/qa-tester.md +17 -0
  25. package/presets/claude/android-kotlin/agents/security-reviewer.md +15 -0
  26. package/presets/claude/android-kotlin/agents/solution-architect.md +15 -0
  27. package/presets/claude/android-kotlin/agents/task-analyst.md +15 -0
  28. package/presets/claude/android-kotlin/agents/task-router.md +15 -0
  29. package/presets/claude/android-kotlin/agents/tech-writer.md +15 -1
  30. package/presets/claude/android-kotlin/agents/unit-test-generator.md +16 -0
  31. package/presets/claude/android-kotlin/agents/unit-test-healer.md +16 -0
  32. package/presets/claude/android-kotlin/agents/unit-test-planner.md +16 -0
  33. package/presets/claude/android-kotlin/settings.json +10 -0
  34. package/presets/claude/go/CLAUDE.md +12 -0
  35. package/presets/claude/go/agents/api-contract-reviewer.md +17 -0
  36. package/presets/claude/go/agents/build-verifier.md +17 -0
  37. package/presets/claude/go/agents/ci-investigator.md +29 -0
  38. package/presets/claude/go/agents/code-reviewer.md +16 -0
  39. package/presets/claude/go/agents/codebase-analyzer.md +15 -0
  40. package/presets/claude/go/agents/debugger.md +29 -0
  41. package/presets/claude/go/agents/feature-developer.md +29 -0
  42. package/presets/claude/go/agents/integration-test-generator.md +17 -0
  43. package/presets/claude/go/agents/integration-test-healer.md +17 -0
  44. package/presets/claude/go/agents/integration-test-planner.md +17 -0
  45. package/presets/claude/go/agents/migration-specialist.md +15 -0
  46. package/presets/claude/go/agents/openspec-author.md +15 -0
  47. package/presets/claude/go/agents/performance-auditor.md +15 -0
  48. package/presets/claude/go/agents/qa-tester.md +18 -0
  49. package/presets/claude/go/agents/security-reviewer.md +15 -0
  50. package/presets/claude/go/agents/solution-architect.md +15 -0
  51. package/presets/claude/go/agents/task-analyst.md +15 -0
  52. package/presets/claude/go/agents/task-router.md +15 -0
  53. package/presets/claude/go/agents/tech-writer.md +15 -1
  54. package/presets/claude/go/agents/unit-test-generator.md +16 -0
  55. package/presets/claude/go/agents/unit-test-healer.md +16 -0
  56. package/presets/claude/go/agents/unit-test-planner.md +16 -0
  57. package/presets/claude/go/settings.json +10 -0
  58. package/presets/claude/ios-swift/CLAUDE.md +12 -0
  59. package/presets/claude/ios-swift/agents/accessibility-reviewer.md +15 -0
  60. package/presets/claude/ios-swift/agents/api-contract-reviewer.md +16 -0
  61. package/presets/claude/ios-swift/agents/build-verifier.md +17 -0
  62. package/presets/claude/ios-swift/agents/ci-investigator.md +24 -0
  63. package/presets/claude/ios-swift/agents/code-reviewer.md +16 -0
  64. package/presets/claude/ios-swift/agents/codebase-analyzer.md +15 -0
  65. package/presets/claude/ios-swift/agents/debugger.md +24 -0
  66. package/presets/claude/ios-swift/agents/feature-developer.md +24 -0
  67. package/presets/claude/ios-swift/agents/migration-specialist.md +15 -0
  68. package/presets/claude/ios-swift/agents/mockup-reviewer.md +15 -0
  69. package/presets/claude/ios-swift/agents/openspec-author.md +15 -0
  70. package/presets/claude/ios-swift/agents/performance-auditor.md +15 -0
  71. package/presets/claude/ios-swift/agents/qa-tester.md +17 -0
  72. package/presets/claude/ios-swift/agents/security-reviewer.md +15 -0
  73. package/presets/claude/ios-swift/agents/solution-architect.md +15 -0
  74. package/presets/claude/ios-swift/agents/task-analyst.md +15 -0
  75. package/presets/claude/ios-swift/agents/task-router.md +15 -0
  76. package/presets/claude/ios-swift/agents/tech-writer.md +15 -1
  77. package/presets/claude/ios-swift/agents/unit-test-generator.md +16 -0
  78. package/presets/claude/ios-swift/agents/unit-test-healer.md +16 -0
  79. package/presets/claude/ios-swift/agents/unit-test-planner.md +16 -0
  80. package/presets/claude/ios-swift/agents/xcuitest-test-generator.md +16 -0
  81. package/presets/claude/ios-swift/agents/xcuitest-test-healer.md +16 -0
  82. package/presets/claude/ios-swift/agents/xcuitest-test-planner.md +16 -0
  83. package/presets/claude/ios-swift/settings.json +10 -0
  84. package/presets/claude/java/CLAUDE.md +12 -0
  85. package/presets/claude/java/agents/api-contract-reviewer.md +17 -0
  86. package/presets/claude/java/agents/build-verifier.md +17 -0
  87. package/presets/claude/java/agents/ci-investigator.md +29 -0
  88. package/presets/claude/java/agents/code-reviewer.md +16 -0
  89. package/presets/claude/java/agents/codebase-analyzer.md +15 -0
  90. package/presets/claude/java/agents/debugger.md +29 -0
  91. package/presets/claude/java/agents/feature-developer.md +29 -0
  92. package/presets/claude/java/agents/integration-test-generator.md +17 -0
  93. package/presets/claude/java/agents/integration-test-healer.md +17 -0
  94. package/presets/claude/java/agents/integration-test-planner.md +17 -0
  95. package/presets/claude/java/agents/migration-specialist.md +15 -0
  96. package/presets/claude/java/agents/openspec-author.md +15 -0
  97. package/presets/claude/java/agents/performance-auditor.md +15 -0
  98. package/presets/claude/java/agents/qa-tester.md +18 -0
  99. package/presets/claude/java/agents/security-reviewer.md +15 -0
  100. package/presets/claude/java/agents/solution-architect.md +15 -0
  101. package/presets/claude/java/agents/task-analyst.md +15 -0
  102. package/presets/claude/java/agents/task-router.md +15 -0
  103. package/presets/claude/java/agents/tech-writer.md +15 -1
  104. package/presets/claude/java/agents/unit-test-generator.md +16 -0
  105. package/presets/claude/java/agents/unit-test-healer.md +16 -0
  106. package/presets/claude/java/agents/unit-test-planner.md +16 -0
  107. package/presets/claude/java/settings.json +10 -0
  108. package/presets/claude/mcp-ts/CLAUDE.md +12 -0
  109. package/presets/claude/mcp-ts/agents/build-verifier.md +17 -0
  110. package/presets/claude/mcp-ts/agents/feature-developer.md +22 -0
  111. package/presets/claude/mcp-ts/agents/security-reviewer.md +15 -0
  112. package/presets/claude/mcp-ts/agents/solution-architect.md +15 -1
  113. package/presets/claude/mcp-ts/agents/task-analyst.md +15 -0
  114. package/presets/claude/mcp-ts/agents/task-router.md +15 -0
  115. package/presets/claude/mcp-ts/settings.json +10 -0
  116. package/presets/claude/next/CLAUDE.md +12 -0
  117. package/presets/claude/next/agents/accessibility-reviewer.md +17 -0
  118. package/presets/claude/next/agents/api-contract-reviewer.md +19 -0
  119. package/presets/claude/next/agents/build-verifier.md +17 -0
  120. package/presets/claude/next/agents/ci-investigator.md +34 -0
  121. package/presets/claude/next/agents/code-reviewer.md +18 -0
  122. package/presets/claude/next/agents/codebase-analyzer.md +17 -0
  123. package/presets/claude/next/agents/debugger.md +34 -0
  124. package/presets/claude/next/agents/feature-developer.md +34 -0
  125. package/presets/claude/next/agents/migration-specialist.md +17 -0
  126. package/presets/claude/next/agents/mockup-reviewer.md +17 -0
  127. package/presets/claude/next/agents/openspec-author.md +17 -0
  128. package/presets/claude/next/agents/performance-auditor.md +17 -0
  129. package/presets/claude/next/agents/playwright-test-generator.md +19 -0
  130. package/presets/claude/next/agents/playwright-test-healer.md +19 -1
  131. package/presets/claude/next/agents/playwright-test-planner.md +20 -1
  132. package/presets/claude/next/agents/qa-tester.md +20 -0
  133. package/presets/claude/next/agents/security-reviewer.md +17 -0
  134. package/presets/claude/next/agents/solution-architect.md +17 -0
  135. package/presets/claude/next/agents/task-analyst.md +17 -0
  136. package/presets/claude/next/agents/task-router.md +17 -0
  137. package/presets/claude/next/agents/tech-writer.md +17 -0
  138. package/presets/claude/next/agents/unit-test-generator.md +18 -0
  139. package/presets/claude/next/agents/unit-test-healer.md +18 -0
  140. package/presets/claude/next/agents/unit-test-planner.md +18 -0
  141. package/presets/claude/next/settings.json +16 -0
  142. package/presets/claude/nuxt/CLAUDE.md +12 -0
  143. package/presets/claude/nuxt/agents/accessibility-reviewer.md +17 -0
  144. package/presets/claude/nuxt/agents/api-contract-reviewer.md +19 -0
  145. package/presets/claude/nuxt/agents/build-verifier.md +17 -0
  146. package/presets/claude/nuxt/agents/ci-investigator.md +34 -0
  147. package/presets/claude/nuxt/agents/code-reviewer.md +18 -0
  148. package/presets/claude/nuxt/agents/codebase-analyzer.md +17 -0
  149. package/presets/claude/nuxt/agents/debugger.md +34 -0
  150. package/presets/claude/nuxt/agents/feature-developer.md +34 -0
  151. package/presets/claude/nuxt/agents/migration-specialist.md +17 -0
  152. package/presets/claude/nuxt/agents/mockup-reviewer.md +17 -0
  153. package/presets/claude/nuxt/agents/openspec-author.md +17 -0
  154. package/presets/claude/nuxt/agents/performance-auditor.md +17 -0
  155. package/presets/claude/nuxt/agents/playwright-test-generator.md +19 -0
  156. package/presets/claude/nuxt/agents/playwright-test-healer.md +19 -1
  157. package/presets/claude/nuxt/agents/playwright-test-planner.md +20 -1
  158. package/presets/claude/nuxt/agents/qa-tester.md +20 -0
  159. package/presets/claude/nuxt/agents/security-reviewer.md +17 -0
  160. package/presets/claude/nuxt/agents/solution-architect.md +17 -0
  161. package/presets/claude/nuxt/agents/task-analyst.md +17 -0
  162. package/presets/claude/nuxt/agents/task-router.md +17 -0
  163. package/presets/claude/nuxt/agents/tech-writer.md +17 -0
  164. package/presets/claude/nuxt/agents/unit-test-generator.md +18 -0
  165. package/presets/claude/nuxt/agents/unit-test-healer.md +18 -0
  166. package/presets/claude/nuxt/agents/unit-test-planner.md +18 -0
  167. package/presets/claude/nuxt/settings.json +16 -0
  168. package/presets/claude/php-hexagonal/CLAUDE.md +12 -0
  169. package/presets/claude/php-hexagonal/agents/api-contract-reviewer.md +17 -0
  170. package/presets/claude/php-hexagonal/agents/build-verifier.md +17 -0
  171. package/presets/claude/php-hexagonal/agents/ci-investigator.md +29 -0
  172. package/presets/claude/php-hexagonal/agents/code-reviewer.md +16 -0
  173. package/presets/claude/php-hexagonal/agents/codebase-analyzer.md +15 -0
  174. package/presets/claude/php-hexagonal/agents/debugger.md +29 -0
  175. package/presets/claude/php-hexagonal/agents/feature-developer.md +29 -0
  176. package/presets/claude/php-hexagonal/agents/integration-test-generator.md +17 -0
  177. package/presets/claude/php-hexagonal/agents/integration-test-healer.md +17 -0
  178. package/presets/claude/php-hexagonal/agents/integration-test-planner.md +17 -0
  179. package/presets/claude/php-hexagonal/agents/migration-specialist.md +15 -0
  180. package/presets/claude/php-hexagonal/agents/openspec-author.md +15 -0
  181. package/presets/claude/php-hexagonal/agents/performance-auditor.md +15 -0
  182. package/presets/claude/php-hexagonal/agents/qa-tester.md +18 -0
  183. package/presets/claude/php-hexagonal/agents/security-reviewer.md +15 -0
  184. package/presets/claude/php-hexagonal/agents/solution-architect.md +15 -0
  185. package/presets/claude/php-hexagonal/agents/task-analyst.md +15 -0
  186. package/presets/claude/php-hexagonal/agents/task-router.md +15 -0
  187. package/presets/claude/php-hexagonal/agents/tech-writer.md +15 -1
  188. package/presets/claude/php-hexagonal/agents/unit-test-generator.md +16 -0
  189. package/presets/claude/php-hexagonal/agents/unit-test-healer.md +16 -0
  190. package/presets/claude/php-hexagonal/agents/unit-test-planner.md +16 -0
  191. package/presets/claude/php-hexagonal/settings.json +10 -0
  192. package/presets/claude/php-laravel/CLAUDE.md +12 -0
  193. package/presets/claude/php-laravel/agents/api-contract-reviewer.md +18 -0
  194. package/presets/claude/php-laravel/agents/build-verifier.md +17 -0
  195. package/presets/claude/php-laravel/agents/ci-investigator.md +29 -0
  196. package/presets/claude/php-laravel/agents/code-reviewer.md +16 -0
  197. package/presets/claude/php-laravel/agents/codebase-analyzer.md +15 -0
  198. package/presets/claude/php-laravel/agents/debugger.md +29 -0
  199. package/presets/claude/php-laravel/agents/feature-developer.md +29 -0
  200. package/presets/claude/php-laravel/agents/integration-test-generator.md +17 -0
  201. package/presets/claude/php-laravel/agents/integration-test-healer.md +17 -0
  202. package/presets/claude/php-laravel/agents/integration-test-planner.md +17 -0
  203. package/presets/claude/php-laravel/agents/migration-specialist.md +15 -0
  204. package/presets/claude/php-laravel/agents/openspec-author.md +15 -0
  205. package/presets/claude/php-laravel/agents/performance-auditor.md +15 -0
  206. package/presets/claude/php-laravel/agents/qa-tester.md +18 -0
  207. package/presets/claude/php-laravel/agents/security-reviewer.md +15 -0
  208. package/presets/claude/php-laravel/agents/solution-architect.md +15 -0
  209. package/presets/claude/php-laravel/agents/task-analyst.md +15 -0
  210. package/presets/claude/php-laravel/agents/task-router.md +15 -0
  211. package/presets/claude/php-laravel/agents/tech-writer.md +15 -1
  212. package/presets/claude/php-laravel/agents/unit-test-generator.md +16 -0
  213. package/presets/claude/php-laravel/agents/unit-test-healer.md +16 -0
  214. package/presets/claude/php-laravel/agents/unit-test-planner.md +16 -0
  215. package/presets/claude/php-laravel/settings.json +10 -0
  216. package/presets/claude/svelte/CLAUDE.md +12 -0
  217. package/presets/claude/svelte/agents/accessibility-reviewer.md +17 -0
  218. package/presets/claude/svelte/agents/api-contract-reviewer.md +19 -0
  219. package/presets/claude/svelte/agents/build-verifier.md +17 -0
  220. package/presets/claude/svelte/agents/ci-investigator.md +34 -0
  221. package/presets/claude/svelte/agents/code-reviewer.md +18 -0
  222. package/presets/claude/svelte/agents/codebase-analyzer.md +17 -0
  223. package/presets/claude/svelte/agents/debugger.md +34 -0
  224. package/presets/claude/svelte/agents/feature-developer.md +34 -0
  225. package/presets/claude/svelte/agents/migration-specialist.md +17 -0
  226. package/presets/claude/svelte/agents/mockup-reviewer.md +17 -0
  227. package/presets/claude/svelte/agents/openspec-author.md +17 -0
  228. package/presets/claude/svelte/agents/performance-auditor.md +17 -0
  229. package/presets/claude/svelte/agents/playwright-test-generator.md +19 -0
  230. package/presets/claude/svelte/agents/playwright-test-healer.md +19 -1
  231. package/presets/claude/svelte/agents/playwright-test-planner.md +20 -1
  232. package/presets/claude/svelte/agents/qa-tester.md +20 -0
  233. package/presets/claude/svelte/agents/security-reviewer.md +17 -0
  234. package/presets/claude/svelte/agents/solution-architect.md +17 -0
  235. package/presets/claude/svelte/agents/task-analyst.md +17 -0
  236. package/presets/claude/svelte/agents/task-router.md +17 -0
  237. package/presets/claude/svelte/agents/tech-writer.md +17 -0
  238. package/presets/claude/svelte/agents/unit-test-generator.md +18 -0
  239. package/presets/claude/svelte/agents/unit-test-healer.md +18 -0
  240. package/presets/claude/svelte/agents/unit-test-planner.md +18 -0
  241. package/presets/claude/svelte/settings.json +16 -0
  242. package/presets/cursor/next/ai-local/rules-library/agent-artifacts-no-local-paths.md +38 -0
  243. package/presets/cursor/next/ai-local/rules-library/commit-hygiene.md +17 -0
  244. package/presets/cursor/next/ai-local/rules-library/mcp-required-for-ui-layout.md +41 -0
  245. package/presets/cursor/next/ai-local/rules-library/no-test-driven-behavior-change.md +14 -0
  246. package/presets/cursor/next/ai-local/rules-library/pre-pr-checklist.md +16 -0
  247. package/presets/cursor/next/ai-local/rules-library/router-pages.md +23 -0
  248. package/presets/cursor/next/ai-local/rules-library/single-source-copy-constants.md +16 -0
  249. package/presets/mavis/android-kotlin/MAVIS.md +13 -0
  250. package/presets/mavis/android-kotlin/agents/accessibility-reviewer.md +15 -0
  251. package/presets/mavis/android-kotlin/agents/api-contract-reviewer.md +16 -0
  252. package/presets/mavis/android-kotlin/agents/build-verifier.md +17 -0
  253. package/presets/mavis/android-kotlin/agents/ci-investigator.md +25 -0
  254. package/presets/mavis/android-kotlin/agents/code-reviewer.md +16 -0
  255. package/presets/mavis/android-kotlin/agents/codebase-analyzer.md +15 -0
  256. package/presets/mavis/android-kotlin/agents/debugger.md +25 -0
  257. package/presets/mavis/android-kotlin/agents/feature-developer.md +25 -0
  258. package/presets/mavis/android-kotlin/agents/instrumentation-test-generator.md +16 -0
  259. package/presets/mavis/android-kotlin/agents/instrumentation-test-healer.md +16 -0
  260. package/presets/mavis/android-kotlin/agents/instrumentation-test-planner.md +16 -0
  261. package/presets/mavis/android-kotlin/agents/migration-specialist.md +15 -0
  262. package/presets/mavis/android-kotlin/agents/mockup-reviewer.md +15 -0
  263. package/presets/mavis/android-kotlin/agents/openspec-author.md +15 -0
  264. package/presets/mavis/android-kotlin/agents/performance-auditor.md +15 -0
  265. package/presets/mavis/android-kotlin/agents/qa-tester.md +17 -0
  266. package/presets/mavis/android-kotlin/agents/security-reviewer.md +15 -0
  267. package/presets/mavis/android-kotlin/agents/solution-architect.md +15 -0
  268. package/presets/mavis/android-kotlin/agents/task-analyst.md +15 -0
  269. package/presets/mavis/android-kotlin/agents/task-router.md +15 -0
  270. package/presets/mavis/android-kotlin/agents/tech-writer.md +15 -0
  271. package/presets/mavis/android-kotlin/agents/unit-test-generator.md +16 -0
  272. package/presets/mavis/android-kotlin/agents/unit-test-healer.md +16 -0
  273. package/presets/mavis/android-kotlin/agents/unit-test-planner.md +16 -0
  274. package/presets/mavis/go/MAVIS.md +13 -0
  275. package/presets/mavis/go/agents/api-contract-reviewer.md +17 -0
  276. package/presets/mavis/go/agents/build-verifier.md +17 -0
  277. package/presets/mavis/go/agents/ci-investigator.md +29 -0
  278. package/presets/mavis/go/agents/code-reviewer.md +16 -0
  279. package/presets/mavis/go/agents/codebase-analyzer.md +15 -0
  280. package/presets/mavis/go/agents/debugger.md +29 -0
  281. package/presets/mavis/go/agents/feature-developer.md +29 -0
  282. package/presets/mavis/go/agents/integration-test-generator.md +17 -0
  283. package/presets/mavis/go/agents/integration-test-healer.md +17 -0
  284. package/presets/mavis/go/agents/integration-test-planner.md +17 -0
  285. package/presets/mavis/go/agents/migration-specialist.md +15 -0
  286. package/presets/mavis/go/agents/openspec-author.md +15 -0
  287. package/presets/mavis/go/agents/performance-auditor.md +15 -0
  288. package/presets/mavis/go/agents/qa-tester.md +18 -0
  289. package/presets/mavis/go/agents/security-reviewer.md +15 -0
  290. package/presets/mavis/go/agents/solution-architect.md +15 -0
  291. package/presets/mavis/go/agents/task-analyst.md +15 -0
  292. package/presets/mavis/go/agents/task-router.md +15 -0
  293. package/presets/mavis/go/agents/tech-writer.md +15 -0
  294. package/presets/mavis/go/agents/unit-test-generator.md +16 -0
  295. package/presets/mavis/go/agents/unit-test-healer.md +16 -0
  296. package/presets/mavis/go/agents/unit-test-planner.md +16 -0
  297. package/presets/mavis/ios-swift/MAVIS.md +13 -0
  298. package/presets/mavis/ios-swift/agents/accessibility-reviewer.md +15 -0
  299. package/presets/mavis/ios-swift/agents/api-contract-reviewer.md +16 -0
  300. package/presets/mavis/ios-swift/agents/build-verifier.md +17 -0
  301. package/presets/mavis/ios-swift/agents/ci-investigator.md +24 -0
  302. package/presets/mavis/ios-swift/agents/code-reviewer.md +16 -0
  303. package/presets/mavis/ios-swift/agents/codebase-analyzer.md +15 -0
  304. package/presets/mavis/ios-swift/agents/debugger.md +24 -0
  305. package/presets/mavis/ios-swift/agents/feature-developer.md +24 -0
  306. package/presets/mavis/ios-swift/agents/migration-specialist.md +15 -0
  307. package/presets/mavis/ios-swift/agents/mockup-reviewer.md +15 -0
  308. package/presets/mavis/ios-swift/agents/openspec-author.md +15 -0
  309. package/presets/mavis/ios-swift/agents/performance-auditor.md +15 -0
  310. package/presets/mavis/ios-swift/agents/qa-tester.md +17 -0
  311. package/presets/mavis/ios-swift/agents/security-reviewer.md +15 -0
  312. package/presets/mavis/ios-swift/agents/solution-architect.md +15 -0
  313. package/presets/mavis/ios-swift/agents/task-analyst.md +15 -0
  314. package/presets/mavis/ios-swift/agents/task-router.md +15 -0
  315. package/presets/mavis/ios-swift/agents/tech-writer.md +15 -0
  316. package/presets/mavis/ios-swift/agents/unit-test-generator.md +16 -0
  317. package/presets/mavis/ios-swift/agents/unit-test-healer.md +16 -0
  318. package/presets/mavis/ios-swift/agents/unit-test-planner.md +16 -0
  319. package/presets/mavis/ios-swift/agents/xcuitest-test-generator.md +16 -0
  320. package/presets/mavis/ios-swift/agents/xcuitest-test-healer.md +16 -0
  321. package/presets/mavis/ios-swift/agents/xcuitest-test-planner.md +16 -0
  322. package/presets/mavis/java/MAVIS.md +13 -0
  323. package/presets/mavis/java/agents/api-contract-reviewer.md +17 -0
  324. package/presets/mavis/java/agents/build-verifier.md +17 -0
  325. package/presets/mavis/java/agents/ci-investigator.md +29 -0
  326. package/presets/mavis/java/agents/code-reviewer.md +16 -0
  327. package/presets/mavis/java/agents/codebase-analyzer.md +15 -0
  328. package/presets/mavis/java/agents/debugger.md +29 -0
  329. package/presets/mavis/java/agents/feature-developer.md +29 -0
  330. package/presets/mavis/java/agents/integration-test-generator.md +17 -0
  331. package/presets/mavis/java/agents/integration-test-healer.md +17 -0
  332. package/presets/mavis/java/agents/integration-test-planner.md +17 -0
  333. package/presets/mavis/java/agents/migration-specialist.md +15 -0
  334. package/presets/mavis/java/agents/openspec-author.md +15 -0
  335. package/presets/mavis/java/agents/performance-auditor.md +15 -0
  336. package/presets/mavis/java/agents/qa-tester.md +18 -0
  337. package/presets/mavis/java/agents/security-reviewer.md +15 -0
  338. package/presets/mavis/java/agents/solution-architect.md +15 -0
  339. package/presets/mavis/java/agents/task-analyst.md +15 -0
  340. package/presets/mavis/java/agents/task-router.md +15 -0
  341. package/presets/mavis/java/agents/tech-writer.md +15 -0
  342. package/presets/mavis/java/agents/unit-test-generator.md +16 -0
  343. package/presets/mavis/java/agents/unit-test-healer.md +16 -0
  344. package/presets/mavis/java/agents/unit-test-planner.md +16 -0
  345. package/presets/mavis/mcp-ts/MAVIS.md +13 -0
  346. package/presets/mavis/mcp-ts/agents/build-verifier.md +17 -0
  347. package/presets/mavis/mcp-ts/agents/feature-developer.md +22 -0
  348. package/presets/mavis/mcp-ts/agents/security-reviewer.md +15 -0
  349. package/presets/mavis/mcp-ts/agents/solution-architect.md +15 -0
  350. package/presets/mavis/mcp-ts/agents/task-analyst.md +15 -0
  351. package/presets/mavis/mcp-ts/agents/task-router.md +15 -0
  352. package/presets/mavis/next/MAVIS.md +13 -0
  353. package/presets/mavis/next/adapter-map.json +57 -1
  354. package/presets/mavis/next/agents/accessibility-reviewer.md +17 -0
  355. package/presets/mavis/next/agents/api-contract-reviewer.md +19 -0
  356. package/presets/mavis/next/agents/build-verifier.md +17 -0
  357. package/presets/mavis/next/agents/ci-investigator.md +34 -0
  358. package/presets/mavis/next/agents/code-reviewer.md +18 -0
  359. package/presets/mavis/next/agents/codebase-analyzer.md +17 -0
  360. package/presets/mavis/next/agents/debugger.md +34 -0
  361. package/presets/mavis/next/agents/feature-developer.md +34 -0
  362. package/presets/mavis/next/agents/migration-specialist.md +17 -0
  363. package/presets/mavis/next/agents/mockup-reviewer.md +17 -0
  364. package/presets/mavis/next/agents/openspec-author.md +17 -0
  365. package/presets/mavis/next/agents/performance-auditor.md +17 -0
  366. package/presets/mavis/next/agents/playwright-test-generator.md +19 -0
  367. package/presets/mavis/next/agents/playwright-test-healer.md +19 -0
  368. package/presets/mavis/next/agents/playwright-test-planner.md +19 -0
  369. package/presets/mavis/next/agents/qa-tester.md +20 -0
  370. package/presets/mavis/next/agents/security-reviewer.md +17 -0
  371. package/presets/mavis/next/agents/solution-architect.md +17 -0
  372. package/presets/mavis/next/agents/task-analyst.md +17 -0
  373. package/presets/mavis/next/agents/task-router.md +17 -0
  374. package/presets/mavis/next/agents/tech-writer.md +17 -0
  375. package/presets/mavis/next/agents/unit-test-generator.md +18 -0
  376. package/presets/mavis/next/agents/unit-test-healer.md +18 -0
  377. package/presets/mavis/next/agents/unit-test-planner.md +18 -0
  378. package/presets/mavis/next/ai-local/rules-library/agent-artifacts-no-local-paths.md +38 -0
  379. package/presets/mavis/next/ai-local/rules-library/commit-hygiene.md +17 -0
  380. package/presets/mavis/next/ai-local/rules-library/mcp-required-for-ui-layout.md +41 -0
  381. package/presets/mavis/next/ai-local/rules-library/no-test-driven-behavior-change.md +14 -0
  382. package/presets/mavis/next/ai-local/rules-library/pre-pr-checklist.md +16 -0
  383. package/presets/mavis/next/ai-local/rules-library/router-pages.md +23 -0
  384. package/presets/mavis/next/ai-local/rules-library/single-source-copy-constants.md +16 -0
  385. package/presets/mavis/nuxt/MAVIS.md +13 -0
  386. package/presets/mavis/nuxt/agents/accessibility-reviewer.md +17 -0
  387. package/presets/mavis/nuxt/agents/api-contract-reviewer.md +19 -0
  388. package/presets/mavis/nuxt/agents/build-verifier.md +17 -0
  389. package/presets/mavis/nuxt/agents/ci-investigator.md +34 -0
  390. package/presets/mavis/nuxt/agents/code-reviewer.md +18 -0
  391. package/presets/mavis/nuxt/agents/codebase-analyzer.md +17 -0
  392. package/presets/mavis/nuxt/agents/debugger.md +34 -0
  393. package/presets/mavis/nuxt/agents/feature-developer.md +34 -0
  394. package/presets/mavis/nuxt/agents/migration-specialist.md +17 -0
  395. package/presets/mavis/nuxt/agents/mockup-reviewer.md +17 -0
  396. package/presets/mavis/nuxt/agents/openspec-author.md +17 -0
  397. package/presets/mavis/nuxt/agents/performance-auditor.md +17 -0
  398. package/presets/mavis/nuxt/agents/playwright-test-generator.md +19 -0
  399. package/presets/mavis/nuxt/agents/playwright-test-healer.md +19 -0
  400. package/presets/mavis/nuxt/agents/playwright-test-planner.md +19 -0
  401. package/presets/mavis/nuxt/agents/qa-tester.md +20 -0
  402. package/presets/mavis/nuxt/agents/security-reviewer.md +17 -0
  403. package/presets/mavis/nuxt/agents/solution-architect.md +17 -0
  404. package/presets/mavis/nuxt/agents/task-analyst.md +17 -0
  405. package/presets/mavis/nuxt/agents/task-router.md +17 -0
  406. package/presets/mavis/nuxt/agents/tech-writer.md +17 -0
  407. package/presets/mavis/nuxt/agents/unit-test-generator.md +18 -0
  408. package/presets/mavis/nuxt/agents/unit-test-healer.md +18 -0
  409. package/presets/mavis/nuxt/agents/unit-test-planner.md +18 -0
  410. package/presets/mavis/php-hexagonal/MAVIS.md +13 -0
  411. package/presets/mavis/php-hexagonal/agents/api-contract-reviewer.md +17 -0
  412. package/presets/mavis/php-hexagonal/agents/build-verifier.md +17 -0
  413. package/presets/mavis/php-hexagonal/agents/ci-investigator.md +29 -0
  414. package/presets/mavis/php-hexagonal/agents/code-reviewer.md +16 -0
  415. package/presets/mavis/php-hexagonal/agents/codebase-analyzer.md +15 -0
  416. package/presets/mavis/php-hexagonal/agents/debugger.md +29 -0
  417. package/presets/mavis/php-hexagonal/agents/feature-developer.md +29 -0
  418. package/presets/mavis/php-hexagonal/agents/integration-test-generator.md +17 -0
  419. package/presets/mavis/php-hexagonal/agents/integration-test-healer.md +17 -0
  420. package/presets/mavis/php-hexagonal/agents/integration-test-planner.md +17 -0
  421. package/presets/mavis/php-hexagonal/agents/migration-specialist.md +15 -0
  422. package/presets/mavis/php-hexagonal/agents/openspec-author.md +15 -0
  423. package/presets/mavis/php-hexagonal/agents/performance-auditor.md +15 -0
  424. package/presets/mavis/php-hexagonal/agents/qa-tester.md +18 -0
  425. package/presets/mavis/php-hexagonal/agents/security-reviewer.md +15 -0
  426. package/presets/mavis/php-hexagonal/agents/solution-architect.md +15 -0
  427. package/presets/mavis/php-hexagonal/agents/task-analyst.md +15 -0
  428. package/presets/mavis/php-hexagonal/agents/task-router.md +15 -0
  429. package/presets/mavis/php-hexagonal/agents/tech-writer.md +15 -0
  430. package/presets/mavis/php-hexagonal/agents/unit-test-generator.md +16 -0
  431. package/presets/mavis/php-hexagonal/agents/unit-test-healer.md +16 -0
  432. package/presets/mavis/php-hexagonal/agents/unit-test-planner.md +16 -0
  433. package/presets/mavis/php-laravel/MAVIS.md +13 -0
  434. package/presets/mavis/php-laravel/agents/api-contract-reviewer.md +18 -0
  435. package/presets/mavis/php-laravel/agents/build-verifier.md +17 -0
  436. package/presets/mavis/php-laravel/agents/ci-investigator.md +29 -0
  437. package/presets/mavis/php-laravel/agents/code-reviewer.md +16 -0
  438. package/presets/mavis/php-laravel/agents/codebase-analyzer.md +15 -0
  439. package/presets/mavis/php-laravel/agents/debugger.md +29 -0
  440. package/presets/mavis/php-laravel/agents/feature-developer.md +29 -0
  441. package/presets/mavis/php-laravel/agents/integration-test-generator.md +17 -0
  442. package/presets/mavis/php-laravel/agents/integration-test-healer.md +17 -0
  443. package/presets/mavis/php-laravel/agents/integration-test-planner.md +17 -0
  444. package/presets/mavis/php-laravel/agents/migration-specialist.md +15 -0
  445. package/presets/mavis/php-laravel/agents/openspec-author.md +15 -0
  446. package/presets/mavis/php-laravel/agents/performance-auditor.md +15 -0
  447. package/presets/mavis/php-laravel/agents/qa-tester.md +18 -0
  448. package/presets/mavis/php-laravel/agents/security-reviewer.md +15 -0
  449. package/presets/mavis/php-laravel/agents/solution-architect.md +15 -0
  450. package/presets/mavis/php-laravel/agents/task-analyst.md +15 -0
  451. package/presets/mavis/php-laravel/agents/task-router.md +15 -0
  452. package/presets/mavis/php-laravel/agents/tech-writer.md +15 -0
  453. package/presets/mavis/php-laravel/agents/unit-test-generator.md +16 -0
  454. package/presets/mavis/php-laravel/agents/unit-test-healer.md +16 -0
  455. package/presets/mavis/php-laravel/agents/unit-test-planner.md +16 -0
  456. package/presets/mavis/svelte/MAVIS.md +13 -0
  457. package/presets/mavis/svelte/agents/accessibility-reviewer.md +17 -0
  458. package/presets/mavis/svelte/agents/api-contract-reviewer.md +19 -0
  459. package/presets/mavis/svelte/agents/build-verifier.md +17 -0
  460. package/presets/mavis/svelte/agents/ci-investigator.md +34 -0
  461. package/presets/mavis/svelte/agents/code-reviewer.md +18 -0
  462. package/presets/mavis/svelte/agents/codebase-analyzer.md +17 -0
  463. package/presets/mavis/svelte/agents/debugger.md +34 -0
  464. package/presets/mavis/svelte/agents/feature-developer.md +34 -0
  465. package/presets/mavis/svelte/agents/migration-specialist.md +17 -0
  466. package/presets/mavis/svelte/agents/mockup-reviewer.md +17 -0
  467. package/presets/mavis/svelte/agents/openspec-author.md +17 -0
  468. package/presets/mavis/svelte/agents/performance-auditor.md +17 -0
  469. package/presets/mavis/svelte/agents/playwright-test-generator.md +19 -0
  470. package/presets/mavis/svelte/agents/playwright-test-healer.md +19 -0
  471. package/presets/mavis/svelte/agents/playwright-test-planner.md +19 -0
  472. package/presets/mavis/svelte/agents/qa-tester.md +20 -0
  473. package/presets/mavis/svelte/agents/security-reviewer.md +17 -0
  474. package/presets/mavis/svelte/agents/solution-architect.md +17 -0
  475. package/presets/mavis/svelte/agents/task-analyst.md +17 -0
  476. package/presets/mavis/svelte/agents/task-router.md +17 -0
  477. package/presets/mavis/svelte/agents/tech-writer.md +17 -0
  478. package/presets/mavis/svelte/agents/unit-test-generator.md +18 -0
  479. package/presets/mavis/svelte/agents/unit-test-healer.md +18 -0
  480. package/presets/mavis/svelte/agents/unit-test-planner.md +18 -0
  481. package/presets/opencode/android-kotlin/OPENCODE.md +15 -1
  482. package/presets/opencode/android-kotlin/adapter-map.json +1 -1
  483. package/presets/opencode/android-kotlin/agents/accessibility-reviewer.md +15 -0
  484. package/presets/opencode/android-kotlin/agents/api-contract-reviewer.md +16 -0
  485. package/presets/opencode/android-kotlin/agents/build-verifier.md +17 -0
  486. package/presets/opencode/android-kotlin/agents/ci-investigator.md +25 -0
  487. package/presets/opencode/android-kotlin/agents/code-reviewer.md +16 -0
  488. package/presets/opencode/android-kotlin/agents/codebase-analyzer.md +15 -0
  489. package/presets/opencode/android-kotlin/agents/debugger.md +25 -0
  490. package/presets/opencode/android-kotlin/agents/feature-developer.md +25 -0
  491. package/presets/opencode/android-kotlin/agents/instrumentation-test-generator.md +16 -0
  492. package/presets/opencode/android-kotlin/agents/instrumentation-test-healer.md +16 -0
  493. package/presets/opencode/android-kotlin/agents/instrumentation-test-planner.md +16 -0
  494. package/presets/opencode/android-kotlin/agents/migration-specialist.md +15 -0
  495. package/presets/opencode/android-kotlin/agents/mockup-reviewer.md +15 -0
  496. package/presets/opencode/android-kotlin/agents/openspec-author.md +15 -0
  497. package/presets/opencode/android-kotlin/agents/performance-auditor.md +15 -0
  498. package/presets/opencode/android-kotlin/agents/qa-tester.md +17 -0
  499. package/presets/opencode/android-kotlin/agents/security-reviewer.md +15 -0
  500. package/presets/opencode/android-kotlin/agents/solution-architect.md +15 -0
  501. package/presets/opencode/android-kotlin/agents/task-analyst.md +15 -0
  502. package/presets/opencode/android-kotlin/agents/task-router.md +15 -0
  503. package/presets/opencode/android-kotlin/agents/tech-writer.md +15 -0
  504. package/presets/opencode/android-kotlin/agents/unit-test-generator.md +16 -0
  505. package/presets/opencode/android-kotlin/agents/unit-test-healer.md +16 -0
  506. package/presets/opencode/android-kotlin/agents/unit-test-planner.md +16 -0
  507. package/presets/opencode/android-kotlin/opencode.json +14 -0
  508. package/presets/opencode/android-kotlin/rules/README.md +7 -2
  509. package/presets/opencode/go/OPENCODE.md +15 -1
  510. package/presets/opencode/go/adapter-map.json +1 -1
  511. package/presets/opencode/go/agents/api-contract-reviewer.md +17 -0
  512. package/presets/opencode/go/agents/build-verifier.md +17 -0
  513. package/presets/opencode/go/agents/ci-investigator.md +29 -0
  514. package/presets/opencode/go/agents/code-reviewer.md +16 -0
  515. package/presets/opencode/go/agents/codebase-analyzer.md +15 -0
  516. package/presets/opencode/go/agents/debugger.md +29 -0
  517. package/presets/opencode/go/agents/feature-developer.md +29 -0
  518. package/presets/opencode/go/agents/integration-test-generator.md +17 -0
  519. package/presets/opencode/go/agents/integration-test-healer.md +17 -0
  520. package/presets/opencode/go/agents/integration-test-planner.md +17 -0
  521. package/presets/opencode/go/agents/migration-specialist.md +15 -0
  522. package/presets/opencode/go/agents/openspec-author.md +15 -0
  523. package/presets/opencode/go/agents/performance-auditor.md +15 -0
  524. package/presets/opencode/go/agents/qa-tester.md +18 -0
  525. package/presets/opencode/go/agents/security-reviewer.md +15 -0
  526. package/presets/opencode/go/agents/solution-architect.md +15 -0
  527. package/presets/opencode/go/agents/task-analyst.md +15 -0
  528. package/presets/opencode/go/agents/task-router.md +15 -0
  529. package/presets/opencode/go/agents/tech-writer.md +15 -0
  530. package/presets/opencode/go/agents/unit-test-generator.md +16 -0
  531. package/presets/opencode/go/agents/unit-test-healer.md +16 -0
  532. package/presets/opencode/go/agents/unit-test-planner.md +16 -0
  533. package/presets/opencode/go/opencode.json +14 -0
  534. package/presets/opencode/go/rules/README.md +7 -2
  535. package/presets/opencode/ios-swift/OPENCODE.md +15 -1
  536. package/presets/opencode/ios-swift/adapter-map.json +1 -1
  537. package/presets/opencode/ios-swift/agents/accessibility-reviewer.md +15 -0
  538. package/presets/opencode/ios-swift/agents/api-contract-reviewer.md +16 -0
  539. package/presets/opencode/ios-swift/agents/build-verifier.md +17 -0
  540. package/presets/opencode/ios-swift/agents/ci-investigator.md +24 -0
  541. package/presets/opencode/ios-swift/agents/code-reviewer.md +16 -0
  542. package/presets/opencode/ios-swift/agents/codebase-analyzer.md +15 -0
  543. package/presets/opencode/ios-swift/agents/debugger.md +24 -0
  544. package/presets/opencode/ios-swift/agents/feature-developer.md +24 -0
  545. package/presets/opencode/ios-swift/agents/migration-specialist.md +15 -0
  546. package/presets/opencode/ios-swift/agents/mockup-reviewer.md +15 -0
  547. package/presets/opencode/ios-swift/agents/openspec-author.md +15 -0
  548. package/presets/opencode/ios-swift/agents/performance-auditor.md +15 -0
  549. package/presets/opencode/ios-swift/agents/qa-tester.md +17 -0
  550. package/presets/opencode/ios-swift/agents/security-reviewer.md +15 -0
  551. package/presets/opencode/ios-swift/agents/solution-architect.md +15 -0
  552. package/presets/opencode/ios-swift/agents/task-analyst.md +15 -0
  553. package/presets/opencode/ios-swift/agents/task-router.md +15 -0
  554. package/presets/opencode/ios-swift/agents/tech-writer.md +15 -0
  555. package/presets/opencode/ios-swift/agents/unit-test-generator.md +16 -0
  556. package/presets/opencode/ios-swift/agents/unit-test-healer.md +16 -0
  557. package/presets/opencode/ios-swift/agents/unit-test-planner.md +16 -0
  558. package/presets/opencode/ios-swift/agents/xcuitest-test-generator.md +16 -0
  559. package/presets/opencode/ios-swift/agents/xcuitest-test-healer.md +16 -0
  560. package/presets/opencode/ios-swift/agents/xcuitest-test-planner.md +16 -0
  561. package/presets/opencode/ios-swift/opencode.json +14 -0
  562. package/presets/opencode/ios-swift/rules/README.md +7 -2
  563. package/presets/opencode/java/OPENCODE.md +15 -1
  564. package/presets/opencode/java/adapter-map.json +1 -1
  565. package/presets/opencode/java/agents/api-contract-reviewer.md +17 -0
  566. package/presets/opencode/java/agents/build-verifier.md +17 -0
  567. package/presets/opencode/java/agents/ci-investigator.md +29 -0
  568. package/presets/opencode/java/agents/code-reviewer.md +16 -0
  569. package/presets/opencode/java/agents/codebase-analyzer.md +15 -0
  570. package/presets/opencode/java/agents/debugger.md +29 -0
  571. package/presets/opencode/java/agents/feature-developer.md +29 -0
  572. package/presets/opencode/java/agents/integration-test-generator.md +17 -0
  573. package/presets/opencode/java/agents/integration-test-healer.md +17 -0
  574. package/presets/opencode/java/agents/integration-test-planner.md +17 -0
  575. package/presets/opencode/java/agents/migration-specialist.md +15 -0
  576. package/presets/opencode/java/agents/openspec-author.md +15 -0
  577. package/presets/opencode/java/agents/performance-auditor.md +15 -0
  578. package/presets/opencode/java/agents/qa-tester.md +18 -0
  579. package/presets/opencode/java/agents/security-reviewer.md +15 -0
  580. package/presets/opencode/java/agents/solution-architect.md +15 -0
  581. package/presets/opencode/java/agents/task-analyst.md +15 -0
  582. package/presets/opencode/java/agents/task-router.md +15 -0
  583. package/presets/opencode/java/agents/tech-writer.md +15 -0
  584. package/presets/opencode/java/agents/unit-test-generator.md +16 -0
  585. package/presets/opencode/java/agents/unit-test-healer.md +16 -0
  586. package/presets/opencode/java/agents/unit-test-planner.md +16 -0
  587. package/presets/opencode/java/opencode.json +14 -0
  588. package/presets/opencode/java/rules/README.md +7 -2
  589. package/presets/opencode/mcp-ts/OPENCODE.md +15 -1
  590. package/presets/opencode/mcp-ts/adapter-map.json +1 -1
  591. package/presets/opencode/mcp-ts/agents/build-verifier.md +17 -0
  592. package/presets/opencode/mcp-ts/agents/feature-developer.md +22 -0
  593. package/presets/opencode/mcp-ts/agents/security-reviewer.md +15 -0
  594. package/presets/opencode/mcp-ts/agents/solution-architect.md +15 -0
  595. package/presets/opencode/mcp-ts/agents/task-analyst.md +15 -0
  596. package/presets/opencode/mcp-ts/agents/task-router.md +15 -0
  597. package/presets/opencode/mcp-ts/opencode.json +14 -0
  598. package/presets/opencode/mcp-ts/rules/README.md +7 -2
  599. package/presets/opencode/next/OPENCODE.md +15 -1
  600. package/presets/opencode/next/adapter-map.json +58 -2
  601. package/presets/opencode/next/agents/accessibility-reviewer.md +17 -0
  602. package/presets/opencode/next/agents/api-contract-reviewer.md +19 -0
  603. package/presets/opencode/next/agents/build-verifier.md +17 -0
  604. package/presets/opencode/next/agents/ci-investigator.md +34 -0
  605. package/presets/opencode/next/agents/code-reviewer.md +18 -0
  606. package/presets/opencode/next/agents/codebase-analyzer.md +17 -0
  607. package/presets/opencode/next/agents/debugger.md +34 -0
  608. package/presets/opencode/next/agents/feature-developer.md +34 -0
  609. package/presets/opencode/next/agents/migration-specialist.md +17 -0
  610. package/presets/opencode/next/agents/mockup-reviewer.md +17 -0
  611. package/presets/opencode/next/agents/openspec-author.md +17 -0
  612. package/presets/opencode/next/agents/performance-auditor.md +17 -0
  613. package/presets/opencode/next/agents/playwright-test-generator.md +19 -0
  614. package/presets/opencode/next/agents/playwright-test-healer.md +19 -0
  615. package/presets/opencode/next/agents/playwright-test-planner.md +19 -0
  616. package/presets/opencode/next/agents/qa-tester.md +20 -0
  617. package/presets/opencode/next/agents/security-reviewer.md +17 -0
  618. package/presets/opencode/next/agents/solution-architect.md +17 -0
  619. package/presets/opencode/next/agents/task-analyst.md +17 -0
  620. package/presets/opencode/next/agents/task-router.md +17 -0
  621. package/presets/opencode/next/agents/tech-writer.md +17 -0
  622. package/presets/opencode/next/agents/unit-test-generator.md +18 -0
  623. package/presets/opencode/next/agents/unit-test-healer.md +18 -0
  624. package/presets/opencode/next/agents/unit-test-planner.md +18 -0
  625. package/presets/opencode/next/ai-local/rules-library/agent-artifacts-no-local-paths.md +38 -0
  626. package/presets/opencode/next/ai-local/rules-library/commit-hygiene.md +17 -0
  627. package/presets/opencode/next/ai-local/rules-library/mcp-required-for-ui-layout.md +41 -0
  628. package/presets/opencode/next/ai-local/rules-library/no-test-driven-behavior-change.md +14 -0
  629. package/presets/opencode/next/ai-local/rules-library/pre-pr-checklist.md +16 -0
  630. package/presets/opencode/next/ai-local/rules-library/router-pages.md +23 -0
  631. package/presets/opencode/next/ai-local/rules-library/single-source-copy-constants.md +16 -0
  632. package/presets/opencode/next/opencode.json +19 -0
  633. package/presets/opencode/next/rules/README.md +7 -2
  634. package/presets/opencode/nuxt/OPENCODE.md +15 -1
  635. package/presets/opencode/nuxt/adapter-map.json +1 -1
  636. package/presets/opencode/nuxt/agents/accessibility-reviewer.md +17 -0
  637. package/presets/opencode/nuxt/agents/api-contract-reviewer.md +19 -0
  638. package/presets/opencode/nuxt/agents/build-verifier.md +17 -0
  639. package/presets/opencode/nuxt/agents/ci-investigator.md +34 -0
  640. package/presets/opencode/nuxt/agents/code-reviewer.md +18 -0
  641. package/presets/opencode/nuxt/agents/codebase-analyzer.md +17 -0
  642. package/presets/opencode/nuxt/agents/debugger.md +34 -0
  643. package/presets/opencode/nuxt/agents/feature-developer.md +34 -0
  644. package/presets/opencode/nuxt/agents/migration-specialist.md +17 -0
  645. package/presets/opencode/nuxt/agents/mockup-reviewer.md +17 -0
  646. package/presets/opencode/nuxt/agents/openspec-author.md +17 -0
  647. package/presets/opencode/nuxt/agents/performance-auditor.md +17 -0
  648. package/presets/opencode/nuxt/agents/playwright-test-generator.md +19 -0
  649. package/presets/opencode/nuxt/agents/playwright-test-healer.md +19 -0
  650. package/presets/opencode/nuxt/agents/playwright-test-planner.md +19 -0
  651. package/presets/opencode/nuxt/agents/qa-tester.md +20 -0
  652. package/presets/opencode/nuxt/agents/security-reviewer.md +17 -0
  653. package/presets/opencode/nuxt/agents/solution-architect.md +17 -0
  654. package/presets/opencode/nuxt/agents/task-analyst.md +17 -0
  655. package/presets/opencode/nuxt/agents/task-router.md +17 -0
  656. package/presets/opencode/nuxt/agents/tech-writer.md +17 -0
  657. package/presets/opencode/nuxt/agents/unit-test-generator.md +18 -0
  658. package/presets/opencode/nuxt/agents/unit-test-healer.md +18 -0
  659. package/presets/opencode/nuxt/agents/unit-test-planner.md +18 -0
  660. package/presets/opencode/nuxt/opencode.json +19 -0
  661. package/presets/opencode/nuxt/rules/README.md +7 -2
  662. package/presets/opencode/php-hexagonal/OPENCODE.md +15 -1
  663. package/presets/opencode/php-hexagonal/adapter-map.json +1 -1
  664. package/presets/opencode/php-hexagonal/agents/api-contract-reviewer.md +17 -0
  665. package/presets/opencode/php-hexagonal/agents/build-verifier.md +17 -0
  666. package/presets/opencode/php-hexagonal/agents/ci-investigator.md +29 -0
  667. package/presets/opencode/php-hexagonal/agents/code-reviewer.md +16 -0
  668. package/presets/opencode/php-hexagonal/agents/codebase-analyzer.md +15 -0
  669. package/presets/opencode/php-hexagonal/agents/debugger.md +29 -0
  670. package/presets/opencode/php-hexagonal/agents/feature-developer.md +29 -0
  671. package/presets/opencode/php-hexagonal/agents/integration-test-generator.md +17 -0
  672. package/presets/opencode/php-hexagonal/agents/integration-test-healer.md +17 -0
  673. package/presets/opencode/php-hexagonal/agents/integration-test-planner.md +17 -0
  674. package/presets/opencode/php-hexagonal/agents/migration-specialist.md +15 -0
  675. package/presets/opencode/php-hexagonal/agents/openspec-author.md +15 -0
  676. package/presets/opencode/php-hexagonal/agents/performance-auditor.md +15 -0
  677. package/presets/opencode/php-hexagonal/agents/qa-tester.md +18 -0
  678. package/presets/opencode/php-hexagonal/agents/security-reviewer.md +15 -0
  679. package/presets/opencode/php-hexagonal/agents/solution-architect.md +15 -0
  680. package/presets/opencode/php-hexagonal/agents/task-analyst.md +15 -0
  681. package/presets/opencode/php-hexagonal/agents/task-router.md +15 -0
  682. package/presets/opencode/php-hexagonal/agents/tech-writer.md +15 -0
  683. package/presets/opencode/php-hexagonal/agents/unit-test-generator.md +16 -0
  684. package/presets/opencode/php-hexagonal/agents/unit-test-healer.md +16 -0
  685. package/presets/opencode/php-hexagonal/agents/unit-test-planner.md +16 -0
  686. package/presets/opencode/php-hexagonal/opencode.json +14 -0
  687. package/presets/opencode/php-hexagonal/rules/README.md +7 -2
  688. package/presets/opencode/php-laravel/OPENCODE.md +15 -1
  689. package/presets/opencode/php-laravel/adapter-map.json +1 -1
  690. package/presets/opencode/php-laravel/agents/api-contract-reviewer.md +18 -0
  691. package/presets/opencode/php-laravel/agents/build-verifier.md +17 -0
  692. package/presets/opencode/php-laravel/agents/ci-investigator.md +29 -0
  693. package/presets/opencode/php-laravel/agents/code-reviewer.md +16 -0
  694. package/presets/opencode/php-laravel/agents/codebase-analyzer.md +15 -0
  695. package/presets/opencode/php-laravel/agents/debugger.md +29 -0
  696. package/presets/opencode/php-laravel/agents/feature-developer.md +29 -0
  697. package/presets/opencode/php-laravel/agents/integration-test-generator.md +17 -0
  698. package/presets/opencode/php-laravel/agents/integration-test-healer.md +17 -0
  699. package/presets/opencode/php-laravel/agents/integration-test-planner.md +17 -0
  700. package/presets/opencode/php-laravel/agents/migration-specialist.md +15 -0
  701. package/presets/opencode/php-laravel/agents/openspec-author.md +15 -0
  702. package/presets/opencode/php-laravel/agents/performance-auditor.md +15 -0
  703. package/presets/opencode/php-laravel/agents/qa-tester.md +18 -0
  704. package/presets/opencode/php-laravel/agents/security-reviewer.md +15 -0
  705. package/presets/opencode/php-laravel/agents/solution-architect.md +15 -0
  706. package/presets/opencode/php-laravel/agents/task-analyst.md +15 -0
  707. package/presets/opencode/php-laravel/agents/task-router.md +15 -0
  708. package/presets/opencode/php-laravel/agents/tech-writer.md +15 -0
  709. package/presets/opencode/php-laravel/agents/unit-test-generator.md +16 -0
  710. package/presets/opencode/php-laravel/agents/unit-test-healer.md +16 -0
  711. package/presets/opencode/php-laravel/agents/unit-test-planner.md +16 -0
  712. package/presets/opencode/php-laravel/opencode.json +14 -0
  713. package/presets/opencode/php-laravel/rules/README.md +7 -2
  714. package/presets/opencode/svelte/OPENCODE.md +15 -1
  715. package/presets/opencode/svelte/adapter-map.json +1 -1
  716. package/presets/opencode/svelte/agents/accessibility-reviewer.md +17 -0
  717. package/presets/opencode/svelte/agents/api-contract-reviewer.md +19 -0
  718. package/presets/opencode/svelte/agents/build-verifier.md +17 -0
  719. package/presets/opencode/svelte/agents/ci-investigator.md +34 -0
  720. package/presets/opencode/svelte/agents/code-reviewer.md +18 -0
  721. package/presets/opencode/svelte/agents/codebase-analyzer.md +17 -0
  722. package/presets/opencode/svelte/agents/debugger.md +34 -0
  723. package/presets/opencode/svelte/agents/feature-developer.md +34 -0
  724. package/presets/opencode/svelte/agents/migration-specialist.md +17 -0
  725. package/presets/opencode/svelte/agents/mockup-reviewer.md +17 -0
  726. package/presets/opencode/svelte/agents/openspec-author.md +17 -0
  727. package/presets/opencode/svelte/agents/performance-auditor.md +17 -0
  728. package/presets/opencode/svelte/agents/playwright-test-generator.md +19 -0
  729. package/presets/opencode/svelte/agents/playwright-test-healer.md +19 -0
  730. package/presets/opencode/svelte/agents/playwright-test-planner.md +19 -0
  731. package/presets/opencode/svelte/agents/qa-tester.md +20 -0
  732. package/presets/opencode/svelte/agents/security-reviewer.md +17 -0
  733. package/presets/opencode/svelte/agents/solution-architect.md +17 -0
  734. package/presets/opencode/svelte/agents/task-analyst.md +17 -0
  735. package/presets/opencode/svelte/agents/task-router.md +17 -0
  736. package/presets/opencode/svelte/agents/tech-writer.md +17 -0
  737. package/presets/opencode/svelte/agents/unit-test-generator.md +18 -0
  738. package/presets/opencode/svelte/agents/unit-test-healer.md +18 -0
  739. package/presets/opencode/svelte/agents/unit-test-planner.md +18 -0
  740. package/presets/opencode/svelte/opencode.json +19 -0
  741. package/presets/opencode/svelte/rules/README.md +7 -2
  742. package/scripts/check-claude-agent-blocks.mjs +82 -0
  743. package/scripts/check-preset-structure.sh +9 -0
  744. package/scripts/fixtures/cli-golden/claude/next.json +26 -25
  745. package/scripts/fixtures/cli-golden/cursor/next.json +7 -0
  746. package/scripts/fixtures/cli-golden/mavis/android-kotlin.json +25 -25
  747. package/scripts/fixtures/cli-golden/mavis/go.json +23 -23
  748. package/scripts/fixtures/cli-golden/mavis/ios-swift.json +25 -25
  749. package/scripts/fixtures/cli-golden/mavis/java.json +23 -23
  750. package/scripts/fixtures/cli-golden/mavis/mcp-ts.json +7 -7
  751. package/scripts/fixtures/cli-golden/mavis/next.json +32 -25
  752. package/scripts/fixtures/cli-golden/mavis/nuxt.json +25 -25
  753. package/scripts/fixtures/cli-golden/mavis/php-hexagonal.json +23 -23
  754. package/scripts/fixtures/cli-golden/mavis/php-laravel.json +23 -23
  755. package/scripts/fixtures/cli-golden/mavis/svelte.json +25 -25
  756. package/scripts/fixtures/cli-golden/opencode/android-kotlin.json +27 -27
  757. package/scripts/fixtures/cli-golden/opencode/go.json +25 -25
  758. package/scripts/fixtures/cli-golden/opencode/ios-swift.json +27 -27
  759. package/scripts/fixtures/cli-golden/opencode/java.json +25 -25
  760. package/scripts/fixtures/cli-golden/opencode/mcp-ts.json +9 -9
  761. package/scripts/fixtures/cli-golden/opencode/next.json +34 -27
  762. package/scripts/fixtures/cli-golden/opencode/nuxt.json +27 -27
  763. package/scripts/fixtures/cli-golden/opencode/php-hexagonal.json +25 -25
  764. package/scripts/fixtures/cli-golden/opencode/php-laravel.json +25 -25
  765. package/scripts/fixtures/cli-golden/opencode/svelte.json +27 -27
  766. package/scripts/inject-claude-agent-rules-block.mjs +83 -0
  767. package/scripts/lib/generate-adapter-common.mjs +182 -0
  768. package/scripts/lib/generate-mavis-adapter.mjs +45 -9
  769. package/scripts/lib/generate-opencode-adapter.mjs +68 -11
  770. package/scripts/lib/stack-platform-profiles.mjs +321 -1
  771. package/scripts/sync-claude-harness-wiring.mjs +56 -0
  772. package/scripts/sync-claude-settings.mjs +56 -0
  773. package/scripts/test-cli-mcp-merge.mjs +54 -0
@@ -11,6 +11,23 @@ permission:
11
11
 
12
12
  Write team artifacts under `.ai.local/team/**` and scoped files (`docs/**`). Do not edit production code.
13
13
 
14
+ ## Rules to load (subagent context)
15
+
16
+ This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
17
+
18
+ - `.opencode/rules/next-app-core.md`
19
+ - `.opencode/rules/package-manager.md`
20
+ - `.opencode/rules/code-quality-and-refactoring.md`
21
+ - `.opencode/rules/ai-local-overlay.md`
22
+ - `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
23
+ - `.opencode/rules/feature-delivery-workflow.md` — layer order, mockup gate, ux-design gate
24
+ - `.opencode/rules/reference-features.md` — analog files first
25
+ - `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
26
+ - `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
27
+ - `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
28
+
29
+ Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
30
+
14
31
  You are a technical writer for a Next.js frontend team.
15
32
 
16
33
  ## Inputs
@@ -6,6 +6,24 @@ permission:
6
6
  edit: allow
7
7
  ---
8
8
 
9
+ ## Rules to load (subagent context)
10
+
11
+ This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
12
+
13
+ - `.opencode/rules/next-app-core.md`
14
+ - `.opencode/rules/package-manager.md`
15
+ - `.opencode/rules/code-quality-and-refactoring.md`
16
+ - `.opencode/rules/ai-local-overlay.md`
17
+ - `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
18
+ - `.opencode/rules/feature-delivery-workflow.md` — layer order, mockup gate, ux-design gate
19
+ - `.opencode/rules/reference-features.md` — analog files first
20
+ - `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
21
+ - `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
22
+ - `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
23
+ - `.opencode/rules/tests-unit.md`
24
+
25
+ Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
26
+
9
27
  You generate unit tests from project test plans.
10
28
 
11
29
  ## Inputs
@@ -6,6 +6,24 @@ permission:
6
6
  edit: allow
7
7
  ---
8
8
 
9
+ ## Rules to load (subagent context)
10
+
11
+ This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
12
+
13
+ - `.opencode/rules/next-app-core.md`
14
+ - `.opencode/rules/package-manager.md`
15
+ - `.opencode/rules/code-quality-and-refactoring.md`
16
+ - `.opencode/rules/ai-local-overlay.md`
17
+ - `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
18
+ - `.opencode/rules/feature-delivery-workflow.md` — layer order, mockup gate, ux-design gate
19
+ - `.opencode/rules/reference-features.md` — analog files first
20
+ - `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
21
+ - `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
22
+ - `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
23
+ - `.opencode/rules/tests-unit.md`
24
+
25
+ Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
26
+
9
27
  You debug and fix failing unit tests.
10
28
 
11
29
  ## Inputs
@@ -10,6 +10,24 @@ permission:
10
10
 
11
11
  Write only team artifacts under `.ai.local/team/**`. Do not edit production code.
12
12
 
13
+ ## Rules to load (subagent context)
14
+
15
+ This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
16
+
17
+ - `.opencode/rules/next-app-core.md`
18
+ - `.opencode/rules/package-manager.md`
19
+ - `.opencode/rules/code-quality-and-refactoring.md`
20
+ - `.opencode/rules/ai-local-overlay.md`
21
+ - `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
22
+ - `.opencode/rules/feature-delivery-workflow.md` — layer order, mockup gate, ux-design gate
23
+ - `.opencode/rules/reference-features.md` — analog files first
24
+ - `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
25
+ - `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
26
+ - `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
27
+ - `.opencode/rules/tests-unit.md`
28
+
29
+ Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
30
+
13
31
  You are a unit test planner for a Next.js frontend with Jest/Vitest and Testing Library.
14
32
 
15
33
  Use the **`unit-testing` skill** and **`tests-unit.md`**.
@@ -0,0 +1,38 @@
1
+ glob: always
2
+
3
+ ## Body
4
+
5
+ # Agent artifacts: no local machine paths
6
+
7
+ When this rule applies, acknowledge: `Using .ai.local: agent-artifacts-no-local-paths(, …)*`.
8
+
9
+ Committed agent artifacts leak into git history. Absolute host paths expose the developer machine layout even if the file is deleted in a later MR.
10
+
11
+ ## Forbidden
12
+
13
+ Do **not** write host-absolute paths, including:
14
+
15
+ - `/Users/<username>/…` (macOS)
16
+ - `/home/<username>/…` (Linux)
17
+ - `C:\Users\<username>\…` and `C:/Users/<username>/…` (Windows)
18
+ - Any other absolute checkout root.
19
+
20
+ Do **not** put those strings in `productionTarget.root`, `instructions[]`, summaries, or evidence lists.
21
+
22
+ ## Required instead
23
+
24
+ - This repo: path from workspace root (`src/…`, `.ai.local/team/tasks/<slug>/pipeline.json`).
25
+ - Task-local artifacts: basename is enough (`pipeline.json`, `brief.md`) when the file lives in the same task directory.
26
+ - Sibling / other repo: **repo name** + repo-relative path. Never the filesystem location of that checkout.
27
+
28
+ ## Gate before finishing a write
29
+
30
+ After writing or editing a team artifact, scan the file (and any JSON you are about to write) for `/Users/`, `/home/`, `C:\Users`, `C:/Users`. If any match, rewrite to repo-relative **before** considering the step done.
31
+
32
+ Deleting a leaked file later does **not** remove it from git history — prevention is the only fix.
33
+
34
+ ## Allowed (not this ban)
35
+
36
+ - Repo-relative paths, `@/` aliases, URL paths (`/api/…`).
37
+ - Public URLs (`https://…`, `figma.com/…`).
38
+ - Ephemeral local logs that are **not** committed.
@@ -0,0 +1,17 @@
1
+ glob: always
2
+
3
+ ## Body
4
+
5
+ # Commit hygiene
6
+
7
+ When committing or preparing a commit, acknowledge: `Using .ai.local: commit-hygiene(, …)*`.
8
+
9
+ Agents do not run `git commit`/`git push`. This rule constrains the **human commit step** and the agent's end-of-turn commit guidance.
10
+
11
+ ## Rules
12
+
13
+ - **One area per commit.** Do not mix unrelated feature areas or layers in one commit. A commit that spans more than one area tag (or >~40 files) must be split, or the split must be justified in the message.
14
+ - **Never mix trees.** Do not put `src/**` (or any product path) in the same commit as `**/team/tasks/**`, `openspec/**`, `docs/**`, storybook baselines, or config. Artifact/doc churn and source changes go in separate commits.
15
+ - **Owning slug required.** Every commit touching `src/**` names its task slug or ticket id in the subject/body. "cleanup", "restore", "rename", "fix review comments" are not exemptions.
16
+ - **No debug residue.** Do not commit `= true` debug flags, commented-out blocks, or unused exports.
17
+ - **Spike ≠ ship.** A `spike`/`research` task does not commit `src/**` behaviour.
@@ -0,0 +1,41 @@
1
+ globs: src/ui/**
2
+
3
+ ## Body
4
+
5
+ # MCP access gate for UI layout work (strict)
6
+
7
+ Before **any** markup/layout implementation or refactor under `src/ui/**` (JSX structure, Linaria/styled-components, breakpoints, spacing, alignment, CTA placement, card/panel geometry), the agent MUST verify the **session MCP catalog** — it is the source of truth, not this file, not `opencode.json`, not `.opencode/MCP.md`.
8
+
9
+ Acknowledge: `Using .ai.local: mcp-required-for-ui-layout(, …)*`.
10
+
11
+ ## Categorical ban — layout implementation without Figma MCP **and** Storybook MCP
12
+
13
+ Implementing or refactoring UI markup/layout is **FORBIDDEN** unless BOTH servers are fully available and usable **in the current session**:
14
+
15
+ 1. **Figma MCP** — can read the real design node: `get_design_context` / `get_metadata` / `get_screenshot` / `get_variable_defs` for the target frame(s). A static image, exported PNG, or someone's description is **not** full access.
16
+ 2. **Storybook MCP** — can read story instructions and run the visual/test gate. With `@storybook/addon-mcp` (served by the running dev server at `/mcp`) the real tools are: `get-storybook-story-instructions`, `stories-preview`, `test-run` (docs: `docs-list` / `docs-show`). Tool names differ per MCP implementation — discover them from the session catalog; do not assume names.
17
+
18
+ If either server is missing, `error`, `needsAuth`, or `loading`:
19
+
20
+ - **STOP.** Do not edit layout/markup/styles. Do not "approximate from memory".
21
+ - Report exactly: `Blocked: <figma|storybook> MCP unavailable — layout implementation banned (mcp-required-for-ui-layout).`
22
+ - Ask the operator to configure/authenticate the MCP, or to **explicitly change this rule**. The agent MUST NOT self-waive.
23
+
24
+ A running Storybook dev server (e.g. `localhost:6006`) reached through a browser MCP (chrome-devtools / Playwright) is **not** a substitute for Storybook MCP tooling.
25
+
26
+ ## Playwright MCP — mandatory warning + confirmation
27
+
28
+ If Playwright MCP is unavailable during UI work:
29
+
30
+ - Emit a **visible warning** in the turn output (do not bury it).
31
+ - Do **not** start layout work or its verification until the operator confirms (`yes` / `no`).
32
+ - Rationale: Playwright is the fallback for composed-frame, breakpoint, and interaction checks that Storybook MCP cannot cover.
33
+
34
+ ## Scope
35
+
36
+ - **Banned:** writing/editing layout, markup, styles, breakpoints, spacing, alignment, CTA placement under `src/ui/**`.
37
+ - **Allowed without the gate:** read-only investigation, comparing an existing implementation against a mockup, writing review artifacts (`mockup-review.md`, `perf-report.md`, …). The ban is on implementation, not on analysis.
38
+
39
+ ## Reference
40
+
41
+ Project strict rule: `.ai.local/rules/00-strict-rules.md`. Adapt the path for your repo (this seed uses `.ai.local`).
@@ -0,0 +1,14 @@
1
+ globs: src/**/*.{ts,tsx}
2
+
3
+ ## Body
4
+
5
+ # Tests adapt to the product, not the reverse
6
+
7
+ When editing `src`, tests, or stories, acknowledge: `Using .ai.local: no-test-driven-behavior-change(, …)*`.
8
+
9
+ ## Rules
10
+
11
+ - Do not change production behaviour (`src/**`) to make a test, story, or e2e case reachable. Fix the test, the fixture, or the mock instead.
12
+ - If a test reveals a genuine product gap, file it as a task; do not silently ship the behaviour change inside a "test stabilisation" commit.
13
+ - Never rewrite `*.cases.md` / QA prose to match an unintended behaviour change. Prose changes that hide a behaviour change are a `blocker` for `code-reviewer`.
14
+ - Removing a `test`/`snapshot` tag or commenting out `play` to go green is forbidden.
@@ -0,0 +1,16 @@
1
+ glob: always
2
+
3
+ ## Body
4
+
5
+ # Pre-PR checklist
6
+
7
+ Before opening a PR / finishing a branch, acknowledge: `Using .ai.local: pre-pr-checklist(, …)*`.
8
+
9
+ ## Checklist
10
+
11
+ - [ ] Commits split: source / artifacts / docs; one area each; no mixed trees
12
+ - [ ] `git status` clean of temp dumps, `* (1).*` copies, debug flags
13
+ - [ ] Lint + type-check + targeted unit + storybook vitest green
14
+ - [ ] e2e plan executed for user-flow AC; mock-path regexes match ≥1 route
15
+ - [ ] L2/L3 `proposal.md` claims reconcile with the shipped diff
16
+ - [ ] Review artifacts cite the reviewed revision (sha)
@@ -0,0 +1,23 @@
1
+ override: kill next-app-router
2
+ globs: src/pages/**/*.{ts,tsx},src/ui/**/*.{ts,tsx},next.config.ts
3
+
4
+ ## Body
5
+
6
+ # Routing — Pages Router (not App Router)
7
+
8
+ When doing routing / page / navigation work, acknowledge: `Using .ai.local: router-pages(, …)*`.
9
+
10
+ This rule drops the preset's `next-app-router` rule from context for repos using the **Next.js Pages Router**. Enable by moving this file into `.ai.local/rules/` (it is staged-inactive in `.ai.local/rules-library/` by default).
11
+
12
+ ## Rules
13
+
14
+ - Route files live in `src/pages/<route>/index.tsx` (or `<route>.tsx`), thin wrappers.
15
+ - Domain UI lives in `src/ui/pages/<Name>Page`; route files do not contain layout/business logic.
16
+ - Navigation: `next/router` (`useRouter`) and `next/link`. **Never** `next/navigation`.
17
+ - `_app.tsx` / `_document.tsx` stay in `src/pages/`.
18
+
19
+ ## Forbidden
20
+
21
+ - Creating App Router files (`src/app/**`, `page.tsx`, `layout.tsx`, `loading.tsx`, `error.tsx`, `route.ts`).
22
+ - Importing `next/navigation` or App Router server APIs (`cookies()`, `headers()`, `redirect()`).
23
+ - `getServerSideProps` / `getStaticProps` — the app is a client-rendered static export; data goes through the store/`@/api`.
@@ -0,0 +1,16 @@
1
+ globs: src/**/*.{ts,tsx}
2
+
3
+ ## Body
4
+
5
+ # Single source for copy, constants, enums, routes
6
+
7
+ When editing `src/**`, acknowledge: `Using .ai.local: single-source-copy-constants(, …)*`.
8
+
9
+ Copy (button labels, headings, alt text, aria-labels), constants, enums, and route paths live in **one** owner module. Components import from that module — they do not redeclare literals.
10
+
11
+ ## Rules
12
+
13
+ - User-visible copy: inline unless the same string is used in ≥2 distinct places OR is consumed by tests/stories that need a shared reference. Multi-instance refactors belong to a dedicated task.
14
+ - Numeric / pixel / token aliases: inline directly; do not re-wrap into a named constant when used exactly once in the same file.
15
+ - Counters and derived single-use values: inline (`array.length`, computed expressions).
16
+ - Layout sizes of one component (skeleton `height`/`width`/`maxWidth`, one-off `px`) stay as literals in the JSX prop or in `styles.ts`. Do not hoist them into named constants or a `*.data.ts`, even when the same number is repeated in that component's JSX and its styles.
@@ -1,5 +1,24 @@
1
1
  {
2
2
  "$schema": "https://opencode.ai/config.json",
3
+ "instructions": [
4
+ ".opencode/AGENTS.md",
5
+ ".opencode/rules/next-app-core.md",
6
+ ".opencode/rules/package-manager.md",
7
+ ".opencode/rules/code-quality-and-refactoring.md",
8
+ ".opencode/rules/ai-local-overlay.md"
9
+ ],
10
+ "permission": {
11
+ "bash": {
12
+ "*": "allow",
13
+ "git commit *": "deny",
14
+ "git push *": "deny",
15
+ "npm *": "ask",
16
+ "npx *": "ask",
17
+ "pnpm *": "ask",
18
+ "bun *": "ask",
19
+ "npx jest*": "deny"
20
+ }
21
+ },
3
22
  "mcp": {
4
23
  "context7": {
5
24
  "type": "local",
@@ -4,8 +4,13 @@ Plain Markdown. OpenCode does **not** auto-load these files. Root `AGENTS.md`
4
4
  and `.opencode/AGENTS.md` list four essential paths to Read immediately; the
5
5
  rest are lazy-loaded when the task matches.
6
6
 
7
- Do not put this catalog into `opencode.json` `instructions` as the only
8
- always-on path (V2 may ignore that field).
7
+ Subagent tasks (`Task`/`@name`) start blank and never read these rule files;
8
+ the **authoritative** mechanism is the `## Rules to load (subagent context)`
9
+ block injected into every `.opencode/agents/*.md`. The preset also adds a
10
+ compact `opencode.json` `instructions` list (alwaysOn paths +
11
+ `.opencode/AGENTS.md`) as a hedge for the parent context, with
12
+ `bin/opencode-install.js` filling-if-absent on re-init; do **not** treat
13
+ `instructions` as the only always-on path (V2 may ignore the field).
9
14
 
10
15
  ## Essential (entry-critical)
11
16
 
@@ -24,6 +24,19 @@ Root `AGENTS.md` is native always-on. Read it first, then this file.
24
24
 
25
25
  See `.opencode/rules/README.md` for the full catalog and loading strategy.
26
26
 
27
+ ## Harness wiring
28
+
29
+ - `opencode.json` carries a compact `instructions` list (always-on rule
30
+ paths + `.opencode/AGENTS.md`) and a harness-level `permission.bash`
31
+ block. On re-init, `mergeOpencodeConfig` unions preset instruction paths
32
+ into the consumer list and fills missing bash keys. Extra paths and
33
+ same-key overrides stay.
34
+ - **Subagent rules** are re-declared inside every `.opencode/agents/*.md`
35
+ via the `## Rules to load (subagent context)` block (always-on + zone
36
+ rules filtered to stems that exist for this stack). `Task`-launched
37
+ subagents do not inherit the parent's `instructions`, so this block
38
+ is the authoritative mechanism.
39
+
27
40
  **Platform docs:** published with the `@bonesofspring/ai-rules` package
28
41
  (`docs/OPENCODE.md`, `docs/OPENCODE-COMPATIBILITY.md`) — **not** copied into
29
42
  the consumer repo. Source: https://github.com/bonesofspring/ai-rules
@@ -62,4 +75,5 @@ npx @bonesofspring/ai-rules init opencode --preset nuxt
62
75
 
63
76
  Copies rules, commands, agents, hooks, skills, `OPENCODE.md` →
64
77
  `.opencode/AGENTS.md`, `MCP.md`, `opencode.json` → project `opencode.json`
65
- (`mcp` merge), plus `REPO_AGENTS.md` → root `AGENTS.md`. Seeds `.ai.local/team/`.
78
+ (`mcp` merge, instruction-path union, missing bash keys), plus
79
+ `REPO_AGENTS.md` → root `AGENTS.md`. Seeds `.ai.local/team/`.
@@ -330,7 +330,7 @@
330
330
  "category": "mcp",
331
331
  "disposition": "transform",
332
332
  "loadMode": "manual",
333
- "reason": "Cursor mcp.json → opencode.json mcp (local/remote types)"
333
+ "reason": "Cursor mcp.json → opencode.json mcp (local/remote types); emits permission.bash + compact instructions"
334
334
  },
335
335
  {
336
336
  "source": "rules/agent-team-intake.mdc",
@@ -10,6 +10,23 @@ permission:
10
10
 
11
11
  Write only team artifacts under `.ai.local/team/**`. Do not edit production code.
12
12
 
13
+ ## Rules to load (subagent context)
14
+
15
+ This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
16
+
17
+ - `.opencode/rules/nuxt-app-core.md`
18
+ - `.opencode/rules/package-manager.md`
19
+ - `.opencode/rules/code-quality-and-refactoring.md`
20
+ - `.opencode/rules/ai-local-overlay.md`
21
+ - `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
22
+ - `.opencode/rules/feature-delivery-workflow.md` — layer order, mockup gate, ux-design gate
23
+ - `.opencode/rules/reference-features.md` — analog files first
24
+ - `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
25
+ - `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
26
+ - `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
27
+
28
+ Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
29
+
13
30
  You are an accessibility reviewer for a Nuxt 3 Vue frontend.
14
31
 
15
32
  ## Inputs
@@ -10,6 +10,25 @@ permission:
10
10
 
11
11
  Write only team artifacts under `.ai.local/team/**`. Do not edit production code.
12
12
 
13
+ ## Rules to load (subagent context)
14
+
15
+ This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
16
+
17
+ - `.opencode/rules/nuxt-app-core.md`
18
+ - `.opencode/rules/package-manager.md`
19
+ - `.opencode/rules/code-quality-and-refactoring.md`
20
+ - `.opencode/rules/ai-local-overlay.md`
21
+ - `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
22
+ - `.opencode/rules/feature-delivery-workflow.md` — layer order, mockup gate, ux-design gate
23
+ - `.opencode/rules/reference-features.md` — analog files first
24
+ - `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
25
+ - `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
26
+ - `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
27
+ - `.opencode/rules/api-services.md`
28
+ - `.opencode/rules/http-client.md`
29
+
30
+ Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
31
+
13
32
  You are an API contract reviewer for a layered Nuxt 3 frontend (`@/types`, `@/api`, store, UI).
14
33
 
15
34
  ## Inputs
@@ -10,6 +10,23 @@ permission:
10
10
 
11
11
  Write only team artifacts under `.ai.local/team/**`. Do not edit production code.
12
12
 
13
+ ## Rules to load (subagent context)
14
+
15
+ This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
16
+
17
+ - `.opencode/rules/nuxt-app-core.md`
18
+ - `.opencode/rules/package-manager.md`
19
+ - `.opencode/rules/code-quality-and-refactoring.md`
20
+ - `.opencode/rules/ai-local-overlay.md`
21
+ - `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
22
+ - `.opencode/rules/feature-delivery-workflow.md` — layer order, mockup gate, ux-design gate
23
+ - `.opencode/rules/reference-features.md` — analog files first
24
+ - `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
25
+ - `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
26
+ - `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
27
+
28
+ Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
29
+
13
30
  You are a build verification specialist. You **validate** implementation quality before code review — you do not edit production code or tests.
14
31
 
15
32
  **SSOT for full validation in pipeline:** run complete **`lint:js`**, **`lint:css`**, and **`typecheck`** from repository root even if feature-developer ran scoped checks.
@@ -6,6 +6,40 @@ permission:
6
6
  edit: allow
7
7
  ---
8
8
 
9
+ ## Rules to load (subagent context)
10
+
11
+ This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
12
+
13
+ - `.opencode/rules/nuxt-app-core.md`
14
+ - `.opencode/rules/package-manager.md`
15
+ - `.opencode/rules/code-quality-and-refactoring.md`
16
+ - `.opencode/rules/ai-local-overlay.md`
17
+ - `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
18
+ - `.opencode/rules/feature-delivery-workflow.md` — layer order, mockup gate, ux-design gate
19
+ - `.opencode/rules/reference-features.md` — analog files first
20
+ - `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
21
+ - `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
22
+ - `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
23
+ - `.opencode/rules/public-imports.md` — @/types, @/api barrels
24
+ - `.opencode/rules/vue-ui.md`
25
+ - `.opencode/rules/store-pinia.md`
26
+ - `.opencode/rules/vue-nuxt-anti-hallucination.md`
27
+ - `.opencode/rules/no-v-bind-spread.md`
28
+ - `.opencode/rules/no-type-assertion-as-import-export.md`
29
+ - `.opencode/rules/architecture-boundaries-ui.md`
30
+ - `.opencode/rules/css-property-order-stylelint.md`
31
+ - `.opencode/rules/layer-barrel-exports.md`
32
+ - `.opencode/rules/navigation-router-stack.md`
33
+ - `.opencode/rules/navigation-router-ui.md`
34
+ - `.opencode/rules/nuxt-pages-routing.md`
35
+ - `.opencode/rules/vue-a11y-coding.md`
36
+ - `.opencode/rules/types-jsdoc.md`
37
+ - `.opencode/rules/script-setup-conventions.md`
38
+ - `.opencode/rules/api-services.md`
39
+ - `.opencode/rules/http-client.md`
40
+
41
+ Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
42
+
9
43
  You are a CI failure investigator for a Nuxt 3 TypeScript frontend monorepo.
10
44
 
11
45
  Use the **`ci-investigation` skill** for the investigation loop.
@@ -10,6 +10,24 @@ permission:
10
10
 
11
11
  Write only review artifacts under `.ai.local/team/**`. Do not edit production code.
12
12
 
13
+ ## Rules to load (subagent context)
14
+
15
+ This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
16
+
17
+ - `.opencode/rules/nuxt-app-core.md`
18
+ - `.opencode/rules/package-manager.md`
19
+ - `.opencode/rules/code-quality-and-refactoring.md`
20
+ - `.opencode/rules/ai-local-overlay.md`
21
+ - `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
22
+ - `.opencode/rules/feature-delivery-workflow.md` — layer order, mockup gate, ux-design gate
23
+ - `.opencode/rules/reference-features.md` — analog files first
24
+ - `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
25
+ - `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
26
+ - `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
27
+ - `.opencode/rules/code-review-mr.md`
28
+
29
+ Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
30
+
13
31
  You are a senior code reviewer. You may write only review artifacts under `.ai.local/team/**` and terminal receipts; do not modify production code.
14
32
 
15
33
  ## Inputs
@@ -10,6 +10,23 @@ permission:
10
10
 
11
11
  Write only team artifacts under `.ai.local/team/**`. Do not edit production code.
12
12
 
13
+ ## Rules to load (subagent context)
14
+
15
+ This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
16
+
17
+ - `.opencode/rules/nuxt-app-core.md`
18
+ - `.opencode/rules/package-manager.md`
19
+ - `.opencode/rules/code-quality-and-refactoring.md`
20
+ - `.opencode/rules/ai-local-overlay.md`
21
+ - `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
22
+ - `.opencode/rules/feature-delivery-workflow.md` — layer order, mockup gate, ux-design gate
23
+ - `.opencode/rules/reference-features.md` — analog files first
24
+ - `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
25
+ - `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
26
+ - `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
27
+
28
+ Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
29
+
13
30
  You are a specialist at understanding HOW this Nuxt 3 codebase works. Document implementation details with precise `path:line` references.
14
31
 
15
32
  ## CRITICAL — explain as-is only
@@ -6,6 +6,40 @@ permission:
6
6
  edit: allow
7
7
  ---
8
8
 
9
+ ## Rules to load (subagent context)
10
+
11
+ This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
12
+
13
+ - `.opencode/rules/nuxt-app-core.md`
14
+ - `.opencode/rules/package-manager.md`
15
+ - `.opencode/rules/code-quality-and-refactoring.md`
16
+ - `.opencode/rules/ai-local-overlay.md`
17
+ - `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
18
+ - `.opencode/rules/feature-delivery-workflow.md` — layer order, mockup gate, ux-design gate
19
+ - `.opencode/rules/reference-features.md` — analog files first
20
+ - `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
21
+ - `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
22
+ - `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
23
+ - `.opencode/rules/public-imports.md` — @/types, @/api barrels
24
+ - `.opencode/rules/vue-ui.md`
25
+ - `.opencode/rules/store-pinia.md`
26
+ - `.opencode/rules/vue-nuxt-anti-hallucination.md`
27
+ - `.opencode/rules/no-v-bind-spread.md`
28
+ - `.opencode/rules/no-type-assertion-as-import-export.md`
29
+ - `.opencode/rules/architecture-boundaries-ui.md`
30
+ - `.opencode/rules/css-property-order-stylelint.md`
31
+ - `.opencode/rules/layer-barrel-exports.md`
32
+ - `.opencode/rules/navigation-router-stack.md`
33
+ - `.opencode/rules/navigation-router-ui.md`
34
+ - `.opencode/rules/nuxt-pages-routing.md`
35
+ - `.opencode/rules/vue-a11y-coding.md`
36
+ - `.opencode/rules/types-jsdoc.md`
37
+ - `.opencode/rules/script-setup-conventions.md`
38
+ - `.opencode/rules/api-services.md`
39
+ - `.opencode/rules/http-client.md`
40
+
41
+ Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
42
+
9
43
  You are an expert debugger for a Nuxt 3 TypeScript frontend. Use the **`debug-investigation` skill** for the investigation loop.
10
44
 
11
45
  ## Inputs
@@ -6,6 +6,40 @@ permission:
6
6
  edit: allow
7
7
  ---
8
8
 
9
+ ## Rules to load (subagent context)
10
+
11
+ This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
12
+
13
+ - `.opencode/rules/nuxt-app-core.md`
14
+ - `.opencode/rules/package-manager.md`
15
+ - `.opencode/rules/code-quality-and-refactoring.md`
16
+ - `.opencode/rules/ai-local-overlay.md`
17
+ - `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
18
+ - `.opencode/rules/feature-delivery-workflow.md` — layer order, mockup gate, ux-design gate
19
+ - `.opencode/rules/reference-features.md` — analog files first
20
+ - `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
21
+ - `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
22
+ - `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
23
+ - `.opencode/rules/public-imports.md` — @/types, @/api barrels
24
+ - `.opencode/rules/vue-ui.md`
25
+ - `.opencode/rules/store-pinia.md`
26
+ - `.opencode/rules/vue-nuxt-anti-hallucination.md`
27
+ - `.opencode/rules/no-v-bind-spread.md`
28
+ - `.opencode/rules/no-type-assertion-as-import-export.md`
29
+ - `.opencode/rules/architecture-boundaries-ui.md`
30
+ - `.opencode/rules/css-property-order-stylelint.md`
31
+ - `.opencode/rules/layer-barrel-exports.md`
32
+ - `.opencode/rules/navigation-router-stack.md`
33
+ - `.opencode/rules/navigation-router-ui.md`
34
+ - `.opencode/rules/nuxt-pages-routing.md`
35
+ - `.opencode/rules/vue-a11y-coding.md`
36
+ - `.opencode/rules/types-jsdoc.md`
37
+ - `.opencode/rules/script-setup-conventions.md`
38
+ - `.opencode/rules/api-services.md`
39
+ - `.opencode/rules/http-client.md`
40
+
41
+ Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
42
+
9
43
  You are a senior frontend developer working in a Nuxt 3 monorepo with strict layer boundaries.
10
44
 
11
45
  ## Before coding
@@ -10,6 +10,23 @@ permission:
10
10
 
11
11
  Write only team artifacts under `.ai.local/team/**`. Do not edit production code.
12
12
 
13
+ ## Rules to load (subagent context)
14
+
15
+ This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
16
+
17
+ - `.opencode/rules/nuxt-app-core.md`
18
+ - `.opencode/rules/package-manager.md`
19
+ - `.opencode/rules/code-quality-and-refactoring.md`
20
+ - `.opencode/rules/ai-local-overlay.md`
21
+ - `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
22
+ - `.opencode/rules/feature-delivery-workflow.md` — layer order, mockup gate, ux-design gate
23
+ - `.opencode/rules/reference-features.md` — analog files first
24
+ - `.opencode/rules/anti-sycophancy-discipline.md` — procedural anti-sycophancy rules
25
+ - `.opencode/rules/post-change-lint.md` — lint/type-check after code edits
26
+ - `.opencode/rules/mcp-usage.md` — when verifying third-party APIs (Context7)
27
+
28
+ Also read matching `.ai.local/rules/*.md` (local overlay) for the active zone, and the project strict rules if present.
29
+
13
30
  You are a migration specialist for a Nuxt 3 frontend with strict layer boundaries.
14
31
 
15
32
  ## Inputs