@bonesofspring/ai-rules 0.2.14 → 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 (665) hide show
  1. package/CHANGELOG.md +16 -1
  2. package/package.json +2 -1
  3. package/presets/_shared/core/agent-team/agent-team-intake.md +2 -2
  4. package/presets/_shared/core/agent-team/agent-team-orchestrator.md +4 -4
  5. package/presets/_shared/core/architecture/feature-delivery-workflow.md +27 -27
  6. package/presets/_shared/core/architecture/reference-features.template.md +23 -23
  7. package/presets/_shared/core/meta/preset-layering.md +12 -12
  8. package/presets/_shared/core/meta/preset-no-cross-stack-leakage.md +1 -1
  9. package/presets/_shared/core/meta/preset-pr-checklist.md +6 -6
  10. package/presets/_shared/core/meta/preset-token-budget.md +3 -3
  11. package/presets/_shared/core/quality/code-quality-and-refactoring.md +19 -19
  12. package/presets/_shared/core/quality/design-guidance.md +54 -54
  13. package/presets/_shared/core/review/code-review-mr.md +4 -4
  14. package/presets/_shared/core/review/technical-retro.md +3 -3
  15. package/presets/claude/go/MCP.md +7 -7
  16. package/presets/claude/go/README.md +3 -3
  17. package/presets/claude/go/agents/README.md +2 -2
  18. package/presets/claude/go/agents/task-router.md +13 -13
  19. package/presets/claude/go/commands/README.md +8 -8
  20. package/presets/claude/go/commands/feature-continue.md +21 -21
  21. package/presets/claude/go/commands/feature-start.md +16 -16
  22. package/presets/claude/go/commands/task-continue.md +14 -14
  23. package/presets/claude/go/commands/task.md +32 -32
  24. package/presets/claude/go/commands/technical-retro.md +38 -38
  25. package/presets/claude/go/rules/architecture/boundaries.md +10 -10
  26. package/presets/claude/go/rules/stack/README.md +1 -1
  27. package/presets/claude/go/rules/stack/go-app-core.md +11 -11
  28. package/presets/claude/go/rules/tooling-and-review/README.md +1 -1
  29. package/presets/claude/go/rules/tooling-and-review/agent-team-intake.md +2 -2
  30. package/presets/claude/go/rules/tooling-and-review/agent-team-orchestrator.md +4 -4
  31. package/presets/claude/go/rules/tooling-and-review/code-quality.md +21 -20
  32. package/presets/claude/go/rules/tooling-and-review/code-review.md +4 -4
  33. package/presets/claude/go/rules/tooling-and-review/design-guidance.md +54 -54
  34. package/presets/claude/go/rules/tooling-and-review/post-change-test.md +1 -1
  35. package/presets/claude/go/rules/tooling-and-review/preset-layering.md +12 -13
  36. package/presets/claude/go/rules/tooling-and-review/preset-no-cross-stack-leakage.md +1 -2
  37. package/presets/claude/go/rules/tooling-and-review/preset-pr-checklist.md +6 -7
  38. package/presets/claude/go/rules/tooling-and-review/preset-token-budget.md +3 -4
  39. package/presets/claude/go/rules/tooling-and-review/preset-twin-sync.md +0 -1
  40. package/presets/claude/go/rules/tooling-and-review/technical-retro.md +3 -3
  41. package/presets/claude/go/team/README.md +1 -1
  42. package/presets/claude/ios-swift/CLAUDE.md +16 -16
  43. package/presets/claude/ios-swift/MCP.md +10 -8
  44. package/presets/claude/ios-swift/README.md +8 -8
  45. package/presets/claude/ios-swift/agents/README.md +11 -11
  46. package/presets/claude/ios-swift/agents/feature-developer.md +1 -1
  47. package/presets/claude/ios-swift/agents/task-analyst.md +1 -1
  48. package/presets/claude/ios-swift/agents/task-router.md +18 -18
  49. package/presets/claude/ios-swift/commands/README.md +48 -10
  50. package/presets/claude/ios-swift/commands/feature-continue.md +9 -41
  51. package/presets/claude/ios-swift/commands/feature-start.md +19 -16
  52. package/presets/claude/ios-swift/commands/task-continue.md +14 -14
  53. package/presets/claude/ios-swift/commands/task.md +33 -33
  54. package/presets/claude/ios-swift/commands/technical-retro.md +61 -38
  55. package/presets/claude/ios-swift/rules/README.md +7 -7
  56. package/presets/claude/ios-swift/rules/api-and-data/README.md +1 -1
  57. package/presets/claude/ios-swift/rules/api-and-data/networking.md +31 -31
  58. package/presets/claude/ios-swift/rules/api-and-data/persistence.md +13 -13
  59. package/presets/claude/ios-swift/rules/architecture/README.md +1 -1
  60. package/presets/claude/ios-swift/rules/architecture/boundaries.md +20 -20
  61. package/presets/claude/ios-swift/rules/architecture/feature-delivery.md +31 -30
  62. package/presets/claude/ios-swift/rules/architecture/module-public-api.md +11 -11
  63. package/presets/claude/ios-swift/rules/architecture/reference-features.md +25 -22
  64. package/presets/claude/ios-swift/rules/stack/README.md +1 -1
  65. package/presets/claude/ios-swift/rules/stack/ios-app-core.md +10 -10
  66. package/presets/claude/ios-swift/rules/stack/swift-conventions.md +17 -17
  67. package/presets/claude/ios-swift/rules/testing/README.md +1 -1
  68. package/presets/claude/ios-swift/rules/testing/ui.md +27 -27
  69. package/presets/claude/ios-swift/rules/testing/unit.md +25 -25
  70. package/presets/claude/ios-swift/rules/tooling-and-review/README.md +5 -2
  71. package/presets/claude/ios-swift/rules/tooling-and-review/agent-team-intake.md +2 -2
  72. package/presets/claude/ios-swift/rules/tooling-and-review/agent-team-orchestrator.md +51 -21
  73. package/presets/claude/ios-swift/rules/tooling-and-review/code-quality.md +25 -24
  74. package/presets/claude/ios-swift/rules/tooling-and-review/code-review.md +40 -39
  75. package/presets/claude/ios-swift/rules/tooling-and-review/design-guidance.md +54 -54
  76. package/presets/claude/ios-swift/rules/tooling-and-review/post-change-build.md +18 -18
  77. package/presets/claude/ios-swift/rules/tooling-and-review/preset-layering.md +12 -13
  78. package/presets/claude/ios-swift/rules/tooling-and-review/preset-no-cross-stack-leakage.md +1 -2
  79. package/presets/claude/ios-swift/rules/tooling-and-review/preset-pr-checklist.md +6 -7
  80. package/presets/claude/ios-swift/rules/tooling-and-review/preset-token-budget.md +3 -4
  81. package/presets/claude/ios-swift/rules/tooling-and-review/preset-twin-sync.md +0 -1
  82. package/presets/claude/ios-swift/rules/tooling-and-review/security-ios.md +14 -14
  83. package/presets/claude/ios-swift/rules/tooling-and-review/technical-retro.md +4 -4
  84. package/presets/claude/ios-swift/rules/tooling-and-review/xcode-tooling.md +11 -11
  85. package/presets/claude/ios-swift/rules/ui-and-accessibility/README.md +1 -1
  86. package/presets/claude/ios-swift/rules/ui-and-accessibility/navigation.md +13 -13
  87. package/presets/claude/ios-swift/rules/ui-and-accessibility/swiftui.md +39 -39
  88. package/presets/claude/ios-swift/rules/ui-and-accessibility/viewmodels.md +24 -24
  89. package/presets/claude/ios-swift/skills/README.md +3 -3
  90. package/presets/claude/ios-swift/team/README.md +6 -2
  91. package/presets/claude/java/MCP.md +5 -5
  92. package/presets/claude/java/agents/README.md +2 -2
  93. package/presets/claude/java/agents/task-router.md +13 -13
  94. package/presets/claude/java/commands/README.md +8 -8
  95. package/presets/claude/java/commands/feature-continue.md +21 -21
  96. package/presets/claude/java/commands/feature-start.md +16 -16
  97. package/presets/claude/java/commands/task-continue.md +14 -14
  98. package/presets/claude/java/commands/task.md +32 -32
  99. package/presets/claude/java/commands/technical-retro.md +38 -38
  100. package/presets/claude/java/rules/architecture/boundaries.md +10 -10
  101. package/presets/claude/java/rules/stack/README.md +1 -1
  102. package/presets/claude/java/rules/stack/java-app-core.md +9 -9
  103. package/presets/claude/java/rules/tooling-and-review/README.md +1 -1
  104. package/presets/claude/java/rules/tooling-and-review/agent-team-intake.md +2 -2
  105. package/presets/claude/java/rules/tooling-and-review/agent-team-orchestrator.md +4 -4
  106. package/presets/claude/java/rules/tooling-and-review/code-quality.md +21 -20
  107. package/presets/claude/java/rules/tooling-and-review/code-review.md +5 -4
  108. package/presets/claude/java/rules/tooling-and-review/design-guidance.md +55 -54
  109. package/presets/claude/java/rules/tooling-and-review/post-change-test.md +1 -1
  110. package/presets/claude/java/rules/tooling-and-review/preset-layering.md +12 -13
  111. package/presets/claude/java/rules/tooling-and-review/preset-no-cross-stack-leakage.md +1 -2
  112. package/presets/claude/java/rules/tooling-and-review/preset-pr-checklist.md +6 -7
  113. package/presets/claude/java/rules/tooling-and-review/preset-token-budget.md +3 -4
  114. package/presets/claude/java/rules/tooling-and-review/preset-twin-sync.md +0 -1
  115. package/presets/claude/java/rules/tooling-and-review/technical-retro.md +3 -3
  116. package/presets/claude/java/team/README.md +1 -1
  117. package/presets/claude/mcp-ts/MCP.md +5 -5
  118. package/presets/claude/mcp-ts/agents/task-router.md +7 -7
  119. package/presets/claude/mcp-ts/commands/README.md +1 -1
  120. package/presets/claude/mcp-ts/commands/feature-continue.md +8 -8
  121. package/presets/claude/mcp-ts/commands/feature-start.md +17 -17
  122. package/presets/claude/mcp-ts/commands/task-continue.md +14 -14
  123. package/presets/claude/mcp-ts/commands/task.md +32 -32
  124. package/presets/claude/mcp-ts/commands/technical-retro.md +54 -54
  125. package/presets/claude/mcp-ts/rules/architecture/mcp-server-boundaries.md +2 -2
  126. package/presets/claude/mcp-ts/rules/stack/mcp-ts-app-core.md +9 -9
  127. package/presets/claude/mcp-ts/rules/tooling-and-review/agent-team-intake.md +3 -3
  128. package/presets/claude/mcp-ts/rules/tooling-and-review/agent-team-orchestrator.md +4 -4
  129. package/presets/claude/mcp-ts/rules/tooling-and-review/code-quality.md +21 -20
  130. package/presets/claude/mcp-ts/rules/tooling-and-review/code-review.md +5 -4
  131. package/presets/claude/mcp-ts/rules/tooling-and-review/design-guidance.md +55 -54
  132. package/presets/claude/mcp-ts/rules/tooling-and-review/post-change-test.md +1 -1
  133. package/presets/claude/mcp-ts/rules/tooling-and-review/preset-layering.md +12 -13
  134. package/presets/claude/mcp-ts/rules/tooling-and-review/preset-no-cross-stack-leakage.md +1 -2
  135. package/presets/claude/mcp-ts/rules/tooling-and-review/preset-pr-checklist.md +6 -7
  136. package/presets/claude/mcp-ts/rules/tooling-and-review/preset-token-budget.md +3 -4
  137. package/presets/claude/mcp-ts/rules/tooling-and-review/preset-twin-sync.md +0 -1
  138. package/presets/claude/mcp-ts/rules/tooling-and-review/technical-retro.md +3 -3
  139. package/presets/claude/next/CLAUDE.md +17 -17
  140. package/presets/claude/next/MCP.md +8 -8
  141. package/presets/claude/next/README.md +16 -16
  142. package/presets/claude/next/agents/README.md +19 -19
  143. package/presets/claude/next/agents/feature-developer.md +1 -1
  144. package/presets/claude/next/agents/task-analyst.md +1 -1
  145. package/presets/claude/next/agents/task-router.md +16 -16
  146. package/presets/claude/next/commands/README.md +9 -9
  147. package/presets/claude/next/commands/feature-continue.md +21 -21
  148. package/presets/claude/next/commands/feature-start.md +16 -16
  149. package/presets/claude/next/commands/task-continue.md +14 -14
  150. package/presets/claude/next/commands/task.md +33 -33
  151. package/presets/claude/next/commands/technical-retro.md +38 -38
  152. package/presets/claude/next/rules/README.md +12 -12
  153. package/presets/claude/next/rules/api-and-data/README.md +6 -6
  154. package/presets/claude/next/rules/api-and-data/api-services.md +42 -42
  155. package/presets/claude/next/rules/api-and-data/http-client.md +22 -21
  156. package/presets/claude/next/rules/api-and-data/store-rtk.md +60 -60
  157. package/presets/claude/next/rules/architecture/README.md +8 -8
  158. package/presets/claude/next/rules/architecture/architecture-boundaries-ui.md +6 -6
  159. package/presets/claude/next/rules/architecture/architecture-boundaries.md +44 -44
  160. package/presets/claude/next/rules/architecture/feature-delivery-workflow.md +39 -39
  161. package/presets/claude/next/rules/architecture/layer-barrel-exports.md +30 -29
  162. package/presets/claude/next/rules/architecture/public-imports.md +13 -13
  163. package/presets/claude/next/rules/architecture/reference-features.md +16 -16
  164. package/presets/claude/next/rules/stack/README.md +9 -9
  165. package/presets/claude/next/rules/stack/arrow-functions.md +7 -7
  166. package/presets/claude/next/rules/stack/navigation-router-ui.md +6 -6
  167. package/presets/claude/next/rules/stack/navigation-router.md +37 -37
  168. package/presets/claude/next/rules/stack/next-app-core.md +17 -17
  169. package/presets/claude/next/rules/stack/next-app-router.md +17 -17
  170. package/presets/claude/next/rules/stack/no-type-assertion.md +28 -28
  171. package/presets/claude/next/rules/stack/types-jsdoc.md +31 -20
  172. package/presets/claude/next/rules/testing/README.md +5 -5
  173. package/presets/claude/next/rules/testing/playwright-agents.md +1 -1
  174. package/presets/claude/next/rules/testing/tests-e2e-structure.md +48 -47
  175. package/presets/claude/next/rules/testing/tests-unit.md +50 -51
  176. package/presets/claude/next/rules/tooling-and-review/README.md +9 -9
  177. package/presets/claude/next/rules/tooling-and-review/agent-team-intake.md +2 -2
  178. package/presets/claude/next/rules/tooling-and-review/agent-team-orchestrator.md +4 -4
  179. package/presets/claude/next/rules/tooling-and-review/code-quality.md +25 -24
  180. package/presets/claude/next/rules/tooling-and-review/code-review-mr.md +4 -4
  181. package/presets/claude/next/rules/tooling-and-review/design-guidance.md +54 -54
  182. package/presets/claude/next/rules/tooling-and-review/package-manager.md +7 -7
  183. package/presets/claude/next/rules/tooling-and-review/post-change-lint.md +22 -22
  184. package/presets/claude/next/rules/tooling-and-review/preset-layering.md +12 -13
  185. package/presets/claude/next/rules/tooling-and-review/preset-no-cross-stack-leakage.md +1 -2
  186. package/presets/claude/next/rules/tooling-and-review/preset-pr-checklist.md +6 -7
  187. package/presets/claude/next/rules/tooling-and-review/preset-token-budget.md +3 -4
  188. package/presets/claude/next/rules/tooling-and-review/preset-twin-sync.md +0 -1
  189. package/presets/claude/next/rules/tooling-and-review/technical-retro.md +4 -4
  190. package/presets/claude/next/rules/ui-and-accessibility/README.md +7 -7
  191. package/presets/claude/next/rules/ui-and-accessibility/css-property-order.md +3 -3
  192. package/presets/claude/next/rules/ui-and-accessibility/no-props-spread.md +18 -18
  193. package/presets/claude/next/rules/ui-and-accessibility/react-a11y-coding.md +20 -20
  194. package/presets/claude/next/rules/ui-and-accessibility/react-ui.md +63 -63
  195. package/presets/claude/next/skills/README.md +4 -4
  196. package/presets/claude/next/skills/feature-delivery/SKILL.md +1 -1
  197. package/presets/claude/next/team/README.md +2 -2
  198. package/presets/claude/nuxt/CLAUDE.md +19 -19
  199. package/presets/claude/nuxt/MCP.md +8 -8
  200. package/presets/claude/nuxt/README.md +18 -18
  201. package/presets/claude/nuxt/agents/README.md +38 -31
  202. package/presets/claude/nuxt/agents/feature-developer.md +1 -1
  203. package/presets/claude/nuxt/agents/task-analyst.md +1 -1
  204. package/presets/claude/nuxt/agents/task-router.md +22 -22
  205. package/presets/claude/nuxt/commands/README.md +48 -10
  206. package/presets/claude/nuxt/commands/feature-continue.md +9 -41
  207. package/presets/claude/nuxt/commands/feature-start.md +19 -16
  208. package/presets/claude/nuxt/commands/task-continue.md +14 -14
  209. package/presets/claude/nuxt/commands/task.md +33 -33
  210. package/presets/claude/nuxt/commands/technical-retro.md +61 -38
  211. package/presets/claude/nuxt/rules/README.md +5 -5
  212. package/presets/claude/nuxt/rules/api-and-data/README.md +6 -6
  213. package/presets/claude/nuxt/rules/api-and-data/api-services.md +44 -43
  214. package/presets/claude/nuxt/rules/api-and-data/store-pinia.md +27 -26
  215. package/presets/claude/nuxt/rules/architecture/README.md +8 -8
  216. package/presets/claude/nuxt/rules/architecture/architecture-boundaries-ui.md +8 -7
  217. package/presets/claude/nuxt/rules/architecture/architecture-boundaries.md +59 -58
  218. package/presets/claude/nuxt/rules/architecture/feature-delivery-workflow.md +45 -44
  219. package/presets/claude/nuxt/rules/architecture/layer-barrel-exports.md +32 -31
  220. package/presets/claude/nuxt/rules/architecture/public-imports.md +15 -14
  221. package/presets/claude/nuxt/rules/architecture/reference-features.md +18 -17
  222. package/presets/claude/nuxt/rules/stack/README.md +8 -8
  223. package/presets/claude/nuxt/rules/stack/navigation-router-ui.md +6 -6
  224. package/presets/claude/nuxt/rules/stack/navigation-router.md +37 -37
  225. package/presets/claude/nuxt/rules/stack/no-type-assertion.md +30 -29
  226. package/presets/claude/nuxt/rules/stack/nuxt-app-core.md +17 -16
  227. package/presets/claude/nuxt/rules/stack/types-jsdoc.md +23 -22
  228. package/presets/claude/nuxt/rules/testing/README.md +5 -5
  229. package/presets/claude/nuxt/rules/testing/tests-e2e-structure.md +45 -45
  230. package/presets/claude/nuxt/rules/testing/tests-unit.md +52 -52
  231. package/presets/claude/nuxt/rules/tooling-and-review/README.md +9 -9
  232. package/presets/claude/nuxt/rules/tooling-and-review/agent-team-intake.md +3 -2
  233. package/presets/claude/nuxt/rules/tooling-and-review/agent-team-orchestrator.md +5 -4
  234. package/presets/claude/nuxt/rules/tooling-and-review/anti-sycophancy-discipline.md +1 -0
  235. package/presets/claude/nuxt/rules/tooling-and-review/code-quality.md +26 -24
  236. package/presets/claude/nuxt/rules/tooling-and-review/code-review-mr.md +6 -5
  237. package/presets/claude/nuxt/rules/tooling-and-review/design-guidance.md +55 -54
  238. package/presets/claude/nuxt/rules/tooling-and-review/package-manager.md +9 -8
  239. package/presets/claude/nuxt/rules/tooling-and-review/post-change-lint.md +24 -23
  240. package/presets/claude/nuxt/rules/tooling-and-review/preset-layering.md +13 -13
  241. package/presets/claude/nuxt/rules/tooling-and-review/preset-no-cross-stack-leakage.md +2 -2
  242. package/presets/claude/nuxt/rules/tooling-and-review/preset-pr-checklist.md +7 -7
  243. package/presets/claude/nuxt/rules/tooling-and-review/preset-token-budget.md +3 -4
  244. package/presets/claude/nuxt/rules/tooling-and-review/preset-twin-sync.md +1 -1
  245. package/presets/claude/nuxt/rules/tooling-and-review/technical-retro.md +5 -4
  246. package/presets/claude/nuxt/rules/ui-and-accessibility/README.md +7 -7
  247. package/presets/claude/nuxt/rules/ui-and-accessibility/vue-ui.md +7 -6
  248. package/presets/claude/nuxt/skills/README.md +4 -4
  249. package/presets/claude/nuxt/skills/feature-delivery/SKILL.md +1 -1
  250. package/presets/claude/nuxt/team/README.md +8 -4
  251. package/presets/claude/php-hexagonal/MCP.md +7 -7
  252. package/presets/claude/php-hexagonal/agents/README.md +3 -3
  253. package/presets/claude/php-hexagonal/agents/task-router.md +12 -12
  254. package/presets/claude/php-hexagonal/commands/README.md +9 -9
  255. package/presets/claude/php-hexagonal/commands/feature-continue.md +21 -21
  256. package/presets/claude/php-hexagonal/commands/feature-start.md +16 -16
  257. package/presets/claude/php-hexagonal/commands/task-continue.md +14 -14
  258. package/presets/claude/php-hexagonal/commands/task.md +32 -32
  259. package/presets/claude/php-hexagonal/commands/technical-retro.md +38 -38
  260. package/presets/claude/php-hexagonal/rules/architecture/boundaries.md +11 -10
  261. package/presets/claude/php-hexagonal/rules/stack/README.md +1 -1
  262. package/presets/claude/php-hexagonal/rules/stack/php-app-core.md +11 -10
  263. package/presets/claude/php-hexagonal/rules/tooling-and-review/README.md +1 -1
  264. package/presets/claude/php-hexagonal/rules/tooling-and-review/agent-team-intake.md +2 -2
  265. package/presets/claude/php-hexagonal/rules/tooling-and-review/agent-team-orchestrator.md +4 -4
  266. package/presets/claude/php-hexagonal/rules/tooling-and-review/code-quality.md +21 -21
  267. package/presets/claude/php-hexagonal/rules/tooling-and-review/code-review.md +4 -4
  268. package/presets/claude/php-hexagonal/rules/tooling-and-review/design-guidance.md +54 -54
  269. package/presets/claude/php-hexagonal/rules/tooling-and-review/post-change-test.md +1 -1
  270. package/presets/claude/php-hexagonal/rules/tooling-and-review/preset-layering.md +12 -13
  271. package/presets/claude/php-hexagonal/rules/tooling-and-review/preset-no-cross-stack-leakage.md +1 -2
  272. package/presets/claude/php-hexagonal/rules/tooling-and-review/preset-pr-checklist.md +6 -7
  273. package/presets/claude/php-hexagonal/rules/tooling-and-review/preset-token-budget.md +3 -4
  274. package/presets/claude/php-hexagonal/rules/tooling-and-review/preset-twin-sync.md +0 -1
  275. package/presets/claude/php-hexagonal/rules/tooling-and-review/technical-retro.md +3 -3
  276. package/presets/claude/php-hexagonal/team/README.md +1 -1
  277. package/presets/claude/php-laravel/agents/README.md +3 -3
  278. package/presets/claude/php-laravel/agents/task-router.md +14 -14
  279. package/presets/claude/php-laravel/commands/README.md +9 -9
  280. package/presets/claude/php-laravel/commands/feature-continue.md +21 -21
  281. package/presets/claude/php-laravel/commands/feature-start.md +16 -16
  282. package/presets/claude/php-laravel/commands/task-continue.md +14 -14
  283. package/presets/claude/php-laravel/commands/task.md +32 -32
  284. package/presets/claude/php-laravel/commands/technical-retro.md +38 -38
  285. package/presets/claude/php-laravel/rules/api-and-data/events-listeners.md +1 -1
  286. package/presets/claude/php-laravel/rules/architecture/boundaries.md +11 -11
  287. package/presets/claude/php-laravel/rules/stack/laravel-app-core.md +8 -8
  288. package/presets/claude/php-laravel/rules/tooling-and-review/agent-team-intake.md +3 -2
  289. package/presets/claude/php-laravel/rules/tooling-and-review/agent-team-orchestrator.md +4 -4
  290. package/presets/claude/php-laravel/rules/tooling-and-review/code-quality.md +21 -20
  291. package/presets/claude/php-laravel/rules/tooling-and-review/code-review.md +4 -5
  292. package/presets/claude/php-laravel/rules/tooling-and-review/design-guidance.md +54 -54
  293. package/presets/claude/php-laravel/rules/tooling-and-review/post-change-test.md +1 -1
  294. package/presets/claude/php-laravel/rules/tooling-and-review/preset-layering.md +13 -13
  295. package/presets/claude/php-laravel/rules/tooling-and-review/preset-no-cross-stack-leakage.md +2 -2
  296. package/presets/claude/php-laravel/rules/tooling-and-review/preset-pr-checklist.md +7 -7
  297. package/presets/claude/php-laravel/rules/tooling-and-review/preset-token-budget.md +4 -4
  298. package/presets/claude/php-laravel/rules/tooling-and-review/preset-twin-sync.md +1 -1
  299. package/presets/claude/php-laravel/rules/tooling-and-review/technical-retro.md +4 -3
  300. package/presets/claude/php-laravel/team/README.md +1 -1
  301. package/presets/claude/svelte/CLAUDE.md +17 -17
  302. package/presets/claude/svelte/MCP.md +8 -8
  303. package/presets/claude/svelte/README.md +1 -1
  304. package/presets/claude/svelte/agents/README.md +37 -30
  305. package/presets/claude/svelte/agents/feature-developer.md +1 -1
  306. package/presets/claude/svelte/agents/task-analyst.md +1 -1
  307. package/presets/claude/svelte/agents/task-router.md +19 -18
  308. package/presets/claude/svelte/commands/README.md +48 -10
  309. package/presets/claude/svelte/commands/feature-continue.md +9 -41
  310. package/presets/claude/svelte/commands/feature-start.md +19 -16
  311. package/presets/claude/svelte/commands/task-continue.md +14 -14
  312. package/presets/claude/svelte/commands/task.md +33 -33
  313. package/presets/claude/svelte/commands/technical-retro.md +61 -38
  314. package/presets/claude/svelte/rules/README.md +2 -2
  315. package/presets/claude/svelte/rules/api-and-data/README.md +6 -6
  316. package/presets/claude/svelte/rules/api-and-data/api-services.md +14 -14
  317. package/presets/claude/svelte/rules/api-and-data/store-svelte.md +26 -26
  318. package/presets/claude/svelte/rules/architecture/README.md +8 -8
  319. package/presets/claude/svelte/rules/architecture/architecture-boundaries-ui.md +7 -7
  320. package/presets/claude/svelte/rules/architecture/architecture-boundaries.md +19 -19
  321. package/presets/claude/svelte/rules/architecture/feature-delivery-workflow.md +26 -26
  322. package/presets/claude/svelte/rules/architecture/layer-barrel-exports.md +31 -31
  323. package/presets/claude/svelte/rules/architecture/public-imports.md +8 -8
  324. package/presets/claude/svelte/rules/architecture/reference-features.md +18 -18
  325. package/presets/claude/svelte/rules/stack/README.md +8 -8
  326. package/presets/claude/svelte/rules/stack/navigation-router-ui.md +1 -1
  327. package/presets/claude/svelte/rules/stack/navigation-router.md +6 -6
  328. package/presets/claude/svelte/rules/stack/no-type-assertion.md +29 -29
  329. package/presets/claude/svelte/rules/stack/svelte-app-core.md +16 -16
  330. package/presets/claude/svelte/rules/stack/types-jsdoc.md +22 -22
  331. package/presets/claude/svelte/rules/testing/README.md +5 -5
  332. package/presets/claude/svelte/rules/testing/tests-e2e-structure.md +45 -46
  333. package/presets/claude/svelte/rules/testing/tests-unit.md +17 -17
  334. package/presets/claude/svelte/rules/tooling-and-review/README.md +9 -9
  335. package/presets/claude/svelte/rules/tooling-and-review/agent-team-intake.md +2 -2
  336. package/presets/claude/svelte/rules/tooling-and-review/agent-team-orchestrator.md +9 -9
  337. package/presets/claude/svelte/rules/tooling-and-review/code-quality.md +25 -24
  338. package/presets/claude/svelte/rules/tooling-and-review/code-review-mr.md +5 -5
  339. package/presets/claude/svelte/rules/tooling-and-review/design-guidance.md +54 -54
  340. package/presets/claude/svelte/rules/tooling-and-review/package-manager.md +8 -8
  341. package/presets/claude/svelte/rules/tooling-and-review/post-change-lint.md +23 -23
  342. package/presets/claude/svelte/rules/tooling-and-review/preset-layering.md +12 -13
  343. package/presets/claude/svelte/rules/tooling-and-review/preset-no-cross-stack-leakage.md +1 -2
  344. package/presets/claude/svelte/rules/tooling-and-review/preset-pr-checklist.md +6 -7
  345. package/presets/claude/svelte/rules/tooling-and-review/preset-token-budget.md +3 -4
  346. package/presets/claude/svelte/rules/tooling-and-review/preset-twin-sync.md +0 -1
  347. package/presets/claude/svelte/rules/tooling-and-review/technical-retro.md +4 -4
  348. package/presets/claude/svelte/rules/ui-and-accessibility/README.md +7 -7
  349. package/presets/claude/svelte/rules/ui-and-accessibility/svelte-ui.md +6 -6
  350. package/presets/claude/svelte/skills/README.md +4 -4
  351. package/presets/claude/svelte/skills/feature-delivery/SKILL.md +1 -1
  352. package/presets/claude/svelte/team/README.md +8 -4
  353. package/presets/cursor/go/AGENTS.md +10 -10
  354. package/presets/cursor/go/MCP.md +7 -7
  355. package/presets/cursor/go/README.md +4 -4
  356. package/presets/cursor/go/agents/README.md +3 -3
  357. package/presets/cursor/go/agents/task-router.md +13 -13
  358. package/presets/cursor/go/commands/README.md +23 -23
  359. package/presets/cursor/go/commands/feature-continue.md +8 -8
  360. package/presets/cursor/go/commands/feature-start.md +17 -17
  361. package/presets/cursor/go/commands/task-continue.md +14 -14
  362. package/presets/cursor/go/commands/task.md +32 -32
  363. package/presets/cursor/go/commands/technical-retro.md +49 -49
  364. package/presets/cursor/go/rules/README.md +3 -3
  365. package/presets/cursor/go/rules/agent-team-intake.mdc +2 -2
  366. package/presets/cursor/go/rules/agent-team-orchestrator.mdc +4 -4
  367. package/presets/cursor/go/rules/architecture-boundaries.mdc +10 -10
  368. package/presets/cursor/go/rules/code-quality-and-refactoring.mdc +21 -20
  369. package/presets/cursor/go/rules/code-review-mr.mdc +4 -4
  370. package/presets/cursor/go/rules/design-guidance.mdc +54 -54
  371. package/presets/cursor/go/rules/go-app-core.mdc +11 -11
  372. package/presets/cursor/go/rules/post-change-test.mdc +1 -1
  373. package/presets/cursor/go/rules/preset-layering.mdc +12 -13
  374. package/presets/cursor/go/rules/preset-no-cross-stack-leakage.mdc +1 -2
  375. package/presets/cursor/go/rules/preset-pr-checklist.mdc +6 -7
  376. package/presets/cursor/go/rules/preset-token-budget.mdc +3 -4
  377. package/presets/cursor/go/rules/preset-twin-sync.mdc +0 -1
  378. package/presets/cursor/go/rules/technical-retro.mdc +3 -3
  379. package/presets/cursor/go/team/README.md +1 -1
  380. package/presets/cursor/ios-swift/AGENTS.md +20 -20
  381. package/presets/cursor/ios-swift/MCP.md +8 -8
  382. package/presets/cursor/ios-swift/README.md +9 -9
  383. package/presets/cursor/ios-swift/agents/README.md +7 -7
  384. package/presets/cursor/ios-swift/agents/feature-developer.md +1 -1
  385. package/presets/cursor/ios-swift/agents/task-analyst.md +1 -1
  386. package/presets/cursor/ios-swift/agents/task-router.md +16 -16
  387. package/presets/cursor/ios-swift/commands/README.md +23 -23
  388. package/presets/cursor/ios-swift/commands/feature-continue.md +8 -8
  389. package/presets/cursor/ios-swift/commands/feature-start.md +17 -17
  390. package/presets/cursor/ios-swift/commands/task-continue.md +14 -14
  391. package/presets/cursor/ios-swift/commands/task.md +33 -33
  392. package/presets/cursor/ios-swift/commands/technical-retro.md +50 -50
  393. package/presets/cursor/ios-swift/rules/README.md +23 -23
  394. package/presets/cursor/ios-swift/rules/agent-team-intake.mdc +2 -2
  395. package/presets/cursor/ios-swift/rules/agent-team-orchestrator.mdc +2 -2
  396. package/presets/cursor/ios-swift/rules/architecture-boundaries.mdc +20 -20
  397. package/presets/cursor/ios-swift/rules/code-quality-and-refactoring.mdc +25 -24
  398. package/presets/cursor/ios-swift/rules/code-review-mr.mdc +40 -40
  399. package/presets/cursor/ios-swift/rules/design-guidance.mdc +54 -54
  400. package/presets/cursor/ios-swift/rules/feature-delivery-workflow.mdc +30 -30
  401. package/presets/cursor/ios-swift/rules/ios-app-core.mdc +10 -10
  402. package/presets/cursor/ios-swift/rules/module-public-api.mdc +11 -11
  403. package/presets/cursor/ios-swift/rules/navigation-coordinators.mdc +13 -13
  404. package/presets/cursor/ios-swift/rules/networking-services.mdc +31 -31
  405. package/presets/cursor/ios-swift/rules/persistence-data.mdc +13 -13
  406. package/presets/cursor/ios-swift/rules/post-change-build.mdc +18 -18
  407. package/presets/cursor/ios-swift/rules/preset-layering.mdc +12 -13
  408. package/presets/cursor/ios-swift/rules/preset-no-cross-stack-leakage.mdc +1 -2
  409. package/presets/cursor/ios-swift/rules/preset-pr-checklist.mdc +6 -7
  410. package/presets/cursor/ios-swift/rules/preset-token-budget.mdc +3 -4
  411. package/presets/cursor/ios-swift/rules/preset-twin-sync.mdc +0 -1
  412. package/presets/cursor/ios-swift/rules/reference-features.mdc +22 -22
  413. package/presets/cursor/ios-swift/rules/security-ios.mdc +14 -14
  414. package/presets/cursor/ios-swift/rules/state-and-viewmodels.mdc +24 -24
  415. package/presets/cursor/ios-swift/rules/swift-conventions.mdc +17 -17
  416. package/presets/cursor/ios-swift/rules/swiftui-ui.mdc +39 -39
  417. package/presets/cursor/ios-swift/rules/technical-retro.mdc +4 -4
  418. package/presets/cursor/ios-swift/rules/tests-ui.mdc +27 -26
  419. package/presets/cursor/ios-swift/rules/tests-unit.mdc +25 -25
  420. package/presets/cursor/ios-swift/rules/xcode-tooling.mdc +11 -11
  421. package/presets/cursor/ios-swift/skills/README.md +3 -3
  422. package/presets/cursor/ios-swift/team/README.md +1 -1
  423. package/presets/cursor/java/AGENTS.md +10 -10
  424. package/presets/cursor/java/MCP.md +6 -6
  425. package/presets/cursor/java/agents/README.md +3 -3
  426. package/presets/cursor/java/agents/task-router.md +13 -13
  427. package/presets/cursor/java/commands/README.md +23 -23
  428. package/presets/cursor/java/commands/feature-continue.md +8 -8
  429. package/presets/cursor/java/commands/feature-start.md +17 -17
  430. package/presets/cursor/java/commands/task-continue.md +14 -14
  431. package/presets/cursor/java/commands/task.md +32 -32
  432. package/presets/cursor/java/commands/technical-retro.md +49 -49
  433. package/presets/cursor/java/rules/README.md +2 -2
  434. package/presets/cursor/java/rules/agent-team-intake.mdc +2 -2
  435. package/presets/cursor/java/rules/agent-team-orchestrator.mdc +4 -4
  436. package/presets/cursor/java/rules/architecture-boundaries.mdc +10 -10
  437. package/presets/cursor/java/rules/code-quality-and-refactoring.mdc +21 -20
  438. package/presets/cursor/java/rules/code-review-mr.mdc +4 -4
  439. package/presets/cursor/java/rules/design-guidance.mdc +54 -54
  440. package/presets/cursor/java/rules/java-app-core.mdc +9 -9
  441. package/presets/cursor/java/rules/post-change-test.mdc +1 -1
  442. package/presets/cursor/java/rules/preset-layering.mdc +12 -13
  443. package/presets/cursor/java/rules/preset-no-cross-stack-leakage.mdc +1 -2
  444. package/presets/cursor/java/rules/preset-pr-checklist.mdc +6 -7
  445. package/presets/cursor/java/rules/preset-token-budget.mdc +3 -4
  446. package/presets/cursor/java/rules/preset-twin-sync.mdc +0 -1
  447. package/presets/cursor/java/rules/technical-retro.mdc +3 -3
  448. package/presets/cursor/java/team/README.md +1 -1
  449. package/presets/cursor/mcp-ts/AGENTS.md +6 -6
  450. package/presets/cursor/mcp-ts/MCP.md +5 -5
  451. package/presets/cursor/mcp-ts/agents/task-router.md +7 -7
  452. package/presets/cursor/mcp-ts/commands/README.md +1 -1
  453. package/presets/cursor/mcp-ts/commands/feature-continue.md +8 -8
  454. package/presets/cursor/mcp-ts/commands/feature-start.md +17 -17
  455. package/presets/cursor/mcp-ts/commands/task-continue.md +14 -14
  456. package/presets/cursor/mcp-ts/commands/task.md +32 -32
  457. package/presets/cursor/mcp-ts/commands/technical-retro.md +50 -50
  458. package/presets/cursor/mcp-ts/rules/README.md +1 -1
  459. package/presets/cursor/mcp-ts/rules/agent-team-intake.mdc +3 -3
  460. package/presets/cursor/mcp-ts/rules/agent-team-orchestrator.mdc +4 -4
  461. package/presets/cursor/mcp-ts/rules/code-quality-and-refactoring.mdc +21 -20
  462. package/presets/cursor/mcp-ts/rules/code-review-mr.mdc +5 -4
  463. package/presets/cursor/mcp-ts/rules/design-guidance.mdc +55 -54
  464. package/presets/cursor/mcp-ts/rules/mcp-server-boundaries.mdc +2 -2
  465. package/presets/cursor/mcp-ts/rules/mcp-ts-app-core.mdc +9 -9
  466. package/presets/cursor/mcp-ts/rules/post-change-test.mdc +1 -1
  467. package/presets/cursor/mcp-ts/rules/preset-layering.mdc +12 -13
  468. package/presets/cursor/mcp-ts/rules/preset-no-cross-stack-leakage.mdc +1 -2
  469. package/presets/cursor/mcp-ts/rules/preset-pr-checklist.mdc +6 -7
  470. package/presets/cursor/mcp-ts/rules/preset-token-budget.mdc +3 -4
  471. package/presets/cursor/mcp-ts/rules/preset-twin-sync.mdc +0 -1
  472. package/presets/cursor/mcp-ts/rules/technical-retro.mdc +3 -3
  473. package/presets/cursor/next/AGENTS.md +15 -15
  474. package/presets/cursor/next/MCP.md +9 -9
  475. package/presets/cursor/next/README.md +9 -9
  476. package/presets/cursor/next/agents/README.md +22 -22
  477. package/presets/cursor/next/agents/feature-developer.md +1 -1
  478. package/presets/cursor/next/agents/task-analyst.md +1 -1
  479. package/presets/cursor/next/agents/task-router.md +16 -16
  480. package/presets/cursor/next/commands/README.md +22 -22
  481. package/presets/cursor/next/commands/feature-continue.md +8 -8
  482. package/presets/cursor/next/commands/feature-start.md +17 -17
  483. package/presets/cursor/next/commands/task-continue.md +14 -14
  484. package/presets/cursor/next/commands/task.md +33 -33
  485. package/presets/cursor/next/commands/technical-retro.md +49 -49
  486. package/presets/cursor/next/rules/README.md +52 -52
  487. package/presets/cursor/next/rules/agent-team-intake.mdc +2 -2
  488. package/presets/cursor/next/rules/agent-team-orchestrator.mdc +4 -4
  489. package/presets/cursor/next/rules/api-services.mdc +43 -43
  490. package/presets/cursor/next/rules/architecture-boundaries-ui.mdc +7 -7
  491. package/presets/cursor/next/rules/architecture-boundaries.mdc +45 -45
  492. package/presets/cursor/next/rules/arrow-functions.mdc +8 -8
  493. package/presets/cursor/next/rules/code-quality-and-refactoring.mdc +25 -24
  494. package/presets/cursor/next/rules/code-review-mr.mdc +5 -5
  495. package/presets/cursor/next/rules/css-property-order-stylelint.mdc +4 -4
  496. package/presets/cursor/next/rules/design-guidance.mdc +54 -54
  497. package/presets/cursor/next/rules/feature-delivery-workflow.mdc +43 -43
  498. package/presets/cursor/next/rules/http-client.mdc +23 -22
  499. package/presets/cursor/next/rules/layer-barrel-exports.mdc +31 -30
  500. package/presets/cursor/next/rules/navigation-router-stack.mdc +37 -37
  501. package/presets/cursor/next/rules/navigation-router-ui.mdc +7 -7
  502. package/presets/cursor/next/rules/next-app-core.mdc +16 -16
  503. package/presets/cursor/next/rules/next-app-router.mdc +17 -17
  504. package/presets/cursor/next/rules/no-props-spread.mdc +20 -20
  505. package/presets/cursor/next/rules/no-type-assertion-as-import-export.mdc +29 -29
  506. package/presets/cursor/next/rules/package-manager.mdc +8 -8
  507. package/presets/cursor/next/rules/post-change-lint.mdc +22 -22
  508. package/presets/cursor/next/rules/preset-layering.mdc +12 -13
  509. package/presets/cursor/next/rules/preset-no-cross-stack-leakage.mdc +1 -2
  510. package/presets/cursor/next/rules/preset-pr-checklist.mdc +6 -7
  511. package/presets/cursor/next/rules/preset-token-budget.mdc +3 -4
  512. package/presets/cursor/next/rules/preset-twin-sync.mdc +0 -1
  513. package/presets/cursor/next/rules/public-imports.mdc +14 -14
  514. package/presets/cursor/next/rules/react-a11y-coding.mdc +21 -21
  515. package/presets/cursor/next/rules/react-ui.mdc +66 -66
  516. package/presets/cursor/next/rules/reference-features.mdc +17 -17
  517. package/presets/cursor/next/rules/store-rtk.mdc +60 -60
  518. package/presets/cursor/next/rules/technical-retro.mdc +4 -4
  519. package/presets/cursor/next/rules/tests-e2e-structure.mdc +46 -46
  520. package/presets/cursor/next/rules/tests-unit.mdc +51 -52
  521. package/presets/cursor/next/rules/types-jsdoc.mdc +29 -22
  522. package/presets/cursor/next/skills/feature-delivery/SKILL.md +1 -1
  523. package/presets/cursor/next/team/README.md +2 -2
  524. package/presets/cursor/nuxt/AGENTS.md +15 -15
  525. package/presets/cursor/nuxt/MCP.md +9 -9
  526. package/presets/cursor/nuxt/README.md +10 -10
  527. package/presets/cursor/nuxt/agents/README.md +30 -30
  528. package/presets/cursor/nuxt/agents/feature-developer.md +1 -1
  529. package/presets/cursor/nuxt/agents/task-analyst.md +1 -1
  530. package/presets/cursor/nuxt/agents/task-router.md +16 -16
  531. package/presets/cursor/nuxt/commands/README.md +24 -24
  532. package/presets/cursor/nuxt/commands/feature-continue.md +8 -8
  533. package/presets/cursor/nuxt/commands/feature-start.md +17 -17
  534. package/presets/cursor/nuxt/commands/task-continue.md +14 -14
  535. package/presets/cursor/nuxt/commands/task.md +33 -33
  536. package/presets/cursor/nuxt/commands/technical-retro.md +50 -50
  537. package/presets/cursor/nuxt/rules/README.md +53 -53
  538. package/presets/cursor/nuxt/rules/agent-team-intake.mdc +2 -2
  539. package/presets/cursor/nuxt/rules/agent-team-orchestrator.mdc +4 -4
  540. package/presets/cursor/nuxt/rules/api-services.mdc +43 -43
  541. package/presets/cursor/nuxt/rules/architecture-boundaries-ui.mdc +7 -7
  542. package/presets/cursor/nuxt/rules/architecture-boundaries.mdc +58 -58
  543. package/presets/cursor/nuxt/rules/code-quality-and-refactoring.mdc +25 -24
  544. package/presets/cursor/nuxt/rules/code-review-mr.mdc +5 -5
  545. package/presets/cursor/nuxt/rules/design-guidance.mdc +54 -54
  546. package/presets/cursor/nuxt/rules/feature-delivery-workflow.mdc +44 -44
  547. package/presets/cursor/nuxt/rules/layer-barrel-exports.mdc +31 -31
  548. package/presets/cursor/nuxt/rules/navigation-router-stack.mdc +38 -38
  549. package/presets/cursor/nuxt/rules/navigation-router-ui.mdc +7 -7
  550. package/presets/cursor/nuxt/rules/no-type-assertion-as-import-export.mdc +29 -29
  551. package/presets/cursor/nuxt/rules/nuxt-app-core.mdc +16 -16
  552. package/presets/cursor/nuxt/rules/package-manager.mdc +8 -8
  553. package/presets/cursor/nuxt/rules/post-change-lint.mdc +23 -23
  554. package/presets/cursor/nuxt/rules/preset-layering.mdc +12 -13
  555. package/presets/cursor/nuxt/rules/preset-no-cross-stack-leakage.mdc +1 -2
  556. package/presets/cursor/nuxt/rules/preset-pr-checklist.mdc +6 -7
  557. package/presets/cursor/nuxt/rules/preset-token-budget.mdc +3 -4
  558. package/presets/cursor/nuxt/rules/preset-twin-sync.mdc +0 -1
  559. package/presets/cursor/nuxt/rules/public-imports.mdc +14 -14
  560. package/presets/cursor/nuxt/rules/reference-features.mdc +17 -17
  561. package/presets/cursor/nuxt/rules/store-pinia.mdc +26 -26
  562. package/presets/cursor/nuxt/rules/technical-retro.mdc +4 -4
  563. package/presets/cursor/nuxt/rules/tests-e2e-structure.mdc +45 -46
  564. package/presets/cursor/nuxt/rules/tests-unit.mdc +51 -52
  565. package/presets/cursor/nuxt/rules/types-jsdoc.mdc +22 -22
  566. package/presets/cursor/nuxt/rules/vue-ui.mdc +6 -6
  567. package/presets/cursor/nuxt/skills/feature-delivery/SKILL.md +1 -1
  568. package/presets/cursor/nuxt/team/README.md +2 -2
  569. package/presets/cursor/php-hexagonal/AGENTS.md +11 -11
  570. package/presets/cursor/php-hexagonal/MCP.md +7 -7
  571. package/presets/cursor/php-hexagonal/agents/README.md +4 -4
  572. package/presets/cursor/php-hexagonal/agents/task-router.md +12 -12
  573. package/presets/cursor/php-hexagonal/commands/README.md +25 -25
  574. package/presets/cursor/php-hexagonal/commands/feature-continue.md +8 -8
  575. package/presets/cursor/php-hexagonal/commands/feature-start.md +17 -17
  576. package/presets/cursor/php-hexagonal/commands/task-continue.md +14 -14
  577. package/presets/cursor/php-hexagonal/commands/task.md +32 -32
  578. package/presets/cursor/php-hexagonal/commands/technical-retro.md +49 -49
  579. package/presets/cursor/php-hexagonal/rules/README.md +2 -2
  580. package/presets/cursor/php-hexagonal/rules/agent-team-intake.mdc +2 -2
  581. package/presets/cursor/php-hexagonal/rules/agent-team-orchestrator.mdc +4 -4
  582. package/presets/cursor/php-hexagonal/rules/architecture-boundaries.mdc +10 -10
  583. package/presets/cursor/php-hexagonal/rules/code-quality-and-refactoring.mdc +20 -20
  584. package/presets/cursor/php-hexagonal/rules/code-review-mr.mdc +4 -4
  585. package/presets/cursor/php-hexagonal/rules/design-guidance.mdc +54 -54
  586. package/presets/cursor/php-hexagonal/rules/php-app-core.mdc +10 -10
  587. package/presets/cursor/php-hexagonal/rules/post-change-test.mdc +1 -1
  588. package/presets/cursor/php-hexagonal/rules/preset-layering.mdc +12 -13
  589. package/presets/cursor/php-hexagonal/rules/preset-no-cross-stack-leakage.mdc +1 -2
  590. package/presets/cursor/php-hexagonal/rules/preset-pr-checklist.mdc +6 -7
  591. package/presets/cursor/php-hexagonal/rules/preset-token-budget.mdc +3 -4
  592. package/presets/cursor/php-hexagonal/rules/preset-twin-sync.mdc +0 -1
  593. package/presets/cursor/php-hexagonal/rules/technical-retro.mdc +3 -3
  594. package/presets/cursor/php-hexagonal/team/README.md +1 -1
  595. package/presets/cursor/php-laravel/AGENTS.md +10 -10
  596. package/presets/cursor/php-laravel/agents/README.md +4 -4
  597. package/presets/cursor/php-laravel/agents/task-router.md +14 -14
  598. package/presets/cursor/php-laravel/commands/README.md +25 -25
  599. package/presets/cursor/php-laravel/commands/feature-continue.md +8 -8
  600. package/presets/cursor/php-laravel/commands/feature-start.md +17 -17
  601. package/presets/cursor/php-laravel/commands/task-continue.md +14 -14
  602. package/presets/cursor/php-laravel/commands/task.md +32 -32
  603. package/presets/cursor/php-laravel/commands/technical-retro.md +50 -50
  604. package/presets/cursor/php-laravel/rules/README.md +2 -2
  605. package/presets/cursor/php-laravel/rules/agent-team-intake.mdc +2 -2
  606. package/presets/cursor/php-laravel/rules/agent-team-orchestrator.mdc +4 -4
  607. package/presets/cursor/php-laravel/rules/architecture-boundaries.mdc +11 -11
  608. package/presets/cursor/php-laravel/rules/code-quality-and-refactoring.mdc +20 -20
  609. package/presets/cursor/php-laravel/rules/code-review-mr.mdc +4 -5
  610. package/presets/cursor/php-laravel/rules/design-guidance.mdc +54 -54
  611. package/presets/cursor/php-laravel/rules/events-listeners.mdc +1 -1
  612. package/presets/cursor/php-laravel/rules/laravel-app-core.mdc +8 -8
  613. package/presets/cursor/php-laravel/rules/post-change-test.mdc +1 -1
  614. package/presets/cursor/php-laravel/rules/preset-layering.mdc +12 -13
  615. package/presets/cursor/php-laravel/rules/preset-no-cross-stack-leakage.mdc +1 -2
  616. package/presets/cursor/php-laravel/rules/preset-pr-checklist.mdc +6 -7
  617. package/presets/cursor/php-laravel/rules/preset-token-budget.mdc +3 -4
  618. package/presets/cursor/php-laravel/rules/preset-twin-sync.mdc +0 -1
  619. package/presets/cursor/php-laravel/rules/technical-retro.mdc +3 -3
  620. package/presets/cursor/php-laravel/team/README.md +1 -1
  621. package/presets/cursor/svelte/AGENTS.md +15 -15
  622. package/presets/cursor/svelte/MCP.md +9 -9
  623. package/presets/cursor/svelte/README.md +9 -9
  624. package/presets/cursor/svelte/agents/README.md +29 -29
  625. package/presets/cursor/svelte/agents/feature-developer.md +1 -1
  626. package/presets/cursor/svelte/agents/task-analyst.md +1 -1
  627. package/presets/cursor/svelte/agents/task-router.md +16 -16
  628. package/presets/cursor/svelte/commands/README.md +24 -24
  629. package/presets/cursor/svelte/commands/feature-continue.md +8 -8
  630. package/presets/cursor/svelte/commands/feature-start.md +17 -17
  631. package/presets/cursor/svelte/commands/task-continue.md +14 -14
  632. package/presets/cursor/svelte/commands/task.md +33 -33
  633. package/presets/cursor/svelte/commands/technical-retro.md +50 -50
  634. package/presets/cursor/svelte/rules/README.md +34 -34
  635. package/presets/cursor/svelte/rules/agent-team-intake.mdc +2 -2
  636. package/presets/cursor/svelte/rules/agent-team-orchestrator.mdc +4 -4
  637. package/presets/cursor/svelte/rules/api-services.mdc +14 -14
  638. package/presets/cursor/svelte/rules/architecture-boundaries-ui.mdc +7 -7
  639. package/presets/cursor/svelte/rules/architecture-boundaries.mdc +19 -19
  640. package/presets/cursor/svelte/rules/code-quality-and-refactoring.mdc +25 -24
  641. package/presets/cursor/svelte/rules/code-review-mr.mdc +5 -5
  642. package/presets/cursor/svelte/rules/design-guidance.mdc +54 -54
  643. package/presets/cursor/svelte/rules/feature-delivery-workflow.mdc +26 -26
  644. package/presets/cursor/svelte/rules/layer-barrel-exports.mdc +31 -31
  645. package/presets/cursor/svelte/rules/navigation-router-stack.mdc +6 -6
  646. package/presets/cursor/svelte/rules/navigation-router-ui.mdc +1 -1
  647. package/presets/cursor/svelte/rules/no-type-assertion-as-import-export.mdc +29 -29
  648. package/presets/cursor/svelte/rules/package-manager.mdc +8 -8
  649. package/presets/cursor/svelte/rules/post-change-lint.mdc +23 -23
  650. package/presets/cursor/svelte/rules/preset-layering.mdc +12 -13
  651. package/presets/cursor/svelte/rules/preset-no-cross-stack-leakage.mdc +1 -2
  652. package/presets/cursor/svelte/rules/preset-pr-checklist.mdc +6 -7
  653. package/presets/cursor/svelte/rules/preset-token-budget.mdc +3 -4
  654. package/presets/cursor/svelte/rules/preset-twin-sync.mdc +0 -1
  655. package/presets/cursor/svelte/rules/public-imports.mdc +8 -8
  656. package/presets/cursor/svelte/rules/reference-features.mdc +17 -17
  657. package/presets/cursor/svelte/rules/store-svelte.mdc +26 -26
  658. package/presets/cursor/svelte/rules/svelte-app-core.mdc +16 -16
  659. package/presets/cursor/svelte/rules/svelte-ui.mdc +6 -6
  660. package/presets/cursor/svelte/rules/technical-retro.mdc +4 -4
  661. package/presets/cursor/svelte/rules/tests-e2e-structure.mdc +45 -46
  662. package/presets/cursor/svelte/rules/tests-unit.mdc +17 -17
  663. package/presets/cursor/svelte/rules/types-jsdoc.mdc +22 -22
  664. package/presets/cursor/svelte/skills/feature-delivery/SKILL.md +1 -1
  665. package/presets/cursor/svelte/team/README.md +2 -2
