@bonesofspring/ai-rules 0.2.17 → 0.2.19

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 (825) hide show
  1. package/CHANGELOG.md +63 -0
  2. package/README.md +6 -4
  3. package/bin/cli.js +111 -4
  4. package/package.json +6 -3
  5. package/presets/_shared/README.md +2 -2
  6. package/presets/_shared/assets/docs-specs/schemas/frontmatter-v1.schema.json +1 -1
  7. package/presets/_shared/core/agent-team/agent-artifact-contracts.md +41 -0
  8. package/presets/_shared/core/agent-team/agent-team-orchestrator.md +5 -4
  9. package/presets/_shared/core/architecture/feature-delivery-workflow.md +3 -2
  10. package/presets/_shared/core/architecture/product-specs-authoring.md +6 -3
  11. package/presets/_shared/core/architecture/product-specs.md +8 -3
  12. package/presets/_shared/core/meta/preset-no-cross-stack-leakage.md +5 -2
  13. package/presets/_shared/core/quality/anti-sycophancy-discipline.md +1 -1
  14. package/presets/_shared/core/quality/code-quality-and-refactoring.md +1 -1
  15. package/presets/_shared/core/quality/mcp-usage.md +84 -0
  16. package/presets/_shared/core/review/mockup-review.md +105 -0
  17. package/presets/_shared/core/review/ux-design.md +97 -0
  18. package/presets/claude/android-kotlin/MCP.md +20 -1
  19. package/presets/claude/android-kotlin/agents/README.md +2 -2
  20. package/presets/claude/android-kotlin/agents/accessibility-reviewer.md +6 -0
  21. package/presets/claude/android-kotlin/agents/build-verifier.md +6 -0
  22. package/presets/claude/android-kotlin/agents/ci-investigator.md +8 -0
  23. package/presets/claude/android-kotlin/agents/debugger.md +8 -0
  24. package/presets/claude/android-kotlin/agents/feature-developer.md +29 -0
  25. package/presets/claude/android-kotlin/agents/migration-specialist.md +6 -0
  26. package/presets/claude/android-kotlin/agents/mockup-reviewer.md +59 -0
  27. package/presets/claude/android-kotlin/agents/performance-auditor.md +6 -0
  28. package/presets/claude/android-kotlin/agents/solution-architect.md +6 -0
  29. package/presets/claude/android-kotlin/agents/task-analyst.md +35 -1
  30. package/presets/claude/android-kotlin/agents/task-router.md +17 -2
  31. package/presets/claude/android-kotlin/commands/spec-start.md +1 -1
  32. package/presets/claude/android-kotlin/commands/task-continue.md +6 -4
  33. package/presets/claude/android-kotlin/commands/task.md +2 -0
  34. package/presets/claude/android-kotlin/hooks/chain-team-phases.sh +26 -0
  35. package/presets/claude/android-kotlin/mcp.json +1 -1
  36. package/presets/claude/android-kotlin/rules/README.md +3 -0
  37. package/presets/claude/android-kotlin/rules/architecture/feature-delivery.md +5 -1
  38. package/presets/claude/android-kotlin/rules/architecture/product-specs-authoring.md +6 -4
  39. package/presets/claude/android-kotlin/rules/architecture/product-specs.md +8 -4
  40. package/presets/claude/android-kotlin/rules/tooling-and-review/agent-team-orchestrator.md +7 -3
  41. package/presets/claude/android-kotlin/rules/tooling-and-review/anti-sycophancy-discipline.md +1 -1
  42. package/presets/claude/android-kotlin/rules/tooling-and-review/code-quality.md +1 -1
  43. package/presets/claude/android-kotlin/rules/tooling-and-review/mcp-usage.md +100 -0
  44. package/presets/claude/android-kotlin/rules/tooling-and-review/mockup-review.md +118 -0
  45. package/presets/claude/android-kotlin/rules/tooling-and-review/preset-no-cross-stack-leakage.md +5 -2
  46. package/presets/claude/android-kotlin/rules/tooling-and-review/ux-design.md +110 -0
  47. package/presets/claude/android-kotlin/skills/README.md +4 -0
  48. package/presets/claude/android-kotlin/skills/ci-investigation/SKILL.md +8 -0
  49. package/presets/claude/android-kotlin/skills/debug-investigation/SKILL.md +8 -0
  50. package/presets/claude/android-kotlin/skills/feature-delivery/SKILL.md +9 -0
  51. package/presets/claude/android-kotlin/skills/mockup-review/SKILL.md +29 -0
  52. package/presets/claude/android-kotlin/skills/spec-discovery/SKILL.md +58 -0
  53. package/presets/claude/android-kotlin/skills/ux-design/SKILL.md +36 -0
  54. package/presets/claude/android-kotlin/team/README.md +8 -0
  55. package/presets/claude/android-kotlin/team/fixtures/artifact-manifest.example.json +25 -0
  56. package/presets/claude/android-kotlin/team/fixtures/feature-full.json +1 -0
  57. package/presets/claude/android-kotlin/team/fixtures/feature-with-figma-url.json +17 -0
  58. package/presets/claude/android-kotlin/team/fixtures/feature-with-ux-no-figma.json +17 -0
  59. package/presets/claude/android-kotlin/team/fixtures/memlog.example.md +9 -0
  60. package/presets/claude/android-kotlin/team/fixtures/mockup-review-fail-embedded-status.json +8 -0
  61. package/presets/claude/android-kotlin/team/fixtures/mockup-review-standalone.json +14 -0
  62. package/presets/claude/android-kotlin/team/fixtures/ux-design-standalone.json +15 -0
  63. package/presets/claude/go/MCP.md +23 -2
  64. package/presets/claude/go/agents/build-verifier.md +6 -0
  65. package/presets/claude/go/agents/ci-investigator.md +8 -0
  66. package/presets/claude/go/agents/debugger.md +8 -0
  67. package/presets/claude/go/agents/feature-developer.md +23 -0
  68. package/presets/claude/go/agents/migration-specialist.md +6 -0
  69. package/presets/claude/go/agents/performance-auditor.md +6 -0
  70. package/presets/claude/go/agents/solution-architect.md +6 -0
  71. package/presets/claude/go/agents/task-analyst.md +17 -0
  72. package/presets/claude/go/agents/task-router.md +7 -1
  73. package/presets/claude/go/commands/feature-continue.md +11 -40
  74. package/presets/claude/go/commands/spec-start.md +1 -1
  75. package/presets/claude/go/mcp.json +1 -1
  76. package/presets/claude/go/rules/README.md +2 -1
  77. package/presets/claude/go/rules/architecture/feature-delivery.md +2 -1
  78. package/presets/claude/go/rules/architecture/product-specs-authoring.md +6 -4
  79. package/presets/claude/go/rules/architecture/product-specs.md +8 -4
  80. package/presets/claude/go/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
  81. package/presets/claude/go/rules/tooling-and-review/anti-sycophancy-discipline.md +1 -1
  82. package/presets/claude/go/rules/tooling-and-review/code-quality.md +1 -1
  83. package/presets/claude/go/rules/tooling-and-review/mcp-usage.md +99 -0
  84. package/presets/claude/go/rules/tooling-and-review/preset-no-cross-stack-leakage.md +5 -2
  85. package/presets/claude/go/skills/README.md +1 -1
  86. package/presets/claude/go/skills/ci-investigation/SKILL.md +7 -0
  87. package/presets/claude/go/skills/code-review/SKILL.md +1 -0
  88. package/presets/claude/go/skills/debug-investigation/SKILL.md +8 -0
  89. package/presets/claude/go/skills/feature-delivery/SKILL.md +7 -1
  90. package/presets/claude/go/skills/spec-discovery/SKILL.md +58 -0
  91. package/presets/claude/go/team/README.md +8 -0
  92. package/presets/claude/go/team/fixtures/feature-full.json +46 -10
  93. package/presets/claude/go/team/fixtures/memlog.example.md +9 -0
  94. package/presets/claude/ios-swift/MCP.md +20 -1
  95. package/presets/claude/ios-swift/agents/README.md +2 -2
  96. package/presets/claude/ios-swift/agents/accessibility-reviewer.md +7 -10
  97. package/presets/claude/ios-swift/agents/api-contract-reviewer.md +2 -11
  98. package/presets/claude/ios-swift/agents/build-verifier.md +6 -0
  99. package/presets/claude/ios-swift/agents/ci-investigator.md +10 -11
  100. package/presets/claude/ios-swift/agents/debugger.md +10 -11
  101. package/presets/claude/ios-swift/agents/feature-developer.md +29 -0
  102. package/presets/claude/ios-swift/agents/migration-specialist.md +8 -11
  103. package/presets/claude/ios-swift/agents/mockup-reviewer.md +59 -0
  104. package/presets/claude/ios-swift/agents/performance-auditor.md +8 -11
  105. package/presets/claude/ios-swift/agents/qa-tester.md +2 -11
  106. package/presets/claude/ios-swift/agents/security-reviewer.md +2 -11
  107. package/presets/claude/ios-swift/agents/solution-architect.md +6 -0
  108. package/presets/claude/ios-swift/agents/task-analyst.md +35 -1
  109. package/presets/claude/ios-swift/agents/task-router.md +17 -2
  110. package/presets/claude/ios-swift/agents/unit-test-generator.md +2 -11
  111. package/presets/claude/ios-swift/agents/unit-test-healer.md +2 -11
  112. package/presets/claude/ios-swift/agents/unit-test-planner.md +2 -11
  113. package/presets/claude/ios-swift/agents/xcuitest-test-generator.md +1 -11
  114. package/presets/claude/ios-swift/agents/xcuitest-test-healer.md +1 -11
  115. package/presets/claude/ios-swift/agents/xcuitest-test-planner.md +1 -13
  116. package/presets/claude/ios-swift/commands/spec-start.md +1 -1
  117. package/presets/claude/ios-swift/commands/task-continue.md +6 -4
  118. package/presets/claude/ios-swift/commands/task.md +2 -0
  119. package/presets/claude/ios-swift/hooks/chain-team-phases.sh +26 -0
  120. package/presets/claude/ios-swift/mcp.json +1 -1
  121. package/presets/claude/ios-swift/rules/README.md +7 -1
  122. package/presets/claude/ios-swift/rules/architecture/feature-delivery.md +4 -1
  123. package/presets/claude/ios-swift/rules/architecture/product-specs-authoring.md +6 -4
  124. package/presets/claude/ios-swift/rules/architecture/product-specs.md +8 -4
  125. package/presets/claude/ios-swift/rules/tooling-and-review/agent-team-orchestrator.md +7 -3
  126. package/presets/claude/ios-swift/rules/tooling-and-review/anti-sycophancy-discipline.md +1 -1
  127. package/presets/claude/ios-swift/rules/tooling-and-review/code-quality.md +1 -1
  128. package/presets/claude/ios-swift/rules/tooling-and-review/mcp-usage.md +100 -0
  129. package/presets/claude/ios-swift/rules/tooling-and-review/mockup-review.md +118 -0
  130. package/presets/claude/ios-swift/rules/tooling-and-review/preset-no-cross-stack-leakage.md +5 -2
  131. package/presets/claude/ios-swift/rules/tooling-and-review/ux-design.md +110 -0
  132. package/presets/claude/ios-swift/skills/README.md +4 -0
  133. package/presets/claude/ios-swift/skills/ci-investigation/SKILL.md +8 -0
  134. package/presets/claude/ios-swift/skills/code-review/SKILL.md +1 -1
  135. package/presets/claude/ios-swift/skills/debug-investigation/SKILL.md +9 -1
  136. package/presets/claude/ios-swift/skills/feature-delivery/SKILL.md +10 -1
  137. package/presets/claude/ios-swift/skills/mockup-review/SKILL.md +29 -0
  138. package/presets/claude/ios-swift/skills/spec-discovery/SKILL.md +58 -0
  139. package/presets/claude/ios-swift/skills/ux-design/SKILL.md +36 -0
  140. package/presets/claude/ios-swift/team/README.md +8 -0
  141. package/presets/claude/ios-swift/team/fixtures/artifact-manifest.example.json +25 -0
  142. package/presets/claude/ios-swift/team/fixtures/feature-full.json +39 -9
  143. package/presets/claude/ios-swift/team/fixtures/feature-with-figma-url.json +17 -0
  144. package/presets/claude/ios-swift/team/fixtures/feature-with-ux-no-figma.json +17 -0
  145. package/presets/claude/ios-swift/team/fixtures/memlog.example.md +9 -0
  146. package/presets/claude/ios-swift/team/fixtures/mockup-review-fail-embedded-status.json +8 -0
  147. package/presets/claude/ios-swift/team/fixtures/mockup-review-standalone.json +14 -0
  148. package/presets/claude/ios-swift/team/fixtures/ux-design-standalone.json +15 -0
  149. package/presets/claude/java/CLAUDE.md +1 -1
  150. package/presets/claude/java/MCP.md +21 -0
  151. package/presets/claude/java/agents/build-verifier.md +7 -1
  152. package/presets/claude/java/agents/ci-investigator.md +8 -0
  153. package/presets/claude/java/agents/debugger.md +8 -0
  154. package/presets/claude/java/agents/feature-developer.md +23 -0
  155. package/presets/claude/java/agents/migration-specialist.md +6 -0
  156. package/presets/claude/java/agents/performance-auditor.md +6 -0
  157. package/presets/claude/java/agents/solution-architect.md +6 -0
  158. package/presets/claude/java/agents/task-analyst.md +17 -0
  159. package/presets/claude/java/agents/task-router.md +7 -1
  160. package/presets/claude/java/commands/feature-continue.md +11 -40
  161. package/presets/claude/java/commands/spec-start.md +1 -1
  162. package/presets/claude/java/mcp.json +1 -1
  163. package/presets/claude/java/rules/README.md +1 -0
  164. package/presets/claude/java/rules/architecture/feature-delivery.md +2 -1
  165. package/presets/claude/java/rules/architecture/product-specs-authoring.md +6 -4
  166. package/presets/claude/java/rules/architecture/product-specs.md +8 -4
  167. package/presets/claude/java/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
  168. package/presets/claude/java/rules/tooling-and-review/anti-sycophancy-discipline.md +1 -1
  169. package/presets/claude/java/rules/tooling-and-review/code-quality.md +1 -1
  170. package/presets/claude/java/rules/tooling-and-review/mcp-usage.md +98 -0
  171. package/presets/claude/java/rules/tooling-and-review/preset-no-cross-stack-leakage.md +5 -2
  172. package/presets/claude/java/skills/README.md +1 -1
  173. package/presets/claude/java/skills/ci-investigation/SKILL.md +7 -0
  174. package/presets/claude/java/skills/code-review/SKILL.md +1 -0
  175. package/presets/claude/java/skills/debug-investigation/SKILL.md +8 -0
  176. package/presets/claude/java/skills/feature-delivery/SKILL.md +7 -1
  177. package/presets/claude/java/skills/spec-discovery/SKILL.md +58 -0
  178. package/presets/claude/java/team/README.md +8 -0
  179. package/presets/claude/java/team/fixtures/feature-full.json +46 -10
  180. package/presets/claude/java/team/fixtures/memlog.example.md +9 -0
  181. package/presets/claude/mcp-ts/MCP.md +20 -1
  182. package/presets/claude/mcp-ts/agents/build-verifier.md +7 -1
  183. package/presets/claude/mcp-ts/agents/feature-developer.md +23 -0
  184. package/presets/claude/mcp-ts/agents/solution-architect.md +5 -0
  185. package/presets/claude/mcp-ts/agents/task-analyst.md +17 -0
  186. package/presets/claude/mcp-ts/agents/task-router.md +7 -1
  187. package/presets/claude/mcp-ts/commands/spec-start.md +1 -1
  188. package/presets/claude/mcp-ts/mcp.json +1 -1
  189. package/presets/claude/mcp-ts/rules/README.md +1 -0
  190. package/presets/claude/mcp-ts/rules/architecture/feature-delivery.md +3 -1
  191. package/presets/claude/mcp-ts/rules/architecture/product-specs-authoring.md +6 -4
  192. package/presets/claude/mcp-ts/rules/architecture/product-specs.md +8 -4
  193. package/presets/claude/mcp-ts/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
  194. package/presets/claude/mcp-ts/rules/tooling-and-review/anti-sycophancy-discipline.md +1 -1
  195. package/presets/claude/mcp-ts/rules/tooling-and-review/code-quality.md +1 -1
  196. package/presets/claude/mcp-ts/rules/tooling-and-review/mcp-usage.md +99 -0
  197. package/presets/claude/mcp-ts/rules/tooling-and-review/preset-no-cross-stack-leakage.md +5 -2
  198. package/presets/claude/mcp-ts/skills/README.md +2 -0
  199. package/presets/claude/mcp-ts/skills/code-review/SKILL.md +1 -0
  200. package/presets/claude/mcp-ts/skills/debug-investigation/SKILL.md +7 -0
  201. package/presets/claude/mcp-ts/skills/feature-delivery/SKILL.md +7 -1
  202. package/presets/claude/mcp-ts/skills/spec-discovery/SKILL.md +58 -0
  203. package/presets/claude/mcp-ts/team/README.md +7 -0
  204. package/presets/claude/mcp-ts/team/fixtures/feature-full.json +5 -2
  205. package/presets/claude/mcp-ts/team/fixtures/memlog.example.md +9 -0
  206. package/presets/claude/next/MCP.md +22 -0
  207. package/presets/claude/next/agents/README.md +2 -1
  208. package/presets/claude/next/agents/accessibility-reviewer.md +8 -0
  209. package/presets/claude/next/agents/build-verifier.md +6 -0
  210. package/presets/claude/next/agents/ci-investigator.md +8 -0
  211. package/presets/claude/next/agents/debugger.md +12 -0
  212. package/presets/claude/next/agents/feature-developer.md +31 -0
  213. package/presets/claude/next/agents/migration-specialist.md +6 -0
  214. package/presets/claude/next/agents/mockup-reviewer.md +59 -0
  215. package/presets/claude/next/agents/performance-auditor.md +8 -0
  216. package/presets/claude/next/agents/playwright-test-generator.md +11 -1
  217. package/presets/claude/next/agents/playwright-test-healer.md +8 -1
  218. package/presets/claude/next/agents/solution-architect.md +6 -0
  219. package/presets/claude/next/agents/task-analyst.md +35 -1
  220. package/presets/claude/next/agents/task-router.md +18 -3
  221. package/presets/claude/next/commands/feature-continue.md +11 -40
  222. package/presets/claude/next/commands/spec-start.md +1 -1
  223. package/presets/claude/next/commands/task-continue.md +6 -4
  224. package/presets/claude/next/commands/task.md +2 -0
  225. package/presets/claude/next/hooks/chain-team-phases.sh +26 -0
  226. package/presets/claude/next/mcp.json +3 -3
  227. package/presets/claude/next/rules/README.md +9 -3
  228. package/presets/claude/next/rules/architecture/feature-delivery-workflow.md +4 -1
  229. package/presets/claude/next/rules/architecture/product-specs-authoring.md +6 -4
  230. package/presets/claude/next/rules/architecture/product-specs.md +8 -4
  231. package/presets/claude/next/rules/testing/tests-unit.md +5 -0
  232. package/presets/claude/next/rules/tooling-and-review/agent-team-orchestrator.md +7 -3
  233. package/presets/claude/next/rules/tooling-and-review/anti-sycophancy-discipline.md +1 -1
  234. package/presets/claude/next/rules/tooling-and-review/code-quality.md +1 -1
  235. package/presets/claude/next/rules/tooling-and-review/mcp-usage.md +101 -0
  236. package/presets/claude/next/rules/tooling-and-review/mockup-review.md +118 -0
  237. package/presets/claude/next/rules/tooling-and-review/preset-no-cross-stack-leakage.md +5 -2
  238. package/presets/claude/next/rules/tooling-and-review/ux-design.md +110 -0
  239. package/presets/claude/next/skills/README.md +4 -0
  240. package/presets/claude/next/skills/ci-investigation/SKILL.md +8 -0
  241. package/presets/claude/next/skills/code-review/SKILL.md +1 -1
  242. package/presets/claude/next/skills/debug-investigation/SKILL.md +13 -1
  243. package/presets/claude/next/skills/feature-delivery/SKILL.md +12 -1
  244. package/presets/claude/next/skills/mockup-review/SKILL.md +29 -0
  245. package/presets/claude/next/skills/spec-discovery/SKILL.md +58 -0
  246. package/presets/claude/next/skills/ux-design/SKILL.md +36 -0
  247. package/presets/claude/next/team/README.md +11 -0
  248. package/presets/claude/next/team/fixtures/artifact-manifest.example.json +20 -2
  249. package/presets/claude/next/team/fixtures/feature-full.json +43 -9
  250. package/presets/claude/next/team/fixtures/feature-with-figma-url.json +17 -0
  251. package/presets/claude/next/team/fixtures/feature-with-ux-no-figma.json +17 -0
  252. package/presets/claude/next/team/fixtures/memlog.example.md +9 -0
  253. package/presets/claude/next/team/fixtures/mockup-review-fail-embedded-status.json +8 -0
  254. package/presets/claude/next/team/fixtures/mockup-review-standalone.json +14 -0
  255. package/presets/claude/next/team/fixtures/ux-design-standalone.json +15 -0
  256. package/presets/claude/nuxt/MCP.md +22 -0
  257. package/presets/claude/nuxt/agents/README.md +2 -1
  258. package/presets/claude/nuxt/agents/accessibility-reviewer.md +8 -0
  259. package/presets/claude/nuxt/agents/build-verifier.md +6 -0
  260. package/presets/claude/nuxt/agents/ci-investigator.md +8 -0
  261. package/presets/claude/nuxt/agents/debugger.md +12 -0
  262. package/presets/claude/nuxt/agents/feature-developer.md +31 -0
  263. package/presets/claude/nuxt/agents/migration-specialist.md +6 -0
  264. package/presets/claude/nuxt/agents/mockup-reviewer.md +59 -0
  265. package/presets/claude/nuxt/agents/performance-auditor.md +8 -0
  266. package/presets/claude/nuxt/agents/playwright-test-generator.md +11 -1
  267. package/presets/claude/nuxt/agents/playwright-test-healer.md +8 -1
  268. package/presets/claude/nuxt/agents/solution-architect.md +6 -0
  269. package/presets/claude/nuxt/agents/task-analyst.md +35 -1
  270. package/presets/claude/nuxt/agents/task-router.md +22 -7
  271. package/presets/claude/nuxt/commands/spec-start.md +1 -1
  272. package/presets/claude/nuxt/commands/task-continue.md +6 -4
  273. package/presets/claude/nuxt/commands/task.md +2 -0
  274. package/presets/claude/nuxt/hooks/chain-team-phases.sh +26 -0
  275. package/presets/claude/nuxt/mcp.json +3 -3
  276. package/presets/claude/nuxt/rules/README.md +6 -0
  277. package/presets/claude/nuxt/rules/architecture/feature-delivery-workflow.md +4 -1
  278. package/presets/claude/nuxt/rules/architecture/product-specs-authoring.md +6 -4
  279. package/presets/claude/nuxt/rules/architecture/product-specs.md +8 -4
  280. package/presets/claude/nuxt/rules/tooling-and-review/agent-team-orchestrator.md +7 -3
  281. package/presets/claude/nuxt/rules/tooling-and-review/anti-sycophancy-discipline.md +1 -1
  282. package/presets/claude/nuxt/rules/tooling-and-review/code-quality.md +1 -1
  283. package/presets/claude/nuxt/rules/tooling-and-review/mcp-usage.md +106 -0
  284. package/presets/claude/nuxt/rules/tooling-and-review/mockup-review.md +118 -0
  285. package/presets/claude/nuxt/rules/tooling-and-review/preset-no-cross-stack-leakage.md +5 -2
  286. package/presets/claude/nuxt/rules/tooling-and-review/ux-design.md +110 -0
  287. package/presets/claude/nuxt/skills/README.md +4 -0
  288. package/presets/claude/nuxt/skills/ci-investigation/SKILL.md +8 -0
  289. package/presets/claude/nuxt/skills/code-review/SKILL.md +1 -1
  290. package/presets/claude/nuxt/skills/debug-investigation/SKILL.md +13 -1
  291. package/presets/claude/nuxt/skills/feature-delivery/SKILL.md +12 -1
  292. package/presets/claude/nuxt/skills/mockup-review/SKILL.md +29 -0
  293. package/presets/claude/nuxt/skills/spec-discovery/SKILL.md +58 -0
  294. package/presets/claude/nuxt/skills/ux-design/SKILL.md +36 -0
  295. package/presets/claude/nuxt/team/README.md +11 -0
  296. package/presets/claude/nuxt/team/fixtures/artifact-manifest.example.json +20 -2
  297. package/presets/claude/nuxt/team/fixtures/feature-full.json +43 -9
  298. package/presets/claude/nuxt/team/fixtures/feature-with-figma-url.json +17 -0
  299. package/presets/claude/nuxt/team/fixtures/feature-with-ux-no-figma.json +17 -0
  300. package/presets/claude/nuxt/team/fixtures/memlog.example.md +9 -0
  301. package/presets/claude/nuxt/team/fixtures/mockup-review-fail-embedded-status.json +8 -0
  302. package/presets/claude/nuxt/team/fixtures/mockup-review-standalone.json +14 -0
  303. package/presets/claude/nuxt/team/fixtures/ux-design-standalone.json +15 -0
  304. package/presets/claude/php-hexagonal/CLAUDE.md +1 -1
  305. package/presets/claude/php-hexagonal/MCP.md +20 -1
  306. package/presets/claude/php-hexagonal/agents/build-verifier.md +7 -1
  307. package/presets/claude/php-hexagonal/agents/ci-investigator.md +8 -0
  308. package/presets/claude/php-hexagonal/agents/debugger.md +8 -0
  309. package/presets/claude/php-hexagonal/agents/feature-developer.md +23 -0
  310. package/presets/claude/php-hexagonal/agents/migration-specialist.md +6 -0
  311. package/presets/claude/php-hexagonal/agents/performance-auditor.md +6 -0
  312. package/presets/claude/php-hexagonal/agents/solution-architect.md +6 -0
  313. package/presets/claude/php-hexagonal/agents/task-analyst.md +17 -0
  314. package/presets/claude/php-hexagonal/agents/task-router.md +7 -1
  315. package/presets/claude/php-hexagonal/commands/feature-continue.md +11 -40
  316. package/presets/claude/php-hexagonal/commands/spec-start.md +1 -1
  317. package/presets/claude/php-hexagonal/mcp.json +1 -1
  318. package/presets/claude/php-hexagonal/rules/README.md +1 -0
  319. package/presets/claude/php-hexagonal/rules/architecture/feature-delivery.md +2 -1
  320. package/presets/claude/php-hexagonal/rules/architecture/product-specs-authoring.md +6 -4
  321. package/presets/claude/php-hexagonal/rules/architecture/product-specs.md +8 -4
  322. package/presets/claude/php-hexagonal/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
  323. package/presets/claude/php-hexagonal/rules/tooling-and-review/anti-sycophancy-discipline.md +1 -1
  324. package/presets/claude/php-hexagonal/rules/tooling-and-review/code-quality.md +1 -1
  325. package/presets/claude/php-hexagonal/rules/tooling-and-review/mcp-usage.md +98 -0
  326. package/presets/claude/php-hexagonal/rules/tooling-and-review/preset-no-cross-stack-leakage.md +5 -2
  327. package/presets/claude/php-hexagonal/skills/README.md +1 -1
  328. package/presets/claude/php-hexagonal/skills/ci-investigation/SKILL.md +7 -0
  329. package/presets/claude/php-hexagonal/skills/code-review/SKILL.md +1 -0
  330. package/presets/claude/php-hexagonal/skills/debug-investigation/SKILL.md +8 -0
  331. package/presets/claude/php-hexagonal/skills/feature-delivery/SKILL.md +7 -1
  332. package/presets/claude/php-hexagonal/skills/spec-discovery/SKILL.md +58 -0
  333. package/presets/claude/php-hexagonal/team/README.md +8 -0
  334. package/presets/claude/php-hexagonal/team/fixtures/feature-full.json +46 -10
  335. package/presets/claude/php-hexagonal/team/fixtures/memlog.example.md +9 -0
  336. package/presets/claude/php-laravel/MCP.md +21 -0
  337. package/presets/claude/php-laravel/agents/build-verifier.md +7 -1
  338. package/presets/claude/php-laravel/agents/ci-investigator.md +8 -0
  339. package/presets/claude/php-laravel/agents/debugger.md +8 -0
  340. package/presets/claude/php-laravel/agents/feature-developer.md +23 -0
  341. package/presets/claude/php-laravel/agents/migration-specialist.md +6 -0
  342. package/presets/claude/php-laravel/agents/performance-auditor.md +6 -0
  343. package/presets/claude/php-laravel/agents/solution-architect.md +6 -0
  344. package/presets/claude/php-laravel/agents/task-analyst.md +17 -0
  345. package/presets/claude/php-laravel/agents/task-router.md +7 -1
  346. package/presets/claude/php-laravel/commands/feature-continue.md +11 -40
  347. package/presets/claude/php-laravel/commands/spec-start.md +1 -1
  348. package/presets/claude/php-laravel/mcp.json +1 -1
  349. package/presets/claude/php-laravel/rules/README.md +1 -0
  350. package/presets/claude/php-laravel/rules/architecture/feature-delivery.md +3 -1
  351. package/presets/claude/php-laravel/rules/architecture/product-specs-authoring.md +6 -4
  352. package/presets/claude/php-laravel/rules/architecture/product-specs.md +8 -4
  353. package/presets/claude/php-laravel/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
  354. package/presets/claude/php-laravel/rules/tooling-and-review/anti-sycophancy-discipline.md +1 -1
  355. package/presets/claude/php-laravel/rules/tooling-and-review/code-quality.md +1 -1
  356. package/presets/claude/php-laravel/rules/tooling-and-review/mcp-usage.md +98 -0
  357. package/presets/claude/php-laravel/rules/tooling-and-review/preset-no-cross-stack-leakage.md +5 -2
  358. package/presets/claude/php-laravel/skills/README.md +1 -1
  359. package/presets/claude/php-laravel/skills/ci-investigation/SKILL.md +7 -0
  360. package/presets/claude/php-laravel/skills/code-review/SKILL.md +1 -0
  361. package/presets/claude/php-laravel/skills/debug-investigation/SKILL.md +8 -0
  362. package/presets/claude/php-laravel/skills/feature-delivery/SKILL.md +7 -1
  363. package/presets/claude/php-laravel/skills/spec-discovery/SKILL.md +58 -0
  364. package/presets/claude/php-laravel/team/README.md +7 -0
  365. package/presets/claude/php-laravel/team/fixtures/feature-full.json +38 -9
  366. package/presets/claude/php-laravel/team/fixtures/memlog.example.md +9 -0
  367. package/presets/claude/svelte/MCP.md +22 -0
  368. package/presets/claude/svelte/agents/README.md +2 -1
  369. package/presets/claude/svelte/agents/accessibility-reviewer.md +8 -0
  370. package/presets/claude/svelte/agents/build-verifier.md +6 -0
  371. package/presets/claude/svelte/agents/ci-investigator.md +8 -0
  372. package/presets/claude/svelte/agents/debugger.md +12 -0
  373. package/presets/claude/svelte/agents/feature-developer.md +31 -0
  374. package/presets/claude/svelte/agents/migration-specialist.md +6 -0
  375. package/presets/claude/svelte/agents/mockup-reviewer.md +59 -0
  376. package/presets/claude/svelte/agents/performance-auditor.md +8 -0
  377. package/presets/claude/svelte/agents/playwright-test-generator.md +11 -1
  378. package/presets/claude/svelte/agents/playwright-test-healer.md +8 -1
  379. package/presets/claude/svelte/agents/solution-architect.md +6 -0
  380. package/presets/claude/svelte/agents/task-analyst.md +35 -1
  381. package/presets/claude/svelte/agents/task-router.md +18 -3
  382. package/presets/claude/svelte/commands/spec-start.md +1 -1
  383. package/presets/claude/svelte/commands/task-continue.md +6 -4
  384. package/presets/claude/svelte/commands/task.md +2 -0
  385. package/presets/claude/svelte/hooks/chain-team-phases.sh +26 -0
  386. package/presets/claude/svelte/mcp.json +3 -3
  387. package/presets/claude/svelte/rules/README.md +6 -0
  388. package/presets/claude/svelte/rules/architecture/feature-delivery-workflow.md +4 -1
  389. package/presets/claude/svelte/rules/architecture/product-specs-authoring.md +6 -4
  390. package/presets/claude/svelte/rules/architecture/product-specs.md +8 -4
  391. package/presets/claude/svelte/rules/tooling-and-review/agent-team-orchestrator.md +7 -3
  392. package/presets/claude/svelte/rules/tooling-and-review/anti-sycophancy-discipline.md +1 -1
  393. package/presets/claude/svelte/rules/tooling-and-review/code-quality.md +1 -1
  394. package/presets/claude/svelte/rules/tooling-and-review/mcp-usage.md +101 -0
  395. package/presets/claude/svelte/rules/tooling-and-review/mockup-review.md +118 -0
  396. package/presets/claude/svelte/rules/tooling-and-review/preset-no-cross-stack-leakage.md +5 -2
  397. package/presets/claude/svelte/rules/tooling-and-review/ux-design.md +110 -0
  398. package/presets/claude/svelte/skills/README.md +4 -0
  399. package/presets/claude/svelte/skills/ci-investigation/SKILL.md +8 -0
  400. package/presets/claude/svelte/skills/code-review/SKILL.md +1 -1
  401. package/presets/claude/svelte/skills/debug-investigation/SKILL.md +13 -1
  402. package/presets/claude/svelte/skills/feature-delivery/SKILL.md +12 -1
  403. package/presets/claude/svelte/skills/mockup-review/SKILL.md +29 -0
  404. package/presets/claude/svelte/skills/spec-discovery/SKILL.md +58 -0
  405. package/presets/claude/svelte/skills/ux-design/SKILL.md +36 -0
  406. package/presets/claude/svelte/team/README.md +11 -0
  407. package/presets/claude/svelte/team/fixtures/artifact-manifest.example.json +20 -2
  408. package/presets/claude/svelte/team/fixtures/feature-full.json +43 -9
  409. package/presets/claude/svelte/team/fixtures/feature-with-figma-url.json +17 -0
  410. package/presets/claude/svelte/team/fixtures/feature-with-ux-no-figma.json +17 -0
  411. package/presets/claude/svelte/team/fixtures/memlog.example.md +9 -0
  412. package/presets/claude/svelte/team/fixtures/mockup-review-fail-embedded-status.json +8 -0
  413. package/presets/claude/svelte/team/fixtures/mockup-review-standalone.json +14 -0
  414. package/presets/claude/svelte/team/fixtures/ux-design-standalone.json +15 -0
  415. package/presets/cursor/android-kotlin/MCP.md +20 -1
  416. package/presets/cursor/android-kotlin/agents/README.md +2 -2
  417. package/presets/cursor/android-kotlin/agents/accessibility-reviewer.md +6 -0
  418. package/presets/cursor/android-kotlin/agents/build-verifier.md +6 -0
  419. package/presets/cursor/android-kotlin/agents/ci-investigator.md +8 -0
  420. package/presets/cursor/android-kotlin/agents/debugger.md +8 -0
  421. package/presets/cursor/android-kotlin/agents/feature-developer.md +29 -0
  422. package/presets/cursor/android-kotlin/agents/migration-specialist.md +6 -0
  423. package/presets/cursor/android-kotlin/agents/mockup-reviewer.md +60 -0
  424. package/presets/cursor/android-kotlin/agents/performance-auditor.md +6 -0
  425. package/presets/cursor/android-kotlin/agents/solution-architect.md +6 -0
  426. package/presets/cursor/android-kotlin/agents/task-analyst.md +35 -1
  427. package/presets/cursor/android-kotlin/agents/task-router.md +17 -2
  428. package/presets/cursor/android-kotlin/commands/spec-start.md +1 -1
  429. package/presets/cursor/android-kotlin/commands/task-continue.md +6 -4
  430. package/presets/cursor/android-kotlin/commands/task.md +2 -0
  431. package/presets/cursor/android-kotlin/hooks/chain-team-phases.sh +26 -0
  432. package/presets/cursor/android-kotlin/mcp.json +1 -1
  433. package/presets/cursor/android-kotlin/rules/README.md +6 -0
  434. package/presets/cursor/android-kotlin/rules/agent-team-orchestrator.mdc +7 -3
  435. package/presets/cursor/android-kotlin/rules/anti-sycophancy-discipline.mdc +1 -1
  436. package/presets/cursor/android-kotlin/rules/code-quality-and-refactoring.mdc +1 -1
  437. package/presets/cursor/android-kotlin/rules/feature-delivery-workflow.mdc +5 -1
  438. package/presets/cursor/android-kotlin/rules/mcp-usage.mdc +99 -0
  439. package/presets/cursor/android-kotlin/rules/mockup-review.mdc +116 -0
  440. package/presets/cursor/android-kotlin/rules/preset-no-cross-stack-leakage.mdc +6 -3
  441. package/presets/cursor/android-kotlin/rules/product-specs-authoring.mdc +6 -4
  442. package/presets/cursor/android-kotlin/rules/product-specs.mdc +8 -4
  443. package/presets/cursor/android-kotlin/rules/ux-design.mdc +108 -0
  444. package/presets/cursor/android-kotlin/skills/README.md +4 -0
  445. package/presets/cursor/android-kotlin/skills/ci-investigation/SKILL.md +8 -0
  446. package/presets/cursor/android-kotlin/skills/debug-investigation/SKILL.md +8 -0
  447. package/presets/cursor/android-kotlin/skills/feature-delivery/SKILL.md +9 -0
  448. package/presets/cursor/android-kotlin/skills/mockup-review/SKILL.md +29 -0
  449. package/presets/cursor/android-kotlin/skills/spec-discovery/SKILL.md +58 -0
  450. package/presets/cursor/android-kotlin/skills/ux-design/SKILL.md +36 -0
  451. package/presets/cursor/android-kotlin/team/README.md +8 -0
  452. package/presets/cursor/android-kotlin/team/fixtures/artifact-manifest.example.json +25 -0
  453. package/presets/cursor/android-kotlin/team/fixtures/feature-full.json +1 -0
  454. package/presets/cursor/android-kotlin/team/fixtures/feature-with-figma-url.json +17 -0
  455. package/presets/cursor/android-kotlin/team/fixtures/feature-with-ux-no-figma.json +17 -0
  456. package/presets/cursor/android-kotlin/team/fixtures/memlog.example.md +9 -0
  457. package/presets/cursor/android-kotlin/team/fixtures/mockup-review-fail-embedded-status.json +8 -0
  458. package/presets/cursor/android-kotlin/team/fixtures/mockup-review-standalone.json +14 -0
  459. package/presets/cursor/android-kotlin/team/fixtures/ux-design-standalone.json +15 -0
  460. package/presets/cursor/go/MCP.md +23 -2
  461. package/presets/cursor/go/agents/build-verifier.md +6 -0
  462. package/presets/cursor/go/agents/ci-investigator.md +8 -0
  463. package/presets/cursor/go/agents/debugger.md +8 -0
  464. package/presets/cursor/go/agents/feature-developer.md +23 -0
  465. package/presets/cursor/go/agents/migration-specialist.md +6 -0
  466. package/presets/cursor/go/agents/performance-auditor.md +6 -0
  467. package/presets/cursor/go/agents/solution-architect.md +6 -0
  468. package/presets/cursor/go/agents/task-analyst.md +17 -0
  469. package/presets/cursor/go/agents/task-router.md +7 -1
  470. package/presets/cursor/go/commands/spec-start.md +1 -1
  471. package/presets/cursor/go/mcp.json +1 -1
  472. package/presets/cursor/go/rules/README.md +2 -1
  473. package/presets/cursor/go/rules/agent-team-orchestrator.mdc +1 -0
  474. package/presets/cursor/go/rules/anti-sycophancy-discipline.mdc +1 -1
  475. package/presets/cursor/go/rules/code-quality-and-refactoring.mdc +1 -1
  476. package/presets/cursor/go/rules/feature-delivery-workflow.mdc +2 -1
  477. package/presets/cursor/go/rules/mcp-usage.mdc +98 -0
  478. package/presets/cursor/go/rules/preset-no-cross-stack-leakage.mdc +5 -2
  479. package/presets/cursor/go/rules/product-specs-authoring.mdc +6 -4
  480. package/presets/cursor/go/rules/product-specs.mdc +8 -4
  481. package/presets/cursor/go/skills/README.md +1 -1
  482. package/presets/cursor/go/skills/ci-investigation/SKILL.md +7 -0
  483. package/presets/cursor/go/skills/code-review/SKILL.md +1 -0
  484. package/presets/cursor/go/skills/debug-investigation/SKILL.md +8 -0
  485. package/presets/cursor/go/skills/feature-delivery/SKILL.md +7 -1
  486. package/presets/cursor/go/skills/spec-discovery/SKILL.md +58 -0
  487. package/presets/cursor/go/team/README.md +8 -0
  488. package/presets/cursor/go/team/fixtures/feature-full.json +46 -10
  489. package/presets/cursor/go/team/fixtures/memlog.example.md +9 -0
  490. package/presets/cursor/ios-swift/MCP.md +20 -1
  491. package/presets/cursor/ios-swift/agents/README.md +2 -2
  492. package/presets/cursor/ios-swift/agents/accessibility-reviewer.md +7 -10
  493. package/presets/cursor/ios-swift/agents/api-contract-reviewer.md +2 -11
  494. package/presets/cursor/ios-swift/agents/build-verifier.md +6 -0
  495. package/presets/cursor/ios-swift/agents/ci-investigator.md +10 -11
  496. package/presets/cursor/ios-swift/agents/debugger.md +10 -11
  497. package/presets/cursor/ios-swift/agents/feature-developer.md +29 -0
  498. package/presets/cursor/ios-swift/agents/migration-specialist.md +8 -11
  499. package/presets/cursor/ios-swift/agents/mockup-reviewer.md +60 -0
  500. package/presets/cursor/ios-swift/agents/performance-auditor.md +8 -11
  501. package/presets/cursor/ios-swift/agents/qa-tester.md +2 -11
  502. package/presets/cursor/ios-swift/agents/security-reviewer.md +2 -11
  503. package/presets/cursor/ios-swift/agents/solution-architect.md +6 -0
  504. package/presets/cursor/ios-swift/agents/task-analyst.md +35 -1
  505. package/presets/cursor/ios-swift/agents/task-router.md +17 -2
  506. package/presets/cursor/ios-swift/agents/unit-test-generator.md +2 -11
  507. package/presets/cursor/ios-swift/agents/unit-test-healer.md +2 -11
  508. package/presets/cursor/ios-swift/agents/unit-test-planner.md +2 -11
  509. package/presets/cursor/ios-swift/agents/xcuitest-test-generator.md +1 -11
  510. package/presets/cursor/ios-swift/agents/xcuitest-test-healer.md +1 -11
  511. package/presets/cursor/ios-swift/agents/xcuitest-test-planner.md +1 -13
  512. package/presets/cursor/ios-swift/commands/spec-start.md +1 -1
  513. package/presets/cursor/ios-swift/commands/task-continue.md +6 -4
  514. package/presets/cursor/ios-swift/commands/task.md +2 -0
  515. package/presets/cursor/ios-swift/hooks/chain-team-phases.sh +26 -0
  516. package/presets/cursor/ios-swift/mcp.json +1 -1
  517. package/presets/cursor/ios-swift/rules/README.md +7 -1
  518. package/presets/cursor/ios-swift/rules/agent-team-orchestrator.mdc +7 -3
  519. package/presets/cursor/ios-swift/rules/anti-sycophancy-discipline.mdc +1 -1
  520. package/presets/cursor/ios-swift/rules/code-quality-and-refactoring.mdc +1 -1
  521. package/presets/cursor/ios-swift/rules/feature-delivery-workflow.mdc +4 -1
  522. package/presets/cursor/ios-swift/rules/mcp-usage.mdc +99 -0
  523. package/presets/cursor/ios-swift/rules/mockup-review.mdc +116 -0
  524. package/presets/cursor/ios-swift/rules/preset-no-cross-stack-leakage.mdc +5 -2
  525. package/presets/cursor/ios-swift/rules/product-specs-authoring.mdc +6 -4
  526. package/presets/cursor/ios-swift/rules/product-specs.mdc +8 -4
  527. package/presets/cursor/ios-swift/rules/ux-design.mdc +108 -0
  528. package/presets/cursor/ios-swift/skills/README.md +4 -0
  529. package/presets/cursor/ios-swift/skills/ci-investigation/SKILL.md +8 -0
  530. package/presets/cursor/ios-swift/skills/code-review/SKILL.md +1 -1
  531. package/presets/cursor/ios-swift/skills/debug-investigation/SKILL.md +9 -1
  532. package/presets/cursor/ios-swift/skills/feature-delivery/SKILL.md +10 -1
  533. package/presets/cursor/ios-swift/skills/mockup-review/SKILL.md +29 -0
  534. package/presets/cursor/ios-swift/skills/spec-discovery/SKILL.md +58 -0
  535. package/presets/cursor/ios-swift/skills/ux-design/SKILL.md +36 -0
  536. package/presets/cursor/ios-swift/team/README.md +8 -0
  537. package/presets/cursor/ios-swift/team/fixtures/artifact-manifest.example.json +25 -0
  538. package/presets/cursor/ios-swift/team/fixtures/feature-full.json +39 -9
  539. package/presets/cursor/ios-swift/team/fixtures/feature-with-figma-url.json +17 -0
  540. package/presets/cursor/ios-swift/team/fixtures/feature-with-ux-no-figma.json +17 -0
  541. package/presets/cursor/ios-swift/team/fixtures/memlog.example.md +9 -0
  542. package/presets/cursor/ios-swift/team/fixtures/mockup-review-fail-embedded-status.json +8 -0
  543. package/presets/cursor/ios-swift/team/fixtures/mockup-review-standalone.json +14 -0
  544. package/presets/cursor/ios-swift/team/fixtures/ux-design-standalone.json +15 -0
  545. package/presets/cursor/java/AGENTS.md +1 -1
  546. package/presets/cursor/java/MCP.md +20 -1
  547. package/presets/cursor/java/agents/build-verifier.md +7 -1
  548. package/presets/cursor/java/agents/ci-investigator.md +8 -0
  549. package/presets/cursor/java/agents/debugger.md +8 -0
  550. package/presets/cursor/java/agents/feature-developer.md +23 -0
  551. package/presets/cursor/java/agents/migration-specialist.md +6 -0
  552. package/presets/cursor/java/agents/performance-auditor.md +6 -0
  553. package/presets/cursor/java/agents/solution-architect.md +6 -0
  554. package/presets/cursor/java/agents/task-analyst.md +17 -0
  555. package/presets/cursor/java/agents/task-router.md +7 -1
  556. package/presets/cursor/java/commands/spec-start.md +1 -1
  557. package/presets/cursor/java/mcp.json +1 -1
  558. package/presets/cursor/java/rules/README.md +2 -1
  559. package/presets/cursor/java/rules/agent-team-orchestrator.mdc +1 -0
  560. package/presets/cursor/java/rules/anti-sycophancy-discipline.mdc +1 -1
  561. package/presets/cursor/java/rules/code-quality-and-refactoring.mdc +1 -1
  562. package/presets/cursor/java/rules/feature-delivery-workflow.mdc +2 -1
  563. package/presets/cursor/java/rules/mcp-usage.mdc +97 -0
  564. package/presets/cursor/java/rules/preset-no-cross-stack-leakage.mdc +5 -2
  565. package/presets/cursor/java/rules/product-specs-authoring.mdc +6 -4
  566. package/presets/cursor/java/rules/product-specs.mdc +8 -4
  567. package/presets/cursor/java/skills/README.md +1 -1
  568. package/presets/cursor/java/skills/ci-investigation/SKILL.md +7 -0
  569. package/presets/cursor/java/skills/code-review/SKILL.md +1 -0
  570. package/presets/cursor/java/skills/debug-investigation/SKILL.md +8 -0
  571. package/presets/cursor/java/skills/feature-delivery/SKILL.md +7 -1
  572. package/presets/cursor/java/skills/spec-discovery/SKILL.md +58 -0
  573. package/presets/cursor/java/team/README.md +8 -0
  574. package/presets/cursor/java/team/fixtures/feature-full.json +46 -10
  575. package/presets/cursor/java/team/fixtures/memlog.example.md +9 -0
  576. package/presets/cursor/mcp-ts/MCP.md +20 -1
  577. package/presets/cursor/mcp-ts/agents/build-verifier.md +7 -1
  578. package/presets/cursor/mcp-ts/agents/feature-developer.md +23 -0
  579. package/presets/cursor/mcp-ts/agents/solution-architect.md +5 -0
  580. package/presets/cursor/mcp-ts/agents/task-analyst.md +17 -0
  581. package/presets/cursor/mcp-ts/agents/task-router.md +7 -1
  582. package/presets/cursor/mcp-ts/commands/spec-start.md +1 -1
  583. package/presets/cursor/mcp-ts/mcp.json +1 -1
  584. package/presets/cursor/mcp-ts/rules/README.md +3 -2
  585. package/presets/cursor/mcp-ts/rules/agent-team-orchestrator.mdc +1 -0
  586. package/presets/cursor/mcp-ts/rules/anti-sycophancy-discipline.mdc +1 -1
  587. package/presets/cursor/mcp-ts/rules/code-quality-and-refactoring.mdc +1 -1
  588. package/presets/cursor/mcp-ts/rules/feature-delivery-workflow.mdc +2 -1
  589. package/presets/cursor/mcp-ts/rules/mcp-usage.mdc +98 -0
  590. package/presets/cursor/mcp-ts/rules/preset-no-cross-stack-leakage.mdc +5 -2
  591. package/presets/cursor/mcp-ts/rules/product-specs-authoring.mdc +6 -4
  592. package/presets/cursor/mcp-ts/rules/product-specs.mdc +8 -4
  593. package/presets/cursor/mcp-ts/skills/README.md +2 -0
  594. package/presets/cursor/mcp-ts/skills/code-review/SKILL.md +1 -0
  595. package/presets/cursor/mcp-ts/skills/debug-investigation/SKILL.md +7 -0
  596. package/presets/cursor/mcp-ts/skills/feature-delivery/SKILL.md +7 -1
  597. package/presets/cursor/mcp-ts/skills/spec-discovery/SKILL.md +58 -0
  598. package/presets/cursor/mcp-ts/team/README.md +7 -0
  599. package/presets/cursor/mcp-ts/team/fixtures/feature-full.json +5 -2
  600. package/presets/cursor/mcp-ts/team/fixtures/memlog.example.md +9 -0
  601. package/presets/cursor/next/MCP.md +21 -1
  602. package/presets/cursor/next/agents/README.md +2 -1
  603. package/presets/cursor/next/agents/accessibility-reviewer.md +8 -0
  604. package/presets/cursor/next/agents/build-verifier.md +6 -0
  605. package/presets/cursor/next/agents/ci-investigator.md +8 -0
  606. package/presets/cursor/next/agents/debugger.md +12 -0
  607. package/presets/cursor/next/agents/feature-developer.md +31 -0
  608. package/presets/cursor/next/agents/migration-specialist.md +6 -0
  609. package/presets/cursor/next/agents/mockup-reviewer.md +60 -0
  610. package/presets/cursor/next/agents/performance-auditor.md +8 -0
  611. package/presets/cursor/next/agents/playwright-test-generator.md +9 -1
  612. package/presets/cursor/next/agents/playwright-test-healer.md +9 -1
  613. package/presets/cursor/next/agents/playwright-test-planner.md +1 -1
  614. package/presets/cursor/next/agents/solution-architect.md +6 -0
  615. package/presets/cursor/next/agents/task-analyst.md +35 -1
  616. package/presets/cursor/next/agents/task-router.md +18 -3
  617. package/presets/cursor/next/commands/spec-start.md +1 -1
  618. package/presets/cursor/next/commands/task-continue.md +6 -4
  619. package/presets/cursor/next/commands/task.md +2 -0
  620. package/presets/cursor/next/hooks/chain-team-phases.sh +26 -0
  621. package/presets/cursor/next/mcp.json +3 -3
  622. package/presets/cursor/next/rules/README.md +5 -2
  623. package/presets/cursor/next/rules/agent-team-orchestrator.mdc +7 -3
  624. package/presets/cursor/next/rules/anti-sycophancy-discipline.mdc +1 -1
  625. package/presets/cursor/next/rules/code-quality-and-refactoring.mdc +1 -1
  626. package/presets/cursor/next/rules/feature-delivery-workflow.mdc +4 -1
  627. package/presets/cursor/next/rules/mcp-usage.mdc +100 -0
  628. package/presets/cursor/next/rules/mockup-review.mdc +116 -0
  629. package/presets/cursor/next/rules/preset-no-cross-stack-leakage.mdc +5 -2
  630. package/presets/cursor/next/rules/product-specs-authoring.mdc +6 -4
  631. package/presets/cursor/next/rules/product-specs.mdc +8 -4
  632. package/presets/cursor/next/rules/tests-unit.mdc +5 -0
  633. package/presets/cursor/next/rules/ux-design.mdc +108 -0
  634. package/presets/cursor/next/skills/README.md +4 -0
  635. package/presets/cursor/next/skills/ci-investigation/SKILL.md +8 -0
  636. package/presets/cursor/next/skills/code-review/SKILL.md +1 -1
  637. package/presets/cursor/next/skills/debug-investigation/SKILL.md +13 -1
  638. package/presets/cursor/next/skills/feature-delivery/SKILL.md +12 -1
  639. package/presets/cursor/next/skills/mockup-review/SKILL.md +29 -0
  640. package/presets/cursor/next/skills/spec-discovery/SKILL.md +58 -0
  641. package/presets/cursor/next/skills/ux-design/SKILL.md +36 -0
  642. package/presets/cursor/next/team/README.md +11 -0
  643. package/presets/cursor/next/team/fixtures/artifact-manifest.example.json +20 -2
  644. package/presets/cursor/next/team/fixtures/feature-full.json +1 -0
  645. package/presets/cursor/next/team/fixtures/feature-with-figma-url.json +17 -0
  646. package/presets/cursor/next/team/fixtures/feature-with-ux-no-figma.json +17 -0
  647. package/presets/cursor/next/team/fixtures/memlog.example.md +9 -0
  648. package/presets/cursor/next/team/fixtures/mockup-review-fail-embedded-status.json +8 -0
  649. package/presets/cursor/next/team/fixtures/mockup-review-standalone.json +14 -0
  650. package/presets/cursor/next/team/fixtures/ux-design-standalone.json +15 -0
  651. package/presets/cursor/nuxt/MCP.md +21 -1
  652. package/presets/cursor/nuxt/agents/README.md +2 -1
  653. package/presets/cursor/nuxt/agents/accessibility-reviewer.md +8 -0
  654. package/presets/cursor/nuxt/agents/build-verifier.md +6 -0
  655. package/presets/cursor/nuxt/agents/ci-investigator.md +8 -0
  656. package/presets/cursor/nuxt/agents/debugger.md +12 -0
  657. package/presets/cursor/nuxt/agents/feature-developer.md +31 -0
  658. package/presets/cursor/nuxt/agents/migration-specialist.md +6 -0
  659. package/presets/cursor/nuxt/agents/mockup-reviewer.md +60 -0
  660. package/presets/cursor/nuxt/agents/performance-auditor.md +8 -0
  661. package/presets/cursor/nuxt/agents/playwright-test-generator.md +9 -1
  662. package/presets/cursor/nuxt/agents/playwright-test-healer.md +9 -1
  663. package/presets/cursor/nuxt/agents/playwright-test-planner.md +1 -1
  664. package/presets/cursor/nuxt/agents/solution-architect.md +6 -0
  665. package/presets/cursor/nuxt/agents/task-analyst.md +35 -1
  666. package/presets/cursor/nuxt/agents/task-router.md +18 -3
  667. package/presets/cursor/nuxt/commands/spec-start.md +1 -1
  668. package/presets/cursor/nuxt/commands/task-continue.md +6 -4
  669. package/presets/cursor/nuxt/commands/task.md +2 -0
  670. package/presets/cursor/nuxt/hooks/chain-team-phases.sh +26 -0
  671. package/presets/cursor/nuxt/mcp.json +3 -3
  672. package/presets/cursor/nuxt/rules/README.md +4 -1
  673. package/presets/cursor/nuxt/rules/agent-team-orchestrator.mdc +7 -3
  674. package/presets/cursor/nuxt/rules/anti-sycophancy-discipline.mdc +1 -1
  675. package/presets/cursor/nuxt/rules/code-quality-and-refactoring.mdc +1 -1
  676. package/presets/cursor/nuxt/rules/feature-delivery-workflow.mdc +4 -1
  677. package/presets/cursor/nuxt/rules/mcp-usage.mdc +100 -0
  678. package/presets/cursor/nuxt/rules/mockup-review.mdc +116 -0
  679. package/presets/cursor/nuxt/rules/preset-no-cross-stack-leakage.mdc +5 -2
  680. package/presets/cursor/nuxt/rules/product-specs-authoring.mdc +6 -4
  681. package/presets/cursor/nuxt/rules/product-specs.mdc +8 -4
  682. package/presets/cursor/nuxt/rules/ux-design.mdc +108 -0
  683. package/presets/cursor/nuxt/skills/README.md +4 -0
  684. package/presets/cursor/nuxt/skills/ci-investigation/SKILL.md +8 -0
  685. package/presets/cursor/nuxt/skills/code-review/SKILL.md +1 -1
  686. package/presets/cursor/nuxt/skills/debug-investigation/SKILL.md +13 -1
  687. package/presets/cursor/nuxt/skills/feature-delivery/SKILL.md +12 -1
  688. package/presets/cursor/nuxt/skills/mockup-review/SKILL.md +29 -0
  689. package/presets/cursor/nuxt/skills/spec-discovery/SKILL.md +58 -0
  690. package/presets/cursor/nuxt/skills/ux-design/SKILL.md +36 -0
  691. package/presets/cursor/nuxt/team/README.md +11 -0
  692. package/presets/cursor/nuxt/team/fixtures/artifact-manifest.example.json +20 -2
  693. package/presets/cursor/nuxt/team/fixtures/feature-full.json +43 -9
  694. package/presets/cursor/nuxt/team/fixtures/feature-with-figma-url.json +17 -0
  695. package/presets/cursor/nuxt/team/fixtures/feature-with-ux-no-figma.json +17 -0
  696. package/presets/cursor/nuxt/team/fixtures/memlog.example.md +9 -0
  697. package/presets/cursor/nuxt/team/fixtures/mockup-review-fail-embedded-status.json +8 -0
  698. package/presets/cursor/nuxt/team/fixtures/mockup-review-standalone.json +14 -0
  699. package/presets/cursor/nuxt/team/fixtures/ux-design-standalone.json +15 -0
  700. package/presets/cursor/php-hexagonal/AGENTS.md +1 -1
  701. package/presets/cursor/php-hexagonal/MCP.md +20 -1
  702. package/presets/cursor/php-hexagonal/agents/build-verifier.md +7 -1
  703. package/presets/cursor/php-hexagonal/agents/ci-investigator.md +8 -0
  704. package/presets/cursor/php-hexagonal/agents/debugger.md +8 -0
  705. package/presets/cursor/php-hexagonal/agents/feature-developer.md +23 -0
  706. package/presets/cursor/php-hexagonal/agents/migration-specialist.md +6 -0
  707. package/presets/cursor/php-hexagonal/agents/performance-auditor.md +6 -0
  708. package/presets/cursor/php-hexagonal/agents/solution-architect.md +6 -0
  709. package/presets/cursor/php-hexagonal/agents/task-analyst.md +17 -0
  710. package/presets/cursor/php-hexagonal/agents/task-router.md +7 -1
  711. package/presets/cursor/php-hexagonal/commands/spec-start.md +1 -1
  712. package/presets/cursor/php-hexagonal/mcp.json +1 -1
  713. package/presets/cursor/php-hexagonal/rules/README.md +2 -1
  714. package/presets/cursor/php-hexagonal/rules/agent-team-orchestrator.mdc +1 -0
  715. package/presets/cursor/php-hexagonal/rules/anti-sycophancy-discipline.mdc +1 -1
  716. package/presets/cursor/php-hexagonal/rules/code-quality-and-refactoring.mdc +1 -1
  717. package/presets/cursor/php-hexagonal/rules/feature-delivery-workflow.mdc +2 -1
  718. package/presets/cursor/php-hexagonal/rules/mcp-usage.mdc +97 -0
  719. package/presets/cursor/php-hexagonal/rules/preset-no-cross-stack-leakage.mdc +5 -2
  720. package/presets/cursor/php-hexagonal/rules/product-specs-authoring.mdc +6 -4
  721. package/presets/cursor/php-hexagonal/rules/product-specs.mdc +8 -4
  722. package/presets/cursor/php-hexagonal/skills/README.md +1 -1
  723. package/presets/cursor/php-hexagonal/skills/ci-investigation/SKILL.md +7 -0
  724. package/presets/cursor/php-hexagonal/skills/code-review/SKILL.md +1 -0
  725. package/presets/cursor/php-hexagonal/skills/debug-investigation/SKILL.md +8 -0
  726. package/presets/cursor/php-hexagonal/skills/feature-delivery/SKILL.md +7 -1
  727. package/presets/cursor/php-hexagonal/skills/spec-discovery/SKILL.md +58 -0
  728. package/presets/cursor/php-hexagonal/team/README.md +8 -0
  729. package/presets/cursor/php-hexagonal/team/fixtures/feature-full.json +46 -10
  730. package/presets/cursor/php-hexagonal/team/fixtures/memlog.example.md +9 -0
  731. package/presets/cursor/php-laravel/AGENTS.md +1 -1
  732. package/presets/cursor/php-laravel/MCP.md +21 -0
  733. package/presets/cursor/php-laravel/agents/build-verifier.md +7 -1
  734. package/presets/cursor/php-laravel/agents/ci-investigator.md +8 -0
  735. package/presets/cursor/php-laravel/agents/debugger.md +8 -0
  736. package/presets/cursor/php-laravel/agents/feature-developer.md +23 -0
  737. package/presets/cursor/php-laravel/agents/migration-specialist.md +6 -0
  738. package/presets/cursor/php-laravel/agents/performance-auditor.md +6 -0
  739. package/presets/cursor/php-laravel/agents/solution-architect.md +6 -0
  740. package/presets/cursor/php-laravel/agents/task-analyst.md +17 -0
  741. package/presets/cursor/php-laravel/agents/task-router.md +7 -1
  742. package/presets/cursor/php-laravel/commands/spec-start.md +1 -1
  743. package/presets/cursor/php-laravel/mcp.json +1 -1
  744. package/presets/cursor/php-laravel/rules/README.md +2 -1
  745. package/presets/cursor/php-laravel/rules/agent-team-orchestrator.mdc +1 -0
  746. package/presets/cursor/php-laravel/rules/anti-sycophancy-discipline.mdc +1 -1
  747. package/presets/cursor/php-laravel/rules/code-quality-and-refactoring.mdc +1 -1
  748. package/presets/cursor/php-laravel/rules/feature-delivery-workflow.mdc +2 -1
  749. package/presets/cursor/php-laravel/rules/mcp-usage.mdc +97 -0
  750. package/presets/cursor/php-laravel/rules/preset-no-cross-stack-leakage.mdc +5 -2
  751. package/presets/cursor/php-laravel/rules/product-specs-authoring.mdc +6 -4
  752. package/presets/cursor/php-laravel/rules/product-specs.mdc +8 -4
  753. package/presets/cursor/php-laravel/skills/README.md +1 -1
  754. package/presets/cursor/php-laravel/skills/ci-investigation/SKILL.md +7 -0
  755. package/presets/cursor/php-laravel/skills/code-review/SKILL.md +1 -0
  756. package/presets/cursor/php-laravel/skills/debug-investigation/SKILL.md +8 -0
  757. package/presets/cursor/php-laravel/skills/feature-delivery/SKILL.md +7 -1
  758. package/presets/cursor/php-laravel/skills/spec-discovery/SKILL.md +58 -0
  759. package/presets/cursor/php-laravel/team/README.md +7 -0
  760. package/presets/cursor/php-laravel/team/fixtures/feature-full.json +38 -9
  761. package/presets/cursor/php-laravel/team/fixtures/memlog.example.md +9 -0
  762. package/presets/cursor/svelte/MCP.md +21 -1
  763. package/presets/cursor/svelte/agents/README.md +2 -1
  764. package/presets/cursor/svelte/agents/accessibility-reviewer.md +8 -0
  765. package/presets/cursor/svelte/agents/build-verifier.md +6 -0
  766. package/presets/cursor/svelte/agents/ci-investigator.md +8 -0
  767. package/presets/cursor/svelte/agents/debugger.md +12 -0
  768. package/presets/cursor/svelte/agents/feature-developer.md +31 -0
  769. package/presets/cursor/svelte/agents/migration-specialist.md +6 -0
  770. package/presets/cursor/svelte/agents/mockup-reviewer.md +60 -0
  771. package/presets/cursor/svelte/agents/performance-auditor.md +8 -0
  772. package/presets/cursor/svelte/agents/playwright-test-generator.md +9 -1
  773. package/presets/cursor/svelte/agents/playwright-test-healer.md +9 -1
  774. package/presets/cursor/svelte/agents/playwright-test-planner.md +1 -1
  775. package/presets/cursor/svelte/agents/solution-architect.md +6 -0
  776. package/presets/cursor/svelte/agents/task-analyst.md +35 -1
  777. package/presets/cursor/svelte/agents/task-router.md +18 -3
  778. package/presets/cursor/svelte/commands/spec-start.md +1 -1
  779. package/presets/cursor/svelte/commands/task-continue.md +6 -4
  780. package/presets/cursor/svelte/commands/task.md +2 -0
  781. package/presets/cursor/svelte/hooks/chain-team-phases.sh +26 -0
  782. package/presets/cursor/svelte/mcp.json +3 -3
  783. package/presets/cursor/svelte/rules/README.md +4 -1
  784. package/presets/cursor/svelte/rules/agent-team-orchestrator.mdc +7 -3
  785. package/presets/cursor/svelte/rules/anti-sycophancy-discipline.mdc +1 -1
  786. package/presets/cursor/svelte/rules/code-quality-and-refactoring.mdc +1 -1
  787. package/presets/cursor/svelte/rules/feature-delivery-workflow.mdc +4 -1
  788. package/presets/cursor/svelte/rules/mcp-usage.mdc +100 -0
  789. package/presets/cursor/svelte/rules/mockup-review.mdc +116 -0
  790. package/presets/cursor/svelte/rules/preset-no-cross-stack-leakage.mdc +5 -2
  791. package/presets/cursor/svelte/rules/product-specs-authoring.mdc +6 -4
  792. package/presets/cursor/svelte/rules/product-specs.mdc +8 -4
  793. package/presets/cursor/svelte/rules/ux-design.mdc +108 -0
  794. package/presets/cursor/svelte/skills/README.md +4 -0
  795. package/presets/cursor/svelte/skills/ci-investigation/SKILL.md +8 -0
  796. package/presets/cursor/svelte/skills/code-review/SKILL.md +1 -1
  797. package/presets/cursor/svelte/skills/debug-investigation/SKILL.md +13 -1
  798. package/presets/cursor/svelte/skills/feature-delivery/SKILL.md +12 -1
  799. package/presets/cursor/svelte/skills/mockup-review/SKILL.md +29 -0
  800. package/presets/cursor/svelte/skills/spec-discovery/SKILL.md +58 -0
  801. package/presets/cursor/svelte/skills/ux-design/SKILL.md +36 -0
  802. package/presets/cursor/svelte/team/README.md +11 -0
  803. package/presets/cursor/svelte/team/fixtures/artifact-manifest.example.json +20 -2
  804. package/presets/cursor/svelte/team/fixtures/feature-full.json +43 -9
  805. package/presets/cursor/svelte/team/fixtures/feature-with-figma-url.json +17 -0
  806. package/presets/cursor/svelte/team/fixtures/feature-with-ux-no-figma.json +17 -0
  807. package/presets/cursor/svelte/team/fixtures/memlog.example.md +9 -0
  808. package/presets/cursor/svelte/team/fixtures/mockup-review-fail-embedded-status.json +8 -0
  809. package/presets/cursor/svelte/team/fixtures/mockup-review-standalone.json +14 -0
  810. package/presets/cursor/svelte/team/fixtures/ux-design-standalone.json +15 -0
  811. package/scripts/aggregate-agent-task-metrics.mjs +212 -0
  812. package/scripts/check-hook-only-lifecycle.sh +46 -0
  813. package/scripts/check-preset-i18n.sh +61 -0
  814. package/scripts/check-preset-leakage.sh +450 -0
  815. package/scripts/check-preset-structure.sh +70 -0
  816. package/scripts/check-preset-token-budget.sh +139 -0
  817. package/scripts/check-preset-twin-map.sh +122 -0
  818. package/scripts/check-product-specs.sh +90 -0
  819. package/scripts/check-rule-eval.mjs +149 -0
  820. package/scripts/check-shared-core-drift.sh +148 -0
  821. package/scripts/close-agent-task-human-gate.mjs +61 -0
  822. package/scripts/sync-dogfood-cursor.sh +70 -0
  823. package/scripts/sync-shared-core-embeds.sh +114 -0
  824. package/scripts/test-agent-task-metrics-hooks.mjs +895 -0
  825. package/scripts/test-cli-mcp-merge.mjs +137 -0
