@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
@@ -9,98 +9,98 @@ alwaysApply: false
9
9
 
10
10
  # Design guidance (smells & patterns)
11
11
 
12
- Словарь **code smells** (Fowler) и **design patterns** (GoF) для агентов при implement / review / debug.
12
+ Glossary of **code smells** (Fowler) and **design patterns** (GoF) for agents during implement / review / debug.
13
13
 
14
- Применять только в scope задачи или MR. Лёгкий refactor — да; «большой» rewrite без явного запросанет.
14
+ Apply only within the task or MR scope. Light refactor — yes; a “big” rewrite without an explicit request no.
15
15
 
16
- Называть паттерн **только если** репозиторий уже так делает или это минимальный match. Иначе — extract/split/move без ярлыка GoF.
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
17
 
18
- Не заменяет always-on Principles в `code-quality-and-refactoring` (KISS, DRY + Rule of Three, YAGNI, SOLID, CUPID, composition, Demeter).
18
+ Does not replace always-on Principles in `code-quality-and-refactoring` (KISS, DRY + Rule of Three, YAGNI, SOLID, CUPID, composition, Demeter).
19
19
 
20
20
  ## When to load
21
21
 
22
- - **Feature delivery / implement** — оценка структуры модулей, границ и дублирования.
23
- - **Code review** — smells и pattern fit **в диффе MR**, не по всему репо.
24
- - **Debug** — root-cause похож на wrong abstraction, Feature Envy, Message Chains, Shotgun Surgery.
25
- - **Light refactor only** — улучшения в рамках boy-scout / MR scope; не расширять задачу ради каталога.
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
26
 
27
- Агенты и skills подгружают stem по one-liner wiring — не копировать этот каталог в промпт агента.
27
+ Agents and skills load this stem via one-liner wiring — do not copy this catalog into the agent prompt.
28
28
 
29
29
  ## How to use (agent rules of thumb)
30
30
 
31
- 1. Сначала сверить с Principles (always-on): проще ли решение, нет ли ранней абстракции, соблюдён ли public API.
32
- 2. Затем отметить smells **в изменённых файлах** задачи/MR; предложить fix только если он укладывается в light refactor.
33
- 3. Паттерн GoF опциональный ярлык после того, как структура уже ясна; не начинать дизайн с выбора паттерна.
34
- 4. Если smell и паттерн конфликтуют с границами слоёв стекапобеждают stack boundaries и existing repo patterns.
35
- 5. Не требовать переименования «под GoF», если поведение уже корректно и читаемо.
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
36
 
37
37
  ## Code smells (Fowler, curated ≤12)
38
38
 
39
- Таблица: smell → detect hint → fix hint (одна линия каждый). Без механических меню рефакторинга.
39
+ Table: smell → detect hint → fix hint (one line each). No mechanical refactoring menus.
40
40
 
41
41
  | # | Smell | Detect | Fix hint |
42
42
  |---|-------|--------|----------|
43
- | 1 | Duplicate Code | одинаковая логика в ≥2 местах | dedupe после Rule of Three |
44
- | 2 | Long Method / Long Module | единица делает слишком много | extract в рамках scope; без big rewrite |
45
- | 3 | Feature Envy | метод чаще трогает чужие данные, чем свои | сдвинуть логику к данным / public API |
46
- | 4 | Data Clumps | одни и те же группы аргументов кочуют вместе | сгруппировать в type / value object |
47
- | 5 | Primitive Obsession | сырые string/int вместо доменных понятий | typed ids / value objects при нужде домена |
48
- | 6 | Speculative Generality | неиспользуемые хуки, флаги, абстракции «на будущее» | удалить (YAGNI) |
49
- | 7 | Message Chains | цепочки `a.b.c.d` | Demeter; facade / public API модуля |
50
- | 8 | Middle Man | класс почти только прокидывает вызовы | убрать pass-through **или** оставить как boundary |
51
- | 9 | Divergent Change | один модуль меняется по разным причинам | split по поводам изменения |
52
- | 10 | Shotgun Surgery | одно смысловое изменение разъезжается по многим файлам | consolidate ответственность |
53
- | 11 | Inappropriate Intimacy | доступ к чужим internals / private деталям | только public API / ports / facades |
54
- | 12 | Refused Bequest / Parallel Inheritance | подтип игнорирует базу; зеркальные иерархии классов | composition; не плодить параллельные деревья |
55
-
56
- **Skip Fowler (не в core):** Lazy Class, Incomplete Library Class, Comments-as-smell dogma, полный каталог 70+, пошаговые recipe-меню.
57
-
58
- Приоритет при конфликте smells: Inappropriate Intimacy и Message Chains (границы модулей) > Duplicate Code (после Rule of Three) > Long Method внутри уже правильного модуля.
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
59
 
