@bonesofspring/ai-rules 0.2.13 → 0.2.15

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 (908) hide show
  1. package/CHANGELOG.md +36 -1
  2. package/README.md +6 -2
  3. package/bin/cli.js +4 -0
  4. package/package.json +2 -1
  5. package/presets/_shared/README.md +1 -1
  6. package/presets/_shared/core/agent-team/agent-team-intake.md +2 -2
  7. package/presets/_shared/core/agent-team/agent-team-orchestrator.md +4 -4
  8. package/presets/_shared/core/architecture/feature-delivery-workflow.md +27 -27
  9. package/presets/_shared/core/architecture/reference-features.template.md +23 -23
  10. package/presets/_shared/core/meta/preset-layering.md +12 -12
  11. package/presets/_shared/core/meta/preset-no-cross-stack-leakage.md +16 -2
  12. package/presets/_shared/core/meta/preset-pr-checklist.md +6 -6
  13. package/presets/_shared/core/meta/preset-token-budget.md +3 -3
  14. package/presets/_shared/core/meta/preset-twin-sync.md +4 -0
  15. package/presets/_shared/core/quality/code-quality-and-refactoring.md +19 -19
  16. package/presets/_shared/core/quality/design-guidance.md +54 -54
  17. package/presets/_shared/core/review/code-review-mr.md +4 -4
  18. package/presets/_shared/core/review/technical-retro.md +3 -3
  19. package/presets/claude/go/MCP.md +7 -7
  20. package/presets/claude/go/README.md +3 -3
  21. package/presets/claude/go/agents/README.md +2 -2
  22. package/presets/claude/go/agents/build-verifier.md +1 -1
  23. package/presets/claude/go/agents/task-router.md +13 -13
  24. package/presets/claude/go/commands/README.md +8 -8
  25. package/presets/claude/go/commands/feature-continue.md +21 -21
  26. package/presets/claude/go/commands/feature-start.md +16 -16
  27. package/presets/claude/go/commands/task-continue.md +14 -14
  28. package/presets/claude/go/commands/task.md +32 -32
  29. package/presets/claude/go/commands/technical-retro.md +38 -38
  30. package/presets/claude/go/rules/architecture/boundaries.md +10 -10
  31. package/presets/claude/go/rules/stack/README.md +1 -1
  32. package/presets/claude/go/rules/stack/go-app-core.md +11 -11
  33. package/presets/claude/go/rules/tooling-and-review/README.md +1 -1
  34. package/presets/claude/go/rules/tooling-and-review/agent-team-intake.md +2 -2
  35. package/presets/claude/go/rules/tooling-and-review/agent-team-orchestrator.md +4 -4
  36. package/presets/claude/go/rules/tooling-and-review/code-quality.md +21 -20
  37. package/presets/claude/go/rules/tooling-and-review/code-review.md +4 -4
  38. package/presets/claude/go/rules/tooling-and-review/design-guidance.md +54 -54
  39. package/presets/claude/go/rules/tooling-and-review/post-change-test.md +1 -1
  40. package/presets/claude/go/rules/tooling-and-review/preset-layering.md +12 -12
  41. package/presets/claude/go/rules/tooling-and-review/preset-no-cross-stack-leakage.md +16 -2
  42. package/presets/claude/go/rules/tooling-and-review/preset-pr-checklist.md +6 -6
  43. package/presets/claude/go/rules/tooling-and-review/preset-token-budget.md +3 -3
  44. package/presets/claude/go/rules/tooling-and-review/preset-twin-sync.md +4 -0
  45. package/presets/claude/go/rules/tooling-and-review/technical-retro.md +3 -3
  46. package/presets/claude/go/team/README.md +1 -1
  47. package/presets/claude/ios-swift/CLAUDE.md +16 -16
  48. package/presets/claude/ios-swift/MCP.md +10 -8
  49. package/presets/claude/ios-swift/README.md +8 -8
  50. package/presets/claude/ios-swift/agents/README.md +11 -11
  51. package/presets/claude/ios-swift/agents/build-verifier.md +2 -2
  52. package/presets/claude/ios-swift/agents/feature-developer.md +1 -1
  53. package/presets/claude/ios-swift/agents/task-analyst.md +1 -1
  54. package/presets/claude/ios-swift/agents/task-router.md +18 -18
  55. package/presets/claude/ios-swift/commands/README.md +48 -10
  56. package/presets/claude/ios-swift/commands/feature-continue.md +9 -41
  57. package/presets/claude/ios-swift/commands/feature-start.md +19 -16
  58. package/presets/claude/ios-swift/commands/task-continue.md +14 -14
  59. package/presets/claude/ios-swift/commands/task.md +33 -33
  60. package/presets/claude/ios-swift/commands/technical-retro.md +61 -38
  61. package/presets/claude/ios-swift/rules/README.md +7 -7
  62. package/presets/claude/ios-swift/rules/api-and-data/README.md +1 -1
  63. package/presets/claude/ios-swift/rules/api-and-data/networking.md +31 -31
  64. package/presets/claude/ios-swift/rules/api-and-data/persistence.md +13 -13
  65. package/presets/claude/ios-swift/rules/architecture/README.md +1 -1
  66. package/presets/claude/ios-swift/rules/architecture/boundaries.md +20 -20
  67. package/presets/claude/ios-swift/rules/architecture/feature-delivery.md +31 -30
  68. package/presets/claude/ios-swift/rules/architecture/module-public-api.md +11 -11
  69. package/presets/claude/ios-swift/rules/architecture/reference-features.md +25 -22
  70. package/presets/claude/ios-swift/rules/stack/README.md +1 -1
  71. package/presets/claude/ios-swift/rules/stack/ios-app-core.md +10 -10
  72. package/presets/claude/ios-swift/rules/stack/swift-conventions.md +17 -17
  73. package/presets/claude/ios-swift/rules/testing/README.md +1 -1
  74. package/presets/claude/ios-swift/rules/testing/ui.md +27 -27
  75. package/presets/claude/ios-swift/rules/testing/unit.md +25 -25
  76. package/presets/claude/ios-swift/rules/tooling-and-review/README.md +5 -2
  77. package/presets/claude/ios-swift/rules/tooling-and-review/agent-team-intake.md +2 -2
  78. package/presets/claude/ios-swift/rules/tooling-and-review/agent-team-orchestrator.md +51 -21
  79. package/presets/claude/ios-swift/rules/tooling-and-review/code-quality.md +25 -24
  80. package/presets/claude/ios-swift/rules/tooling-and-review/code-review.md +40 -39
  81. package/presets/claude/ios-swift/rules/tooling-and-review/design-guidance.md +54 -54
  82. package/presets/claude/ios-swift/rules/tooling-and-review/post-change-build.md +18 -18
  83. package/presets/claude/ios-swift/rules/tooling-and-review/preset-layering.md +12 -12
  84. package/presets/claude/ios-swift/rules/tooling-and-review/preset-no-cross-stack-leakage.md +16 -2
  85. package/presets/claude/ios-swift/rules/tooling-and-review/preset-pr-checklist.md +6 -6
  86. package/presets/claude/ios-swift/rules/tooling-and-review/preset-token-budget.md +3 -3
  87. package/presets/claude/ios-swift/rules/tooling-and-review/preset-twin-sync.md +4 -0
  88. package/presets/claude/ios-swift/rules/tooling-and-review/security-ios.md +14 -14
  89. package/presets/claude/ios-swift/rules/tooling-and-review/technical-retro.md +4 -4
  90. package/presets/claude/ios-swift/rules/tooling-and-review/xcode-tooling.md +11 -11
  91. package/presets/claude/ios-swift/rules/ui-and-accessibility/README.md +1 -1
  92. package/presets/claude/ios-swift/rules/ui-and-accessibility/navigation.md +13 -13
  93. package/presets/claude/ios-swift/rules/ui-and-accessibility/swiftui.md +39 -39
  94. package/presets/claude/ios-swift/rules/ui-and-accessibility/viewmodels.md +24 -24
  95. package/presets/claude/ios-swift/skills/README.md +3 -3
  96. package/presets/claude/ios-swift/team/README.md +6 -2
  97. package/presets/claude/java/MCP.md +5 -5
  98. package/presets/claude/java/agents/README.md +2 -2
  99. package/presets/claude/java/agents/build-verifier.md +1 -1
  100. package/presets/claude/java/agents/task-router.md +13 -13
  101. package/presets/claude/java/commands/README.md +8 -8
  102. package/presets/claude/java/commands/feature-continue.md +21 -21
  103. package/presets/claude/java/commands/feature-start.md +16 -16
  104. package/presets/claude/java/commands/task-continue.md +14 -14
  105. package/presets/claude/java/commands/task.md +32 -32
  106. package/presets/claude/java/commands/technical-retro.md +38 -38
  107. package/presets/claude/java/rules/architecture/boundaries.md +10 -10
  108. package/presets/claude/java/rules/stack/README.md +1 -1
  109. package/presets/claude/java/rules/stack/java-app-core.md +9 -9
  110. package/presets/claude/java/rules/tooling-and-review/README.md +1 -1
  111. package/presets/claude/java/rules/tooling-and-review/agent-team-intake.md +2 -2
  112. package/presets/claude/java/rules/tooling-and-review/agent-team-orchestrator.md +4 -4
  113. package/presets/claude/java/rules/tooling-and-review/code-quality.md +21 -20
  114. package/presets/claude/java/rules/tooling-and-review/code-review.md +5 -4
  115. package/presets/claude/java/rules/tooling-and-review/design-guidance.md +55 -54
  116. package/presets/claude/java/rules/tooling-and-review/post-change-test.md +1 -1
  117. package/presets/claude/java/rules/tooling-and-review/preset-layering.md +12 -12
  118. package/presets/claude/java/rules/tooling-and-review/preset-no-cross-stack-leakage.md +16 -2
  119. package/presets/claude/java/rules/tooling-and-review/preset-pr-checklist.md +6 -6
  120. package/presets/claude/java/rules/tooling-and-review/preset-token-budget.md +3 -3
  121. package/presets/claude/java/rules/tooling-and-review/preset-twin-sync.md +4 -0
  122. package/presets/claude/java/rules/tooling-and-review/technical-retro.md +3 -3
  123. package/presets/claude/java/team/README.md +1 -1
  124. package/presets/claude/mcp-ts/MCP.md +5 -5
  125. package/presets/claude/mcp-ts/agents/build-verifier.md +1 -1
  126. package/presets/claude/mcp-ts/agents/task-router.md +7 -7
  127. package/presets/claude/mcp-ts/commands/README.md +1 -1
  128. package/presets/claude/mcp-ts/commands/feature-continue.md +8 -8
  129. package/presets/claude/mcp-ts/commands/feature-start.md +17 -17
  130. package/presets/claude/mcp-ts/commands/task-continue.md +14 -14
  131. package/presets/claude/mcp-ts/commands/task.md +32 -32
  132. package/presets/claude/mcp-ts/commands/technical-retro.md +54 -54
  133. package/presets/claude/mcp-ts/rules/architecture/mcp-server-boundaries.md +2 -2
  134. package/presets/claude/mcp-ts/rules/stack/mcp-ts-app-core.md +9 -9
  135. package/presets/claude/mcp-ts/rules/tooling-and-review/agent-team-intake.md +3 -3
  136. package/presets/claude/mcp-ts/rules/tooling-and-review/agent-team-orchestrator.md +4 -4
  137. package/presets/claude/mcp-ts/rules/tooling-and-review/code-quality.md +21 -20
  138. package/presets/claude/mcp-ts/rules/tooling-and-review/code-review.md +5 -4
  139. package/presets/claude/mcp-ts/rules/tooling-and-review/design-guidance.md +55 -54
  140. package/presets/claude/mcp-ts/rules/tooling-and-review/post-change-test.md +1 -1
  141. package/presets/claude/mcp-ts/rules/tooling-and-review/preset-layering.md +12 -12
  142. package/presets/claude/mcp-ts/rules/tooling-and-review/preset-no-cross-stack-leakage.md +16 -2
  143. package/presets/claude/mcp-ts/rules/tooling-and-review/preset-pr-checklist.md +6 -6
  144. package/presets/claude/mcp-ts/rules/tooling-and-review/preset-token-budget.md +3 -3
  145. package/presets/claude/mcp-ts/rules/tooling-and-review/preset-twin-sync.md +4 -0
  146. package/presets/claude/mcp-ts/rules/tooling-and-review/technical-retro.md +3 -3
  147. package/presets/claude/next/CLAUDE.md +17 -17
  148. package/presets/claude/next/MCP.md +8 -8
  149. package/presets/claude/next/README.md +16 -16
  150. package/presets/claude/next/agents/README.md +19 -19
  151. package/presets/claude/next/agents/build-verifier.md +3 -3
  152. package/presets/claude/next/agents/feature-developer.md +1 -1
  153. package/presets/claude/next/agents/task-analyst.md +1 -1
  154. package/presets/claude/next/agents/task-router.md +16 -16
  155. package/presets/claude/next/commands/README.md +9 -9
  156. package/presets/claude/next/commands/feature-continue.md +21 -21
  157. package/presets/claude/next/commands/feature-start.md +16 -16
  158. package/presets/claude/next/commands/task-continue.md +14 -14
  159. package/presets/claude/next/commands/task.md +33 -33
  160. package/presets/claude/next/commands/technical-retro.md +38 -38
  161. package/presets/claude/next/rules/README.md +12 -12
  162. package/presets/claude/next/rules/api-and-data/README.md +6 -6
  163. package/presets/claude/next/rules/api-and-data/api-services.md +42 -42
  164. package/presets/claude/next/rules/api-and-data/http-client.md +22 -21
  165. package/presets/claude/next/rules/api-and-data/store-rtk.md +60 -60
  166. package/presets/claude/next/rules/architecture/README.md +8 -8
  167. package/presets/claude/next/rules/architecture/architecture-boundaries-ui.md +6 -6
  168. package/presets/claude/next/rules/architecture/architecture-boundaries.md +44 -44
  169. package/presets/claude/next/rules/architecture/feature-delivery-workflow.md +39 -39
  170. package/presets/claude/next/rules/architecture/layer-barrel-exports.md +30 -29
  171. package/presets/claude/next/rules/architecture/public-imports.md +13 -13
  172. package/presets/claude/next/rules/architecture/reference-features.md +16 -16
  173. package/presets/claude/next/rules/stack/README.md +9 -9
  174. package/presets/claude/next/rules/stack/arrow-functions.md +7 -7
  175. package/presets/claude/next/rules/stack/navigation-router-ui.md +6 -6
  176. package/presets/claude/next/rules/stack/navigation-router.md +37 -37
  177. package/presets/claude/next/rules/stack/next-app-core.md +17 -17
  178. package/presets/claude/next/rules/stack/next-app-router.md +17 -17
  179. package/presets/claude/next/rules/stack/no-type-assertion.md +28 -28
  180. package/presets/claude/next/rules/stack/types-jsdoc.md +31 -20
  181. package/presets/claude/next/rules/testing/README.md +5 -5
  182. package/presets/claude/next/rules/testing/playwright-agents.md +1 -1
  183. package/presets/claude/next/rules/testing/tests-e2e-structure.md +48 -47
  184. package/presets/claude/next/rules/testing/tests-unit.md +50 -51
  185. package/presets/claude/next/rules/tooling-and-review/README.md +9 -9
  186. package/presets/claude/next/rules/tooling-and-review/agent-team-intake.md +2 -2
  187. package/presets/claude/next/rules/tooling-and-review/agent-team-orchestrator.md +4 -4
  188. package/presets/claude/next/rules/tooling-and-review/code-quality.md +25 -24
  189. package/presets/claude/next/rules/tooling-and-review/code-review-mr.md +4 -4
  190. package/presets/claude/next/rules/tooling-and-review/design-guidance.md +54 -54
  191. package/presets/claude/next/rules/tooling-and-review/package-manager.md +7 -7
  192. package/presets/claude/next/rules/tooling-and-review/post-change-lint.md +22 -22
  193. package/presets/claude/next/rules/tooling-and-review/preset-layering.md +12 -12
  194. package/presets/claude/next/rules/tooling-and-review/preset-no-cross-stack-leakage.md +16 -2
  195. package/presets/claude/next/rules/tooling-and-review/preset-pr-checklist.md +6 -6
  196. package/presets/claude/next/rules/tooling-and-review/preset-token-budget.md +3 -3
  197. package/presets/claude/next/rules/tooling-and-review/preset-twin-sync.md +4 -0
  198. package/presets/claude/next/rules/tooling-and-review/technical-retro.md +4 -4
  199. package/presets/claude/next/rules/ui-and-accessibility/README.md +7 -7
  200. package/presets/claude/next/rules/ui-and-accessibility/css-property-order.md +3 -3
  201. package/presets/claude/next/rules/ui-and-accessibility/no-props-spread.md +18 -18
  202. package/presets/claude/next/rules/ui-and-accessibility/react-a11y-coding.md +20 -20
  203. package/presets/claude/next/rules/ui-and-accessibility/react-ui.md +63 -63
  204. package/presets/claude/next/skills/README.md +4 -4
  205. package/presets/claude/next/skills/feature-delivery/SKILL.md +1 -1
  206. package/presets/claude/next/team/README.md +2 -2
  207. package/presets/claude/nuxt/CLAUDE.md +39 -0
  208. package/presets/claude/nuxt/MCP.md +16 -0
  209. package/presets/claude/nuxt/README.md +39 -0
  210. package/presets/claude/nuxt/REPO_AGENTS.md +49 -0
  211. package/presets/claude/nuxt/agents/README.md +206 -0
  212. package/presets/claude/nuxt/agents/accessibility-reviewer.md +59 -0
  213. package/presets/claude/nuxt/agents/api-contract-reviewer.md +63 -0
  214. package/presets/claude/nuxt/agents/build-verifier.md +89 -0
  215. package/presets/claude/nuxt/agents/ci-investigator.md +60 -0
  216. package/presets/claude/nuxt/agents/code-reviewer.md +62 -0
  217. package/presets/claude/nuxt/agents/codebase-analyzer.md +28 -0
  218. package/presets/claude/nuxt/agents/debugger.md +65 -0
  219. package/presets/claude/nuxt/agents/feature-developer.md +59 -0
  220. package/presets/claude/nuxt/agents/migration-specialist.md +67 -0
  221. package/presets/claude/nuxt/agents/performance-auditor.md +66 -0
  222. package/presets/claude/nuxt/agents/playwright-test-generator.md +75 -0
  223. package/presets/claude/nuxt/agents/playwright-test-healer.md +61 -0
  224. package/presets/claude/nuxt/agents/playwright-test-planner.md +67 -0
  225. package/presets/claude/nuxt/agents/qa-tester.md +54 -0
  226. package/presets/claude/nuxt/agents/security-reviewer.md +60 -0
  227. package/presets/claude/nuxt/agents/solution-architect.md +68 -0
  228. package/presets/claude/nuxt/agents/task-analyst.md +109 -0
  229. package/presets/claude/nuxt/agents/task-router.md +140 -0
  230. package/presets/claude/nuxt/agents/tech-writer.md +54 -0
  231. package/presets/claude/nuxt/agents/unit-test-generator.md +37 -0
  232. package/presets/claude/nuxt/agents/unit-test-healer.md +38 -0
  233. package/presets/claude/nuxt/agents/unit-test-planner.md +60 -0
  234. package/presets/claude/nuxt/commands/README.md +51 -0
  235. package/presets/claude/nuxt/commands/feature-continue.md +19 -0
  236. package/presets/claude/nuxt/commands/feature-start.md +33 -0
  237. package/presets/claude/nuxt/commands/task-continue.md +50 -0
  238. package/presets/claude/nuxt/commands/task.md +56 -0
  239. package/presets/claude/nuxt/commands/technical-retro.md +85 -0
  240. package/presets/claude/nuxt/hooks/README.md +14 -0
  241. package/presets/claude/nuxt/hooks/chain-team-phases.sh +723 -0
  242. package/presets/claude/nuxt/hooks/examples/README.md +18 -0
  243. package/presets/claude/nuxt/hooks/examples/format-edited.example.sh +11 -0
  244. package/presets/claude/nuxt/hooks/examples/secret-guard.example.sh +10 -0
  245. package/presets/claude/nuxt/hooks/examples/test-on-save.example.sh +8 -0
  246. package/presets/claude/nuxt/hooks/guard-shell-command.sh +77 -0
  247. package/presets/claude/nuxt/mcp.json +20 -0
  248. package/presets/claude/nuxt/rules/README.md +90 -0
  249. package/presets/claude/nuxt/rules/anti-hallucination/vue-nuxt-anti-hallucination.md +72 -0
  250. package/presets/claude/nuxt/rules/api-and-data/README.md +9 -0
  251. package/presets/claude/nuxt/rules/api-and-data/api-services.md +77 -0
  252. package/presets/claude/nuxt/rules/api-and-data/http-client.md +16 -0
  253. package/presets/claude/nuxt/rules/api-and-data/store-pinia.md +68 -0
  254. package/presets/claude/nuxt/rules/architecture/README.md +12 -0
  255. package/presets/claude/nuxt/rules/architecture/architecture-boundaries-ui.md +16 -0
  256. package/presets/claude/nuxt/rules/architecture/architecture-boundaries.md +99 -0
  257. package/presets/claude/nuxt/rules/architecture/feature-delivery-workflow.md +89 -0
  258. package/presets/claude/nuxt/rules/architecture/layer-barrel-exports.md +72 -0
  259. package/presets/claude/nuxt/rules/architecture/public-imports.md +61 -0
  260. package/presets/claude/nuxt/rules/architecture/reference-features.md +50 -0
  261. package/presets/claude/nuxt/rules/stack/README.md +12 -0
  262. package/presets/claude/nuxt/rules/stack/navigation-router-ui.md +14 -0
  263. package/presets/claude/nuxt/rules/stack/navigation-router.md +59 -0
  264. package/presets/claude/nuxt/rules/stack/no-type-assertion.md +62 -0
  265. package/presets/claude/nuxt/rules/stack/nuxt-app-core.md +44 -0
  266. package/presets/claude/nuxt/rules/stack/nuxt-pages-routing.md +39 -0
  267. package/presets/claude/nuxt/rules/stack/script-setup-conventions.md +12 -0
  268. package/presets/claude/nuxt/rules/stack/types-jsdoc.md +41 -0
  269. package/presets/claude/nuxt/rules/testing/README.md +11 -0
  270. package/presets/claude/nuxt/rules/testing/playwright-agents.md +78 -0
  271. package/presets/claude/nuxt/rules/testing/tests-e2e-structure.md +49 -0
  272. package/presets/claude/nuxt/rules/testing/tests-unit.md +75 -0
  273. package/presets/claude/nuxt/rules/tooling-and-review/README.md +15 -0
  274. package/presets/claude/nuxt/rules/tooling-and-review/agent-team-intake.md +16 -0
  275. package/presets/claude/nuxt/rules/tooling-and-review/agent-team-orchestrator.md +192 -0
  276. package/presets/claude/nuxt/rules/tooling-and-review/anti-sycophancy-discipline.md +34 -0
  277. package/presets/claude/nuxt/rules/tooling-and-review/code-quality.md +51 -0
  278. package/presets/claude/nuxt/rules/tooling-and-review/code-review-mr.md +64 -0
  279. package/presets/claude/nuxt/rules/tooling-and-review/design-guidance.md +115 -0
  280. package/presets/claude/nuxt/rules/tooling-and-review/package-manager.md +17 -0
  281. package/presets/claude/nuxt/rules/tooling-and-review/post-change-lint.md +44 -0
  282. package/presets/claude/nuxt/rules/tooling-and-review/preset-layering.md +32 -0
  283. package/presets/claude/nuxt/rules/tooling-and-review/preset-no-cross-stack-leakage.md +79 -0
  284. package/presets/claude/nuxt/rules/tooling-and-review/preset-pr-checklist.md +35 -0
  285. package/presets/claude/nuxt/rules/tooling-and-review/preset-token-budget.md +38 -0
  286. package/presets/claude/nuxt/rules/tooling-and-review/preset-twin-sync.md +50 -0
  287. package/presets/claude/nuxt/rules/tooling-and-review/security-nuxt.md +37 -0
  288. package/presets/claude/nuxt/rules/tooling-and-review/technical-retro.md +16 -0
  289. package/presets/claude/nuxt/rules/ui-and-accessibility/README.md +12 -0
  290. package/presets/claude/nuxt/rules/ui-and-accessibility/css-property-order.md +11 -0
  291. package/presets/claude/nuxt/rules/ui-and-accessibility/no-v-bind-spread.md +12 -0
  292. package/presets/claude/nuxt/rules/ui-and-accessibility/vue-a11y-coding.md +16 -0
  293. package/presets/claude/nuxt/rules/ui-and-accessibility/vue-ui.md +35 -0
  294. package/presets/claude/nuxt/skills/README.md +17 -0
  295. package/presets/claude/nuxt/skills/ci-investigation/SKILL.md +36 -0
  296. package/presets/claude/nuxt/skills/code-review/SKILL.md +38 -0
  297. package/presets/claude/nuxt/skills/debug-investigation/SKILL.md +32 -0
  298. package/presets/claude/nuxt/skills/feature-delivery/SKILL.md +34 -0
  299. package/presets/claude/nuxt/skills/playwright-e2e/SKILL.md +37 -0
  300. package/presets/claude/nuxt/skills/technical-retro/SKILL.md +54 -0
  301. package/presets/claude/nuxt/skills/unit-testing/SKILL.md +32 -0
  302. package/presets/claude/nuxt/skills/vue-performance/SKILL.md +53 -0
  303. package/presets/claude/nuxt/skills/write-adr/SKILL.md +41 -0
  304. package/presets/claude/nuxt/team/README.md +140 -0
  305. package/presets/claude/nuxt/team/conventions.md +21 -0
  306. package/presets/claude/nuxt/team/fixtures/artifact-manifest.example.json +61 -0
  307. package/presets/claude/nuxt/team/fixtures/bugfix-standard.json +25 -0
  308. package/presets/claude/nuxt/team/fixtures/feature-full.json +28 -0
  309. package/presets/claude/nuxt/team/fixtures/feature-light.json +27 -0
  310. package/presets/claude/nuxt/team/tasks/.gitkeep +1 -0
  311. package/presets/claude/php-hexagonal/MCP.md +7 -7
  312. package/presets/claude/php-hexagonal/agents/README.md +3 -3
  313. package/presets/claude/php-hexagonal/agents/build-verifier.md +1 -1
  314. package/presets/claude/php-hexagonal/agents/task-router.md +12 -12
  315. package/presets/claude/php-hexagonal/commands/README.md +9 -9
  316. package/presets/claude/php-hexagonal/commands/feature-continue.md +21 -21
  317. package/presets/claude/php-hexagonal/commands/feature-start.md +16 -16
  318. package/presets/claude/php-hexagonal/commands/task-continue.md +14 -14
  319. package/presets/claude/php-hexagonal/commands/task.md +32 -32
  320. package/presets/claude/php-hexagonal/commands/technical-retro.md +38 -38
  321. package/presets/claude/php-hexagonal/rules/architecture/boundaries.md +11 -10
  322. package/presets/claude/php-hexagonal/rules/stack/README.md +1 -1
  323. package/presets/claude/php-hexagonal/rules/stack/php-app-core.md +11 -10
  324. package/presets/claude/php-hexagonal/rules/tooling-and-review/README.md +1 -1
  325. package/presets/claude/php-hexagonal/rules/tooling-and-review/agent-team-intake.md +2 -2
  326. package/presets/claude/php-hexagonal/rules/tooling-and-review/agent-team-orchestrator.md +4 -4
  327. package/presets/claude/php-hexagonal/rules/tooling-and-review/code-quality.md +21 -21
  328. package/presets/claude/php-hexagonal/rules/tooling-and-review/code-review.md +4 -4
  329. package/presets/claude/php-hexagonal/rules/tooling-and-review/design-guidance.md +54 -54
  330. package/presets/claude/php-hexagonal/rules/tooling-and-review/post-change-test.md +1 -1
  331. package/presets/claude/php-hexagonal/rules/tooling-and-review/preset-layering.md +12 -12
  332. package/presets/claude/php-hexagonal/rules/tooling-and-review/preset-no-cross-stack-leakage.md +16 -2
  333. package/presets/claude/php-hexagonal/rules/tooling-and-review/preset-pr-checklist.md +6 -6
  334. package/presets/claude/php-hexagonal/rules/tooling-and-review/preset-token-budget.md +3 -3
  335. package/presets/claude/php-hexagonal/rules/tooling-and-review/preset-twin-sync.md +4 -0
  336. package/presets/claude/php-hexagonal/rules/tooling-and-review/technical-retro.md +3 -3
  337. package/presets/claude/php-hexagonal/team/README.md +1 -1
  338. package/presets/claude/php-laravel/agents/README.md +3 -3
  339. package/presets/claude/php-laravel/agents/build-verifier.md +1 -1
  340. package/presets/claude/php-laravel/agents/task-router.md +14 -14
  341. package/presets/claude/php-laravel/commands/README.md +9 -9
  342. package/presets/claude/php-laravel/commands/feature-continue.md +21 -21
  343. package/presets/claude/php-laravel/commands/feature-start.md +16 -16
  344. package/presets/claude/php-laravel/commands/task-continue.md +14 -14
  345. package/presets/claude/php-laravel/commands/task.md +32 -32
  346. package/presets/claude/php-laravel/commands/technical-retro.md +38 -38
  347. package/presets/claude/php-laravel/rules/api-and-data/events-listeners.md +1 -1
  348. package/presets/claude/php-laravel/rules/architecture/boundaries.md +11 -11
  349. package/presets/claude/php-laravel/rules/stack/laravel-app-core.md +8 -8
  350. package/presets/claude/php-laravel/rules/tooling-and-review/agent-team-intake.md +3 -2
  351. package/presets/claude/php-laravel/rules/tooling-and-review/agent-team-orchestrator.md +4 -4
  352. package/presets/claude/php-laravel/rules/tooling-and-review/code-quality.md +21 -20
  353. package/presets/claude/php-laravel/rules/tooling-and-review/code-review.md +4 -5
  354. package/presets/claude/php-laravel/rules/tooling-and-review/design-guidance.md +54 -54
  355. package/presets/claude/php-laravel/rules/tooling-and-review/post-change-test.md +1 -1
  356. package/presets/claude/php-laravel/rules/tooling-and-review/preset-layering.md +13 -12
  357. package/presets/claude/php-laravel/rules/tooling-and-review/preset-no-cross-stack-leakage.md +17 -2
  358. package/presets/claude/php-laravel/rules/tooling-and-review/preset-pr-checklist.md +7 -6
  359. package/presets/claude/php-laravel/rules/tooling-and-review/preset-token-budget.md +4 -3
  360. package/presets/claude/php-laravel/rules/tooling-and-review/preset-twin-sync.md +5 -0
  361. package/presets/claude/php-laravel/rules/tooling-and-review/technical-retro.md +4 -3
  362. package/presets/claude/php-laravel/team/README.md +1 -1
  363. package/presets/claude/svelte/CLAUDE.md +39 -0
  364. package/presets/claude/svelte/MCP.md +16 -0
  365. package/presets/claude/svelte/README.md +13 -0
  366. package/presets/claude/svelte/REPO_AGENTS.md +49 -0
  367. package/presets/claude/svelte/agents/README.md +206 -0
  368. package/presets/claude/svelte/agents/accessibility-reviewer.md +59 -0
  369. package/presets/claude/svelte/agents/api-contract-reviewer.md +63 -0
  370. package/presets/claude/svelte/agents/build-verifier.md +89 -0
  371. package/presets/claude/svelte/agents/ci-investigator.md +60 -0
  372. package/presets/claude/svelte/agents/code-reviewer.md +62 -0
  373. package/presets/claude/svelte/agents/codebase-analyzer.md +28 -0
  374. package/presets/claude/svelte/agents/debugger.md +65 -0
  375. package/presets/claude/svelte/agents/feature-developer.md +59 -0
  376. package/presets/claude/svelte/agents/migration-specialist.md +67 -0
  377. package/presets/claude/svelte/agents/performance-auditor.md +66 -0
  378. package/presets/claude/svelte/agents/playwright-test-generator.md +75 -0
  379. package/presets/claude/svelte/agents/playwright-test-healer.md +61 -0
  380. package/presets/claude/svelte/agents/playwright-test-planner.md +67 -0
  381. package/presets/claude/svelte/agents/qa-tester.md +54 -0
  382. package/presets/claude/svelte/agents/security-reviewer.md +60 -0
  383. package/presets/claude/svelte/agents/solution-architect.md +68 -0
  384. package/presets/claude/svelte/agents/task-analyst.md +109 -0
  385. package/presets/claude/svelte/agents/task-router.md +141 -0
  386. package/presets/claude/svelte/agents/tech-writer.md +54 -0
  387. package/presets/claude/svelte/agents/unit-test-generator.md +37 -0
  388. package/presets/claude/svelte/agents/unit-test-healer.md +38 -0
  389. package/presets/claude/svelte/agents/unit-test-planner.md +60 -0
  390. package/presets/claude/svelte/commands/README.md +51 -0
  391. package/presets/claude/svelte/commands/feature-continue.md +19 -0
  392. package/presets/claude/svelte/commands/feature-start.md +33 -0
  393. package/presets/claude/svelte/commands/task-continue.md +50 -0
  394. package/presets/claude/svelte/commands/task.md +56 -0
  395. package/presets/claude/svelte/commands/technical-retro.md +85 -0
  396. package/presets/claude/svelte/hooks/README.md +14 -0
  397. package/presets/claude/svelte/hooks/chain-team-phases.sh +723 -0
  398. package/presets/claude/svelte/hooks/examples/README.md +18 -0
  399. package/presets/claude/svelte/hooks/examples/format-edited.example.sh +13 -0
  400. package/presets/claude/svelte/hooks/examples/secret-guard.example.sh +10 -0
  401. package/presets/claude/svelte/hooks/examples/test-on-save.example.sh +14 -0
  402. package/presets/claude/svelte/hooks/guard-shell-command.sh +77 -0
  403. package/presets/claude/svelte/mcp.json +20 -0
  404. package/presets/claude/svelte/rules/README.md +90 -0
  405. package/presets/claude/svelte/rules/anti-hallucination/svelte-sveltekit-anti-hallucination.md +71 -0
  406. package/presets/claude/svelte/rules/api-and-data/README.md +9 -0
  407. package/presets/claude/svelte/rules/api-and-data/api-services.md +45 -0
  408. package/presets/claude/svelte/rules/api-and-data/http-client.md +17 -0
  409. package/presets/claude/svelte/rules/api-and-data/store-svelte.md +67 -0
  410. package/presets/claude/svelte/rules/architecture/README.md +12 -0
  411. package/presets/claude/svelte/rules/architecture/architecture-boundaries-ui.md +16 -0
  412. package/presets/claude/svelte/rules/architecture/architecture-boundaries.md +65 -0
  413. package/presets/claude/svelte/rules/architecture/feature-delivery-workflow.md +61 -0
  414. package/presets/claude/svelte/rules/architecture/layer-barrel-exports.md +73 -0
  415. package/presets/claude/svelte/rules/architecture/public-imports.md +43 -0
  416. package/presets/claude/svelte/rules/architecture/reference-features.md +50 -0
  417. package/presets/claude/svelte/rules/stack/README.md +12 -0
  418. package/presets/claude/svelte/rules/stack/navigation-router-ui.md +26 -0
  419. package/presets/claude/svelte/rules/stack/navigation-router.md +41 -0
  420. package/presets/claude/svelte/rules/stack/no-type-assertion.md +59 -0
  421. package/presets/claude/svelte/rules/stack/svelte-app-core.md +44 -0
  422. package/presets/claude/svelte/rules/stack/svelte-script-conventions.md +33 -0
  423. package/presets/claude/svelte/rules/stack/sveltekit-routing.md +40 -0
  424. package/presets/claude/svelte/rules/stack/types-jsdoc.md +42 -0
  425. package/presets/claude/svelte/rules/testing/README.md +11 -0
  426. package/presets/claude/svelte/rules/testing/playwright-agents.md +80 -0
  427. package/presets/claude/svelte/rules/testing/tests-e2e-structure.md +50 -0
  428. package/presets/claude/svelte/rules/testing/tests-unit.md +40 -0
  429. package/presets/claude/svelte/rules/tooling-and-review/README.md +15 -0
  430. package/presets/claude/svelte/rules/tooling-and-review/agent-team-intake.md +17 -0
  431. package/presets/claude/svelte/rules/tooling-and-review/agent-team-orchestrator.md +193 -0
  432. package/presets/claude/svelte/rules/tooling-and-review/anti-sycophancy-discipline.md +29 -0
  433. package/presets/claude/svelte/rules/tooling-and-review/code-quality.md +51 -0
  434. package/presets/claude/svelte/rules/tooling-and-review/code-review-mr.md +64 -0
  435. package/presets/claude/svelte/rules/tooling-and-review/design-guidance.md +110 -0
  436. package/presets/claude/svelte/rules/tooling-and-review/package-manager.md +17 -0
  437. package/presets/claude/svelte/rules/tooling-and-review/post-change-lint.md +44 -0
  438. package/presets/claude/svelte/rules/tooling-and-review/preset-layering.md +35 -0
  439. package/presets/claude/svelte/rules/tooling-and-review/preset-no-cross-stack-leakage.md +82 -0
  440. package/presets/claude/svelte/rules/tooling-and-review/preset-pr-checklist.md +38 -0
  441. package/presets/claude/svelte/rules/tooling-and-review/preset-token-budget.md +40 -0
  442. package/presets/claude/svelte/rules/tooling-and-review/preset-twin-sync.md +53 -0
  443. package/presets/claude/svelte/rules/tooling-and-review/security-sveltekit.md +41 -0
  444. package/presets/claude/svelte/rules/tooling-and-review/technical-retro.md +17 -0
  445. package/presets/claude/svelte/rules/ui-and-accessibility/README.md +12 -0
  446. package/presets/claude/svelte/rules/ui-and-accessibility/css-property-order.md +12 -0
  447. package/presets/claude/svelte/rules/ui-and-accessibility/no-rest-props-spread.md +32 -0
  448. package/presets/claude/svelte/rules/ui-and-accessibility/svelte-a11y-coding.md +28 -0
  449. package/presets/claude/svelte/rules/ui-and-accessibility/svelte-ui.md +38 -0
  450. package/presets/claude/svelte/skills/README.md +17 -0
  451. package/presets/claude/svelte/skills/ci-investigation/SKILL.md +36 -0
  452. package/presets/claude/svelte/skills/code-review/SKILL.md +38 -0
  453. package/presets/claude/svelte/skills/debug-investigation/SKILL.md +32 -0
  454. package/presets/claude/svelte/skills/feature-delivery/SKILL.md +34 -0
  455. package/presets/claude/svelte/skills/playwright-e2e/SKILL.md +37 -0
  456. package/presets/claude/svelte/skills/svelte-performance/SKILL.md +52 -0
  457. package/presets/claude/svelte/skills/technical-retro/SKILL.md +54 -0
  458. package/presets/claude/svelte/skills/unit-testing/SKILL.md +32 -0
  459. package/presets/claude/svelte/skills/write-adr/SKILL.md +41 -0
  460. package/presets/claude/svelte/team/README.md +140 -0
  461. package/presets/claude/svelte/team/conventions.md +21 -0
  462. package/presets/claude/svelte/team/fixtures/artifact-manifest.example.json +61 -0
  463. package/presets/claude/svelte/team/fixtures/bugfix-standard.json +25 -0
  464. package/presets/claude/svelte/team/fixtures/feature-full.json +28 -0
  465. package/presets/claude/svelte/team/fixtures/feature-light.json +27 -0
  466. package/presets/claude/svelte/team/tasks/.gitkeep +1 -0
  467. package/presets/cursor/go/AGENTS.md +10 -10
  468. package/presets/cursor/go/MCP.md +7 -7
  469. package/presets/cursor/go/README.md +4 -4
  470. package/presets/cursor/go/agents/README.md +3 -3
  471. package/presets/cursor/go/agents/build-verifier.md +1 -1
  472. package/presets/cursor/go/agents/task-router.md +13 -13
  473. package/presets/cursor/go/commands/README.md +23 -23
  474. package/presets/cursor/go/commands/feature-continue.md +8 -8
  475. package/presets/cursor/go/commands/feature-start.md +17 -17
  476. package/presets/cursor/go/commands/task-continue.md +14 -14
  477. package/presets/cursor/go/commands/task.md +32 -32
  478. package/presets/cursor/go/commands/technical-retro.md +49 -49
  479. package/presets/cursor/go/rules/README.md +3 -3
  480. package/presets/cursor/go/rules/agent-team-intake.mdc +2 -2
  481. package/presets/cursor/go/rules/agent-team-orchestrator.mdc +4 -4
  482. package/presets/cursor/go/rules/architecture-boundaries.mdc +10 -10
  483. package/presets/cursor/go/rules/code-quality-and-refactoring.mdc +21 -20
  484. package/presets/cursor/go/rules/code-review-mr.mdc +4 -4
  485. package/presets/cursor/go/rules/design-guidance.mdc +54 -54
  486. package/presets/cursor/go/rules/go-app-core.mdc +11 -11
  487. package/presets/cursor/go/rules/post-change-test.mdc +1 -1
  488. package/presets/cursor/go/rules/preset-layering.mdc +12 -12
  489. package/presets/cursor/go/rules/preset-no-cross-stack-leakage.mdc +16 -2
  490. package/presets/cursor/go/rules/preset-pr-checklist.mdc +6 -6
  491. package/presets/cursor/go/rules/preset-token-budget.mdc +3 -3
  492. package/presets/cursor/go/rules/preset-twin-sync.mdc +4 -0
  493. package/presets/cursor/go/rules/technical-retro.mdc +3 -3
  494. package/presets/cursor/go/team/README.md +1 -1
  495. package/presets/cursor/ios-swift/AGENTS.md +20 -20
  496. package/presets/cursor/ios-swift/MCP.md +8 -8
  497. package/presets/cursor/ios-swift/README.md +9 -9
  498. package/presets/cursor/ios-swift/agents/README.md +7 -7
  499. package/presets/cursor/ios-swift/agents/build-verifier.md +2 -2
  500. package/presets/cursor/ios-swift/agents/feature-developer.md +1 -1
  501. package/presets/cursor/ios-swift/agents/task-analyst.md +1 -1
  502. package/presets/cursor/ios-swift/agents/task-router.md +16 -16
  503. package/presets/cursor/ios-swift/commands/README.md +23 -23
  504. package/presets/cursor/ios-swift/commands/feature-continue.md +8 -8
  505. package/presets/cursor/ios-swift/commands/feature-start.md +17 -17
  506. package/presets/cursor/ios-swift/commands/task-continue.md +14 -14
  507. package/presets/cursor/ios-swift/commands/task.md +33 -33
  508. package/presets/cursor/ios-swift/commands/technical-retro.md +50 -50
  509. package/presets/cursor/ios-swift/rules/README.md +23 -23
  510. package/presets/cursor/ios-swift/rules/agent-team-intake.mdc +2 -2
  511. package/presets/cursor/ios-swift/rules/agent-team-orchestrator.mdc +2 -2
  512. package/presets/cursor/ios-swift/rules/architecture-boundaries.mdc +20 -20
  513. package/presets/cursor/ios-swift/rules/code-quality-and-refactoring.mdc +25 -24
  514. package/presets/cursor/ios-swift/rules/code-review-mr.mdc +40 -40
  515. package/presets/cursor/ios-swift/rules/design-guidance.mdc +54 -54
  516. package/presets/cursor/ios-swift/rules/feature-delivery-workflow.mdc +30 -30
  517. package/presets/cursor/ios-swift/rules/ios-app-core.mdc +10 -10
  518. package/presets/cursor/ios-swift/rules/module-public-api.mdc +11 -11
  519. package/presets/cursor/ios-swift/rules/navigation-coordinators.mdc +13 -13
  520. package/presets/cursor/ios-swift/rules/networking-services.mdc +31 -31
  521. package/presets/cursor/ios-swift/rules/persistence-data.mdc +13 -13
  522. package/presets/cursor/ios-swift/rules/post-change-build.mdc +18 -18
  523. package/presets/cursor/ios-swift/rules/preset-layering.mdc +12 -12
  524. package/presets/cursor/ios-swift/rules/preset-no-cross-stack-leakage.mdc +16 -2
  525. package/presets/cursor/ios-swift/rules/preset-pr-checklist.mdc +6 -6
  526. package/presets/cursor/ios-swift/rules/preset-token-budget.mdc +3 -3
  527. package/presets/cursor/ios-swift/rules/preset-twin-sync.mdc +4 -0
  528. package/presets/cursor/ios-swift/rules/reference-features.mdc +22 -22
  529. package/presets/cursor/ios-swift/rules/security-ios.mdc +14 -14
  530. package/presets/cursor/ios-swift/rules/state-and-viewmodels.mdc +24 -24
  531. package/presets/cursor/ios-swift/rules/swift-conventions.mdc +17 -17
  532. package/presets/cursor/ios-swift/rules/swiftui-ui.mdc +39 -39
  533. package/presets/cursor/ios-swift/rules/technical-retro.mdc +4 -4
  534. package/presets/cursor/ios-swift/rules/tests-ui.mdc +27 -26
  535. package/presets/cursor/ios-swift/rules/tests-unit.mdc +25 -25
  536. package/presets/cursor/ios-swift/rules/xcode-tooling.mdc +11 -11
  537. package/presets/cursor/ios-swift/skills/README.md +3 -3
  538. package/presets/cursor/ios-swift/team/README.md +1 -1
  539. package/presets/cursor/java/AGENTS.md +10 -10
  540. package/presets/cursor/java/MCP.md +6 -6
  541. package/presets/cursor/java/agents/README.md +3 -3
  542. package/presets/cursor/java/agents/build-verifier.md +1 -1
  543. package/presets/cursor/java/agents/task-router.md +13 -13
  544. package/presets/cursor/java/commands/README.md +23 -23
  545. package/presets/cursor/java/commands/feature-continue.md +8 -8
  546. package/presets/cursor/java/commands/feature-start.md +17 -17
  547. package/presets/cursor/java/commands/task-continue.md +14 -14
  548. package/presets/cursor/java/commands/task.md +32 -32
  549. package/presets/cursor/java/commands/technical-retro.md +49 -49
  550. package/presets/cursor/java/rules/README.md +2 -2
  551. package/presets/cursor/java/rules/agent-team-intake.mdc +2 -2
  552. package/presets/cursor/java/rules/agent-team-orchestrator.mdc +4 -4
  553. package/presets/cursor/java/rules/architecture-boundaries.mdc +10 -10
  554. package/presets/cursor/java/rules/code-quality-and-refactoring.mdc +21 -20
  555. package/presets/cursor/java/rules/code-review-mr.mdc +4 -4
  556. package/presets/cursor/java/rules/design-guidance.mdc +54 -54
  557. package/presets/cursor/java/rules/java-app-core.mdc +9 -9
  558. package/presets/cursor/java/rules/post-change-test.mdc +1 -1
  559. package/presets/cursor/java/rules/preset-layering.mdc +12 -12
  560. package/presets/cursor/java/rules/preset-no-cross-stack-leakage.mdc +16 -2
  561. package/presets/cursor/java/rules/preset-pr-checklist.mdc +6 -6
  562. package/presets/cursor/java/rules/preset-token-budget.mdc +3 -3
  563. package/presets/cursor/java/rules/preset-twin-sync.mdc +4 -0
  564. package/presets/cursor/java/rules/technical-retro.mdc +3 -3
  565. package/presets/cursor/java/team/README.md +1 -1
  566. package/presets/cursor/mcp-ts/AGENTS.md +6 -6
  567. package/presets/cursor/mcp-ts/MCP.md +5 -5
  568. package/presets/cursor/mcp-ts/agents/build-verifier.md +1 -1
  569. package/presets/cursor/mcp-ts/agents/task-router.md +7 -7
  570. package/presets/cursor/mcp-ts/commands/README.md +1 -1
  571. package/presets/cursor/mcp-ts/commands/feature-continue.md +8 -8
  572. package/presets/cursor/mcp-ts/commands/feature-start.md +17 -17
  573. package/presets/cursor/mcp-ts/commands/task-continue.md +14 -14
  574. package/presets/cursor/mcp-ts/commands/task.md +32 -32
  575. package/presets/cursor/mcp-ts/commands/technical-retro.md +50 -50
  576. package/presets/cursor/mcp-ts/rules/README.md +1 -1
  577. package/presets/cursor/mcp-ts/rules/agent-team-intake.mdc +3 -3
  578. package/presets/cursor/mcp-ts/rules/agent-team-orchestrator.mdc +4 -4
  579. package/presets/cursor/mcp-ts/rules/code-quality-and-refactoring.mdc +21 -20
  580. package/presets/cursor/mcp-ts/rules/code-review-mr.mdc +5 -4
  581. package/presets/cursor/mcp-ts/rules/design-guidance.mdc +55 -54
  582. package/presets/cursor/mcp-ts/rules/mcp-server-boundaries.mdc +2 -2
  583. package/presets/cursor/mcp-ts/rules/mcp-ts-app-core.mdc +9 -9
  584. package/presets/cursor/mcp-ts/rules/post-change-test.mdc +1 -1
  585. package/presets/cursor/mcp-ts/rules/preset-layering.mdc +12 -12
  586. package/presets/cursor/mcp-ts/rules/preset-no-cross-stack-leakage.mdc +16 -2
  587. package/presets/cursor/mcp-ts/rules/preset-pr-checklist.mdc +6 -6
  588. package/presets/cursor/mcp-ts/rules/preset-token-budget.mdc +3 -3
  589. package/presets/cursor/mcp-ts/rules/preset-twin-sync.mdc +4 -0
  590. package/presets/cursor/mcp-ts/rules/technical-retro.mdc +3 -3
  591. package/presets/cursor/next/AGENTS.md +15 -15
  592. package/presets/cursor/next/MCP.md +9 -9
  593. package/presets/cursor/next/README.md +9 -9
  594. package/presets/cursor/next/agents/README.md +22 -22
  595. package/presets/cursor/next/agents/build-verifier.md +3 -3
  596. package/presets/cursor/next/agents/feature-developer.md +1 -1
  597. package/presets/cursor/next/agents/task-analyst.md +1 -1
  598. package/presets/cursor/next/agents/task-router.md +16 -16
  599. package/presets/cursor/next/commands/README.md +22 -22
  600. package/presets/cursor/next/commands/feature-continue.md +8 -8
  601. package/presets/cursor/next/commands/feature-start.md +17 -17
  602. package/presets/cursor/next/commands/task-continue.md +14 -14
  603. package/presets/cursor/next/commands/task.md +33 -33
  604. package/presets/cursor/next/commands/technical-retro.md +49 -49
  605. package/presets/cursor/next/rules/README.md +52 -52
  606. package/presets/cursor/next/rules/agent-team-intake.mdc +2 -2
  607. package/presets/cursor/next/rules/agent-team-orchestrator.mdc +4 -4
  608. package/presets/cursor/next/rules/api-services.mdc +43 -43
  609. package/presets/cursor/next/rules/architecture-boundaries-ui.mdc +7 -7
  610. package/presets/cursor/next/rules/architecture-boundaries.mdc +45 -45
  611. package/presets/cursor/next/rules/arrow-functions.mdc +8 -8
  612. package/presets/cursor/next/rules/code-quality-and-refactoring.mdc +25 -24
  613. package/presets/cursor/next/rules/code-review-mr.mdc +5 -5
  614. package/presets/cursor/next/rules/css-property-order-stylelint.mdc +4 -4
  615. package/presets/cursor/next/rules/design-guidance.mdc +54 -54
  616. package/presets/cursor/next/rules/feature-delivery-workflow.mdc +43 -43
  617. package/presets/cursor/next/rules/http-client.mdc +23 -22
  618. package/presets/cursor/next/rules/layer-barrel-exports.mdc +31 -30
  619. package/presets/cursor/next/rules/navigation-router-stack.mdc +37 -37
  620. package/presets/cursor/next/rules/navigation-router-ui.mdc +7 -7
  621. package/presets/cursor/next/rules/next-app-core.mdc +16 -16
  622. package/presets/cursor/next/rules/next-app-router.mdc +17 -17
  623. package/presets/cursor/next/rules/no-props-spread.mdc +20 -20
  624. package/presets/cursor/next/rules/no-type-assertion-as-import-export.mdc +29 -29
  625. package/presets/cursor/next/rules/package-manager.mdc +8 -8
  626. package/presets/cursor/next/rules/post-change-lint.mdc +22 -22
  627. package/presets/cursor/next/rules/preset-layering.mdc +12 -12
  628. package/presets/cursor/next/rules/preset-no-cross-stack-leakage.mdc +16 -2
  629. package/presets/cursor/next/rules/preset-pr-checklist.mdc +6 -6
  630. package/presets/cursor/next/rules/preset-token-budget.mdc +3 -3
  631. package/presets/cursor/next/rules/preset-twin-sync.mdc +4 -0
  632. package/presets/cursor/next/rules/public-imports.mdc +14 -14
  633. package/presets/cursor/next/rules/react-a11y-coding.mdc +21 -21
  634. package/presets/cursor/next/rules/react-ui.mdc +66 -66
  635. package/presets/cursor/next/rules/reference-features.mdc +17 -17
  636. package/presets/cursor/next/rules/store-rtk.mdc +60 -60
  637. package/presets/cursor/next/rules/technical-retro.mdc +4 -4
  638. package/presets/cursor/next/rules/tests-e2e-structure.mdc +46 -46
  639. package/presets/cursor/next/rules/tests-unit.mdc +51 -52
  640. package/presets/cursor/next/rules/types-jsdoc.mdc +29 -22
  641. package/presets/cursor/next/skills/feature-delivery/SKILL.md +1 -1
  642. package/presets/cursor/next/team/README.md +2 -2
  643. package/presets/cursor/nuxt/AGENTS.md +39 -0
  644. package/presets/cursor/nuxt/BUGBOT.md +14 -0
  645. package/presets/cursor/nuxt/MCP.md +16 -0
  646. package/presets/cursor/nuxt/README.md +47 -0
  647. package/presets/cursor/nuxt/REPO_AGENTS.md +49 -0
  648. package/presets/cursor/nuxt/agents/README.md +206 -0
  649. package/presets/cursor/nuxt/agents/accessibility-reviewer.md +60 -0
  650. package/presets/cursor/nuxt/agents/api-contract-reviewer.md +64 -0
  651. package/presets/cursor/nuxt/agents/build-verifier.md +90 -0
  652. package/presets/cursor/nuxt/agents/ci-investigator.md +61 -0
  653. package/presets/cursor/nuxt/agents/code-reviewer.md +63 -0
  654. package/presets/cursor/nuxt/agents/codebase-analyzer.md +28 -0
  655. package/presets/cursor/nuxt/agents/debugger.md +66 -0
  656. package/presets/cursor/nuxt/agents/feature-developer.md +60 -0
  657. package/presets/cursor/nuxt/agents/migration-specialist.md +68 -0
  658. package/presets/cursor/nuxt/agents/performance-auditor.md +67 -0
  659. package/presets/cursor/nuxt/agents/playwright-test-generator.md +27 -0
  660. package/presets/cursor/nuxt/agents/playwright-test-healer.md +27 -0
  661. package/presets/cursor/nuxt/agents/playwright-test-planner.md +28 -0
  662. package/presets/cursor/nuxt/agents/qa-tester.md +55 -0
  663. package/presets/cursor/nuxt/agents/security-reviewer.md +61 -0
  664. package/presets/cursor/nuxt/agents/solution-architect.md +69 -0
  665. package/presets/cursor/nuxt/agents/task-analyst.md +110 -0
  666. package/presets/cursor/nuxt/agents/task-router.md +141 -0
  667. package/presets/cursor/nuxt/agents/tech-writer.md +55 -0
  668. package/presets/cursor/nuxt/agents/unit-test-generator.md +38 -0
  669. package/presets/cursor/nuxt/agents/unit-test-healer.md +39 -0
  670. package/presets/cursor/nuxt/agents/unit-test-planner.md +61 -0
  671. package/presets/cursor/nuxt/commands/README.md +51 -0
  672. package/presets/cursor/nuxt/commands/feature-continue.md +19 -0
  673. package/presets/cursor/nuxt/commands/feature-start.md +33 -0
  674. package/presets/cursor/nuxt/commands/task-continue.md +50 -0
  675. package/presets/cursor/nuxt/commands/task.md +56 -0
  676. package/presets/cursor/nuxt/commands/technical-retro.md +85 -0
  677. package/presets/cursor/nuxt/hooks/README.md +12 -0
  678. package/presets/cursor/nuxt/hooks/chain-team-phases.sh +727 -0
  679. package/presets/cursor/nuxt/hooks/examples/README.md +18 -0
  680. package/presets/cursor/nuxt/hooks/examples/format-edited.example.sh +11 -0
  681. package/presets/cursor/nuxt/hooks/examples/secret-guard.example.sh +10 -0
  682. package/presets/cursor/nuxt/hooks/examples/test-on-save.example.sh +8 -0
  683. package/presets/cursor/nuxt/hooks/guard-shell-command.sh +77 -0
  684. package/presets/cursor/nuxt/hooks.json +17 -0
  685. package/presets/cursor/nuxt/mcp.json +19 -0
  686. package/presets/cursor/nuxt/rules/README.md +108 -0
  687. package/presets/cursor/nuxt/rules/agent-team-intake.mdc +16 -0
  688. package/presets/cursor/nuxt/rules/agent-team-orchestrator.mdc +192 -0
  689. package/presets/cursor/nuxt/rules/anti-sycophancy-discipline.mdc +30 -0
  690. package/presets/cursor/nuxt/rules/api-services.mdc +79 -0
  691. package/presets/cursor/nuxt/rules/architecture-boundaries-ui.mdc +15 -0
  692. package/presets/cursor/nuxt/rules/architecture-boundaries.mdc +97 -0
  693. package/presets/cursor/nuxt/rules/code-quality-and-refactoring.mdc +52 -0
  694. package/presets/cursor/nuxt/rules/code-review-mr.mdc +58 -0
  695. package/presets/cursor/nuxt/rules/css-property-order-stylelint.mdc +12 -0
  696. package/presets/cursor/nuxt/rules/design-guidance.mdc +111 -0
  697. package/presets/cursor/nuxt/rules/feature-delivery-workflow.mdc +83 -0
  698. package/presets/cursor/nuxt/rules/http-client.mdc +15 -0
  699. package/presets/cursor/nuxt/rules/layer-barrel-exports.mdc +74 -0
  700. package/presets/cursor/nuxt/rules/navigation-router-stack.mdc +61 -0
  701. package/presets/cursor/nuxt/rules/navigation-router-ui.mdc +16 -0
  702. package/presets/cursor/nuxt/rules/no-type-assertion-as-import-export.mdc +60 -0
  703. package/presets/cursor/nuxt/rules/no-v-bind-spread.mdc +13 -0
  704. package/presets/cursor/nuxt/rules/nuxt-app-core.mdc +45 -0
  705. package/presets/cursor/nuxt/rules/nuxt-pages-routing.mdc +37 -0
  706. package/presets/cursor/nuxt/rules/package-manager.mdc +18 -0
  707. package/presets/cursor/nuxt/rules/playwright-agents.mdc +80 -0
  708. package/presets/cursor/nuxt/rules/post-change-lint.mdc +42 -0
  709. package/presets/cursor/nuxt/rules/preset-layering.mdc +36 -0
  710. package/presets/cursor/nuxt/rules/preset-no-cross-stack-leakage.mdc +83 -0
  711. package/presets/cursor/nuxt/rules/preset-pr-checklist.mdc +39 -0
  712. package/presets/cursor/nuxt/rules/preset-token-budget.mdc +41 -0
  713. package/presets/cursor/nuxt/rules/preset-twin-sync.mdc +54 -0
  714. package/presets/cursor/nuxt/rules/public-imports.mdc +62 -0
  715. package/presets/cursor/nuxt/rules/reference-features.mdc +49 -0
  716. package/presets/cursor/nuxt/rules/script-setup-conventions.mdc +13 -0
  717. package/presets/cursor/nuxt/rules/security-nuxt.mdc +34 -0
  718. package/presets/cursor/nuxt/rules/store-pinia.mdc +68 -0
  719. package/presets/cursor/nuxt/rules/technical-retro.mdc +16 -0
  720. package/presets/cursor/nuxt/rules/tests-e2e-structure.mdc +50 -0
  721. package/presets/cursor/nuxt/rules/tests-unit.mdc +77 -0
  722. package/presets/cursor/nuxt/rules/types-jsdoc.mdc +42 -0
  723. package/presets/cursor/nuxt/rules/vue-a11y-coding.mdc +15 -0
  724. package/presets/cursor/nuxt/rules/vue-nuxt-anti-hallucination.mdc +68 -0
  725. package/presets/cursor/nuxt/rules/vue-ui.mdc +33 -0
  726. package/presets/cursor/nuxt/skills/README.md +17 -0
  727. package/presets/cursor/nuxt/skills/ci-investigation/SKILL.md +36 -0
  728. package/presets/cursor/nuxt/skills/code-review/SKILL.md +38 -0
  729. package/presets/cursor/nuxt/skills/debug-investigation/SKILL.md +32 -0
  730. package/presets/cursor/nuxt/skills/feature-delivery/SKILL.md +34 -0
  731. package/presets/cursor/nuxt/skills/playwright-e2e/SKILL.md +37 -0
  732. package/presets/cursor/nuxt/skills/technical-retro/SKILL.md +54 -0
  733. package/presets/cursor/nuxt/skills/unit-testing/SKILL.md +32 -0
  734. package/presets/cursor/nuxt/skills/vue-performance/SKILL.md +53 -0
  735. package/presets/cursor/nuxt/skills/write-adr/SKILL.md +41 -0
  736. package/presets/cursor/nuxt/team/README.md +140 -0
  737. package/presets/cursor/nuxt/team/conventions.md +21 -0
  738. package/presets/cursor/nuxt/team/fixtures/artifact-manifest.example.json +61 -0
  739. package/presets/cursor/nuxt/team/fixtures/bugfix-standard.json +25 -0
  740. package/presets/cursor/nuxt/team/fixtures/feature-full.json +28 -0
  741. package/presets/cursor/nuxt/team/fixtures/feature-light.json +27 -0
  742. package/presets/cursor/nuxt/team/fixtures/metrics-scenarios/tasks/human-gate/metrics.json +69 -0
  743. package/presets/cursor/nuxt/team/fixtures/metrics-scenarios/tasks/missing-ledger/status.json +5 -0
  744. package/presets/cursor/nuxt/team/fixtures/metrics-scenarios/tasks/parallel-receipts/metrics.json +79 -0
  745. package/presets/cursor/nuxt/team/fixtures/metrics-scenarios/tasks/serial-retry/metrics.json +124 -0
  746. package/presets/cursor/nuxt/team/fixtures/metrics-scenarios/tasks/validation-failed/metrics.json +124 -0
  747. package/presets/cursor/nuxt/team/fixtures/metrics.example.json +54 -0
  748. package/presets/cursor/nuxt/team/tasks/.gitkeep +0 -0
  749. package/presets/cursor/php-hexagonal/AGENTS.md +11 -11
  750. package/presets/cursor/php-hexagonal/MCP.md +7 -7
  751. package/presets/cursor/php-hexagonal/agents/README.md +4 -4
  752. package/presets/cursor/php-hexagonal/agents/build-verifier.md +1 -1
  753. package/presets/cursor/php-hexagonal/agents/task-router.md +12 -12
  754. package/presets/cursor/php-hexagonal/commands/README.md +25 -25
  755. package/presets/cursor/php-hexagonal/commands/feature-continue.md +8 -8
  756. package/presets/cursor/php-hexagonal/commands/feature-start.md +17 -17
  757. package/presets/cursor/php-hexagonal/commands/task-continue.md +14 -14
  758. package/presets/cursor/php-hexagonal/commands/task.md +32 -32
  759. package/presets/cursor/php-hexagonal/commands/technical-retro.md +49 -49
  760. package/presets/cursor/php-hexagonal/rules/README.md +2 -2
  761. package/presets/cursor/php-hexagonal/rules/agent-team-intake.mdc +2 -2
  762. package/presets/cursor/php-hexagonal/rules/agent-team-orchestrator.mdc +4 -4
  763. package/presets/cursor/php-hexagonal/rules/architecture-boundaries.mdc +10 -10
  764. package/presets/cursor/php-hexagonal/rules/code-quality-and-refactoring.mdc +20 -20
  765. package/presets/cursor/php-hexagonal/rules/code-review-mr.mdc +4 -4
  766. package/presets/cursor/php-hexagonal/rules/design-guidance.mdc +54 -54
  767. package/presets/cursor/php-hexagonal/rules/php-app-core.mdc +10 -10
  768. package/presets/cursor/php-hexagonal/rules/post-change-test.mdc +1 -1
  769. package/presets/cursor/php-hexagonal/rules/preset-layering.mdc +12 -12
  770. package/presets/cursor/php-hexagonal/rules/preset-no-cross-stack-leakage.mdc +16 -2
  771. package/presets/cursor/php-hexagonal/rules/preset-pr-checklist.mdc +6 -6
  772. package/presets/cursor/php-hexagonal/rules/preset-token-budget.mdc +3 -3
  773. package/presets/cursor/php-hexagonal/rules/preset-twin-sync.mdc +4 -0
  774. package/presets/cursor/php-hexagonal/rules/technical-retro.mdc +3 -3
  775. package/presets/cursor/php-hexagonal/team/README.md +1 -1
  776. package/presets/cursor/php-laravel/AGENTS.md +10 -10
  777. package/presets/cursor/php-laravel/agents/README.md +4 -4
  778. package/presets/cursor/php-laravel/agents/build-verifier.md +1 -1
  779. package/presets/cursor/php-laravel/agents/task-router.md +14 -14
  780. package/presets/cursor/php-laravel/commands/README.md +25 -25
  781. package/presets/cursor/php-laravel/commands/feature-continue.md +8 -8
  782. package/presets/cursor/php-laravel/commands/feature-start.md +17 -17
  783. package/presets/cursor/php-laravel/commands/task-continue.md +14 -14
  784. package/presets/cursor/php-laravel/commands/task.md +32 -32
  785. package/presets/cursor/php-laravel/commands/technical-retro.md +50 -50
  786. package/presets/cursor/php-laravel/rules/README.md +2 -2
  787. package/presets/cursor/php-laravel/rules/agent-team-intake.mdc +2 -2
  788. package/presets/cursor/php-laravel/rules/agent-team-orchestrator.mdc +4 -4
  789. package/presets/cursor/php-laravel/rules/architecture-boundaries.mdc +11 -11
  790. package/presets/cursor/php-laravel/rules/code-quality-and-refactoring.mdc +20 -20
  791. package/presets/cursor/php-laravel/rules/code-review-mr.mdc +4 -5
  792. package/presets/cursor/php-laravel/rules/design-guidance.mdc +54 -54
  793. package/presets/cursor/php-laravel/rules/events-listeners.mdc +1 -1
  794. package/presets/cursor/php-laravel/rules/laravel-app-core.mdc +8 -8
  795. package/presets/cursor/php-laravel/rules/post-change-test.mdc +1 -1
  796. package/presets/cursor/php-laravel/rules/preset-layering.mdc +12 -12
  797. package/presets/cursor/php-laravel/rules/preset-no-cross-stack-leakage.mdc +16 -2
  798. package/presets/cursor/php-laravel/rules/preset-pr-checklist.mdc +6 -6
  799. package/presets/cursor/php-laravel/rules/preset-token-budget.mdc +3 -3
  800. package/presets/cursor/php-laravel/rules/preset-twin-sync.mdc +4 -0
  801. package/presets/cursor/php-laravel/rules/technical-retro.mdc +3 -3
  802. package/presets/cursor/php-laravel/team/README.md +1 -1
  803. package/presets/cursor/svelte/AGENTS.md +39 -0
  804. package/presets/cursor/svelte/BUGBOT.md +14 -0
  805. package/presets/cursor/svelte/MCP.md +16 -0
  806. package/presets/cursor/svelte/README.md +47 -0
  807. package/presets/cursor/svelte/REPO_AGENTS.md +49 -0
  808. package/presets/cursor/svelte/agents/README.md +206 -0
  809. package/presets/cursor/svelte/agents/accessibility-reviewer.md +60 -0
  810. package/presets/cursor/svelte/agents/api-contract-reviewer.md +64 -0
  811. package/presets/cursor/svelte/agents/build-verifier.md +90 -0
  812. package/presets/cursor/svelte/agents/ci-investigator.md +61 -0
  813. package/presets/cursor/svelte/agents/code-reviewer.md +63 -0
  814. package/presets/cursor/svelte/agents/codebase-analyzer.md +28 -0
  815. package/presets/cursor/svelte/agents/debugger.md +66 -0
  816. package/presets/cursor/svelte/agents/feature-developer.md +60 -0
  817. package/presets/cursor/svelte/agents/migration-specialist.md +68 -0
  818. package/presets/cursor/svelte/agents/performance-auditor.md +67 -0
  819. package/presets/cursor/svelte/agents/playwright-test-generator.md +27 -0
  820. package/presets/cursor/svelte/agents/playwright-test-healer.md +27 -0
  821. package/presets/cursor/svelte/agents/playwright-test-planner.md +28 -0
  822. package/presets/cursor/svelte/agents/qa-tester.md +55 -0
  823. package/presets/cursor/svelte/agents/security-reviewer.md +61 -0
  824. package/presets/cursor/svelte/agents/solution-architect.md +69 -0
  825. package/presets/cursor/svelte/agents/task-analyst.md +110 -0
  826. package/presets/cursor/svelte/agents/task-router.md +141 -0
  827. package/presets/cursor/svelte/agents/tech-writer.md +55 -0
  828. package/presets/cursor/svelte/agents/unit-test-generator.md +38 -0
  829. package/presets/cursor/svelte/agents/unit-test-healer.md +39 -0
  830. package/presets/cursor/svelte/agents/unit-test-planner.md +61 -0
  831. package/presets/cursor/svelte/commands/README.md +51 -0
  832. package/presets/cursor/svelte/commands/feature-continue.md +19 -0
  833. package/presets/cursor/svelte/commands/feature-start.md +33 -0
  834. package/presets/cursor/svelte/commands/task-continue.md +50 -0
  835. package/presets/cursor/svelte/commands/task.md +56 -0
  836. package/presets/cursor/svelte/commands/technical-retro.md +85 -0
  837. package/presets/cursor/svelte/hooks/README.md +12 -0
  838. package/presets/cursor/svelte/hooks/chain-team-phases.sh +727 -0
  839. package/presets/cursor/svelte/hooks/examples/README.md +18 -0
  840. package/presets/cursor/svelte/hooks/examples/format-edited.example.sh +13 -0
  841. package/presets/cursor/svelte/hooks/examples/secret-guard.example.sh +10 -0
  842. package/presets/cursor/svelte/hooks/examples/test-on-save.example.sh +14 -0
  843. package/presets/cursor/svelte/hooks/guard-shell-command.sh +77 -0
  844. package/presets/cursor/svelte/hooks.json +17 -0
  845. package/presets/cursor/svelte/mcp.json +19 -0
  846. package/presets/cursor/svelte/rules/README.md +86 -0
  847. package/presets/cursor/svelte/rules/agent-team-intake.mdc +16 -0
  848. package/presets/cursor/svelte/rules/agent-team-orchestrator.mdc +192 -0
  849. package/presets/cursor/svelte/rules/anti-sycophancy-discipline.mdc +30 -0
  850. package/presets/cursor/svelte/rules/api-services.mdc +46 -0
  851. package/presets/cursor/svelte/rules/architecture-boundaries-ui.mdc +15 -0
  852. package/presets/cursor/svelte/rules/architecture-boundaries.mdc +61 -0
  853. package/presets/cursor/svelte/rules/code-quality-and-refactoring.mdc +52 -0
  854. package/presets/cursor/svelte/rules/code-review-mr.mdc +58 -0
  855. package/presets/cursor/svelte/rules/css-property-order-stylelint.mdc +12 -0
  856. package/presets/cursor/svelte/rules/design-guidance.mdc +111 -0
  857. package/presets/cursor/svelte/rules/feature-delivery-workflow.mdc +55 -0
  858. package/presets/cursor/svelte/rules/http-client.mdc +16 -0
  859. package/presets/cursor/svelte/rules/layer-barrel-exports.mdc +74 -0
  860. package/presets/cursor/svelte/rules/navigation-router-stack.mdc +40 -0
  861. package/presets/cursor/svelte/rules/navigation-router-ui.mdc +25 -0
  862. package/presets/cursor/svelte/rules/no-rest-props-spread.mdc +32 -0
  863. package/presets/cursor/svelte/rules/no-type-assertion-as-import-export.mdc +60 -0
  864. package/presets/cursor/svelte/rules/package-manager.mdc +18 -0
  865. package/presets/cursor/svelte/rules/playwright-agents.mdc +80 -0
  866. package/presets/cursor/svelte/rules/post-change-lint.mdc +42 -0
  867. package/presets/cursor/svelte/rules/preset-layering.mdc +36 -0
  868. package/presets/cursor/svelte/rules/preset-no-cross-stack-leakage.mdc +83 -0
  869. package/presets/cursor/svelte/rules/preset-pr-checklist.mdc +39 -0
  870. package/presets/cursor/svelte/rules/preset-token-budget.mdc +41 -0
  871. package/presets/cursor/svelte/rules/preset-twin-sync.mdc +54 -0
  872. package/presets/cursor/svelte/rules/public-imports.mdc +45 -0
  873. package/presets/cursor/svelte/rules/reference-features.mdc +51 -0
  874. package/presets/cursor/svelte/rules/security-sveltekit.mdc +38 -0
  875. package/presets/cursor/svelte/rules/store-svelte.mdc +66 -0
  876. package/presets/cursor/svelte/rules/svelte-a11y-coding.mdc +27 -0
  877. package/presets/cursor/svelte/rules/svelte-app-core.mdc +45 -0
  878. package/presets/cursor/svelte/rules/svelte-script-conventions.mdc +33 -0
  879. package/presets/cursor/svelte/rules/svelte-sveltekit-anti-hallucination.mdc +69 -0
  880. package/presets/cursor/svelte/rules/svelte-ui.mdc +37 -0
  881. package/presets/cursor/svelte/rules/sveltekit-routing.mdc +39 -0
  882. package/presets/cursor/svelte/rules/technical-retro.mdc +16 -0
  883. package/presets/cursor/svelte/rules/tests-e2e-structure.mdc +50 -0
  884. package/presets/cursor/svelte/rules/tests-unit.mdc +42 -0
  885. package/presets/cursor/svelte/rules/types-jsdoc.mdc +42 -0
  886. package/presets/cursor/svelte/skills/README.md +17 -0
  887. package/presets/cursor/svelte/skills/ci-investigation/SKILL.md +36 -0
  888. package/presets/cursor/svelte/skills/code-review/SKILL.md +38 -0
  889. package/presets/cursor/svelte/skills/debug-investigation/SKILL.md +32 -0
  890. package/presets/cursor/svelte/skills/feature-delivery/SKILL.md +34 -0
  891. package/presets/cursor/svelte/skills/playwright-e2e/SKILL.md +37 -0
  892. package/presets/cursor/svelte/skills/svelte-performance/SKILL.md +52 -0
  893. package/presets/cursor/svelte/skills/technical-retro/SKILL.md +54 -0
  894. package/presets/cursor/svelte/skills/unit-testing/SKILL.md +32 -0
  895. package/presets/cursor/svelte/skills/write-adr/SKILL.md +41 -0
  896. package/presets/cursor/svelte/team/README.md +140 -0
  897. package/presets/cursor/svelte/team/conventions.md +21 -0
  898. package/presets/cursor/svelte/team/fixtures/artifact-manifest.example.json +61 -0
  899. package/presets/cursor/svelte/team/fixtures/bugfix-standard.json +25 -0
  900. package/presets/cursor/svelte/team/fixtures/feature-full.json +28 -0
  901. package/presets/cursor/svelte/team/fixtures/feature-light.json +27 -0
  902. package/presets/cursor/svelte/team/fixtures/metrics-scenarios/tasks/human-gate/metrics.json +69 -0
  903. package/presets/cursor/svelte/team/fixtures/metrics-scenarios/tasks/missing-ledger/status.json +5 -0
  904. package/presets/cursor/svelte/team/fixtures/metrics-scenarios/tasks/parallel-receipts/metrics.json +79 -0
  905. package/presets/cursor/svelte/team/fixtures/metrics-scenarios/tasks/serial-retry/metrics.json +124 -0
  906. package/presets/cursor/svelte/team/fixtures/metrics-scenarios/tasks/validation-failed/metrics.json +124 -0
  907. package/presets/cursor/svelte/team/fixtures/metrics.example.json +54 -0
  908. package/presets/cursor/svelte/team/tasks/.gitkeep +0 -0