@@ -0,0 +1,100 @@
1
+ ---
2
+ description: When to call shipped Context7 and local overlay MCP — detect presence, use if the task fits, degrade.
3
+ alwaysApply: false
4
+ ---
5
+
6
+ <!-- shared-core: quality/mcp-usage.md -->
7
+
8
+ # MCP usage
9
+
10
+ Requestable protocol for **shipped** and **local-overlay** MCP servers. Agents load this stem via one-liner wiring — do not copy tool schemas into prompts; discover them at runtime.
11
+
12
+ Does not replace Figma mockup-review (that checklist stays on `mockup-review`). Does not add pipeline agents or required handoff stems.
13
+
14
+ ## Presence (runtime catalog is SoT)
15
+
16
+ 1. Inspect the **session MCP catalog** (server names + `serverStatus`). Project `mcp.json` / `.mcp.json` is a hint, not proof the server is up (user-level and plugin servers never appear there).
17
+ 2. Treat `error`, `needsAuth`, and `loading` as **unavailable**. Authenticate only when this task needs that server.
18
+ 3. **Discover tool schemas before calling.** Never invent tool names or arguments from memory.
19
+ 4. Match overlay servers by **documented aliases** or exact catalog ids. Prefer a ready `plugin-*` id over an unknown similarly named server; if several match, ask rather than guessing.
20
+ 5. If two servers expose the same product (plugin + project entry), use the **ready** one; do not call both.
21
+
22
+ ## Classes
23
+
24
+ | Class | Who adds it | Policy |
25
+ |-------|-------------|--------|
26
+ | **Shipped** | Preset `mcp.json` | Assume it should be there; call when the task fits; degrade if down (do not block unless noted below) |
27
+ | **Local overlay** | Consumer project or user MCP | Use only when present **and** the task fits. Never a required pipeline step |
28
+
29
+ Shipped in every preset: **Context7** (library docs). Other shipped servers are stack-specific — see adapter **Stack notes**.
30
+
31
+ ## Context7 (shipped)
32
+
33
+ **When to call** (after lockfile / manifest + sibling files still do not confirm the symbol):
34
+
35
+ - Third-party API that would otherwise get `// VERIFY: lib.symbol @ version`
36
+ - Version-sensitive framework or SDK APIs
37
+ - Migrations / major upgrades
38
+ - Library is in the lockfile but the signature is unclear
39
+
40
+ **When not to call:** repo public API; a sibling file already imports the symbol; a trivial call already in this module.
41
+
42
+ **Flow:**
43
+
44
+ 1. Discover server `context7`.
45
+ 2. Resolve a library id, then query docs (read the live schema; typical names `resolve-library-id` then `query-docs`).
46
+ 3. Put the **installed major** from the project manifest into the query.
47
+ 4. Cap: **≤3 doc queries per question**.
48
+ 5. Source priority: lockfile / sibling code **>** Context7 **>** training data. If docs disagree with the installed major, keep the installed API.
49
+ 6. If Context7 is down: `// VERIFY` (or stack equivalent) and say MCP was unavailable. **Do not block** the task.
50
+
51
+ ## Local overlay protocol
52
+
53
+ If a matching server is ready and a **task signal** fires → discover and use. Otherwise continue from files / native tools (`gh`, repo docs, source).
54
+
55
+ Absence of an overlay is **not** `BLOCKED` unless the user required that MCP as source of truth.
56
+
57
+ ### Observability (Sentry, Datadog, similar)
58
+
59
+ **Signal:** production error, event/trace id, APM / latency, pasted dashboard or issue URL.
60
+
61
+ Use the **first ready** observability MCP. Do not invent metrics or stack traces. Do not require two observability servers.
62
+
63
+ ### Tickets (Linear, Jira, Notion, similar)
64
+
65
+ **Signal:** ticket/page URL in the prompt or brief, or an explicit “pull from \<tracker\>”.
66
+
67
+ Read-only by default. Task-folder artifacts (`brief.md`, `decomposition.md`) remain SoT — do not replace them with a tracker page. Write back to the tracker **only** if the user asked.
68
+
69
+ ### Component-library overlay
70
+
71
+ **Signal:** UI component public API, stories, controls, or explicit component-docs MCP.
72
+
73
+ If such a server is ready, use it for documented props/variants instead of inventing them. If it is down, read story/source files. **Block** only when the user required that MCP as SoT.
74
+
75
+ Usual aliases and runtime needs live in frontend **Stack notes**. Do not ship this server in preset `mcp.json`.
76
+
77
+ ### GitHub MCP
78
+
79
+ Native `gh` / git remain SoT for PRs and checks. A GitHub MCP may be used when present; do not require it.
80
+
81
+ ## Figma
82
+
83
+ Policy is stack-class-specific — see adapter **Stack notes**. If a Figma **plugin** and a project `figma` server are both present, use the ready one and do not duplicate calls.
84
+
85
+ ## Forbidden
86
+
87
+ - Secrets in `mcp.json` / `.mcp.json`
88
+ - New pipeline agents or required handoffs for overlay MCP
89
+ - Treating overlay absence as blocked (except user-required SoT)
90
+ - Tracker/admin write tools without an explicit ask
91
+ - Calling overlay MCP “just in case” on unrelated tasks
92
+
93
+ ## Stack notes
94
+
95
+ - Pipeline **`mockup-reviewer`** is the only agent that reads Figma for mockup review. See `mockup-review`.
96
+ - Shipped besides Context7: browser automation MCP (`playwright` / `playwright-test` / `user-playwright`) and `chrome-devtools`.
97
+ - **Split:** Playwright MCP → e2e agents (planner/generator/healer), selector checks, spec reproduction. Chrome DevTools MCP → `debugger` / `performance-auditor` against a **running app** (console, network, traces). Not a substitute for e2e.
98
+ - **Storybook overlay** (not shipped): aliases `storybook`, `user-storybook`, `plugin-storybook`, `storybook-mcp-addon`. Needs Storybook running (often `http://localhost:6006/mcp`). Discover docs/dev/testing toolsets. If down, read story/source files. Block only if the user required Storybook MCP as SoT.
99
+ - `init` **merges** `mcpServers`: preset keys update; extra local servers are kept. User-level MCP is never touched.
100
+ - If a Figma plugin is already connected, do not also require the project `figma` server.
@@ -0,0 +1,116 @@
1
+ ---
2
+ description: Figma mockup review checklist (DS, coverage, viewports). On-demand — load via mockup-reviewer / skill mockup-review.
3
+ alwaysApply: false
4
+ ---
5
+
6
+ <!-- shared-core: review/mockup-review.md -->
7
+
8
+ # Mockup review checklist
9
+
10
+ On-demand reviewer checklist for Figma mockups. **Procedure:** skill `mockup-review`. **Agent:** `mockup-reviewer`. Do not inline this checklist into the agent prompt.
11
+
12
+ Stack-agnostic: no app-source globs, Playwright, or `xcodebuild`. Breakpoint **examples** live in adapter **Stack notes** only — do not FAIL on exact pixels.
13
+
14
+ ## When to load
15
+
16
+ - Pipeline step `mockup-reviewer` (standalone intent `mockup-review` or embedded after analyst)
17
+ - Prompt or `brief.md` contains a `figma.com` URL on a UI-capable stack
18
+ - User asks to review a mockup / Figma file (not a code MR)
19
+
20
+ ## Inputs
21
+
22
+ 1. Task `artifact-manifest.json`, then prompt Figma URL(s); `brief.md` / `decomposition.md` when present
23
+ 2. Skill `mockup-review` + this rule
24
+ 3. If plugin skills `figma-use` / `figma-design-to-code` are installed: **reference** them for URL parse and MCP invocation only — do not copy their bodies; do not run design-to-code
25
+
26
+ ## MCP-first
27
+
28
+ Required when MCP is up: `get_metadata`, `get_design_context`, `search_design_system`, `get_variable_defs`, `get_screenshot`. Optional: `get_libraries`, `get_code_connect_map`.
29
+
30
+ **Forbidden:** `use_figma`, `create_new_file`, `generate_*`, `weave_*`, `upload_assets`, `send_code_connect_mappings`. FigJam URL → `BLOCKED_MCP` / out of scope (do not call `get_figjam` unless the URL is a FigJam board — then still `BLOCKED_MCP`).
31
+
32
+ Cite `fileKey` + node IDs. Screenshots are supporting evidence, not a second reviewer. No screenshot-only path.
33
+
34
+ **Node caps:** ≤12 screen-level frames; `get_metadata` depth ≤3 named-frame levels; ≤3 screenshots (prefer one per small/medium/large). `search_design_system` once; `get_variable_defs` once per file. No node-id on URL: pick top-level frames matching the feature name; if still unbounded → `BLOCKED_MCP` (or `PASS_WITH_NOTES` only if MCP returned a tiny file) — do not dump the whole file.
35
+
36
+ **Degradation:** MCP unavailable or OAuth fail → verdict `BLOCKED_MCP`. Do **not** invent DS compliance claims.
37
+
38
+ ## Review dimensions
39
+
40
+ ### DS components (AC-4)
41
+
42
+ When an attached library is detectable (`search_design_system` / `get_metadata`): list **library component instances vs custom frames** with file/node references. Flag substitutions where a DS equivalent exists.
43
+
44
+ - Critical DS reimplementation (custom frame where an attached-library component exists) → **FAIL**
45
+ - One-off frame, no DS equivalent; mixed/unpublished library → WARN or notes (`PASS_WITH_NOTES`)
46
+ - No attached library detectable → notes only; do not invent DS claims (`PASS_WITH_NOTES`)
47
+
48
+ Confidence: `high` (MCP library match) / `low` (unpublished or mixed) — prefer `PASS_WITH_NOTES` over FAIL when confidence is low.
49
+
50
+ ### Tokens (AC-5)
51
+
52
+ When variables/styles are available (`get_variable_defs`, style metadata): flag fills, strokes, spacing, or typography that use raw values instead of bound variables/styles.
53
+
54
+ - Isolated unbound values → **WARN** (`PASS_WITH_NOTES`)
55
+ - Wholesale token ignore on a library-attached file (systemic; treat as critical DS with AC-4) → **FAIL**
56
+
57
+ ### Quality (AC-6)
58
+
59
+ Cover at minimum, each item PASS / WARN / FAIL eligible:
60
+
61
+ - Layer/frame naming hygiene
62
+ - Auto-layout vs absolute positioning for responsive regions
63
+ - Text style usage
64
+ - Component variant/property correctness
65
+ - Detached or orphaned component instances
66
+
67
+ Naming hygiene, minor detached instances, text-style drift → **WARN**. Detached **core** DS component that is a substitution → **FAIL** (same as AC-4 critical). Absolute layout on a region that is the only «responsive» evidence → WARN unless it also fails viewports.
68
+
69
+ ### Feature coverage (AC-7)
70
+
71
+ Map **flows → screens/frames**, **actions → interactive elements**, and **states** (empty, loading, error, success, disabled/validation). List explicit **missing** items. Label scope **`inferred`** when only a URL is provided (no brief AC).
72
+
73
+ - Missing **core** flow or primary action from brief AC (or labeled `inferred` primary flow from the URL) → **FAIL**
74
+ - Missing empty/loading/error/success on a form/list called out in AC → **FAIL**
75
+ - Missing secondary states (disabled/validation) not in AC → **WARN**
76
+
77
+ ### Viewports (AC-8)
78
+
79
+ Verify **≥3 viewport representations** (small / medium / large) via dedicated frames, Figma viewport presets, or responsive component variants.
80
+
81
+ - Fewer than 3 → **FAIL**
82
+ - 3 exist but sizes ≠ stack example buckets → **WARN** only (no exact pixel enforcement in core)
83
+
84
+ ## Severity (v1)
85
+
86
+ Isolated **WARN** never blocks. Overall verdict = worst FAIL > BLOCKED_MCP > PASS_WITH_NOTES > PASS. Multiple WARNs without FAIL → `PASS_WITH_NOTES`, not FAIL.
87
+
88
+ ## Report headings
89
+
90
+ Write `mockup-review.md` with these headings (must match the agent template):
91
+
92
+ ```markdown
93
+ # Mockup review: <slug>
94
+
95
+ ## Verdict
96
+ PASS | PASS_WITH_NOTES | FAIL | BLOCKED_MCP
97
+
98
+ ## Scope
99
+ - Figma fileKey / node IDs
100
+ - MCP: available | unavailable (reason)
101
+ - Feature scope source: brief AC | prompt | inferred
102
+
103
+ ## Critical (must fix)
104
+ ## Warnings (should fix)
105
+ ## Suggestions
106
+ ## DS compliance (AC-4, AC-5)
107
+ ## Quality (AC-6)
108
+ ## Feature coverage (AC-7)
109
+ ## Viewport matrix (AC-8)
110
+ ## AC coverage
111
+ | Criterion | Status | Notes |
112
+ ```
113
+
114
+ ## Stack notes
115
+
116
+ Illustrative web buckets (not enforced pixels): ~375 / ~768 / ~1280 mapped to small / medium / large.
@@ -23,6 +23,7 @@ Ban leakage of stack-specific names, paths, and handoff stems across presets.
23
23
  - `go` / `java` / `php-hexagonal` / `php-laravel` / `mcp-ts` must not ship Playwright, XCUITest, Android instrumentation agents, Next lint recipes, or `xcodebuild`/`SwiftLint` as required handoffs.