60
60
  ## Design patterns (GoF, curated ≤8)
61
61
 
62
- Suggest only when repo already uses the shape or the match is minimal. Prefer extract-function over naming Strategy ради ярлыка.
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
63
 
64
- Паттерны ниже **разрешённый минимум** для агентов; остальной GoF по умолчанию в Skip.
64
+ Patterns below are the **allowed minimum** for agents; the rest of GoF is Skip by default.
65
65
 
66
66
  | Pattern | When to suggest | Anti-trigger |
67
67
  |---------|-----------------|--------------|
68
- | Strategy | взаимозаменяемые алгоритмы уже (или явно скоро) выбираются политикой | один алгоритм без ветвления политики |
69
- | Adapter | обернуть внешний / чужой API под локальный port | лишняя обёртка вокруг своего же API |
70
- | Facade | упростить multi-step subsystem за public API | facade превращается в god-object |
71
- | Factory Method | полиморфное создание уже принято в стиле репо | factory на каждый тривиальный `new` |
72
- | Decorator | аддитивное поведение без взрыва subclass-иерархий | decorator «для слоёв» без реальной нужды |
73
- | Observer | events / subscriptions уже есть в архитектуре | самодельный pub/sub без прецедента в репо |
74
- | Template Method | общий algorithm skeleton + вариативные hooks | наследование ради пары отличающихся строк |
75
- | Composite | дерево однородных узлов (UI/domain), как уже в репо | Composite на плоский список без иерархии |
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
76
 
77
- Если сомневаешься между двумя паттернамивыбери более простой extract/compose без имени; ярлык можно добавить на review, если репо уже так говорит.
77
+ If unsure between two patternschoose the simpler extract/compose without a name; the label may be added on review if the repo already speaks that way.
78
78
 
79
79
  ## Skip / avoid by default
80
80
 
81
81
  | Catalog | Skip |
82
82
  |---------|------|
83
83
  | GoF | Singleton, Abstract Factory, Flyweight, Memento, Interpreter, Visitor, Bridge, Prototype |
84
- | GoF (conditional) | Command, Chain of Responsibility, State — упоминать **только если** репо уже использует |
85
- | Fowler | всё сверх 12 smells выше |
86
- | DDD | Aggregates, bounded-context maps, event sourcing, CQRS — **не в core** |
87
- | DDD (pointer) | ubiquitous language anti-pattern — расширять в `feature-delivery-workflow`, не здесь |
88
- | GRASP | список Larman как отдельные правила — skip (перекрывается SOLID/CUPID) |
89
- | Clean Code dogma | жёсткие caps на строки функции / «ровно один assert» — skip |
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
90
 
91
- Не вводить второй stem (`refactoring-smells` / `design-patterns-for-agents`) — один каталог: `design-guidance`.
91
+ Do not introduce a second stem (`refactoring-smells` / `design-patterns-for-agents`) — one catalog: `design-guidance`.
92
92
 
93
93
  ## Out of scope for this stem
94
94
 
95
- - Полный GoF (23) и полный Fowler catalog.
96
- - Stack-specific рецепты (пути модулей, lint-команды) — только в **Stack notes** адаптера.
97
- - Security, a11y, perf — отдельные review-правила; здесь только структурные smells/patterns.
98
- - Четвёртое always-on правилозапрещено; этот stem только requestable / agent-load.
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 ruleforbidden; this stem is requestable / agent-load only.
99
99
 
100
100
  ## Cross-refs
101
101
 
102
102
  - Always-on Principles: `code-quality-and-refactoring`.