@@ -3,82 +3,82 @@ name: technical-retro
3
3
  description: Facilitate a technical retrospective for a period, incident, release, or completed agent-team task slug.
4
4
  ---
5
5
 
6
- # Техническое ретро
6
+ # Technical retrospective
7
7
 
8
- Агент выступает как **нейтральный фасилитатор технической ретроспективы**, а не как ревьюер кода или оценщик людей. Используй skill **`technical-retro`** как основной сценарий.
8
+ The agent acts as a **neutral facilitator of a technical retrospective**, not as a code reviewer or people evaluator. Use skill **`technical-retro`** as the primary scenario.
9
9
 
10
- ## Когда включать
10
+ ## When to use
11
11
 
12
- - Пользователь просит: «ретро», «техническое ретро», «разбор спринта/итерации», «action items после релиза».
13
- - После завершения пайплайна команды агентов (`/feature-start` → `/feature-continue`).
14
- - Есть контекст: период, тема (релиз, инцидент), slug задачи, заметки.
12
+ - User asks: "retro", "technical retro", "sprint/iteration review", "action items after release" — also common RU phrasing: «ретро» (retro), «техническое ретро» (technical retro), «разбор спринта/итерации» (sprint/iteration review) <!-- i18n-keep: E4 -->.
13
+ - After completing the agent-team pipeline (`/feature-start` → `/feature-continue`).
14
+ - Context available: period, topic (release, incident), task slug, notes.
15
15
 