@@ -0,0 +1,97 @@
1
+ ---
2
+ description: Architectural boundaries and import rules
3
+ globs: api/**/*,stores/**/*,types/**/*,lib/**/*
4
+ alwaysApply: false
5
+ impact: CRITICAL
6
+ ---
7
+
8
+ # Layer boundaries
9
+
10
+ - **UI (`pages/**`, `components/**`, `layouts/**`)**:
11
+ - May import: `components/**`, `composables/**`, `stores/**` (public), types from `~/types` / `@/types` and enums from `~/types/enums` / `@/types/enums` (**only as in `public-imports.mdc`**), API contract — **only** `import … from '~/api'` / `from '@/api'` (**`public-imports.mdc`**).
12
+ - Must not:
13
+ - call the HTTP client directly (`$fetch` / ofetch outside `lib/clients`);
14
+ - know backend DTO details — only domain types.
15
+ - **Store (`stores/**`)** — Pinia `defineStore` only (`store-pinia.mdc`):
16
+ - May import: other `stores/**` (public), services and public API entities — **only** from `~/api` / `@/api` (**`public-imports.mdc`**), types from `~/types` / `@/types` and enums from `~/types/enums` / `@/types/enums` (**`public-imports.mdc`**).
17
+ - Must not:
18
+ - depend on specific UI components / pages;
19
+ - work with global/window API directly.
20
+ - Backend calls — only through services imported from `~/api` / `@/api`; **transport** response and error types (from `@/types`, same shape as the application HTTP client) in **Pinia actions** are acceptable if the API layer is structured that way (`http-client.mdc`, `store-pinia.mdc`).
21
+ - **API (`api/**`)** — implementation in `services/**`, `clients/**`, re-export in `api/index.ts`:
22
+ - Inside the layer: types from `@/types` and enums from `@/types/enums` (**`public-imports.mdc`**); imports `@/api/services/**`, `@/api/clients/**`, relative paths between layer files (`http-client.mdc`, `api-services.mdc`).
23
+ - Must not:
24
+ - pull in UI or store;
25
+ - mix HTTP and domain layers — use mappers.
26
+
27
+ ## UI and API access (`~/api` / `@/api`)
28
+
29
+ - By default, scenarios that **change server state** and coordinate multiple steps go through **Pinia actions** (`defineStore`, feature pattern in the repository).
30
+ - Direct calls to service methods imported from **`~/api` / `@/api`** from UI are allowed only in **narrow cases**: mainly **reads** or actions **without needing the result in Pinia**; same **domain types** a store action would use; **do not** duplicate an existing store scenario and **do not** pass DTOs into components.
31
+ - Prefer structuring such calls like **neighboring features** in the repository (composable facade, `use*`, etc.).
32
+
33
+ ## Ports and adapters (short map)
34
+
35
+ - **Inbound adapter**: UI — user input, display; depends on store and domain types, not transport.
36
+ - **Scenario orchestration**: store (Pinia actions) — calls services, puts **domain** models in state after mapping.
37
+ - **Outbound port (backend contract)**: public API **`~/api` / `@/api`** (barrel `api/index.ts`; implementation — in `api/services/**`, etc., see `public-imports.mdc`).
38
+ - **Outbound adapter**: shared HTTP implementation in **`lib/clients/**`** and instances in **`api/clients/**`** (wrap `$fetch` / ofetch).
39
+
40
+ ## Feature as a slice
41
+
42
+ - For a complex feature, align names and terms (**ubiquitous language** of the domain) in types, getters/actions, services, and UI; folder structure — as in neighboring features in the repository.
43
+
44
+ # Import rules
45
+
46
+ - Always use the `~/` or `@/` alias for cross-layer imports (as established in the repo); respect `#imports`.
47
+ - Within one module/feature, relative imports are OK, but **without climbing above the feature root** (avoid `../../../`).
48
+ - When components, composables, utilities, and other modules reach into another layer or feature, use only **public API** (barrel/index files and explicitly exported entities); no deep imports into other features' internal files; for regulated layers — **`layer-barrel-exports.mdc`** and `public-imports.mdc`; for the API layer from outside `api/**` — **`public-imports.mdc`** (only `~/api` / `@/api`).
49
+ - When adding new code, check:
50
+ - if the module is reusable — it should depend only on "lower" layers (types, utils, api), not on pages.
51
+
52
+ # Feature organization
53
+
54
+ - For complex features (for example, `OrderCheckout`):
55
+ - Page / route: `pages/**` and/or `components/pages/OrderCheckoutPage/**`.
56
+ - Local components: `components/**` subdirectories inside the page.
57
+ - Related store: `stores/orderCheckout.ts` (or the neighboring Pinia module scheme in the repo).
58
+ - API: `api/services/OrdersApi/OrderCheckout/**` (root service name from the project scheme).
59
+ - Types: `types/**` with export through barrel **`types/index.ts`** (`public-imports.mdc`).
60
+
61
+ # Agent requirement
62
+
63
+ When adding new functionality:
64
+ - Place files in the **appropriate layers**.
65
+ - Check existing features with similar structure and **repeat their organization**.
66
+ - Do not "short-circuit" layers (for example, do not call API directly from a component just to simplify).
67
+ - **Forbidden:** RTK / Redux (`createSlice`, `createAsyncThunk`, `useDispatch`, `stores/slices/**` as the canon).
68
+
69
+ ## Incorrect
70
+
71
+ ```ts
72
+ // UI calling HTTP client / deep service path directly
73
+ import { httpClient } from '@/lib/clients/HttpClient'
74
+ import { fetchOrders } from '@/api/services/OrdersApi/orders.service'
75
+
76
+ export const loadOrdersInPage = async () => {
77
+ // bypasses store and @/api barrel
78
+ await httpClient.get('/orders')
79
+ }
80
+ ```
81
+
82
+ ## Correct
83
+
84
+ ```vue
85
+ <script setup lang="ts">
86
+ import { storeToRefs } from 'pinia'
87
+ import { useOrdersStore } from '~/stores/orders'
88
+
89
+ const ordersStore = useOrdersStore()
90
+ const { orders } = storeToRefs(ordersStore)
91
+
92
+ // UI → Pinia action → services from ~/api
93
+ onMounted(() => {
94
+ void ordersStore.loadOrders()
95
+ })
96
+ </script>
97
+ ```
@@ -0,0 +1,52 @@
1
+ ---
2
+ description: Maintain and improve code quality and architecture
3
+ alwaysApply: true
4
+ ---
5
+
6
+ <!-- shared-core: quality/code-quality-and-refactoring.md -->
7
+
8
+ # Match existing style
9
+
10
+ - Follow existing patterns (names, structure, typing / DI / error handling); avoid drive-by formatting or renames.
11
+ - Before a new solution: find an analog and **repeat the approach**; check the design system / UI packages; go only through the **public API** (deep imports are a reason to refactor).
12
+
13
+ # Principles
14
+
15
+ - **KISS:** the simplest change in the repository’s patterns.
16
+ - **DRY + Rule of Three:** share only after the 3rd repetition (wrong abstraction costs more than duplication).
17
+ - **YAGNI:** no APIs, flags, or “for later” layers without a current requirement.
18
+ - **SOLID:** S — one reason to change; O — composition/new implementations; L — subtype contract; I — narrow ports; D — abstractions (ports), details in stack adapters.
19
+ - **CUPID:** Composable; Unix philosophy (one responsibility); Predictable; Idiomatic (repo); Domain-based.
20
+ - **Composition over inheritance;** Law of Demeter — no `a.b.c.d` chains; via public API / facade.
21
+
22
+ # Refactoring during changes
23
+
24
+ - Light refactor is OK if it reduces duplication, improves readability, and does not break public contracts.
25
+ - Examples: shared utility/hook/mapper/use case; narrow unsafe types; split a large module; tokens instead of “magic”; deep import → public API.
26
+ - Do not do a “big” refactor on a point task (structure/public names without a request). Break large work into minimal steps; keep the repo buildable after each step.
27
+
28
+ # Agent requirement
29
+
30
+ - **Boy scout:** leave the module a bit better; do not sacrifice architecture and layers for brevity.
31
+
32
+ ## Agent discipline (anti-sycophancy)
33
+
34
+ Essentials below. Full procedural set (~17 rules) → load **`anti-sycophancy-discipline`**.
35
+
36
+ - Unverifiable third-party API → mark `// VERIFY: lib.symbol @ version` (or stack equivalent); never invent signatures.
37
+ - Before "is this correct?" — ≥3 failure modes (empty, boundary, concurrency/state) or name what you could not check.
38
+ - Refactor without tests → propose characterization test; if declined, label `UNTESTED`.
39
+ - Comments = WHY only when non-obvious; ban self-referential "added for issue Y".
40
+ - Urgency/authority: name the trade-off once, then comply — no apology loops.
41
+ - Match verification to risk; report by what was **verified**, not attempted.
42
+
43
+ Style enforcement (formatter / linter / post-change gate) lives in the **stack toolchain** — see each adapter’s **Stack notes**.
44
+
45
+ > Stack-specific lint gates, examples, and toolchain — in the preset adapter **Stack notes** section.
46
+
47
+ ## Stack notes
48
+
49
+ - Before adding a new UI control, check existing Vue/Nuxt UI code and project packages.
50
+ - Public API: index/barrel files and explicitly exported entities (`public-imports`, `layer-barrel-exports`).
51
+ - Allowed examples: shared composable/utility; typing `any`/`unknown`; splitting a large SFC; CSS tokens instead of “magic” values.
52
+ - Lint/stylelint — only **`post-change-lint`**; ESLint (vue) + Stylelint configs at repo root (e.g. `eslint.config.mjs`, `.stylelintrc*`). Disabling a rule (`eslint-disable`) — only **locally** with a short “why” comment.
@@ -0,0 +1,58 @@
1
+ ---
2
+ description: Requirements for Cursor agents reviewing merge requests
3
+ alwaysApply: false
4
+ ---
5
+
6
+ <!-- shared-core: review/code-review-mr.md -->
7
+
8
+ # Code review merge requests
9
+
10
+ On-demand rule for review flows. **Procedure and output format:** skill `code-review`.
11
+
12
+ ## When to load
13
+
14
+ - User asks for review/MR/diff
15
+ - Pipeline step `code-reviewer`
16
+ - Platform automated review (e.g. BUGBOT) when present
17
+
18
+ ## Checklist references (abstract)
19
+
20
+ - Architecture layers and stack core rules
21
+ - Public imports / module boundaries
22
+ - UI conventions of the stack
23
+ - Unit and e2e/UI test conventions
24
+ - Post-change lint/build gate before final report
25
+ - Design smells **in MR diff scope** — load `design-guidance`; do not expand the full Fowler catalog outside the diff
26
+ - Pattern name (GoF) — only if the repository already uses that shape or the match is minimal
27
+ - Principles (KISS / DRY+Ro3 / YAGNI / SOLID / CUPID) — via always-on `code-quality-and-refactoring`, do not duplicate the essay in review
28
+
29
+ Concrete rule stems — in **Stack notes**.
30
+
31
+ ## Constraints
32
+
33
+ - Focus on MR diff, not the whole repo.
34
+ - Use local `git diff` — do not invent hosting metadata.
35
+ - Boy scout rule: suggest fixes feasible within the MR scope.
36
+ - No “big refactors” without an explicit request (`code-quality-and-refactoring`).
37
+
38
+ ## Output contract
39
+
40
+ Procedure details live in skill `code-review`. Required shape:
41
+
42
+ - Each finding cites **`path:line`**, the problem, impact, and a concrete fix direction.
43
+ - Rank by severity: **`blocker` | `important` | `nit`** (list blocker → nit).
44
+ - Vague («looks risky») is not a finding — cite evidence or ask for surrounding file context.
45
+ - End with a verdict on its own line: **`Safe to merge | needs changes | reject`**.
46
+
47
+ ## Stack notes
48
+
49
+ On-demand rule for review flows. **Procedure and output format:** skill `code-review`.
50
+
51
+ ### Checklist references
52
+
53
+ - Architecture layers: `architecture-boundaries.mdc`, `nuxt-app-core.mdc`; network: `http-client.mdc`
54
+ - Imports: `public-imports.mdc`, `layer-barrel-exports.mdc`
55
+ - UI: `vue-ui.mdc`
56
+ - Security: `security-nuxt.mdc`
57
+ - Tests: `tests-unit.mdc`, `playwright-agents.mdc`, `tests-e2e-structure.mdc`
58
+ - Lint gate before final report: `post-change-lint.mdc`
@@ -0,0 +1,12 @@
1
+ ---
2
+ description: CSS property order via Stylelint (Vue SFC styles included)
3
+ globs: "**/*.{css,scss,vue}"
4
+ alwaysApply: false
5
+ ---
6
+
7
+ # CSS property order
8
+
9
+ - Follow the repo Stylelint config (property order plugin if present).
10
+ - Applies to plain CSS/SCSS and `<style>` blocks in `.vue` SFCs.
11
+ - Do not hand-resort entire files unrelated to the task; fix order in touched rulesets.
12
+ - Run via **`post-change-lint`** (`lint:css`).
@@ -0,0 +1,111 @@
1
+ ---
2
+ description: Design smells (Fowler) and curated GoF patterns for agents. Load when assessing structure, smells, or pattern fit.
3
+ globs:
4
+ - **/*.{ts,tsx}
5
+ alwaysApply: false
6
+ ---
7
+
8
+ <!-- shared-core: quality/design-guidance.md -->
9
+
10
+ # Design guidance (smells & patterns)
11
+
12
+ Glossary of **code smells** (Fowler) and **design patterns** (GoF) for agents during implement / review / debug.
13
+
14
+ Apply only within the task or MR scope. Light refactor — yes; a “big” rewrite without an explicit request — no.
15
+
16
+ Name a pattern **only if** the repository already does it that way or the match is minimal. Otherwise — extract/split/move without a GoF label.
17
+
18
+ Does not replace always-on Principles in `code-quality-and-refactoring` (KISS, DRY + Rule of Three, YAGNI, SOLID, CUPID, composition, Demeter).
19
+
20
+ ## When to load
21
+
22
+ - **Feature delivery / implement** — assess module structure, boundaries, and duplication.
23
+ - **Code review** — smells and pattern fit **in the MR diff**, not across the whole repo.
24
+ - **Debug** — root cause looks like wrong abstraction, Feature Envy, Message Chains, Shotgun Surgery.
25
+ - **Light refactor only** — improvements within boy-scout / MR scope; do not expand the task for the catalog.
26
+
27
+ Agents and skills load this stem via one-liner wiring — do not copy this catalog into the agent prompt.
28
+
29
+ ## How to use (agent rules of thumb)
30
+
31
+ 1. First check against Principles (always-on): is the solution simpler, is there no premature abstraction, is the public API respected.
32
+ 2. Then mark smells **in the changed files** of the task/MR; propose a fix only if it fits a light refactor.
33
+ 3. A GoF pattern is an optional label after the structure is already clear; do not start design by picking a pattern.
34
+ 4. If a smell or pattern conflicts with stack layer boundaries — stack boundaries and existing repo patterns win.
35
+ 5. Do not require renaming “for GoF” if behavior is already correct and readable.
36
+
37
+ ## Code smells (Fowler, curated ≤12)
38
+
39
+ Table: smell → detect hint → fix hint (one line each). No mechanical refactoring menus.
40
+
41
+ | # | Smell | Detect | Fix hint |
42
+ |---|-------|--------|----------|
43
+ | 1 | Duplicate Code | same logic in ≥2 places | dedupe after Rule of Three |
44
+ | 2 | Long Method / Long Module | unit does too much | extract within scope; no big rewrite |
45
+ | 3 | Feature Envy | method touches foreign data more than its own | move logic toward the data / public API |
46
+ | 4 | Data Clumps | the same argument groups travel together | group into a type / value object |
47
+ | 5 | Primitive Obsession | raw string/int instead of domain concepts | typed ids / value objects when the domain needs them |
48
+ | 6 | Speculative Generality | unused hooks, flags, “for later” abstractions | remove (YAGNI) |
49
+ | 7 | Message Chains | `a.b.c.d` chains | Demeter; facade / module public API |
50
+ | 8 | Middle Man | class almost only forwards calls | remove pass-through **or** keep as a boundary |
51
+ | 9 | Divergent Change | one module changes for different reasons | split by reasons to change |
52
+ | 10 | Shotgun Surgery | one semantic change spreads across many files | consolidate responsibility |
53
+ | 11 | Inappropriate Intimacy | access to foreign internals / private details | public API / ports / facades only |
54
+ | 12 | Refused Bequest / Parallel Inheritance | subtype ignores base; mirrored class hierarchies | composition; do not grow parallel trees |
55
+
56
+ **Skip Fowler (not in core):** Lazy Class, Incomplete Library Class, Comments-as-smell dogma, full 70+ catalog, step-by-step recipe menus.
57
+
58
+ Smell conflict priority: Inappropriate Intimacy and Message Chains (module boundaries) > Duplicate Code (after Rule of Three) > Long Method inside an already correct module.
59
+
60
+ ## Design patterns (GoF, curated ≤8)
61
+
62
+ Suggest only when repo already uses the shape or the match is minimal. Prefer extract-function over naming Strategy for the label alone.
63
+
64
+ Patterns below are the **allowed minimum** for agents; the rest of GoF is Skip by default.
65
+
66
+ | Pattern | When to suggest | Anti-trigger |
67
+ |---------|-----------------|--------------|
68
+ | Strategy | interchangeable algorithms already (or clearly soon) chosen by policy | one algorithm with no policy branching |
69
+ | Adapter | wrap external / foreign API under a local port | extra wrapper around your own API |
70
+ | Facade | simplify a multi-step subsystem behind a public API | facade turns into a god-object |
71
+ | Factory Method | polymorphic creation already accepted in repo style | factory for every trivial `new` |
72
+ | Decorator | additive behavior without exploding subclass hierarchies | decorator “for layers” with no real need |
73
+ | Observer | events / subscriptions already exist in the architecture | homemade pub/sub with no repo precedent |
74
+ | Template Method | shared algorithm skeleton + variable hooks | inheritance for a couple of differing lines |
75
+ | Composite | tree of homogeneous nodes (UI/domain), as already in the repo | Composite on a flat list with no hierarchy |
76
+
77
+ If unsure between two patterns — choose the simpler extract/compose without a name; the label may be added on review if the repo already speaks that way.
78
+
79
+ ## Skip / avoid by default
80
+
81
+ | Catalog | Skip |
82
+ |---------|------|
83
+ | GoF | Singleton, Abstract Factory, Flyweight, Memento, Interpreter, Visitor, Bridge, Prototype |
84
+ | GoF (conditional) | Command, Chain of Responsibility, State — mention **only if** the repo already uses them |
85
+ | Fowler | everything beyond the 12 smells above |
86
+ | DDD | Aggregates, bounded-context maps, event sourcing, CQRS — **not in core** |
87
+ | DDD (pointer) | ubiquitous language anti-pattern — expand in `feature-delivery-workflow`, not here |
88
+ | GRASP | Larman list as separate rules — skip (covered by SOLID/CUPID) |
89
+ | Clean Code dogma | hard caps on function lines / “exactly one assert” — skip |
90
+
91
+ Do not introduce a second stem (`refactoring-smells` / `design-patterns-for-agents`) — one catalog: `design-guidance`.
92
+
93
+ ## Out of scope for this stem
94
+
95
+ - Full GoF (23) and full Fowler catalog.
96
+ - Stack-specific recipes (module paths, lint commands) — only in the adapter **Stack notes**.
97
+ - Security, a11y, perf — separate review rules; here only structural smells/patterns.
98
+ - A fourth always-on rule — forbidden; this stem is requestable / agent-load only.
99
+
100
+ ## Cross-refs
101
+
102
+ - Always-on Principles: `code-quality-and-refactoring`.
103
+ - DIP / ports vs adapters: stack `architecture-boundaries` (stack details — in adapter Stack notes).
104
+ - Ubiquitous language: `feature-delivery-workflow` (lineage).
105
+ - MR checklist (smells in scope; pattern name only if repo uses it): `code-review-mr`.
106
+ - Token / twin policy for authors: `preset-token-budget`, `preset-twin-sync` (meta, not consumer always-on).
107
+
108
+ ## Stack notes
109
+
110
+ - Prefer hooks/mappers over HOC or new pattern names when the repo already extracts that way.
111
+ - Suggest Strategy/Adapter only when ports or policy branching already exist in `**`.
@@ -0,0 +1,83 @@
1
+ ---
2
+ description: End-to-end checklist for a new feature and the “layer → Cursor rule” matrix. Use when implementing features via feature-developer or feature-delivery skill.
3
+ alwaysApply: false
4
+ ---
5
+
6
+ <!-- shared-core: architecture/feature-delivery-workflow.md -->
7
+
8
+ # Feature delivery (end-to-end order)
9
+
10
+ ## Stack notes
11
+
12
+ Typical feature with backend data and shared state. Layer details — `architecture-boundaries.mdc`, `nuxt-app-core.mdc`.
13
+
14
+ ## Checklist (work order)
15
+
16
+ 1. **Domain types** — `types/**`, export via barrel (`public-imports.mdc`, **`layer-barrel-exports.mdc`**); JSDoc — `types-jsdoc.mdc`.
17
+ 2. **API contract** — DTOs where the repo uses them; domain types in `@/types`.
18
+ 3. **Mappers** — DTO → domain in `*responseMappers.ts` (`api-services.mdc`).
19
+ 4. **Services** — clients `api/clients/**`, barrel `@/api` (`api-services.mdc`, `http-client.mdc`, **`layer-barrel-exports.mdc`**). No `fetch` from UI/store.
20
+ 5. **State** — `defineStore` / Pinia actions (`store-pinia.mdc`); actions → services from `~/api` / `@/api`.
21
+ 6. **UI** — types from `@/types`, no DTOs (`vue-ui.mdc`, `architecture-boundaries-ui.mdc`, `no-v-bind-spread.mdc`).
22
+ 7. **Mocks** — per repo layout; register in `mocks/handlers.ts` (see below).
23
+ 8. **Tests** — unit for mappers (`tests-unit.mdc`); e2e from `*.cases.md` (`tests-e2e-structure.mdc`, `playwright-agents.mdc`).
24
+ 9. **Completion** — **`post-change-lint.mdc`**: `lint:js` + `lint:css` + `typecheck`; package manager — `package-manager.mdc`.
25
+
26
+ ## Data flow (orientation)
27
+
28
+ ```mermaid
29
+ flowchart LR
30
+ subgraph transport [Transport]
31
+ HttpClient[HttpClient]
32
+ end
33
+ DTO[DTO] --> Mappers[Mappers]
34
+ Mappers --> Domain[Domain types]
35
+ Domain --> Service[API service]
36
+ Service --> HttpClient
37
+ Service --> Action[Pinia action]
38
+ Action --> Store[Store]
39
+ Store --> UI[UI]
40
+ ```
41
+
42
+ ## Registration by layer
43
+
44
+ 1. **Types** — `types/**`; domain model is the source of truth for UI and store.
45
+ 2. **API** — `api/services/<ServiceRoot>/<Segment>/`; public exports (incl. **path constants** for mocks) → **`api/index.ts`**.
46
+ 3. **Mocks (MSW)** — `mocks/data/<feature>/`; handlers in **`mocks/handlers.ts`**. Paths from `@/api`; do not duplicate URL strings. Check browser worker and Node `setupServer` if both are used.
47
+ 4. **Store** — `stores/<featureName>.ts` (`defineStore`); optional composable facade in `composables/**`. Registration via `@pinia/nuxt` / the repo’s accepted pattern — **not** RTK `reducers.ts` / `middleware/**`.
48
+ 5. **UI** — `pages/**`, `components/pages/<FeatureName>Page/**` and/or `components/**`; data via store / composables.
49
+ 6. **Unit** — `*.spec.ts`; mappers and non-trivial logic are required.
50
+ 7. **E2E** — `tests/e2e/<Area>/<plan>.cases.md` + `*.spec.ts`.
51
+
52
+ ## Partial scenarios
53
+
54
+ | Task | Minimum actions |
55
+ |------|-----------------|
56
+ | API + types only | Types, service, mappers, `@/api` barrel; unit for mapper. |
57
+ | Mocks only | Path in `@/api`; handlers + `mocks/handlers.ts`. |
58
+ | Store only | Pinia actions via `@/api`; `stores/<feature>.ts`. |
59
+ | UI only | Store state; no HTTP/DTO. |
60
+ | E2E only | `*.cases.md` + spec; page object. |
61
+
62
+ ## Anti-patterns
63
+
64
+ - DTO in UI or untyped store.
65
+ - HTTP client from a component/Pinia action bypassing the service.
66
+ - Deep-import `@/api/services/**` from UI/store.
67
+ - `{...props}` / `v-bind="$attrs"` spread without an explicit list — `no-v-bind-spread.mdc`.
68
+ - RTK / Redux (`createSlice`, `createAsyncThunk`, `stores/slices/**` as the canon).
69
+ - **Ubiquitous language:** Domain/type names reflect the feature’s subject domain — do not mix transport/framework terms into the domain without need.
70
+ - Load `design-guidance` (rule stem) when assessing structure, smells, or pattern fit.
71
+
72
+ ## Matrix: zone → rules
73
+
74
+ | Zone | Rules |
75
+ |------|-------|
76
+ | `api/clients/**`, `lib/clients/**` | `http-client.mdc`, `tests-unit.mdc` (behavior) |
77
+ | `api/services/**` | `api-services.mdc`, `layer-barrel-exports.mdc`, `http-client.mdc` |
78
+ | `stores/**` | `store-pinia.mdc`, `architecture-boundaries.mdc`, `public-imports.mdc` |
79
+ | `components/**` | `vue-ui.mdc`, `no-v-bind-spread.mdc`, `public-imports.mdc` |
80
+ | `types/**` | `public-imports.mdc`, `types-jsdoc.mdc`, `layer-barrel-exports.mdc` |
81
+ | `tests/e2e/**` | `tests-e2e-structure.mdc`, `playwright-agents.mdc` |
82
+
83
+ When adding or extending a feature, **walk the checklist** and the rules from the table for affected zones.
@@ -0,0 +1,15 @@
1
+ ---
2
+ description: HTTP client wrapper for Nuxt — $fetch/ofetch, one stack, error contracts
3
+ globs: lib/clients/**/*.ts,api/clients/**/*.ts,api/**/*.ts
4
+ alwaysApply: false
5
+ ---
6
+
7
+ # HTTP client
8
+
9
+ - One HTTP stack for the app: wrap **`$fetch` / ofetch** (or the client already used in `lib/clients/**`).
10
+ - Do not mix ad-hoc `fetch`/`axios` in features if a shared client exists.
11
+ - Services in `api/**` call the wrapper — UI/stores do not own transport.
12
+ - Map responses to domain models in services/mappers before Pinia.
13
+ - Errors: use project transport error types from `~/types` / `@/types`; narrow with `instanceof` when available.
14
+ - Base URL / auth headers: from `runtimeConfig` / existing client factories — do not hardcode secrets.
15
+ - Calling Nitro `/api/*` from the client is fine when that is the BFF pattern — still through services.
@@ -0,0 +1,74 @@
1
+ ---
2
+ description: Two-level barrel exports for layers with a regulated public API
3
+ globs: **/index.ts
4
+ alwaysApply: false
5
+ impact: MEDIUM
6
+ ---
7
+
8
+ # Barrel exports for layers with a public API
9
+
10
+ ## When to apply
11
+
12
+ For **any layer** (directory, package, bounded context) that has:
13
+
14
+ - a **root barrel** — single import point for external consumers;
15
+ - deep imports into the layer **forbidden** from outside (ESLint `no-restricted-imports`, `public-imports.mdc` rules).
16
+
17
+ Example alias/entry points across projects: `@/api`, `@/types`, `@/core`, `@/store`, `packages/foo`.
18
+
19
+ ## Two barrel levels
20
+
21
+ 1. **Local** — `index.ts` of a module/feature inside the layer.
22
+ 2. **Root public API** — layer barrel (e.g. `src/<layer>/index.ts`).
23
+
24
+ **Inside** the layer — relative imports and paths between submodules. **Outside** — only the root barrel and **explicitly allowed** secondary entry points (if fixed in project rules, e.g. `@/types/enums`).
25
+
26
+ ## What to re-export outward
27
+
28
+ Only symbols that **must be available** to layer consumers: public functions/services/facades, contract types, constants and helpers needed by other layers or tests.
29
+
30
+ **Do not re-export:** internal adapters, mappers, transport details, intermediate objects used to assemble a facade inside the layer.
31
+
32
+ Grouping in the root barrel — **per repository convention** (orient on neighboring modules of the same layer).
33
+
34
+ ## Agent checklist (required)
35
+
36
+ When adding or substantially extending a **module inside a regulated layer**:
37
+
38
+ 1. Identify the layer, its **root barrel**, and extra entry points (`public-imports.mdc`).
39
+ 2. Create/update the **local** `index.ts` — public symbols only.
40
+ 3. If the layer has a **facade/aggregator** (`*ApiService.ts`, `rootReducer`, …) — wire the module there.
41
+ 4. Add a **re-export** of new public symbols in the layer’s **root barrel**.
42
+ 5. **Verify:** grep for the symbol name or path `./<Module>` in the root barrel; no deep imports from outside the layer.
43
+
44
+ The module is **not ready** until the checklist passes.
45
+
46
+ ## How to find regulated layers in the repository
47
+
48
+ 1. `public-imports.mdc` rules in `.cursor/rules/`.
49
+ 2. ESLint `no-restricted-imports` — `@/<layer>/*` patterns with barrel exception.
50
+ 3. `architecture-boundaries.mdc`, project README.
51
+
52
+ ## In this repository
53
+
54
+ | Layer | Root barrel | Import rule |
55
+ |-------|-------------|-------------|
56
+ | API | `api/index.ts` | `public-imports.mdc` |
57
+ | Types | `types/index.ts` | `public-imports.mdc` (+ `@/types/enums`) |
58
+ | Core | `core/index.ts` | ESLint: `@/core/index` |
59
+
60
+ Two-level illustration (API): local `services/.../<Feature>/index.ts` → facade `*ApiService.ts` → `api/index.ts`.
61
+ ## Incorrect
62
+
63
+ ```ts
64
+ // api/index.ts — leaking internals
65
+ export { mapCardResponse } from './services/CardsApi/cardResponseMappers'
66
+ export { rawCardsClient } from './clients/rawCardsClient'
67
+ ```
68
+
69
+ ## Correct
70
+
71
+ ```ts
72
+ // api/index.ts — public facade only
73
+ export { cardsApi } from './services/CardsApi'
74
+ ```
@@ -0,0 +1,61 @@
1
+ ---
2
+ description: Choose the navigation API for the project stack (Nuxt 3 vs Vue Router SPA)
3
+ globs: pages/**/*,layouts/**/*,middleware/**/*,nuxt.config.*
4
+ alwaysApply: false
5
+ ---
6
+
7
+ # Navigation and routing: project stack first
8
+
9
+ **For any task involving navigation, page transitions, URLs, redirects, breadcrumbs, protected routes, or programmatic route changes** — before proposing code or imports, **do not** default to a “typical Vue SPA”. You must **explicitly check the target repository stack** and use **one** mechanism consistent with the project.
10
+
11
+ ## Dependencies: what to check first
12
+
13
+ 1. **`package.json`** at the app root (the package with `nuxt.config.*` / the one that builds and deploys). Inspect **`dependencies`** and, if needed, **`peerDependencies`**:
14
+ - **`nuxt`** — Nuxt 3 (file-based routing); version matters for API nuances (check docs for that major).
15
+ - **`vue-router`** without Nuxt — separate SPA routing; do not replace its API with Nuxt calls (`navigateTo`, `<NuxtLink>`) without checking.
16
+ - **`nuxt`** and a separate manual `createRouter` at once — may be legacy or hybrid; **do not** pick an API by default — see “Routing implementation in the project” below.
17
+
18
+ 2. **Monorepo / workspaces** — routing may not live in the root `package.json`. Open **`package.json` of the workspace** that holds `pages/` and `nuxt.config.*`.
19
+
20
+ 3. **Installation fact** — when in doubt, check the lockfile (`bun.lock`, `package-lock.json`, `pnpm-lock.yaml`, `yarn.lock`) or `node_modules`: confirm the declared package is actually installed.
21
+
22
+ ## Routing implementation in the project (code and structure)
23
+
24
+ Before proposing a navigation pattern, **check how it is already done in the repository**:
25
+
26
+ 1. **Route tree**
27
+ - **Nuxt 3 file-based routing:** **`pages/`** directory (`.vue`), layouts in **`layouts/`**, middleware in **`middleware/`**, `definePageMeta`.
28
+ - **Nuxt 4 note:** `app/` may be `srcDir` — confirm via `nuxt.config`; **do not** confuse with Next `app/` + `page.tsx`.
29
+ - Plain **Vue Router SPA:** route config (`router/index.ts`, `createRouter`) without Nuxt file routing.
30
+
31
+ 2. **Entry points and wrappers**
32
+ - Search the code: **`navigateTo`**, **`<NuxtLink>`**, **`useRouter` / `useRoute`** (Nuxt auto-import), **`from 'vue-router'`**, **`createRouter`**, **`RouterLink`**.
33
+ - Where routes are declared (Nuxt file structure vs explicit `routes` in SPA).
34
+
35
+ 3. **Shared project abstractions**
36
+ - Link wrappers (`~/components/...`, design-system Link), path helpers, route constants — **use them**, do not duplicate raw API.
37
+
38
+ 4. **Neighboring feature files**
39
+ - New navigation code — same style as pages/composables in that area (`navigateTo` / `<NuxtLink>` vs `vue-router` as in neighboring imports).
40
+
41
+ ## How to decide what to use (summary)
42
+
43
+ 1. **Dependencies** — see section above; they define the allowed package set.
44
+ 2. **Structure** — Nuxt `pages/` vs Vue Router SPA by directories and config.
45
+ 3. **Actual code** — which imports and wrappers already dominate in the app.
46
+
47
+ ## What to use (short matrix)
48
+
49
+ | Stack | Programmatic navigation / path read | Links |
50
+ |-------|-------------------------------------|-------|
51
+ | **Nuxt 3 file-based routing** | `navigateTo`, `useRouter`, `useRoute`, `useRouter().push` (per Nuxt docs for your version) | `<NuxtLink>` |
52
+ | **Vue Router SPA (no Nuxt)** | `vue-router` (`useRouter`, `useRoute`, `router.push`, …) | `<RouterLink>` / `<router-link>` |
53
+
54
+ **Do not:** add `react-router-dom` or `next/navigation` / `next/link` in a Nuxt project; import Next hooks (`usePathname`, `useSearchParams` from `next/navigation`); mix manual `createRouter` and Nuxt file routing without a clear reason in the codebase.
55
+
56
+ ## Agent requirement
57
+
58
+ - Before generating or reviewing navigation code, **briefly state the conclusion** (e.g. “dependencies: `nuxt`; code uses `<NuxtLink>` / `navigateTo` everywhere → use the same”) and follow it.
59
+ - **Required check:** current **`dependencies`** in the relevant workspace `package.json` + **how routes and imports are already implemented** (repo search, neighboring files). Do not rely on a single signal alone (e.g. only the presence of a `pages/` folder).
60
+ - If the stack is unclear (hybrid) — **check lockfile / installed packages** and **dominant imports**, then pick the API.
61
+ - For **this** preset the baseline is **`nuxt-app-core.mdc`** + **`nuxt-pages-routing.mdc`**: Nuxt 3; prefer **`navigateTo`**, **`useRouter` / `useRoute`**, **`<NuxtLink>`**.
@@ -0,0 +1,16 @@
1
+ ---
2
+ description: Navigation in UI components — short guide (full stack audit — navigation-router-stack.mdc)
3
+ globs: pages/**/*,layouts/**/*,middleware/**/*,components/**/*
4
+ alwaysApply: false
5
+ ---
6
+
7
+ # Navigation in UI components
8
+
9
+ Before links, programmatic navigation, or URL work in UI:
10
+
11
+ 1. **`package.json`** of the app workspace — `nuxt` vs plain `vue-router` SPA.
12
+ 2. **Neighboring imports** in the same feature (`navigateTo`, `<NuxtLink>`, `useRouter` / `useRoute` vs `from 'vue-router'`).
13
+ 3. **Project wrappers** (`~/components/...` Link) — preferred over raw router API.
14
+ 4. **Default (preset):** Nuxt 3 file-based routing → `navigateTo` + `<NuxtLink>` + `useRouter` / `useRoute` (`nuxt-app-core.mdc`, `nuxt-pages-routing.mdc`).
15
+
16
+ Full audit (route tree, hybrids, lockfile): **`navigation-router-stack.mdc`** — when editing `pages/**`, `layouts/**`, `middleware/**`, `nuxt.config.*`.
@@ -0,0 +1,60 @@
1
+ ---
2
+ description: Avoid type assertions via as at module boundaries (import/export)
3
+ globs:
4
+ - api/**/*
5
+ - stores/**/*
6
+ - types/**/*
7
+ alwaysApply: false
8
+ ---
9
+
10
+ # Do not use `as` for type assertion on export and import (except necessary cases)
11
+
12
+ ## What this is about
13
+
14
+ This is about TypeScript **type assertion**: expressions like `value as Type`.
15
+
16
+ **Not covered by this rule** (not assertion — module syntax):
17
+
18
+ - rename on export: `export { foo as bar }`, `export { default as Baz } from '...'`;
19
+ - rename on import: `import { foo as bar } from '...'`;
20
+ - `import type { Foo as Bar }` — type alias in a type import.
21
+
22
+ ## Requirement
23
+
24
+ - On the **public module boundary** (what is **exported** from a file / barrel, and what is immediately **assigned from imported symbols** with a forced cast) **do not use** `as Type` to “force-fit” types when normal typing would work.
25
+
26
+ ## Prefer instead of `as`
27
+
28
+ - an explicit annotation: `const x: T = ...` / `function f(): T`;
29
+ - **generics** on functions and classes;
30
+ - **`satisfies`** (when you need to check compatibility without narrowing to `any`);
31
+ - narrowing **`unknown`** after checks (type guards, `zod`, etc.);
32
+ - fixing **source types/DTOs/mappers**, not an assertion on the way out.
33
+
34
+ ## When `as` is allowed
35
+
36
+ - interaction with **untyped** or incorrectly typed external modules where there is no reasonable alternative;
37
+ - narrow spots after **validation**, if a type guard still cannot be expressed without noise (prefer guard/`satisfies` anyway);
38
+ - **`as const`** — when literal types are needed and wide inference breaks the contract (a separate mechanism; use on purpose, not as a substitute for API typing).
39
+ - a **`catch (error)`** block after HTTP via the shared client: prefer narrowing with **`instanceof`** on the **transport error class** from `@/types` (which one — follow the existing implementation) and work with the narrowed type; bare **`as` to the same type** — only if `instanceof` is unavailable (different throw source) and deliberately.
40
+
41
+ ## Examples
42
+
43
+ ```typescript
44
+ // ❌ Bad: assertion on exported API
45
+ export const config = loadRaw() as AppConfig
46
+
47
+ // ✅ Better: annotation + check or mapper
48
+ export const config: AppConfig = mapToAppConfig(loadRaw())
49
+
50
+ // ❌ Bad: immediately after import we “break” the type
51
+ import { getData } from './api'
52
+ export const data = getData() as MyDto[]
53
+
54
+ // ✅ Better: type getData / wrap with a type-safe function
55
+ ```
56
+
57
+ ## Agent requirement
58
+
59
+ On review and code generation **do not add** new `as Type` on exported entities and on the import → export chain without clear need; when possible fix the type contract at the source.
60
+ - In stores and services when handling API errors, first consider **`instanceof`** on the transport error class from `@/types` following existing code (`http-client.mdc`, `store-pinia.mdc`).