103
- - DIP / ports vs adapters: stack `architecture-boundaries` (детали стекав Stack notes адаптеров).
103
+ - DIP / ports vs adapters: stack `architecture-boundaries` (stack detailsin adapter Stack notes).
104
104
  - Ubiquitous language: `feature-delivery-workflow` (lineage).
105
105
  - MR checklist (smells in scope; pattern name only if repo uses it): `code-review-mr`.
106
106
  - Token / twin policy for authors: `preset-token-budget`, `preset-twin-sync` (meta, not consumer always-on).
@@ -1,26 +1,26 @@
1
1
  ---
2
- description: Сквозной чеклист доставки iOS-фичи и матрица «зона правило». Use when implementing features, adding screens/API, or extending existing iOS flows.
2
+ description: End-to-end iOS feature delivery checklist and zonerule matrix. Use when implementing features, adding screens/API, or extending existing iOS flows.
3
3
  alwaysApply: false
4
4
  ---
5
5
 
6
6
  <!-- shared-core: architecture/feature-delivery-workflow.md -->
7
7
 
8
- # Доставка фичи (iOS)
8
+ # Feature delivery (iOS)
9
9
 
10
10
  ## Stack notes
11
11
 
12
- Типичная фича с данными и UI. Детали слоёв — `architecture-boundaries.mdc`, `ios-app-core.mdc`.
12
+ Typical feature with data and UI. Layer details — `architecture-boundaries.mdc`, `ios-app-core.mdc`.
13
13
 
14
- ## Чеклист (порядок работ)
14
+ ## Checklist (work order)
15
15
 
16
- 1. **Domain** — entities, value types, протоколы репозиториев / use cases (`Features/**/Domain/**`).
17
- 2. **Data** — DTO (`Codable`), mappers Domain ↔ DTO, реализации репозиториев, API-клиент (`networking-services.mdc`).
18
- 3. **ViewModel** — состояние, вызовы use case / протоколов; DI из App; без DTO и URL (`state-and-viewmodels.mdc`).
19
- 4. **View / navigation** — тонкие SwiftUI Views, Design System; навигация как в репо (`swiftui-ui.mdc`).
20
- 5. **Тесты** — unit на mappers / use cases / VM (`tests-unit.mdc`); UI-потоки — XCUITest (`tests-ui.mdc`).
21
- 6. **Завершение****вызвать** `post-change-build.mdc` (+ `xcode-tooling.mdc` для схем/команд): сборка затронутых таргетов + lint/format по конфигу репо.
16
+ 1. **Domain** — entities, value types, repository / use case protocols (`Features/**/Domain/**`).
17
+ 2. **Data** — DTOs (`Codable`), Domain ↔ DTO mappers, repository implementations, API client (`networking-services.mdc`).
18
+ 3. **ViewModel** — state, use case / protocol calls; DI from App; no DTOs or URLs (`state-and-viewmodels.mdc`).
19
+ 4. **View / navigation** — thin SwiftUI Views, Design System; navigation as in the repo (`swiftui-ui.mdc`).
20
+ 5. **Tests** — unit for mappers / use cases / VM (`tests-unit.mdc`); UI flows — XCUITest (`tests-ui.mdc`).
21
+ 6. **Completion****invoke** `post-change-build.mdc` (+ `xcode-tooling.mdc` for schemes/commands): build touched targets + lint/format per repo config.
22
22
 
23
- ## Поток данных (ориентир)
23
+ ## Data flow (orientation)
24
24
 
25
25
  ```mermaid
26
26
  flowchart LR
@@ -32,36 +32,36 @@ flowchart LR
32
32
  DataImpl[Data impl] -.-> Repo
33
33
  ```
34
34
 
35
- ## Частичные сценарии
35
+ ## Partial scenarios
36
36
 
37
- | Задача | Минимум |
38
- |--------|---------|
39
- | Только API / модель | Domain + DTO + mapper + repo impl; unit на mapper. |
40
- | Только VM / логика | Протоколы Domain; mock в тестах; без HTTP во View. |
41
- | Только UI | View + существующий VM/state; без DTO. |
42
- | Только тесты | Specs по конвенции репо; не менять production без нужды. |
37
+ | Task | Minimum |
38
+ |------|---------|
39
+ | API / model only | Domain + DTO + mapper + repo impl; unit for mapper. |
40
+ | VM / logic only | Domain protocols; mocks in tests; no HTTP in View. |
41
+ | UI only | View + existing VM/state; no DTOs. |
42
+ | Tests only | Specs per repo convention; do not change production without need. |
43
43
 