16
- ## Входные данные (собрать, не выдумывать)
16
+ ## Inputs (gather; do not invent)
17
17
 
18
- Запросить при нехватке:
18
+ Request when missing:
19
19
 
20
- - **Период и фокус**.
21
- - **Slug задачи** (если ретро по работе команды агентов).
22
- - **Участники/роли** (если важно).
23
- - **Ограничения**: время, формат (async vs синхрон).
20
+ - **Period and focus**.
21
+ - **Task slug** (if retro is about agent-team work).
22
+ - **Participants/roles** (if relevant).
23
+ - **Constraints**: time, format (async vs sync).
24
24
 
25
- ### Артефакты команды агентов (если есть slug)
25
+ ### Agent-team artifacts (if slug present)
26
26
 
27
- Прочитать из репозитория:
27
+ Read from the repository:
28
28
 
29
29
  - `.cursor/team/tasks/<slug>/pipeline.json`
30
30
  - `.cursor/team/tasks/<slug>/brief.md`
31
31
  - `.cursor/team/tasks/<slug>/decomposition.md`
32
32
  - `.cursor/team/tasks/<slug>/status.json`
33
- - Git diff / `git status` для изменённых файлов
33
+ - Git diff / `git status` for changed files
34
34
 
35
- Не приписывать факты, которых нет в артефактах, diff или сообщении пользователя.
35
+ Do not attribute facts not present in artifacts, diff, or the user's message.
36
36
 