24
24
  - `mcp-ts` must not ship Go tool commands (`go test`, `go vet`, `golangci-lint`) or `integration-test-*` agents as required delivery gates.
25
25
  - Shared core must not embed stack paths (`app/src/**`, `Features/**`, `playwright`, `xcodebuild`).
26
+ - Storybook / Chrome DevTools MCP must **not** be required handoffs or agent stems (`storybook-reviewer`) on backend or mobile stacks. Frontend overlay mentions in `MCP.md` / `mcp-usage` Stack notes are OK.
26
27
 
27
28
  ## Forbidden in ios-swift hooks/agents (FAIL)
28
29
 
@@ -70,7 +71,8 @@ Shared backend-stack bans (`go`, `java`, `php-hexagonal`, and `php-laravel`):
70
71
  - `playwright-test-`, `playwright-e2e`, `user-playwright`, `app/__tests__/e2e`
71
72
  - Positive yarn recipes `lint:js` / `lint:css`
72
73
  - `xcuitest-test-`, `instrumentation-test-`, `xcodebuild`, `SwiftLint` as required handoffs
73
- - Agent file `accessibility-reviewer` (no UI surface)
74
+ - Agent files `accessibility-reviewer`, `mockup-reviewer`, `ux-designer` (no UI surface)
75
+ - Required `skills/ux-design`, required `rules/ux-design`, or required pipeline handoff stem `ux-design`
74
76
 