44
- ## Антипаттерны
44
+ ## Anti-patterns
45
45
 
46
- - DTO / `Codable` transport-типы во View или ViewModel.
47
- - `URLSession` / конкретный API-клиент в ViewModel или View.
48
- - Domain импортирует SwiftUI / UIKit.
49
- - Deep-import внутренних файлов другой фичи.
50
- - Сборка DI внутри View.
51
- - **Ubiquitous language:** имена Domain/типов отражают предметную область фичине смешивать транспорт/фреймворк-термины в домен без нужды.
46
+ - DTO / `Codable` transport types in View or ViewModel.
47
+ - `URLSession` / concrete API client in ViewModel or View.
48
+ - Domain imports SwiftUI / UIKit.
49
+ - Deep-import of another feature’s internal files.
50
+ - Assembling DI inside a View.
51
+ - **Ubiquitous language:** Domain/type names reflect the feature domain do not mix transport/framework terms into domain without need.
52
52
  - Load `design-guidance` (rule stem) when assessing structure, smells, or pattern fit.
53
53
 
54
- ## Матрица: зонаправила
54
+ ## Matrix: zonerules
55
55
 
56
- | Зона | Правила |
56
+ | Zone | Rules |
57
57
  |------|---------|
58
58
  | `Features/**/Domain/**`, `Core/Domain/**` | `architecture-boundaries.mdc`, `ios-app-core.mdc` |
59
59
  | `Features/**/Data/**`, `**/Network*/**` | `networking-services.mdc`, `architecture-boundaries.mdc` |
60
60
  | `*ViewModel*.swift`, Presentation state | `state-and-viewmodels.mdc` |
61
61
  | `Presentation/**`, `DesignSystem/**` | `swiftui-ui.mdc`, `architecture-boundaries.mdc` |
62
- | `**/*.swift` (стиль) | `swift-conventions.mdc` |
62
+ | `**/*.swift` (style) | `swift-conventions.mdc` |
63
63
  | `*Tests/**` | `tests-unit.mdc` |
64
64
  | `*UITests/**` | `tests-ui.mdc` |
65
- | После правок Swift | `post-change-build.mdc` |
65
+ | After Swift edits | `post-change-build.mdc` |
66
66
 
67
- При добавлении или расширении фичи **пройти чеклист** и правила из таблицы для затронутых зон.
67
+ When adding or extending a feature, **walk the checklist** and the table rules for touched zones.
@@ -1,21 +1,21 @@
1
1
  ---
2
- description: Базовые принципы, стек и структура iOS приложения на Swift (preset)
2
+ description: Core principles, stack, and structure for an iOS Swift app (preset)
3
3
  alwaysApply: true
4
4
  ---
5
5
 
6
- # Стек и окружение
6
+ # Stack and environment
7
7
 
8
- Версии **из Xcode / Package.swift / конфигов репо**. Рамка: Swift, iOS; SwiftUI приоритет (UIKit где принято); Xcode + SPM/CocoaPods как в репо; `async`/`await`, `@MainActor`; XCTest/Swift Testing + XCUITest; сеть — `URLSession`/`Codable`; UI — токены `DesignSystem/`; наблюдаемостьтолько если уже в проекте.
8
+ Versions come **from Xcode / Package.swift / repo configs**. Frame: Swift, iOS; SwiftUI preferred (UIKit where the repo already uses it); Xcode + SPM/CocoaPods as in the repo; `async`/`await`, `@MainActor`; XCTest/Swift Testing + XCUITest; networking — `URLSession`/`Codable`; UI — `DesignSystem/` tokens; observability only if already in the project.
9
9
 
10
- # Структура проекта
10
+ # Project structure
11
11
 