37
- ## Принципы фасилитации
37
+ ## Facilitation principles
38
38
 
39
- - **Безопасность**: процесс и система, не «виноватые».
40
- - **Конкретика**: от абстракций к наблюдаемым событиям.
41
- - **Баланс**: позитив и зоны роста.
42
- - **Action items**: владелец и срок у каждого.
43
- - **Не смешивать с code review** — развести блоки, если запросили оба.
39
+ - **Safety**: process and system, not "blame".
40
+ - **Specificity**: from abstractions to observable events.
41
+ - **Balance**: positives and growth areas.
42
+ - **Action items**: owner and deadline for each.
43
+ - **Do not mix with code review** — separate blocks if both were requested.
44
44
 
45
- ## Структура сессии (по умолчанию)
45
+ ## Default session structure
46
46
 
47
- 1. **Цель и рамки**.
48
- 2. **Сбор фактов**: хорошо / мешало / сюрпризы.
49
- 3. **Группировка тем** (3–7).
50
- 4. **Корневые причины** для 1–2 болезненных тем.
51
- 5. **Эксперименты** (1–3 изменения процесса).
52
- 6. **Action items**: что / владелец / до когда / критерий успеха.
47
+ 1. **Goal and scope**.
48
+ 2. **Fact gathering**: went well / blocked / surprises.
49
+ 3. **Theme grouping** (3–7).
50
+ 4. **Root causes** for 1–2 painful themes.
51
+ 5. **Experiments** (1–3 process changes).
52
+ 6. **Action items**: what / owner / by when / success criteria.
53
53
 