75
77
  Required instead: `integration-test-*`; build-verifier / `post-change-test` plus stack tooling — `go-tooling` (`go test`, `go vet`), `java-tooling` (`mvn test` / `./gradlew test`), or `php-tooling` (`php artisan test` / `composer test` / `vendor/bin/phpunit`).
76
78
 
@@ -82,7 +84,8 @@ Same UI/mobile bans as backend stacks, plus:
82
84
  - Positive yarn recipes `lint:js` / `lint:css` as required gates
83
85
  - `xcuitest-test-`, `instrumentation-test-`, `xcodebuild`, `SwiftLint` as required handoffs
84
86
  - Go tool commands as required MCP delivery gates: `go test`, `go vet`, `golangci-lint`
85
- - Agent files: `playwright-test-*`, `xcuitest-test-*`, `instrumentation-test-*`, `integration-test-*`, `accessibility-reviewer`
87
+ - Agent files: `playwright-test-*`, `xcuitest-test-*`, `instrumentation-test-*`, `integration-test-*`, `accessibility-reviewer`, `mockup-reviewer`, `ux-designer`
88
+ - Required `skills/ux-design`, required `rules/ux-design`, or required pipeline handoff stem `ux-design`
86
89
 
87
90
  Required instead: package-manager–discovered typecheck/test (`mcp-ts-tooling`, `post-change-test`); Phase 1 gates `build-verifier` + `security-reviewer`.