12
- Feature-first или слои сверху (как в репо): `App/` (composition root), `Features/<Name>/` (Presentation / Domain / Data), `Core/`, `DesignSystem/`, `Tests/`. Новые файлы рядом с аналогами. Границы/DI — **`architecture-boundaries.mdc`**.
12
+ Feature-first or top-level layers (as in the repo): `App/` (composition root), `Features/<Name>/` (Presentation / Domain / Data), `Core/`, `DesignSystem/`, `Tests/`. Place new files next to analogs. Boundaries/DI — **`architecture-boundaries.mdc`**.
13
13
 
14
- # Swift и качество
14
+ # Swift and quality
15
15
 
16
- API Design Guidelines + SwiftLint/SwiftFormat репо; без `!`/`try!` в production; `guard` / typed errors; паттерны соседних файлов.
16
+ API Design Guidelines + the repo’s SwiftLint/SwiftFormat; no `!`/`try!` in production; `guard` / typed errors; follow neighboring-file patterns.
17
17
 
18
- # Работа агента
18
+ # Agent work
19
19
 
20
- - Слойпаттерн соседей; без `URLSession` во View и DTO во ViewModel (`architecture-boundaries.mdc`).
21
- - Фичи: `feature-delivery-workflow.mdc`; после Swift — **вызвать** `post-change-build.mdc`; toolchain — `xcode-tooling.mdc`.
20
+ - Layerneighbor patterns; no `URLSession` in Views and no DTOs in ViewModels (`architecture-boundaries.mdc`).
21
+ - Features: `feature-delivery-workflow.mdc`; after Swift edits **invoke** `post-change-build.mdc`; toolchain — `xcode-tooling.mdc`.
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: SPM / модули — public API, access control, запрет deep-import internals
2
+ description: SPM / modules — public API, access control, ban deep-import of internals
3
3
  globs:
4
4
  - "**/Package.swift"
5
5
  - "**/*Public*.swift"
@@ -9,18 +9,18 @@ alwaysApply: false
9
9
 
10
10
  # Module public API (SPM)
11
11
 
12
- ## Рамка
12
+ ## Frame
13
13
 
14
- - Потребители модуля импортируют **только public/open** API; `internal`/`fileprivate` — для реализации.
15
- - Deep-import чужих internal файловповод вынести символ в public API или рефакторить границы.
14
+ - Module consumers import **only public/open** API; `internal`/`fileprivate` — for implementation.
15
+ - Deep-import of another module’s internal filesreason to promote the symbol to public API or refactor boundaries.
16
16
 
17
- ## Правила
17
+ ## Rules
18
18
 
19
- - Новый публичный тип/функцияявный `public` + документация/пример использования при необходимости.
20
- - Barrel-стиль: один входной модуль / umbrella, если так заведено в репо.
21
- - Не экспортировать DTO сети из Presentation-facing модулей.
22
- - Версионирование breaking API — осознанно (SemVer пакета / release notes).
19
+ - New public type/functionexplicit `public` + documentation/usage example when needed.
20
+ - Barrel style: one entry module / umbrella when that is how the repo is set up.
21
+ - Do not export network DTOs from Presentation-facing modules.
22
+ - Breaking API versioning intentional (package SemVer / release notes).
23
23
 
24
- ## Требование к агенту
24
+ ## Agent requirement
25
25
 
26
- Перед `public` на тип проверить, нужен ли он снаружи. Следовать access control соседних модулей.
26
+ Before marking a type `public` check whether it is needed externally. Follow neighboring modules’ access control.
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: NavigationStack, координаторы, deep links — границы Presentation
2
+ description: NavigationStack, coordinators, deep links — Presentation boundaries
3
3
  globs:
4
4
  - "**/Presentation/**/*Navigator*.swift"
5
5
  - "**/Presentation/**/*Coordinator*.swift"
@@ -9,21 +9,21 @@ globs:
9
9
  alwaysApply: false
10
10
  ---
11
11
 
12
- # Навигация (iOS)
12
+ # Navigation (iOS)
13
13
 
14
- ## Рамка
14
+ ## Frame
15
15
 