54
- ## Блок «Работа агентов» (обязателен при slug)
54
+ ## "Agent work" block (required when slug present)
55
55
 
56
- Если ретро связано с пайплайном `/feature-start`:
56
+ If retro is tied to a `/feature-start` pipeline:
57
57
 
58
- | Вопрос | Что фиксировать |
58
+ | Question | What to capture |
59
59
  |--------|-----------------|
60
- | Router | Ошибка intent, лишние/пропущенные steps в pipeline |
61
- | Аналитик | Ошибки в assumptions, пропущенные AC, лишние/недостающие таски |
62
- | Декомпозиция | Неполное покрытие слоёв, неверный порядок, blocked-зависимости |
63
- | Developer | Scope creep, пропущенные правила, lint/type gaps |
64
- | Reviewer | Пропущенные дефекты, false positives, качество чеклиста |
65
- | QA | Покрытие AC тестами, flakiness, пробелы в e2e планах |
60
+ | Router | Intent error, extra/missing pipeline steps |
61
+ | Analyst | Assumption errors, missed AC, extra/missing tasks |
62
+ | Decomposition | Incomplete layer coverage, wrong order, blocked dependencies |
63
+ | Developer | Scope creep, missed rules, lint/type gaps |
64
+ | Reviewer | Missed defects, false positives, checklist quality |
65
+ | QA | AC test coverage, flakiness, e2e plan gaps |
66
66
 