88
91
 
@@ -11,6 +11,8 @@ alwaysApply: false
11
11
 
12
12
  Load when **Generate** or **Bootstrap** is requested (`/spec-start`, router `spec-gen`, brief AC, or analyst author mode). Discovery-only work stays on **`product-specs`**.
13
13
 
14
+ **Optional prefix:** when the user or AC asks **research-before-spec**, load skill **`spec-discovery`** first (subset of methods; **claim-ledger** mandatory). Not the default `/task` consume path and not a new pipeline step.
15
+
14
16
  ## Modes
15
17
 
16
18
  1. **Consume** — default; never invent INDEX/specs (see `product-specs`).
@@ -84,7 +86,7 @@ Compliant = valid frontmatter + all required headings present (non-empty prose o
84
86
 
85
87
  ## Templates & assets
86
88
 
87
- **Package SoT:** `packages/ai-rules/presets/_shared/assets/docs-specs/` (`INDEX.md` stub, `_templates/page.md`, `_templates/feature.md`; optional `schemas/frontmatter-v1.schema.json`).
89
+ **Package SoT:** `packages/ai-rules/presets/_shared/assets/docs-specs/` (`INDEX.md` stub, `_templates/page.md`, `_templates/feature.md`; `schemas/frontmatter-v1.schema.json` is a documentation artifact — the checker does not evaluate it).
88
90
 
89
91
  **CLI `init`:** when consumer `docs/specs/` is **absent**, copy INDEX stub + `_templates/*` (idempotent; **never overwrite** existing INDEX). When the tree already exists, skip seed entirely.
90
92
 
@@ -94,7 +96,7 @@ Compliant = valid frontmatter + all required headings present (non-empty prose o
94
96
 
95
97
  | Role | Responsibility |
96
98
  |------|----------------|
97
- | **task-analyst** | Primary author (Generate + Bootstrap); INDEX bootstrap; brief **Related specs** + **Spec gaps / generation requested**; loads this stem + skill `spec-authoring` |
99
+ | **task-analyst** | Primary author (Generate + Bootstrap); INDEX bootstrap; brief **Related specs** + **Spec gaps / generation requested**; loads this stem + skill `spec-authoring`; optional skill `spec-discovery` when research-before-spec |
98
100
  | **tech-writer** | Post-delivery sync where present; never invent product behavior without AC/code source |
99
101
  | **feature-developer** | Consumes approved specs as SoT; mechanical INDEX/frontmatter fixes only on renames |
100
102
  | **mcp-ts** | No tech-writer — author + post-sync via **task-analyst** only |
@@ -113,8 +115,8 @@ Block handoff via `open_questions` until fixed:
113
115
 
114
116
  - `product-specs` — discovery / consume
115
117
  - Skill `spec-authoring` — procedural checklist
116
- - Optional consumer script `scripts/check-product-specs.sh` (WARN default; `--strict` FAIL)
117
-
118
+ - Skill `spec-discovery` opt-in research-before-spec (not default)
119
+ - Optional consumer script `scripts/check-product-specs.sh` (ships in the npm package; WARN default; `--strict` FAIL). Bash checks INDEX links, required frontmatter keys, and body headings — it does **not** evaluate `frontmatter-v1.schema.json`
118
120
 
119
121
  ## Stack notes
120
122
 
@@ -13,6 +13,8 @@ Product page/feature **behavior** specs live under the consumer repo `docs/specs
13
13
 
14
14
  **Authoring** (Generate / Bootstrap modes, INDEX/frontmatter v1, body checklist, greenfield, conflict precedence) → load **`product-specs-authoring`** when generation is requested (`/spec-start`, brief AC, or router `spec-gen`).
15
15
 
16
+ **Pipeline `specMode`:** `consume` (this stem) · `generate` (authoring stem) · `none` (spike/research — skip INDEX row requirement; do not invent a dummy INDEX). Primary field: `brief.md` `## Spec mode`; optional `pipeline.json` `specMode`.
17
+
16
18
  ## Modes (summary)
17
19
 
18
20
  | Mode | When | Behavior |
@@ -20,19 +22,21 @@ Product page/feature **behavior** specs live under the consumer repo `docs/specs
20
22
  | **Consume** (default) | INDEX exists or globs hit `docs/specs/**` without generate intent | Discover via INDEX; soft-fail on miss; **never invent** INDEX/specs |
21
23
  | **Generate** | Explicit generate intent / AC / `/spec-start` with existing tree | Create/update page/feature specs + INDEX from stated sources |
22
24
  | **Bootstrap** | Explicit bootstrap / `/spec-start` when tree absent | Create INDEX + templates + first domain spec |
25
+ | **None** (`specMode: none`) | Spike / research / preset-only | Skip INDEX requirement and author mode; no dummy INDEX row |
23
26
 
24
27
  Greenfield: agents may create INDEX/specs **only** on explicit intent, AC, or `/spec-start`. Missing INDEX alone does **not** authorize inventing the tree.
25
28
 
26
29
  ## Presence policy
27
30
 
31
+ - If `specMode` is **`none`** → do **not** require an INDEX row; continue from brief/AC. Do not invent INDEX.
28
32
  - If `docs/specs/INDEX.md` is **missing** → the tree is **optional** (greenfield OK for *consume*). Continue with code/brief discovery; do not invent an INDEX solely because this stem loaded.
29
- - If INDEX **exists** → it is the **required discovery path** for work that touches a listed page, feature, route, or alias.
33
+ - If INDEX **exists** and `specMode` is not `none` → it is the **required discovery path** for work that touches a listed page, feature, route, or alias.
30
34
 
31
35
  ## Discovery algorithm
32
36
 
33
- 1. Always start at `docs/specs/INDEX.md` when present.
37
+ 1. Always start at `docs/specs/INDEX.md` when present (skip when `specMode: none`).
34
38
  2. Resolve the entry by: route, stable `id`, PageName / alias, or domain folder.
35
- 3. Read the linked page spec (and optional domain `feature.md` when the INDEX or page Related links it).
39
+ 3. Read the **linked page** spec and, when INDEX or page Related links it, the optional domain `feature.md`. Do **not** dump the whole `docs/specs/**` tree into the prompt locator = those linked files.
36
40
 
37
41
  ## Miss policy (INDEX present, row or file missing)
38
42
 
@@ -54,10 +58,10 @@ Same-changeset INDEX updates, frontmatter v1, required body headings, templates,
54
58
  ## Related
55
59
 
56
60
  - `product-specs-authoring` — generation modes, contracts, self-check.
61
+ - Skill `spec-discovery` — opt-in research-before-spec (author mode only; not default consume).
57
62
  - `reference-features` — code structure mirror (how to layout files), not product behavior.
58
63
  - Consumer `.ai/context/**` when present — review/domain glossary; cross-link, do not replace.
59
64
 
60
-
61
65
  ## Stack notes
62
66
 
63
67
  - `routes`: SvelteKit URL paths. `ui` / `store`: routes/components + store modules. `e2e`: Playwright paths under repo `tests/e2e/**` (or equivalent).
@@ -0,0 +1,108 @@
1
+ ---
2
+ description: Behavioral UX design checklist (IA, flows, states). On-demand — load via task-analyst / skill ux-design.
3
+ alwaysApply: false
4
+ ---
5
+
6
+ <!-- shared-core: review/ux-design.md -->
7
+
8
+ # UX design checklist
9
+
10
+ On-demand behavioral UX checklist (IA, named flows, state matrix). **Procedure:** skill `ux-design`. **Producer:** `task-analyst` (not a pipeline agent). Do not inline this checklist into the analyst prompt.
11
+
12
+ Stack-agnostic: no app-source globs, Playwright, or `xcodebuild`. Form-factor **examples** live in adapter **Stack notes** only.
13
+
14
+ ## When to load
15
+
16
+ - Standalone `/task` intent `ux-design` (modes `synthesize` | `review`; profile `light`; steps only `task-analyst`)
17
+ - Embedded on a UI-capable stack when **required-signal** or advisory UI AC fires on `feature` / `refactor` / `spike` / `spec-gen`
18
+ - Required-signal (any one): the user asked for UX, **or** AC explicitly require flows/states, **or** intent is `spec-gen` / `/spec-start` for a **page/feature**. Else **advisory** (notes only; skip if no UI surface)
19
+ - **Do not** load for backend-only AC even on a UI stack. Classify `mockup-review` (Figma) before `ux-design` before `review-only`
20
+
21
+ ## Inputs
22
+
23
+ 1. Task `artifact-manifest.json`, then prompt / `brief.md` / `decomposition.md` when present
24
+ 2. Skill `ux-design` + this rule
25
+ 3. Approved `docs/specs` only as product-behavior SoT **after** UX synthesis maps via Spec feed — do not write INDEX here
26
+
27
+ ## Forbidden Figma MCP
28
+
29
+ Do **not** call Figma MCP. Only `mockup-reviewer` reads Figma. Forbidden by name: `get_metadata`, `get_design_context`, `get_screenshot`, `search_design_system`, `get_variable_defs`, `use_figma`, `create_new_file`, `generate_*`.
30
+
31
+ When `figma.com` is present and required-signal fires, emit a **thin** `ux-design.md` from AC only (IA/flows the mockup must cover; no visual or DS claims). If the user only pasted a URL and AC are visual, the UX file may be omitted; `mockup-review.md` coverage stands.
32
+
33
+ Do **not** write BMAD-style `DESIGN.md` or a second visual spine. One experience artifact: `ux-design.md`.
34
+
35
+ ## Modes
36
+
37
+ | Mode | When |
38
+ |------|------|
39
+ | `synthesize` | Design UX from a brief/AC (standalone «разработай UX» / embedded required-signal) | <!-- i18n-keep: E4 -->
40
+ | `review` | Critique a brief/wireframe/description **without** Figma («ревью UX»). Figma + review-not-implement remains intent `mockup-review` | <!-- i18n-keep: E4 -->
41
+
42
+ ## Required vs advisory
43
+
44
+ - **Required** when required-signal fires (user-asked-ux / ac-requires-flows-states / spec-gen-page-feature)
45
+ - **Advisory** otherwise (UI AC without those signals). Advisory `INCOMPLETE` → notes only; DoR may complete
46
+ - Skip the skill when there is no UI surface or the prompt is empty of UX-relevant AC
47
+
48
+ ## Verdicts
49
+
50
+ `PASS` | `PASS_WITH_NOTES` | `INCOMPLETE`. Never copy the mockup FAIL-only hook (`changes_requested` + do-not-retry-developer). Incomplete UX is an analyst/DoR problem.
51
+
52
+ | Verdict | Required step | Advisory step | Standalone intent `ux-design` |
53
+ |---------|---------------|---------------|-------------------------------|
54
+ | `PASS` / `PASS_WITH_NOTES` | Analysis may complete DoR | Analysis may complete | `completed` |
55
+ | `INCOMPLETE` | DoR **not** met: `open_questions` / blocked analysis; existing `after:task-analyst` gate | Notes only; DoR may complete | `completed` (report-only) |
56
+
57
+ **Block (`INCOMPLETE` as DoR failure) only when the step was required and primary flows *or* the empty/error/loading matrix are missing.** Isolated missing microcopy or optional protagonist names never block.
58
+
59
+ ## Surface-closure
60
+
61
+ Each stated need → a surface; each surface → a flow that lands there. If closure fails, list probes under **Open probes** — **do not invent** screens, flows, or copy to fill gaps.
62
+
63
+ ## Spec feed
64
+
65
+ Analyst remains the **only** writer of `docs/specs` INDEX and page/feature files. Map `ux-design.md` → templates **after** UX synthesis (UX before `spec-authoring` author mode):
66
+
67
+ | `ux-design.md` heading | Page template | Feature template |
68
+ |------------------------|---------------|------------------|
69
+ | Scope + IA | **Overview** | **Overview** |
70
+ | Entry / actors | **Entry / actors** | — (page-level) |
71
+ | Primary flows | **Primary flows** | **Shared behavior / constraints** when a flow is cross-page |
72
+ | States | **States** (loading/empty/error/success) | **Cross-cutting states** when shared |
73
+ | Interaction notes + microcopy direction | Inform **Acceptance criteria**; leftover → **Edge cases** | Shared constraints |
74
+ | Accessibility floor (behavioral) | Testable AC without pixels; else Edge cases | Shared constraints |
75
+ | Surface-closure probes | Analyst `open_questions` — **do not** invent spec rows | Same |
76
+
77
+ ## Manifest
78
+
79
+ When produced, append `ux-design.md` to the **`analysis`** entry `authoritativePaths` and `evidencePaths`. Do **not** add a new default producer row for v1 (`ux-designer` is deferred).
80
+
81
+ ## Report headings
82
+
83
+ Write `ux-design.md` with these headings (must match the architecture artifact contract):
84
+
85
+ ```markdown
86
+ # UX design: <slug>
87
+ ## Mode
88
+ synthesize | review
89
+ ## Verdict
90
+ PASS | PASS_WITH_NOTES | INCOMPLETE
91
+ ## Scope
92
+ - Form factor: web | ios | android | mixed
93
+ - Figma present: yes | no
94
+ - Required-signal: user-asked-ux | ac-requires-flows-states | spec-gen-page-feature | advisory
95
+ ## Information architecture
96
+ ## Entry / actors
97
+ ## Primary flows
98
+ ## States
99
+ ## Interaction notes
100
+ ## Microcopy direction
101
+ ## Accessibility floor (behavioral)
102
+ ## Spec feed
103
+ ## Open probes
104
+ ```
105
+
106
+ ## Stack notes
107
+
108
+ Form-factor **web**: browser chrome, responsive layout, pointer + keyboard. Do not FAIL on exact pixels; name surfaces (page, modal, drawer) as in the product.
@@ -5,6 +5,10 @@ Project skills for Cursor. They keep long workflows out of always-on rules while
5
5
  | Skill | When to use |
6
6
  |-------|-------------|
7
7
  | `feature-delivery` | End-to-end feature work across types, API, store, UI, tests |
8
+ | `spec-authoring` | Author or bootstrap docs/specs (INDEX, page/feature templates); `/spec-start` / analyst author mode |
9
+ | `spec-discovery` | Opt-in research-before-spec in analyst author mode (claim ledger; not default `/task` consume) |
10
+ | `mockup-review` | Figma mockup review: DS, coverage, viewports (standalone or embedded) |
11
+ | `ux-design` | Behavioral UX synthesis/review via task-analyst (standalone or embedded; no Figma MCP) |
8
12
  | `code-review` | MR/diff review using project architecture and test standards |
9
13
  | `debug-investigation` | Reproducing and fixing bugs with root-cause evidence |
10
14
  | `ci-investigation` | Diagnosing and fixing failing CI checks on PRs/branches |
@@ -25,6 +25,14 @@ Write `ci-report.md` under the task slug folder:
25
25
  - Fix applied (or handoff to feature-developer)
26
26
  - Validation commands and results
27
27
 
28
+
29
+ ## MCP usage
30
+
31
+ Load requestable rule `mcp-usage` when verifying third-party library APIs (Context7) or when a local overlay MCP is present and the task fits. Discover tools at runtime; do not invent schemas. Overlay absence is not a blocker unless the user required that MCP as source of truth.
32
+
33
+ If a Sentry/Datadog (or similar) MCP is ready and the task is a production error, event, or trace, use it. Do not invent telemetry.
34
+
35
+
28
36
  ## Handoff Rules
29
37
 
30
38
  - Config-only or one-line fixes → fix in place, re-run check.
@@ -31,7 +31,7 @@ Lead with findings ordered by severity. Required shape (also in `code-review-mr`
31
31
  - End with a verdict line: **`Safe to merge | needs changes | reject`**.
32
32
  - If there are no findings, say so and call out remaining test or validation risk.
33
33
 
34
- For agent team tasks, write `.cursor/team/tasks/<slug>/review.md` and set `status.json` to `completed` or `changes_requested`.
34
+ For agent team tasks, write `.cursor/team/tasks/<slug>/review.md` and upsert the owned terminal receipt (`completed` or `changes_requested`); do not mutate `status.json`.
35
35
 
36
36
  ## Design guidance
37
37
 
@@ -25,7 +25,19 @@ For agent team tasks, write `.cursor/team/tasks/<slug>/debug-report.md` with:
25
25
  - Regression coverage.
26
26
  - Remaining risk.
27
27
 
28
- Update `status.json` when complete.
28
+ Agent team: upsert the owned terminal receipt in `artifact-manifest.json`; do not mutate `status.json`.
29
+
30
+
31
+ ## MCP usage
32
+
33
+ Load requestable rule `mcp-usage` when verifying third-party library APIs (Context7) or when a local overlay MCP is present and the task fits. Discover tools at runtime; do not invent schemas. Overlay absence is not a blocker unless the user required that MCP as source of truth.
34
+
35
+ If Chrome DevTools MCP is ready and the app is running, use it for console, network, and runtime evidence.
36
+
37
+ Shipped browser split: Playwright MCP for e2e specs/selectors; Chrome DevTools MCP for live-app debug and performance (app must be running). Storybook MCP if present and the work is component docs/stories.
38
+
39
+ If a Sentry/Datadog (or similar) MCP is ready and the task is a production error, event, or trace, use it. Do not invent telemetry.
40
+
29
41
 
30
42
  ## Design guidance
31
43
 
@@ -11,13 +11,24 @@ description: Delivers SvelteKit frontend features end-to-end across domain types
11
11
  4. Add or update focused tests for changed behavior.
12
12
  5. Validation from SvelteKit root: **invoke** **`post-change-lint`** after code edits (requestable, not always-on — but **must** when code changed). Pipeline: scoped lint OK if next step is `build-verifier`.
13
13
 
14
+ - If the prompt or brief contains a `figma.com` URL, load requestable skill `mockup-review` and do not start UI work until the mockup-reviewer step is completed or the user continued past FAIL/`BLOCKED_MCP`.
15
+ - When required-signal (user asked UX, AC require flows/states, or spec-gen page/feature) and **no** `figma.com` URL: `ux-design.md` must exist on the analysis manifest entry (verdict not `INCOMPLETE`) before UI work. If missing, **blocked** — hand back to `task-analyst`. Parallel to the mockup gate when Figma exists.
16
+
14
17
  ## Scope discipline
15
18
 
16
19
  Implement only the current AC / decomposition task. Clarify ambiguity before coding; do not add unrelated hardening, polish, or refactors. See `feature-developer` → **Zero improvisation**.
17
20
 
18
21
  ## Handoff
19
22
 
20
- Summarize by layer, validation results, and known gaps. Agent team: update `.cursor/team/tasks/<slug>/status.json`.
23
+ Summarize by layer, validation results, and known gaps. Agent team: upsert the owned terminal receipt in `artifact-manifest.json`; do not mutate `status.json`.
24
+
25
+
26
+ ## MCP usage
27
+
28
+ Load requestable rule `mcp-usage` when verifying third-party library APIs (Context7) or when a local overlay MCP is present and the task fits. Discover tools at runtime; do not invent schemas. Overlay absence is not a blocker unless the user required that MCP as source of truth.
29
+
30
+ Shipped browser split: Playwright MCP for e2e specs/selectors; Chrome DevTools MCP for live-app debug and performance (app must be running). Storybook MCP if present and the work is component docs/stories.
31
+
21
32
 
22
33
  ## Design guidance
23
34
 
@@ -0,0 +1,29 @@
1
+ ---
2
+ name: mockup-review
3
+ description: Reviews a Figma mockup for design-system compliance, feature coverage, and viewport matrix via Figma MCP. Use for standalone mockup-review intent or when a feature/refactor/spike/spec-gen task includes a figma.com URL.
4
+ ---
5
+
6
+ # Mockup review
7
+
8
+ Requestable procedure for agent `mockup-reviewer`. Checklist lives in rule `mockup-review` — do not duplicate it here.
9
+
10
+ ## When to run
11
+
12
+ - Standalone `/task` intent `mockup-review` (report-only; profile `light`; steps only `mockup-reviewer`).
13
+ - Embedded: `feature` / `refactor` / `spike` / `spec-gen` whose prompt or `brief.md` contains a `figma.com` URL on a UI stack — after `task-analyst` (when present), before architect and developer.
14
+
15
+ ## MCP OAuth preflight
16
+
17
+ Confirm Figma MCP is configured (see `MCP.md`). Do not ship secrets. If MCP is down or auth fails, write `mockup-review.md` with verdict `BLOCKED_MCP` and receipt `blocked`. Do not invent DS claims. Embedded skip-forward is `/task-continue` (explicit «proceed without MCP»).
18
+
19
+ ## Plugin skills
20
+
21
+ If plugin skills `figma-design-to-code` / `figma-use` are installed, load them for MCP invocation recipes; do not paste their bodies; do not run design-to-code. Preset owns the checklist, agent, and routing; plugin owns MCP recipes.
22
+
23
+ ## Load the checklist
24
+
25
+ Load requestable rule `mockup-review` and follow its review dimensions, node caps, and report headings.
26
+
27
+ ## Output
28
+
29
+ Write `.cursor/team/tasks/<slug>/mockup-review.md` and upsert manifest entry id `mockup-review` (producer `mockup-reviewer`). Receipt mapping is in the agent prompt.
@@ -0,0 +1,58 @@
1
+ ---
2
+ name: spec-discovery
3
+ description: Opt-in research-before-spec for task-analyst author mode. 11 named methods plus a mandatory claim ledger. Use when the user or AC asks discovery before generating docs/specs — not default /task consume.
4
+ ---
5
+
6
+ # Spec discovery
7
+
8
+ Requestable — **not** always-on. Load **only** in **task-analyst author mode** when the user or AC asks research-before-spec (including `/spec-start` with that intent). Never default consume `/task`. Not a pipeline step.
9
+
10
+ Load **`product-specs`** (and **`product-specs-authoring`** after this skill if authoring follows). Do **not** invent product behavior. Do **not** create a second spec-file tree.
11
+
12
+ ## Load policy
13
+
14
+ 1. Pick a **subset** of methods that fit the task — not all 11 every time.
15
+ 2. **`claim-ledger` is mandatory** whenever this skill runs.
16
+ 3. Write chronological notes to `.cursor/team/tasks/<slug>/.memlog.md` (append-only). Do **not** mutate `status.json` / `metrics.json`.
17
+ 4. Discovery output lives in memlog + `brief.md` sections. Then hand off to skill **`spec-authoring`** (or stop if `specMode: none`).
18
+
19
+ Backend / MCP stacks: skip UI-only examples; prefer `analog-scan`, `code-archaeology`, `problem-define`, `assumption-audit`, `claim-ledger`.
20
+
21
+ ## Methods
22
+
23
+ | Method | Produces | Skip when |
24
+ |--------|----------|-----------|
25
+ | **intake-capture** | Raw idea, origin, first unknowns → memlog + brief Research inputs | User prompt + AC already complete |
26
+ | **index-locator** | Related INDEX rows + linked spec paths + gaps | `specMode: none` or INDEX absent without consume intent |
27
+ | **code-archaeology** | Observed behavior labeled `inferred`/`draft` with path citations | Greenfield with no relevant code |
28
+ | **research-pack-scan** | Claims from `team/tasks/<slug>/research/**` or user-supplied paths | No research paths cited |
29
+ | **evidence-against** | Reasons the idea may fail | Internal spike with no product/external risk |
30
+ | **problem-define** | Who hurts, goals, non-goals, cost of inaction → brief | Brief Goal + Out of scope already exhaustive |
31
+ | **concept-shape** | 2–3 approach options + appetite (small/medium/large); no API design | `architecture.md` exists or one obvious path |
32
+ | **working-backwards-check** | Headline + 5 customer objections + verdict `forged` / `needs-heat` / `cracked` | Consume mode with approved specs |
33
+ | **assumption-audit** | Assumption register → brief Assumptions + `open_questions` | Never skip in author mode (keep lightweight) |
34
+ | **analog-scan** | 2–3 repo analogs via `reference-features` / code search | No plausible analog |
35
+ | **claim-ledger** | Markdown table `source → claim` for every product-behavior claim | **Never skip** when this skill is loaded |
36
+
37
+ ## Claim ledger (required)
38
+
39
+ Block spec authoring until every product-behavior claim has a source:
40
+
41
+ ```markdown
42
+ | Source | Claim |
43
+ |--------|-------|
44
+ | brief AC-3 | Checkout shows empty cart copy |
45
+ | code-archaeology inferred | Empty state uses an illustration |
46
+ ```
47
+
48
+ Sources: AC / user / UI copy / labeled code inference / research path. Unsourced claims → `open_questions`.
49
+
50
+ ## Memlog
51
+
52
+ Path: `.cursor/team/tasks/<slug>/.memlog.md`. Chronological `## YYYY-MM-DD` headings. Optional tags: `decision`, `assumption`, `override`, `event`, `claim`.
53
+
54
+ ## Forbidden
55
+
56
+ - 108-technique catalogs, HTML composers, party-mode, five `assess.*` slash commands, Python memlog runtime.
57
+ - Dummy INDEX rows when `specMode: none`.
58
+ - Dumping the whole `docs/specs/**` tree — locator is INDEX → linked page + optional `feature.md`.