16
- - **SwiftUI-first:** `NavigationStack` / `navigationDestination` / sheet / fullScreenCover — как в репо.
17
- - UIKit / coordinator — только если уже принят в модуле; не смешивать два стиля в одном Feature без причины.
18
- - Маршруты и deep links — **Presentation** (или App shell); Domain не знает о `NavigationPath`.
16
+ - **SwiftUI-first:** `NavigationStack` / `navigationDestination` / sheet / fullScreenCover — as in the repo.
17
+ - UIKit / coordinator — only if already adopted in the module; do not mix two styles in one Feature without reason.
18
+ - Routes and deep links — **Presentation** (or App shell); Domain does not know about `NavigationPath`.
19
19
 
20
- ## Правила
20
+ ## Rules
21
21
 
22
- - Один Feature — один явный «вход» навигации (root view / coordinator), не размазывать `NavigationLink` по Data.
23
- - Параметры экрана — typed (enum route / struct), не «магические» строки без реестра.
24
- - Deep link → route mapping централизован (App или Navigation hub); ViewModel не парсит URL напрямую.
25
- - Модалки: владелец presentation state — родительский VM/coordinator, не глобальный singleton без нужды.
22
+ - One Feature — one explicit navigation entry (root view / coordinator); do not scatter `NavigationLink` through Data.
23
+ - Screen parameters — typed (route enum / struct), not “magic” strings without a registry.
24
+ - Deep link → route mapping is centralized (App or Navigation hub); ViewModel does not parse URLs directly.
25
+ - Modals: presentation-state owner parent VM/coordinator, not a global singleton without need.
26
26
 
27
- ## Требование к агенту
27
+ ## Agent requirement
28
28
 
29
- Копировать паттерн ближайшего Feature из `reference-features.mdc`. Не тащить networking в навигационный слой.
29
+ Copy the pattern of the nearest Feature from `reference-features.mdc`. Do not drag networking into the navigation layer.
@@ -1,49 +1,49 @@
1
1
  ---
2
- description: Конвенции сетевого слоя, API-клиентов и mappers
2
+ description: Networking layer, API clients, and mapper conventions
3
3
  globs: "**/{Data,Network,Networking}/**/*.swift"
4
4
  alwaysApply: false
5
5
  ---
6
6
 
7
- # Роль Data / Network слоя
7
+ # Role of the Data / Network layer
8
8
 
9
- - Инкапсулировать:
10
- - HTTP-запросы (`URLSession` или клиент проекта),
9
+ - Encapsulate:
10
+ - HTTP requests (`URLSession` or the project client),
11
11
  - URL, headers, status codes,
12
- - Codable DTO (транспорт).
13
- - Локальное хранение / Keychain — **`persistence-data.mdc`**, не смешивать с HTTP-клиентом без фасада-репозитория.
14
- - Наружу (Domain, ViewModel через repository) отдавать **доменные типы**, не DTO.
12
+ - Codable DTOs (transport).
13
+ - Local storage / Keychain — **`persistence-data.mdc`**; do not mix with the HTTP client without a repository facade.
14
+ - Externally (Domain, ViewModel via repository) expose **domain types**, not DTOs.
15
15
 
16
- # Структура модулей
16
+ # Module structure
17
17
 
18
- - На доменную областькаталог в `Features/<Feature>/Data/` или `Core/Network/<Service>/`.
19
- - Внутри:
20
- - `*APIClient.swift` / `*Service.swift` — вызовы эндпоинтов;
21
- - `*DTO.swift` — транспортные модели (`Codable`);
18
+ - Per domain areaa folder under `Features/<Feature>/Data/` or `Core/Network/<Service>/`.
19
+ - Inside:
20
+ - `*APIClient.swift` / `*Service.swift` — endpoint calls;
21
+ - `*DTO.swift` — transport models (`Codable`);
22
22
  - `*Mapper.swift` — DTO ↔ domain;
23
- - `*RepositoryImpl.swift` — реализация протокола из Domain.
24
- - Public surface — протоколы репозиториев в Domain; Data-классы не экспортируются во View.
23
+ - `*RepositoryImpl.swift` — implementation of a Domain protocol.
24
+ - Public surface — repository protocols in Domain; Data types are not exported to Views.
25
25
 
26
- # DTO, mappers и типы
26
+ # DTOs, mappers, and types
27
27
 