67
- **Action items** в этом блокена улучшение **промптов, subagents и rules** (не только кода).
67
+ **Action items** in this blockimprove **prompts, subagents, and rules** (not only code).
68
68
 
69
- ## Формат ответа
69
+ ## Response format
70
70
 
71
- - Шапка: период, фокус, slug (если есть), допущения.
72
- - Повестка по этапам.
73
- - Блок **«Работа агентов»** (если применимо).
74
- - Темыбуллеты; спорное**вопросы команде**.
75
- - **Action items** в конце.
71
+ - Header: period, focus, slug (if any), assumptions.
72
+ - Agenda by stage.
73
+ - **"Agent work"** block (if applicable).
74
+ - Themesbullets; disputed points **questions for the team**.
75
+ - **Action items** at the end.
76
76
 
77
- ## Ограничения
77
+ ## Constraints
78
78
 
79
- - Не приписывать цитаты и факты без входа.
80
- - Не выдавать HR‑рекомендации.
81
- - Если просят только шаблон**шаблон повестки** без выдуманного контента.
79
+ - Do not attribute quotes or facts without input.
80
+ - No HR recommendations.
81
+ - If only a template is requested **agenda template** without invented content.
82
82
 
83
83
  ### Metrics evidence
84
84
 
@@ -1,29 +1,29 @@
1
- ### Разница .mdc и .md в .cursor/rules
1
+ ### Difference between .mdc and .md in .cursor/rules
2
2
 
3
3
  #### .md
4
- Обычный markdown‑файл. Cursor видит его как документацию/контент, но не как правило, которое нужно автоматически применять.
4
+ Plain markdown file. Cursor treats it as documentation/content, not as a rule to apply automatically.
5
5
 
6
6
  #### .mdc
7
- Специальный формат Cursor Rule:
8
- - сверху обязателен YAML‑frontmatter с полями вроде description, globs, alwaysApply;
9
- - файл лежит в .cursor/rules/;
10
- - Cursor интерпретирует его как конфигурацию поведения ассистента для этого репо (автоматически подмешивает содержимое в контекст, когда правило подходит).
7
+ Special Cursor Rule format:
8
+ - YAML frontmatter at the top with fields like description, globs, alwaysApply;
9
+ - file lives in .cursor/rules/;
10
+ - Cursor interprets it as assistant behavior configuration for this repo (automatically merges content into context when the rule matches).
11
11
 
12
- - То есть .mdc = markdown + config для Cursor”, .md = просто текст без управляющего смысла для ассистента.
12
+ - So .mdc = "markdown + config for Cursor", .md = plain text without assistant control semantics.
13
13
 
14
- ### С чего начать новую задачу
14
+ ### Starting a new task
15
15
 
16
- - **Команда агентов (рекомендуется):** `/task <описание>` — router выберет роли и порядок; при human gate — `/task-continue <slug>`. См. **`agent-team-orchestrator.mdc`** и `.cursor/team/README.md`.
16
+ - **Agent team (recommended):** `/task <description>` — router picks roles and order; on human gate — `/task-continue <slug>`. See **`agent-team-orchestrator.mdc`** and `.cursor/team/README.md`.
17
17
  - **Legacy:** `/feature-start` → `/feature-continue`.
18
- - **Сквозной чеклист слоёв (для developer):** **`feature-delivery-workflow.mdc`**.
18
+ - **End-to-end layer checklist (for developer):** **`feature-delivery-workflow.mdc`**.
19
19
 
20
20
  ### Loading strategy
21
21
 
22
- - **`alwaysApply: true`** (Cursor) / **без `paths:`** (Claude) — только базовые инварианты (**3**):
22
+ - **`alwaysApply: true`** (Cursor) / **without `paths:`** (Claude) — only base invariants (**3**):
23
23
  - `next-app-core`, `package-manager`, `code-quality-and-refactoring`
24
- - **On-demand / requestable** — `post-change-lint` (**обязателен после правок кода**, не always-on), `agent-team-intake` (через orchestrator/commands), `agent-team-orchestrator`, architecture, imports, UI, tests, feature-delivery-workflow, `design-guidance`, `anti-sycophancy-discipline`, `react-next-anti-hallucination`, reference-features, next-app-router, `security-next`, react-a11y-coding, `technical-retro`
24
+ - **On-demand / requestable** — `post-change-lint` (**required after code edits**, not always-on), `agent-team-intake` (via orchestrator/commands), `agent-team-orchestrator`, architecture, imports, UI, tests, feature-delivery-workflow, `design-guidance`, `anti-sycophancy-discipline`, `react-next-anti-hallucination`, reference-features, next-app-router, `security-next`, react-a11y-coding, `technical-retro`
25
25
  - **Preset author meta** (globs `packages/ai-rules/presets/**`, never alwaysApply): `preset-layering`, `preset-twin-sync`, `preset-token-budget`, `preset-pr-checklist`, `preset-no-cross-stack-leakage`
26
- - **Skills** — длинные процедуры (`feature-delivery`, `code-review`, …)
26
+ - **Skills** — long procedures (`feature-delivery`, `code-review`, …)
27
27
 
28
28
  ### Shared core → stack mapping
29
29
 
@@ -46,60 +46,60 @@ Claude twins + Cursor→Claude map: `presets/claude/next/rules/README.md`.
46
46
 
47
47
  ### UI edit bundle (consolidated globs)
48
48
 
49
- При правке `app/src/ui/**/*.tsx` подгружается **уменьшенный** набор (не весь `app/src/**`):
49
+ When editing `app/src/ui/**/*.tsx`, a **reduced** set loads (not all of `app/src/**`):
50
50
 
51
- | Rule | Globs | Назначение |
52
- |------|-------|------------|
53
- | `react-ui.mdc` | `app/src/ui/**` | Структура, стили, пропсы |
54
- | `architecture-boundaries-ui.mdc` | `app/src/ui/**` | Slim границы UI-слоя |
51
+ | Rule | Globs | Purpose |
52
+ |------|-------|---------|
53
+ | `react-ui.mdc` | `app/src/ui/**` | Structure, styles, props |
54
+ | `architecture-boundaries-ui.mdc` | `app/src/ui/**` | Slim UI layer boundaries |
55
55
  | `react-a11y-coding.mdc` | `app/src/ui/**` | A11y |
56
- | `navigation-router-ui.mdc` | `app/src/ui/**/*.tsx` | Краткий ориентир навигации |
57
- | `no-props-spread.mdc` | `app/src/**/*.tsx` | Явные пропсы |
58
- | `arrow-functions.mdc` | `app/src/**` | Синтаксис |
56
+ | `navigation-router-ui.mdc` | `app/src/ui/**/*.tsx` | Brief navigation guide |
57
+ | `no-props-spread.mdc` | `app/src/**/*.tsx` | Explicit props |
58
+ | `arrow-functions.mdc` | `app/src/**` | Syntax |
59
59
 
60
- **Не грузятся на типичный UI edit:** `architecture-boundaries` (api/store/types/lib), `layer-barrel-exports` (только `index.ts`), `navigation-router-stack` (только `app/src/app/**`). Стили колокациив `react-ui.mdc` (deprecated stub `no-cross-component-styles-import` removed).
60
+ **Not loaded on typical UI edit:** `architecture-boundaries` (api/store/types/lib), `layer-barrel-exports` (only `index.ts`), `navigation-router-stack` (only `app/src/app/**`). Colocated stylesin `react-ui.mdc` (deprecated stub `no-cross-component-styles-import` removed).
61
61
 
62
- `css-property-order-stylelint.mdc` — только на `styles.ts` / `.css`.
62
+ `css-property-order-stylelint.mdc` — only on `styles.ts` / `.css`.
63
63
 
64
- ### Эталонные фичи
64
+ ### Reference features
65
65
 
66
- Заполните **`reference-features.mdc`** (TBD → реальные пути) после `init` в целевом репо.
66
+ Fill **`reference-features.mdc`** (TBD → real paths) after `init` in the target repo.
67
67
 
68
- ### Каталог ключевых правил
68
+ ### Key rules catalog
69
69
 
70
- | Файл | Назначение |
71
- |------|------------|
72
- | `reference-features.mdc` | Эталонные пути UI/store/API/types/tests |
70
+ | File | Purpose |
71
+ |------|---------|
72
+ | `reference-features.mdc` | Reference paths UI/store/API/types/tests |
73
73
  | `next-app-router.mdc` | App Router, RSC, loading/error, focused anti-hallucination banlist |
74
74
  | `react-next-anti-hallucination.mdc` | Requestable Next/React/RTK phantom-import banlist (≥15 ❌/✅ rows) |
75
75
  | `security-next.mdc` | Secrets, auth, XSS, Server Actions (coding-time) |
76
- | `react-a11y-coding.mdc` | A11y при написании UI |
77
- | `feature-delivery-workflow.mdc` | Сквозной чеклист (on-demand, не always-on) |
78
- | `agent-team-intake.mdc` | Подсказка `/task` при work-запросе (on-demand, через orchestrator) |
79
- | `package-manager.mdc` | Перед `install` / `run` в терминале определить менеджер пакетов репо (lockfile, `packageManager`) и использовать только его |
76
+ | `react-a11y-coding.mdc` | A11y when writing UI |
77
+ | `feature-delivery-workflow.mdc` | End-to-end checklist (on-demand, not always-on) |
78
+ | `agent-team-intake.mdc` | `/task` hint on work requests (on-demand, via orchestrator) |
79
+ | `package-manager.mdc` | Before `install` / `run` in terminal, detect repo package manager (lockfile, `packageManager`) and use only that |
80
80
  | `agent-team-orchestrator.mdc` | `/task`, router, `pipeline.json`, build-verifier, parallel steps |
81
- | `preset-pr-checklist.mdc` (+ sibling `preset-*`) | Чеклист PR авторов пресетов (twin, budget, leakage) |
82
- | `next-app-core.mdc` | Стек, слои, карта каталогов (alwaysApply) |
83
- | `post-change-lint.mdc` | Прогон ESLint + Stylelint после изменений кода (**requestable**, обязателен после code edits) |
84
- | `architecture-boundaries-ui.mdc` | Slim границы UI при правках компонентов |
85
- | `architecture-boundaries.mdc` | Полная карта UI / store / API (api, store, types, lib) |
86
- | `navigation-router-ui.mdc` | Навигация в UI-компонентах (slim) |
87
- | `navigation-router-stack.mdc` | Полный аудит стека навигации (App Router / SPA) |
88
- | `http-client.mdc` | Один HTTP‑стек, контракты из `@/types`, без разбросанного низкоуровневого API |
89
- | `api-services.mdc` | Сервисы, мапперы, вызовы через прикладные API‑клиенты |
90
- | `store-rtk.mdc` | Redux Toolkit, thunk’и, типизация ошибок/ответов как в коде репо |
91
- | `public-imports.mdc` | Импорты `@/types`, `@/types/enums`, `@/api` (вне `app/src/api/**`) |
92
- | `layer-barrel-exports.mdc` | Двухуровневые barrel для слоёв с public API (`@/api`, `@/types`, `@/core`, …) |
93
- | `types-jsdoc.mdc` | JSDoc для типов в `app/src/types` (русский текст, `[computed]`, без `@param`/`@returns`) |
94
- | `no-type-assertion-as-import-export.mdc` | Ограничение `as`, в т.ч. `instanceof` для ошибок транспорта в `catch` |
95
- | `code-review-mr.mdc` | Чеклист ревью MR + output contract (`path:line`, severity, verdict) |
96
- | `tests-unit.mdc` | Unit‑тесты и behavior‑тесты HTTP‑клиента |
81
+ | `preset-pr-checklist.mdc` (+ sibling `preset-*`) | Preset author PR checklist (twin, budget, leakage) |
82
+ | `next-app-core.mdc` | Stack, layers, directory map (alwaysApply) |
83
+ | `post-change-lint.mdc` | ESLint + Stylelint after code changes (**requestable**, required after code edits) |
84
+ | `architecture-boundaries-ui.mdc` | Slim UI boundaries when editing components |
85
+ | `architecture-boundaries.mdc` | Full UI / store / API map (api, store, types, lib) |
86
+ | `navigation-router-ui.mdc` | Navigation in UI components (slim) |
87
+ | `navigation-router-stack.mdc` | Full stack navigation audit (App Router / SPA) |
88
+ | `http-client.mdc` | Single HTTP stack, contracts from `@/types`, no scattered low-level API |
89
+ | `api-services.mdc` | Services, mappers, calls via application API clients |
90
+ | `store-rtk.mdc` | Redux Toolkit, thunks, error/response typing as in repo code |
91
+ | `public-imports.mdc` | Imports `@/types`, `@/types/enums`, `@/api` (outside `app/src/api/**`) |
92
+ | `layer-barrel-exports.mdc` | Two-level barrels for layers with public API (`@/api`, `@/types`, `@/core`, …) |
93
+ | `types-jsdoc.mdc` | JSDoc for types in `app/src/types` (locale text per project, `[computed]`, no `@param`/`@returns`) |
94
+ | `no-type-assertion-as-import-export.mdc` | Limit `as`, including `instanceof` for transport errors in `catch` |
95
+ | `code-review-mr.mdc` | MR review checklist + output contract (`path:line`, severity, verdict) |
96
+ | `tests-unit.mdc` | Unit tests and HTTP client behavior tests |
97
97
  | `playwright-agents.mdc`, `tests-e2e-structure.mdc` | E2E |
98
- | `react-ui.mdc` | React/Next UI: структура компонентов, соседние `ComponentName.data.ts` / `.utils.ts`, стили, пропсы |
98
+ | `react-ui.mdc` | React/Next UI: component structure, adjacent `ComponentName.data.ts` / `.utils.ts`, styles, props |
99
99
 
100
- **Коллизии формулировок:** импорт типов и API — источник правды **`public-imports.mdc`**; дублирует ESLint `no-restricted-imports` в `app/eslint.config.mjs`.
100
+ **Wording collisions:** type and API imports source of truth **`public-imports.mdc`**; duplicates ESLint `no-restricted-imports` in `app/eslint.config.mjs`.
101
101
 
102
- Задачи на **сеть, замену HTTP‑библиотеки, новые эндпоинты**: опираться на **`http-client.mdc`** + **`api-services.mdc`** + **`store-rtk.mdc`**.
102
+ Tasks involving **network, HTTP library replacement, new endpoints**: rely on **`http-client.mdc`** + **`api-services.mdc`** + **`store-rtk.mdc`**.
103
103
 
104
104
  ## Metrics policy mapping
105
105
 