28
- - DTO **точно** отражают контракт backend (`CodingKeys` при расхождении имён).
29
- - Доменные entityв Domain; mapper**чистые функции** без side effects.
30
- - В mapper выполнять вычисления (флаги, форматирование, агрегаты), чтобы ViewModel получал готовую модель.
31
- - Optional и отсутствующие поля обрабатывать явно; не прокидывать «сырой» optional cascade в UI.
28
+ - DTOs **exactly** mirror the backend contract (`CodingKeys` when names diverge).
29
+ - Domain entitiesin Domain; mappers**pure functions** with no side effects.
30
+ - Perform computations in the mapper (flags, formatting, aggregates) so the ViewModel receives a ready model.
31
+ - Handle optionals and missing fields explicitly; do not push a raw optional cascade into the UI.
32
32
 
33
- # Async, errors и retries
33
+ # Async, errors, and retries
34
34
 
35
- - Сетевые методы — `async throws` с **typed errors** (`NetworkError`, `APIError`) по конвенции репо.
36
- - Не глотать ошибки; пробрасывать или маппить в domain errors для ViewModel.
37
- - Retry, auth refresh, logging — централизованно (interceptor, middleware, `URLProtocol`), не в каждом методе.
35
+ - Network methods — `async throws` with **typed errors** (`NetworkError`, `APIError`) per repo convention.
36
+ - Do not swallow errors; rethrow or map to domain errors for the ViewModel.
37
+ - Retry, auth refresh, logging — centralized (interceptor, middleware, `URLProtocol`), not in every method.
38
38
 
39
- # Codable и versioning
39
+ # Codable and versioning
40
40
 
41
- - Избегать `[String: Any]`; для полиморфизма — enum + associated values или явные DTO.
42
- - `@MainActor` не ставить на Data-типы без необходимости.
41
+ - Avoid `[String: Any]`; for polymorphism — enum + associated values or explicit DTOs.
42
+ - Do not put `@MainActor` on Data types without need.
43
43
 
44
- # Требование к агенту
44
+ # Agent requirement
45
45
 
46
- При добавлении/изменении API:
47
- - Следовать существующим клиентам и mappers как эталону.
48
- - Добавить/обновить mapper tests для нетривиальных преобразований.
49
- - ViewModel и View не должны импортировать DTO-файлы.
46
+ When adding/changing an API:
47
+ - Follow existing clients and mappers as the reference.
48
+ - Add/update mapper tests for non-trivial transforms.
49
+ - ViewModel and View must not import DTO files.
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Persistence — SwiftData / Core Data / файлы / Keychain (не HTTP)
2
+ description: Persistence — SwiftData / Core Data / files / Keychain (not HTTP)
3
3
  globs:
4
4
  - "**/Persistence/**/*.swift"
5
5
  - "**/Keychain/**/*.swift"
@@ -11,21 +11,21 @@ alwaysApply: false
11
11
 
12
12
  # Persistence (Data)
13
13
 
14
- Отделить от HTTP (`networking-services.mdc`): здесь локальное хранение и секреты на диске/Keychain.
14
+ Separate from HTTP (`networking-services.mdc`): local storage and secrets on disk/Keychain live here.
15
15
 
16
- ## Рамка
16
+ ## Frame
17
17
 
18
- - Выбор стека (**SwiftData / Core Data / UserDefaults / files**) — **как в репо**; не внедрять второй persistence-стек без задачи.
19
- - Public API — протоколы в Domain (`…Repository` / `…Store`); реализации в Data.
20
- - **Keychain** — только для credentials/токенов; не класть PII «для удобства» в UserDefaults.
18
+ - Stack choice (**SwiftData / Core Data / UserDefaults / files**) — **as in the repo**; do not introduce a second persistence stack without a task.
19
+ - Public API — protocols in Domain (`…Repository` / `…Store`); implementations in Data.
20
+ - **Keychain** — credentials/tokens only; do not put PII in UserDefaults “for convenience”.
21
21
 
22
- ## Правила
22
+ ## Rules
23
23
 