@@ -11,6 +11,6 @@ When the user message looks like a **work request** (implement, add, fix, refact
11
11
 
12
12
  1. Prefer **`/task <their request>`** or invoke **task-router** first.
13
13
  2. Do not jump straight to coding without router + pipeline when scope is non-trivial.
14
- 3. Pure questions («как работает X», «объясни») — prefer agent **`codebase-analyzer`** (explain-as-is); trivial one-liners may be answered inline. Do not open `/task`.
14
+ 3. Pure questions (“how does X work”, “explain”) — prefer agent **`codebase-analyzer`** (explain-as-is); trivial one-liners may be answered inline. Do not open `/task`.
15
15
 
16
- Exceptions: user explicitly says «без pipeline», «просто сделай», or continues an active slug.
16
+ Exceptions: user explicitly says “no pipeline”, “just do it”, or continues an active slug.
@@ -9,7 +9,7 @@ alwaysApply: false
9
9
 
10
10
  Parent agent = **manager**. Router plans; specialists execute. Artifacts: `.cursor/team/tasks/<slug>/`.
11
11
 
12
- Work request без `/task` — см. **`agent-team-intake.mdc`** (когда предлагать router вместо прямого кодинга).
12
+ Work request without `/task` — see **`agent-team-intake.mdc`** (when to suggest the router instead of coding directly).
13
13
 
14
14
  ## Entry points
15
15
 
@@ -180,12 +180,12 @@ If `pipeline.json` is missing (old `/feature-start` tasks), fall back to fixed p
180
180
 
181
181
  Do **not** run `/task` + router for:
182
182
 
183
- - Pure questions («как работает X», «объясни») — prefer agent **`codebase-analyzer`** for deep traces; inline OK for trivial one-liners.
183
+ - Pure questions («как работает X» (how does X work), «объясни» (explain)) — prefer agent **`codebase-analyzer`** for deep traces; inline OK for trivial one-liners. <!-- i18n-keep: E4 -->
184
184
  - Typo / one-file fix / trivial config with no architecture risk.
185
- - User explicitly says «без pipeline», «просто сделай», or continues an active slug.
185
+ - User explicitly says «без pipeline» (no pipeline), «просто сделай» (just do it), or continues an active slug. <!-- i18n-keep: E4 -->
186
186
  - Single-line `docs-only` with no code impact.
187
187
 
188
- Borderline work requests — см. **`agent-team-intake.mdc`**.
188
+ Borderline work requests — see **`agent-team-intake.mdc`**.
189
189
 
190
190
  ## Auto-detection (optional)
191
191
 
@@ -1,61 +1,61 @@
1
1
  ---
2
- description: Конвенции API сервисов и мапперов
2
+ description: API services and mapper conventions
3
3
  globs: app/src/api/services/**/*.ts
4
4
  alwaysApply: false
5
5
  impact: HIGH
6
6
  ---
7
7
 
8
- # Роль API слоя
8
+ # Role of the API layer
9
9
 
10
- - Инкапсулировать всё, что связано с:
11
- - HTTP‑запросами через **экземпляры прикладных API‑клиентов** в `app/src/api/clients/**`, собранные на **общей реализации** из `app/src/lib/clients/**` (как в существующем коде); подробности — **`http-client.mdc`**; положение слоя в схеме **порты и адаптеры** — `architecture-boundaries.mdc`;
12
- - URL/путями,
13
- - заголовками и кодами ответов,
14
- - DTO backend.
15
- - Предоставлять UI и store **стабильный доменный интерфейс**:
16
- - функции, работающие с доменными типами из `@/types` (`public-imports.mdc`).
17
- - мапперы между DTO и доменными типами.
10
+ - Encapsulate everything related to:
11
+ - HTTP requests through **application API client instances** in `app/src/api/clients/**`, built on the **shared implementation** from `app/src/lib/clients/**` (as in existing code); details — **`http-client.mdc`**; layer placement in the **ports and adapters** scheme — `architecture-boundaries.mdc`;
12
+ - URLs/paths,
13
+ - headers and response codes,
14
+ - backend DTOs.
15
+ - Provide UI and store with a **stable domain interface**:
16
+ - functions that work with domain types from `@/types` (`public-imports.mdc`).
17
+ - mappers between DTOs and domain types.
18
18
 
19
- # Структура модулей
19
+ # Module structure
20
20
 
21
- - Для каждой доменной области (например, заказы, биллинг, настройки аккаунта):
22
- - отдельный каталог в `app/src/api/services/<ИмяСервиса или фичи>/**` по конвенции репозитория.
23
- - Внутри модуля:
24
- - файлы с вызовами API (`index.ts` или `*.service.ts`);
25
- - файлы мапперов (`*responseMappers.ts`);
26
- - специфичные типы запросов/ответов (если не вынесены в `app/src/types/**` с экспортом через barrel `@/types`).
27
- - при необходимостилокальные `index.ts` / barrel внутри модуля для структуры **внутри** `app/src/api/**`; **снаружи** этого слоя UI, store и остальной код импортируют только из корневого barrel `app/src/api/index.ts` (`import … from '@/api'`, **`public-imports.mdc`**).
21
+ - For each domain area (for example, orders, billing, account settings):
22
+ - a separate directory in `app/src/api/services/<ServiceName or feature>/**` following repository convention.
23
+ - Inside a module:
24
+ - files with API calls (`index.ts` or `*.service.ts`);
25
+ - mapper files (`*responseMappers.ts`);
26
+ - request/response-specific types (if not moved to `app/src/types/**` with export through the `@/types` barrel).
27
+ - when neededlocal `index.ts` / barrel inside the module for structure **within** `app/src/api/**`; **outside** this layer UI, store, and other code import only from the root barrel `app/src/api/index.ts` (`import … from '@/api'`, **`public-imports.mdc`**).
28
28
 
29
- # Мапперы и типы
29
+ # Mappers and types
30
30
 
31
- - Для каждого запроса/эндпоинта:
32
- - описывать **response‑тип (DTO)**, точно соответствующий контракту backend;
33
- - определять **целевой доменный тип** в `app/src/types/**`, с которым будет работать приложение (включая вычисляемые/агрегированные поля).
34
- - Мапперы (например, `*responseMappers.ts`):
35
- - чистые функции, без сайд‑эффектов;
36
- - выполняют все необходимые вычисления и преобразования данных (булевы флаги, склейка строк, агрегаты и т.п.) при переводе из DTO в доменные модели;
37
- - при необходимости обеспечивают обратное преобразование (доменные модели -> транспортные типы).
38
- - UI и store работают только с доменными типами (из `@/types` или экспортируемыми из public API слоя API), а не с "сырыми" DTO.
39
- - **Не вызывать `fetch` напрямую** в теле API‑методов: только через клиент; исключенияузкие модули (например JSONRPC), если так уже устроено в репозитории.
31
+ - For each request/endpoint:
32
+ - describe the **response type (DTO)** that exactly matches the backend contract;
33
+ - define the **target domain type** in `app/src/types/**` that the application will use (including computed/aggregated fields).
34
+ - Mappers (for example, `*responseMappers.ts`):
35
+ - pure functions, no side effects;
36
+ - perform all necessary data computations and transformations (boolean flags, string concatenation, aggregates, etc.) when converting from DTO to domain models;
37
+ - when needed, provide reverse conversion (domain models transport types).
38
+ - UI and store work only with domain types (from `@/types` or exported from the API layer public API), not with "raw" DTOs.
39
+ - **Do not call `fetch` directly** in API method bodies: only through the client; exceptions narrow modules (for example JSON-RPC), if that is how the repository is already structured.
40
40
 
41
- # Обработка ошибок
41
+ # Error handling
42
42
 
43
- - API‑слой:
44
- - не должен "глотать" ошибки без следа;
45
- - либо бросает доменные/унифицированные ошибки;
46
- - либо возвращает результат в `Result<T, E>`‑подобной форме (если такой паттерн принят в проекте).
47
- - Интеграция с APM/трассировкой (если есть в проекте):
48
- - централизованно (HTTP‑клиент, обёртки), а не в каждом методе сервиса.
43
+ - The API layer:
44
+ - must not "swallow" errors without a trace;
45
+ - either throws domain/unified errors;
46
+ - or returns a result in a `Result<T, E>`-like form (if that pattern is adopted in the project).
47
+ - APM/tracing integration (if present in the project):
48
+ - centrally (HTTP client, wrappers), not in every service method.
49
49
 
50
- # Требование к агенту
50
+ # Agent requirement
51
51
 
52
- При добавлении/изменении API‑метода:
53
- - Следовать существующим сервисам и мапперам как эталону.
54
- - Пройти чеклист barrel-экспортов (**`layer-barrel-exports.mdc`**): локальный `index.ts` → фасад слоякорневой barrel.
55
- - Не смешивать слой API и UI/store:
56
- - компоненты не должны зависеть от DTO;
57
- - store не должен сам собирать URL/коды эндпоинтов и не обходить сервисы; **транспортный тип ответа** и **контракт ошибки** из `@/types` (как у прикладного клиента) допустимы во thunk при разборе `catch`/payload, если так выстроен сервис (см. `store-rtk.mdc`, `http-client.mdc`).
58
- - При использовании API‑сервисов в UI, store и утилитах **вне** `app/src/api/**` импортировать **только** из `@/api` (корневой barrel), см. **`public-imports.mdc`**; внутри слоя API — по относительным путям или `@/api/services/**` / `@/api/clients/**`, не дублируя публичный контракт мимо корневого barrel для внешних потребителей.
52
+ When adding/changing an API method:
53
+ - Follow existing services and mappers as the reference.
54
+ - Complete the barrel-export checklist (**`layer-barrel-exports.mdc`**): local `index.ts` → layer facaderoot barrel.
55
+ - Do not mix the API layer and UI/store:
56
+ - components must not depend on DTOs;
57
+ - store must not assemble URLs/endpoint codes itself or bypass services; **transport response type** and **error contract** from `@/types` (as with the application client) are acceptable in thunks when parsing `catch`/payload, if the service is structured that way (see `store-rtk.mdc`, `http-client.mdc`).
58
+ - When using API services in UI, store, and utilities **outside** `app/src/api/**`, import **only** from `@/api` (root barrel), see **`public-imports.mdc`**; inside the API layer via relative paths or `@/api/services/**` / `@/api/clients/**`, without duplicating the public contract around the root barrel for external consumers.
59
59
  ## Incorrect
60
60
 
61
61
  ```ts
@@ -1,15 +1,15 @@
1
1
  ---
2
- description: Границы слоя UI — slim rule для правок компонентов (без полной карты store/API)
2
+ description: UI layer boundaries — slim rule for component edits (without the full store/API map)
3
3
  globs: app/src/ui/**/*.tsx,app/src/ui/**/*.ts
4
4
  alwaysApply: false
5
5
  ---
6
6
 
7
7
  # UI layer boundaries (slim)
8
8
 
9
- - **Импорты:** `@/ui/**`, `@/store/**`, типы из `@/types` и enum из `@/types/enums`, API — только `from '@/api'` (`public-imports.mdc`).
10
- - **Запрещено:** прямой HTTP‑клиент; знание DTO — только доменные типы.
11
- - **Состояние:** сценарии с записью и координация шагов через store/thunk; узкие прямые вызовы `@/api` для чтения только как в соседних фичах.
12
- - **Организация:** алиас `@/`; без deep‑импортов в чужие фичи; только public API.
13
- - **Barrel:** при новых публичных символахреэкспорт по `layer-barrel-exports.mdc` (правило грузится на `index.ts`).
9
+ - **Imports:** `@/ui/**`, `@/store/**`, types from `@/types` and enums from `@/types/enums`, API — only `from '@/api'` (`public-imports.mdc`).
10
+ - **Forbidden:** direct HTTP client; DTO knowledge domain types only.
11
+ - **State:** write scenarios and multi-step coordinationvia store/thunk; narrow direct `@/api` readsonly as in neighboring features.
12
+ - **Organization:** `@/` alias; no deep imports into other features; public API only.
13
+ - **Barrel:** for new public symbolsre-export per `layer-barrel-exports.mdc` (rule loads on `index.ts`).
14
14
 
15
- Полная карта слоёв (store, API, порты‑адаптеры): **`architecture-boundaries.mdc`** — при правках `app/src/api`, `store`, `types`, `lib`.
15
+ Full layer map (store, API, ports/adapters): **`architecture-boundaries.mdc`** — when editing `app/src/api`, `store`, `types`, `lib`.