24
- - DTO/Entity persistence ≠ network DTO; маппинг явный.
25
- - Миграции схемыпо принятому в репо процессу; не ломать silently.
26
- - `@MainActor` на store — только если UI-facing; тяжёлый I/O — off-main + hop обратно.
27
- - Ошибки — typed; не глотать `try?` на критичном persist.
24
+ - Persistence DTO/Entity ≠ network DTO; mapping is explicit.
25
+ - Schema migrationsfollow the repo’s process; do not break silently.
26
+ - `@MainActor` on a store — only if UI-facing; heavy I/O — off-main + hop back.
27
+ - Errors — typed; do not swallow `try?` on critical persist.
28
28
 
29
- ## Требование к агенту
29
+ ## Agent requirement
30
30
 
31
- Не смешивать URLSession и persistence в одном типе без фасада-репозитория. Тесты — in-memory / fake store.
31
+ Do not mix URLSession and persistence in one type without a repository facade. Tests — in-memory / fake store.
@@ -1,32 +1,32 @@
1
1
  ---
2
- description: Сборка и lint после изменений Swift/iOS кода. Use after editing iOS/Swift sources, Xcode targets, or Package.swift.
2
+ description: Build and lint after Swift/iOS code changes. Use after editing iOS/Swift sources, Xcode targets, or Package.swift.
3
3
  alwaysApply: false
4
4
  ---
5
5
 
6
- # Сборка и lint после изменений
6
+ # Build and lint after changes
7
7
 
8
- ## Когда применять
8
+ ## When to apply
9
9
 
10
- После изменений исходников Swift / проектных файлов Xcode / `Package.swift`, влияющих на компиляцию или стиль.
10
+ After changes to Swift sources / Xcode project files / `Package.swift` that affect compilation or style.
11
11
 
12
- Исключения: только документация, README, `.cursor/rules/**` без правок app-кода.
12
+ Exceptions: docs-only, README, `.cursor/rules/**` without app-code edits.
13
13
 
14
- **Pipeline:** если следующий шаг отдельный verifier/CI-агент, достаточно затронутых таргетов; в single-agent режимеполный разумный прогон как в репо.
14
+ **Pipeline:** if the next step is a separate verifier/CI agent, touched targets are enough; in single-agent modea full reasonable run as in the repo.
15
15
 
16
- ## Как определить команды
16
+ ## How to determine commands
17
17
 
18
- 1. Схемы / таргетыиз `.xcodeproj` / `.xcworkspace` / `Package.swift` (как в CI или соседних скриптах).
19
- 2. Lint — `SwiftLint` / `.swiftlint.yml`, если есть.
20
- 3. Format — `SwiftFormat` / конфиг, если принято в репо.
21
- 4. Тесты — XCTest или Swift Testing — только если задача их затрагивает.
18
+ 1. Schemes / targetsfrom `.xcodeproj` / `.xcworkspace` / `Package.swift` (as in CI or neighboring scripts).
19
+ 2. Lint — `SwiftLint` / `.swiftlint.yml` when present.
20
+ 3. Format — `SwiftFormat` / config when adopted in the repo.
21
+ 4. Tests — XCTest or Swift Testing — only if the task touches them.
22
22
 
23
- Не угадывать чужой toolchain: копировать флаги/`xcodebuild` из Makefile, scripts, CI.
23
+ Do not invent a foreign toolchain: copy flags/`xcodebuild` from Makefile, scripts, CI.
24
24
 
25
- ## Алгоритм
25
+ ## Algorithm
26
26
 
27
- 1. Завершить правки.
28
- 2. Собрать **затронутые** таргеты (`xcodebuild` / `swift build` — как в репо).
29
- 3. Прогнать lint/format при наличии конфигов; исправить ошибки в файлах задачи.
30
- 4. Повторить до чистой сборки или зафиксировать блокер пользователю.
27
+ 1. Finish edits.
28
+ 2. Build **touched** targets (`xcodebuild` / `swift build` — as in the repo).
29
+ 3. Run lint/format when configs exist; fix errors in task files.
30
+ 4. Repeat until a clean build or report a blocker to the user.
31
31
 
32
- **Errors** — обязательно; warnings в файлах задачипо возможности до нуля.
32
+ **Errors** — must fix; warnings in task filesdrive to zero when possible.