@appsforgood/next-supabase-kit 0.3.0 → 0.4.1

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 (329) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +22 -555
  3. package/UPGRADE.md +18 -73
  4. package/USER_GUIDE.html +808 -0
  5. package/USER_GUIDE.md +183 -0
  6. package/agents/app-engineer/agent.md +34 -0
  7. package/agents/copy/agent.md +40 -0
  8. package/agents/design/agent.md +33 -0
  9. package/agents/optional/deploy/agent.md +18 -0
  10. package/agents/optional/docs/agent.md +16 -0
  11. package/agents/optional/lead-architect/agent.md +20 -0
  12. package/agents/optional/research/agent.md +16 -0
  13. package/agents/planner/agent.md +37 -0
  14. package/agents/qa/agent.md +37 -0
  15. package/agents/security/agent.md +30 -0
  16. package/assistant-adapters/cursor-agent-kit.mdc +5 -26
  17. package/catalog.json +21 -0
  18. package/dist/index.js +931 -8227
  19. package/dist/index.js.map +1 -1
  20. package/examples/next-supabase-installed/.agent-kit/config.json +23 -26
  21. package/examples/next-supabase-installed/.agent-kit/manifest.json +83 -222
  22. package/examples/next-supabase-installed/.antigravity/agent-kit/commands/browser-qa.toml +6 -0
  23. package/examples/next-supabase-installed/.antigravity/agent-kit/commands/copy.toml +6 -0
  24. package/examples/next-supabase-installed/.antigravity/agent-kit/commands/frontend.toml +6 -0
  25. package/examples/next-supabase-installed/.antigravity/agent-kit/commands/plan.toml +6 -0
  26. package/examples/next-supabase-installed/.antigravity/agent-kit/commands/security.toml +6 -0
  27. package/examples/next-supabase-installed/.antigravity/agent-kit/commands/ship.toml +6 -0
  28. package/examples/next-supabase-installed/.antigravity/agent-kit/commands/test.toml +6 -0
  29. package/examples/next-supabase-installed/.antigravity/agent-kit/plugin.json +12 -0
  30. package/examples/next-supabase-installed/.antigravity/runtime-skills/accessibility-wcag/SKILL.md +26 -0
  31. package/examples/next-supabase-installed/.antigravity/runtime-skills/browser-qa/SKILL.md +67 -0
  32. package/examples/next-supabase-installed/.antigravity/runtime-skills/deslop/SKILL.md +62 -0
  33. package/examples/next-supabase-installed/.antigravity/runtime-skills/frontend-design/SKILL.md +107 -0
  34. package/examples/next-supabase-installed/.antigravity/runtime-skills/nextjs-app-router/SKILL.md +23 -0
  35. package/examples/next-supabase-installed/.antigravity/runtime-skills/owasp-security-review/SKILL.md +23 -0
  36. package/examples/next-supabase-installed/.antigravity/runtime-skills/planning/SKILL.md +25 -0
  37. package/examples/next-supabase-installed/.antigravity/runtime-skills/postgres-migrations/SKILL.md +21 -0
  38. package/examples/next-supabase-installed/.antigravity/runtime-skills/product-copy/SKILL.md +54 -0
  39. package/examples/next-supabase-installed/.antigravity/runtime-skills/ship/SKILL.md +22 -0
  40. package/examples/next-supabase-installed/.antigravity/runtime-skills/supabase-auth-rls/SKILL.md +23 -0
  41. package/examples/next-supabase-installed/.antigravity/runtime-skills/testing-qa/SKILL.md +27 -0
  42. package/examples/next-supabase-installed/.claude/agents/app-engineer.md +34 -0
  43. package/examples/next-supabase-installed/.claude/agents/copy.md +40 -0
  44. package/examples/next-supabase-installed/.claude/agents/design.md +33 -0
  45. package/examples/next-supabase-installed/.claude/agents/planner.md +37 -0
  46. package/examples/next-supabase-installed/.claude/agents/qa.md +37 -0
  47. package/examples/next-supabase-installed/.claude/agents/security.md +30 -0
  48. package/examples/next-supabase-installed/.codex/agents/app-engineer.toml +41 -0
  49. package/examples/next-supabase-installed/.codex/agents/copy.toml +47 -0
  50. package/examples/next-supabase-installed/.codex/agents/design.toml +40 -0
  51. package/examples/next-supabase-installed/.codex/agents/planner.toml +44 -0
  52. package/examples/next-supabase-installed/.codex/agents/qa.toml +44 -0
  53. package/examples/next-supabase-installed/.codex/agents/security.toml +37 -0
  54. package/examples/next-supabase-installed/.cursor/agents/app-engineer.md +34 -0
  55. package/examples/next-supabase-installed/.cursor/agents/copy.md +40 -0
  56. package/examples/next-supabase-installed/.cursor/agents/design.md +33 -0
  57. package/examples/next-supabase-installed/.cursor/agents/planner.md +37 -0
  58. package/examples/next-supabase-installed/.cursor/agents/qa.md +37 -0
  59. package/examples/next-supabase-installed/.cursor/agents/security.md +30 -0
  60. package/examples/next-supabase-installed/.cursor/rules/cursor-agent-kit.mdc +12 -0
  61. package/examples/next-supabase-installed/.cursor/skills/accessibility-wcag/SKILL.md +26 -0
  62. package/examples/next-supabase-installed/.cursor/skills/browser-qa/SKILL.md +67 -0
  63. package/examples/next-supabase-installed/.cursor/skills/deslop/SKILL.md +62 -0
  64. package/examples/next-supabase-installed/.cursor/skills/frontend-design/SKILL.md +107 -0
  65. package/examples/next-supabase-installed/.cursor/skills/nextjs-app-router/SKILL.md +23 -0
  66. package/examples/next-supabase-installed/.cursor/skills/owasp-security-review/SKILL.md +23 -0
  67. package/examples/next-supabase-installed/.cursor/skills/planning/SKILL.md +25 -0
  68. package/examples/next-supabase-installed/.cursor/skills/postgres-migrations/SKILL.md +21 -0
  69. package/examples/next-supabase-installed/.cursor/skills/product-copy/SKILL.md +54 -0
  70. package/examples/next-supabase-installed/.cursor/skills/ship/SKILL.md +22 -0
  71. package/examples/next-supabase-installed/.cursor/skills/supabase-auth-rls/SKILL.md +23 -0
  72. package/examples/next-supabase-installed/.cursor/skills/testing-qa/SKILL.md +27 -0
  73. package/examples/next-supabase-installed/.github/copilot-instructions.md +23 -0
  74. package/examples/next-supabase-installed/AGENTS.md +30 -0
  75. package/examples/next-supabase-installed/CLAUDE.md +7 -0
  76. package/examples/next-supabase-installed/README.md +2 -14
  77. package/examples/next-supabase-installed/USER_GUIDE.html +808 -0
  78. package/examples/next-supabase-installed/USER_GUIDE.md +183 -0
  79. package/examples/next-supabase-installed/skills/accessibility-wcag/SKILL.md +26 -0
  80. package/examples/next-supabase-installed/skills/browser-qa/SKILL.md +67 -0
  81. package/examples/next-supabase-installed/skills/deslop/SKILL.md +62 -0
  82. package/examples/next-supabase-installed/skills/frontend-design/SKILL.md +107 -0
  83. package/examples/next-supabase-installed/skills/nextjs-app-router/SKILL.md +23 -0
  84. package/examples/next-supabase-installed/skills/owasp-security-review/SKILL.md +23 -0
  85. package/examples/next-supabase-installed/skills/planning/SKILL.md +25 -0
  86. package/examples/next-supabase-installed/skills/postgres-migrations/SKILL.md +21 -0
  87. package/examples/next-supabase-installed/skills/product-copy/SKILL.md +54 -0
  88. package/examples/next-supabase-installed/skills/ship/SKILL.md +22 -0
  89. package/examples/next-supabase-installed/skills/supabase-auth-rls/SKILL.md +23 -0
  90. package/examples/next-supabase-installed/skills/testing-qa/SKILL.md +27 -0
  91. package/examples/next-supabase-installed/tree.txt +60 -42
  92. package/package.json +20 -46
  93. package/research/agent-skill-gap-report.md +133 -0
  94. package/skills/accessibility-wcag/SKILL.md +26 -0
  95. package/skills/browser-qa/SKILL.md +67 -0
  96. package/skills/deslop/SKILL.md +62 -0
  97. package/skills/frontend-design/SKILL.md +107 -0
  98. package/skills/nextjs-app-router/SKILL.md +23 -0
  99. package/skills/optional/debug/SKILL.md +11 -0
  100. package/skills/optional/docs/SKILL.md +10 -0
  101. package/skills/optional/ui-polish/SKILL.md +10 -0
  102. package/skills/optional/upgrade/SKILL.md +10 -0
  103. package/skills/owasp-security-review/SKILL.md +23 -0
  104. package/skills/planning/SKILL.md +25 -0
  105. package/skills/postgres-migrations/SKILL.md +21 -0
  106. package/skills/product-copy/SKILL.md +54 -0
  107. package/skills/ship/SKILL.md +22 -0
  108. package/skills/supabase-auth-rls/SKILL.md +23 -0
  109. package/skills/testing-qa/SKILL.md +27 -0
  110. package/templates/next-supabase/AGENTS.md +19 -129
  111. package/templates/next-supabase/CLAUDE.md +4 -36
  112. package/BEST_PRACTICE_EVIDENCE.md +0 -45
  113. package/DOGFOOD.md +0 -201
  114. package/GOVERNANCE.md +0 -45
  115. package/LOOP_CODING.md +0 -107
  116. package/MAINTAINER_RELEASE.md +0 -100
  117. package/REPOSITORY_SETTINGS.md +0 -83
  118. package/RESEARCH_CITATION_POLICY.md +0 -26
  119. package/SUPPLY_CHAIN.md +0 -57
  120. package/agents/deployment-observability-engineer.md +0 -13
  121. package/agents/docs-maintainer.md +0 -17
  122. package/agents/frontend-design-lead.md +0 -22
  123. package/agents/lead-architect.md +0 -25
  124. package/agents/marketing-copy-lead.md +0 -20
  125. package/agents/nextjs-engineer.md +0 -20
  126. package/agents/planner.md +0 -20
  127. package/agents/qa-engineer.md +0 -19
  128. package/agents/research-analyst.md +0 -13
  129. package/agents/security-reviewer.md +0 -16
  130. package/agents/supabase-postgres-engineer.md +0 -19
  131. package/antigravity/commands/accessibility-pass.toml +0 -16
  132. package/antigravity/commands/audit.toml +0 -16
  133. package/antigravity/commands/browser-qa.toml +0 -18
  134. package/antigravity/commands/copy.toml +0 -16
  135. package/antigravity/commands/distinctiveness-pass.toml +0 -16
  136. package/antigravity/commands/frontend.toml +0 -18
  137. package/antigravity/commands/handoff.toml +0 -16
  138. package/antigravity/commands/layout-cleanup.toml +0 -16
  139. package/antigravity/commands/plan.toml +0 -18
  140. package/antigravity/commands/responsive-cleanup.toml +0 -16
  141. package/antigravity/commands/review.toml +0 -16
  142. package/antigravity/commands/screenshot-critique.toml +0 -16
  143. package/antigravity/commands/security.toml +0 -16
  144. package/antigravity/commands/setup.toml +0 -16
  145. package/antigravity/commands/ship.toml +0 -17
  146. package/antigravity/commands/spec.toml +0 -17
  147. package/antigravity/commands/test.toml +0 -17
  148. package/antigravity/commands/ui-audit.toml +0 -17
  149. package/antigravity/commands/ui-polish.toml +0 -17
  150. package/antigravity/commands/upgrade.toml +0 -17
  151. package/antigravity/plugin.json +0 -70
  152. package/assistant-adapters/antigravity.md +0 -65
  153. package/assistant-adapters/claude-code-subagents.md +0 -38
  154. package/assistant-adapters/codex-agents.md +0 -53
  155. package/assistant-adapters/cursor-frontend.mdc +0 -16
  156. package/assistant-adapters/cursor-planner.mdc +0 -14
  157. package/assistant-adapters/cursor-security.mdc +0 -18
  158. package/assistant-adapters/github-copilot-instructions.md +0 -35
  159. package/assistant-adapters/github-next-supabase.instructions.md +0 -28
  160. package/assistant-adapters/model-selection/claude-code-subagents-with-models.md +0 -32
  161. package/assistant-adapters/model-selection/codex-config.example.toml +0 -32
  162. package/assistant-adapters/model-selection/cursor-model-selection.mdc +0 -24
  163. package/assistant-adapters/model-selection/github-copilot-model-selection.md +0 -20
  164. package/assistant-adapters/orchestrator-runtime.md +0 -39
  165. package/checklists/accessibility.md +0 -12
  166. package/checklists/agent-council.md +0 -13
  167. package/checklists/brand-content.md +0 -15
  168. package/checklists/deployment.md +0 -10
  169. package/checklists/design-critique.md +0 -13
  170. package/checklists/frontend-distinctiveness.md +0 -12
  171. package/checklists/frontend-product-quality.md +0 -13
  172. package/checklists/frontend-quality.md +0 -21
  173. package/checklists/marketing-copy.md +0 -11
  174. package/checklists/owasp.md +0 -12
  175. package/checklists/rls.md +0 -10
  176. package/checklists/testing.md +0 -12
  177. package/checklists/ui-acceptance-rubric.md +0 -58
  178. package/checklists/ui-detectors.md +0 -81
  179. package/checklists/upgrade.md +0 -13
  180. package/checklists/visual-regression.md +0 -11
  181. package/design-adapters/claude-design.prompt.md +0 -27
  182. package/design-adapters/figma.prompt.md +0 -18
  183. package/design-adapters/google-stitch.prompt.md +0 -36
  184. package/design-adapters/human-designer-brief.prompt.md +0 -36
  185. package/design-briefs/admin-dashboard.md +0 -21
  186. package/design-briefs/ai-workflow-product.md +0 -25
  187. package/design-briefs/community-social.md +0 -26
  188. package/design-briefs/content-app.md +0 -21
  189. package/design-briefs/ecommerce.md +0 -25
  190. package/design-briefs/education-course.md +0 -25
  191. package/design-briefs/marketplace.md +0 -21
  192. package/design-briefs/portfolio-venue.md +0 -25
  193. package/design-briefs/saas.md +0 -21
  194. package/design-briefs/tool.md +0 -21
  195. package/examples/next-supabase-installed/.agent-kit/agent-roster.json +0 -267
  196. package/examples/next-supabase-installed/.agent-kit/model-routing.json +0 -171
  197. package/examples/next-supabase-installed/.agent-kit/overrides.json +0 -3
  198. package/examples/next-supabase-installed/audit-output.json +0 -405
  199. package/model-routing/default-model-routing.json +0 -171
  200. package/profiles/admin-app.md +0 -17
  201. package/profiles/content-app.md +0 -17
  202. package/profiles/marketplace.md +0 -17
  203. package/profiles/saas.md +0 -17
  204. package/profiles/stack-next-firebase.md +0 -25
  205. package/profiles/stack-next-postgres.md +0 -24
  206. package/profiles/stack-remix-supabase.md +0 -24
  207. package/prompts/audit-project-setup.md +0 -28
  208. package/prompts/brand-content-intake.md +0 -17
  209. package/prompts/copy-review.md +0 -15
  210. package/prompts/council-session-review.md +0 -17
  211. package/prompts/creative-direction-matrix.md +0 -22
  212. package/prompts/design-critique-gate.md +0 -28
  213. package/prompts/docs-update.md +0 -16
  214. package/prompts/frontend-design-review.md +0 -35
  215. package/prompts/frontend-distinctiveness-benchmark.md +0 -32
  216. package/prompts/frontend-product-quality-scorecard.md +0 -35
  217. package/prompts/implement-feature.md +0 -14
  218. package/prompts/lifecycle-command-index.md +0 -180
  219. package/prompts/migration-review.md +0 -14
  220. package/prompts/screenshot-review.md +0 -28
  221. package/prompts/security-review.md +0 -17
  222. package/prompts/ui-command-index.md +0 -124
  223. package/prompts/upgrade-review.md +0 -18
  224. package/prompts/visual-qa-plan.md +0 -16
  225. package/research/proposed-updates.md +0 -70
  226. package/research/scan-config.json +0 -261
  227. package/research/scan-plan.md +0 -24
  228. package/research/summaries/.gitkeep +0 -1
  229. package/research/summaries/agent-workflow-patterns.md +0 -37
  230. package/research/summaries/agentic-engineering-maturity-levels.md +0 -54
  231. package/research/summaries/creative-design-patterns.md +0 -38
  232. package/research/summaries/design-critique-patterns.md +0 -34
  233. package/research/summaries/docs-and-agent-patterns.md +0 -64
  234. package/research/summaries/dogfood-adoption-patterns.md +0 -33
  235. package/research/summaries/frontend-design-patterns.md +0 -64
  236. package/research/summaries/frontend-distinctiveness-benchmark-patterns.md +0 -38
  237. package/research/summaries/frontend-product-quality-rubric-patterns.md +0 -37
  238. package/research/summaries/maturity-model-patterns.md +0 -29
  239. package/research/summaries/nextjs-patterns.md +0 -65
  240. package/research/summaries/repo-health-patterns.md +0 -41
  241. package/research/summaries/scan-overview.md +0 -46
  242. package/research/summaries/security-patterns.md +0 -64
  243. package/research/summaries/supabase-rls-patterns.md +0 -54
  244. package/research/summaries/supply-chain-patterns.md +0 -38
  245. package/research/summaries/testing-patterns.md +0 -63
  246. package/research/summaries/upgrade-lifecycle-patterns.md +0 -26
  247. package/research/summaries/visual-qa-patterns.md +0 -39
  248. package/rosters/next-supabase-default-council.json +0 -267
  249. package/runtime-skills/README.md +0 -7
  250. package/runtime-skills/accessibility-wcag/SKILL.md +0 -8
  251. package/runtime-skills/agent-handoff-tracing/SKILL.md +0 -8
  252. package/runtime-skills/best-practice-maturity-review/SKILL.md +0 -8
  253. package/runtime-skills/content-first-design/SKILL.md +0 -8
  254. package/runtime-skills/conversion-copywriting/SKILL.md +0 -8
  255. package/runtime-skills/deployment-observability/SKILL.md +0 -8
  256. package/runtime-skills/docs-maintainer/SKILL.md +0 -8
  257. package/runtime-skills/frontend-design-system/SKILL.md +0 -8
  258. package/runtime-skills/frontend-distinctiveness-benchmark/SKILL.md +0 -8
  259. package/runtime-skills/frontend-product-quality-rubric/SKILL.md +0 -8
  260. package/runtime-skills/landing-page-copy/SKILL.md +0 -8
  261. package/runtime-skills/nextjs-app-router/SKILL.md +0 -8
  262. package/runtime-skills/onboarding-empty-state-copy/SKILL.md +0 -8
  263. package/runtime-skills/owasp-security-review/SKILL.md +0 -8
  264. package/runtime-skills/planning-council/SKILL.md +0 -8
  265. package/runtime-skills/positioning-messaging/SKILL.md +0 -8
  266. package/runtime-skills/postgres-migrations/SKILL.md +0 -8
  267. package/runtime-skills/product-voice-tone/SKILL.md +0 -8
  268. package/runtime-skills/reference-led-design-critique/SKILL.md +0 -8
  269. package/runtime-skills/supabase-auth-rls/SKILL.md +0 -8
  270. package/runtime-skills/testing-qa/SKILL.md +0 -8
  271. package/runtime-skills/ui-improvement-harness/SKILL.md +0 -12
  272. package/runtime-skills/upgrade-maintenance/SKILL.md +0 -8
  273. package/runtime-skills/visual-regression-qa/SKILL.md +0 -8
  274. package/schemas/agent-roster.schema.json +0 -54
  275. package/schemas/agentic-level.schema.json +0 -47
  276. package/schemas/audit-report-v2.schema.json +0 -71
  277. package/schemas/audit-report.schema.json +0 -50
  278. package/schemas/correction-rules.schema.json +0 -32
  279. package/schemas/council-session.schema.json +0 -65
  280. package/schemas/model-routing.schema.json +0 -72
  281. package/schemas/onboarding-state.schema.json +0 -36
  282. package/schemas/orchestrator.schema.json +0 -167
  283. package/schemas/project-context.schema.json +0 -94
  284. package/schemas/runtime-event.schema.json +0 -66
  285. package/schemas/runtime-run.schema.json +0 -58
  286. package/schemas/session-event.schema.json +0 -48
  287. package/schemas/studio-session.schema.json +0 -48
  288. package/skills/accessibility-wcag.md +0 -15
  289. package/skills/agent-handoff-tracing.md +0 -44
  290. package/skills/best-practice-maturity-review.md +0 -26
  291. package/skills/content-first-design.md +0 -50
  292. package/skills/conversion-copywriting.md +0 -38
  293. package/skills/deployment-observability.md +0 -14
  294. package/skills/docs-maintainer.md +0 -19
  295. package/skills/frontend-design-system.md +0 -68
  296. package/skills/frontend-distinctiveness-benchmark.md +0 -40
  297. package/skills/frontend-product-quality-rubric.md +0 -59
  298. package/skills/landing-page-copy.md +0 -29
  299. package/skills/nextjs-app-router.md +0 -18
  300. package/skills/onboarding-empty-state-copy.md +0 -37
  301. package/skills/owasp-security-review.md +0 -19
  302. package/skills/planning-council.md +0 -21
  303. package/skills/positioning-messaging.md +0 -42
  304. package/skills/postgres-migrations.md +0 -14
  305. package/skills/product-voice-tone.md +0 -35
  306. package/skills/reference-led-design-critique.md +0 -48
  307. package/skills/supabase-auth-rls.md +0 -20
  308. package/skills/testing-qa.md +0 -15
  309. package/skills/ui-improvement-harness.md +0 -96
  310. package/skills/upgrade-maintenance.md +0 -32
  311. package/skills/visual-regression-qa.md +0 -42
  312. package/templates/next-supabase/.agent-kit/orchestrator.json +0 -48
  313. package/templates/next-supabase/.agent-kit/runtime/gitignore.template +0 -2
  314. package/templates/next-supabase/.github/workflows/agent-kit-audit.yml +0 -34
  315. package/templates/next-supabase/AGENT_ROSTER.md +0 -101
  316. package/templates/next-supabase/ASSISTANT_ADAPTERS.md +0 -146
  317. package/templates/next-supabase/COUNCIL.md +0 -54
  318. package/templates/next-supabase/DECISIONS.md +0 -87
  319. package/templates/next-supabase/DEPLOYMENT.md +0 -51
  320. package/templates/next-supabase/DESIGN.md +0 -180
  321. package/templates/next-supabase/DOCS.md +0 -80
  322. package/templates/next-supabase/LOOP_CODING.md +0 -98
  323. package/templates/next-supabase/MESSAGING.md +0 -81
  324. package/templates/next-supabase/MODEL_ROUTING.md +0 -130
  325. package/templates/next-supabase/QUALITY_GATES.md +0 -98
  326. package/templates/next-supabase/SKILLS.md +0 -235
  327. package/templates/next-supabase/SPEC.md +0 -122
  328. package/templates/next-supabase/STYLE_GUIDE.md +0 -121
  329. package/templates/next-supabase/TESTING.md +0 -107
package/USER_GUIDE.md ADDED
@@ -0,0 +1,183 @@
1
+ # User Guide
2
+
3
+ How to use the agents and skills in this repo. Open **[USER_GUIDE.html](USER_GUIDE.html)** to read this as a designed page — that is the copy and layout to judge.
4
+
5
+ **Agent** = who you ask. **Skill** = the workflow they follow. **Tool** = what they must use. For QA and UI, that tool is a **live browser plus screenshots**, not a file diff.
6
+
7
+ A user-visible change is not done until someone opened the running UI, captured desktop and mobile screenshots, and reviewed those images.
8
+
9
+ ## 5-minute start
10
+
11
+ 1. Install and activate every IDE this team uses:
12
+
13
+ ```bash
14
+ npx --yes @appsforgood/next-supabase-kit init --activate all
15
+ ```
16
+
17
+ 2. Open the project in your IDE.
18
+ 3. Paste this to Planner (do not ask it to write code):
19
+
20
+ ```text
21
+ Plan this change. Name the owning agent, extra reviewers, and which screenshots QA must capture. Do not write code.
22
+ ```
23
+
24
+ You should get a named owner (`app-engineer`, `security`, `design`, `qa`, or `copy`) and, if the work is user-visible, a desktop + mobile screenshot list.
25
+
26
+ ## How to invoke in each IDE
27
+
28
+ ### Cursor
29
+
30
+ Files: `.cursor/agents/*.md`, `.cursor/skills/*/SKILL.md`, `.cursor/rules/cursor-agent-kit.mdc`
31
+
32
+ - In chat, mention `@planner`, `@app-engineer`, `@security`, `@design`, `@qa`, or `@copy`.
33
+ - Skills apply from their descriptions. To force one, mention `@browser-qa` or the skill name.
34
+ - Prefer the built-in browser for QA. Playwright is backup.
35
+
36
+ ### Claude Code
37
+
38
+ Files: `.claude/agents/*.md`, `CLAUDE.md`
39
+
40
+ - Use the matching subagent (`planner`, `qa`, …) instead of one generic thread.
41
+ - Mention `browser-qa` for any screen review. If Claude has no browser, use the Playwright commands in that skill.
42
+
43
+ ### Codex
44
+
45
+ Files: `.codex/agents/*.toml`, `AGENTS.md`
46
+
47
+ - Spawn the named custom agent from `.codex/agents/`.
48
+ - Paste the QA prompt below when reviewing UI. Use Playwright if Codex cannot see the page.
49
+
50
+ ### GitHub Copilot
51
+
52
+ Files: `.github/copilot-instructions.md`
53
+
54
+ Copilot has no `@agent` picker. Paste a role prompt:
55
+
56
+ ```text
57
+ Act as the QA agent. Use the browser-qa skill. Do not review code alone. Open the app, capture desktop and mobile screenshots, read the images, then give accept / accept-with-nits / reject.
58
+ ```
59
+
60
+ ### Antigravity
61
+
62
+ Files: `.antigravity/agent-kit/commands/*.toml`, `.antigravity/runtime-skills/*/SKILL.md`
63
+
64
+ - `/plan` — Planner
65
+ - `/browser-qa` — screenshot QA loop
66
+ - `/security`, `/frontend`, `/copy`, `/test`, `/ship` — matching specialists
67
+
68
+ ## Which agent do I ask?
69
+
70
+ | You need | Ask |
71
+ | --- | --- |
72
+ | A plan and an owner | Planner |
73
+ | Implementation | App engineer |
74
+ | Auth / RLS / secrets | Security |
75
+ | It looks wrong | Design |
76
+ | Is this done? | QA |
77
+ | Landing / CTA words | Copy |
78
+
79
+ Do not ask one chat to be all six. Planner names the next specialist. It does not run the other agents.
80
+
81
+ ## Which skill do I use?
82
+
83
+ | Skill | Use when |
84
+ | --- | --- |
85
+ | `planning` | Ambiguous work; pick an owner |
86
+ | `nextjs-app-router` | Routes, Server Components, actions |
87
+ | `supabase-auth-rls` | Auth, RLS, service role |
88
+ | `postgres-migrations` | Schema and migrations |
89
+ | `owasp-security-review` | Mutations, uploads, secrets |
90
+ | `frontend-design` | Layout, simple palette, anti-generic UI |
91
+ | `accessibility-wcag` | Keyboard, contrast, labels |
92
+ | `browser-qa` | Any screen. Required for QA of UI |
93
+ | `testing-qa` | Unit / regression / smoke only |
94
+ | `product-copy` | Headlines and CTAs |
95
+ | `deslop` | Last copy pass. Copy always runs this |
96
+ | `ship` | Release, env, rollback |
97
+
98
+ QA of a screen always uses `browser-qa`, not `testing-qa` alone. Each agent file names the skills it must run, then points at `catalog.json` for the rest.
99
+
100
+ ## Standard workflows
101
+
102
+ ### New feature
103
+
104
+ 1. **Planner** — paste: `Plan this change. Name the owning agent, extra reviewers, and which screenshots QA must capture. Do not write code.`
105
+ 2. **App engineer** — paste: `Implement the plan. Smoke the changed route in the browser before you hand off.`
106
+ 3. **Security** if data/auth/secrets changed.
107
+ 4. **Design** if the UI changed — paste: `Review the running UI from screenshots first. Desktop and mobile. Reject generic AI-looking layout.`
108
+ 5. **QA** — paste: `Do not review code alone. Open the app, capture desktop and mobile screenshots, read the images, then give accept / accept-with-nits / reject.`
109
+
110
+ Done when QA attaches `qa-evidence/<date>-<slug>/desktop.png` and `mobile.png` plus a verdict.
111
+
112
+ ### Auth / RLS change
113
+
114
+ Planner → App engineer → Security → QA. QA must open login/logout/denied in the browser and still run tests. Screenshots required when the finding is user-visible.
115
+
116
+ ### UI polish
117
+
118
+ Design + `frontend-design` + `browser-qa`. Desktop and mobile required. One happy-path shot is a fail.
119
+
120
+ ### Copy pass
121
+
122
+ Copy reviews **rendered** screenshots, not just strings in TSX. Run `product-copy`, then **`deslop` last**. Do not hand off after the first draft.
123
+
124
+ ## QA screenshot loop
125
+
126
+ Bad request (reject this):
127
+
128
+ ```text
129
+ Review the new settings page in page.tsx and tell me if the layout looks right.
130
+ ```
131
+
132
+ Good request:
133
+
134
+ ```text
135
+ Do not review code alone. Open the app, capture desktop and mobile screenshots, read the images, then give accept / accept-with-nits / reject.
136
+ ```
137
+
138
+ Steps the QA agent must follow:
139
+
140
+ 1. Start or find the app (`next dev` or preview).
141
+ 2. Open the changed route with the real auth/role/data state.
142
+ 3. Capture desktop (~1280) and mobile (~390) into `qa-evidence/<yyyy-mm-dd>-<slug>/`.
143
+ 4. **Read the images.** List blockers from what is on screen.
144
+ 5. Run applicable tests.
145
+ 6. Write `notes.md` with route, viewports, auth state, verdict.
146
+
147
+ Cursor: use the built-in browser first. Claude / Codex / Copilot / Antigravity: use the host browser if present, otherwise Playwright:
148
+
149
+ ```bash
150
+ npx playwright screenshot --viewport-size=1280,720 "$URL" qa-evidence/<slug>/desktop.png
151
+ npx playwright screenshot --viewport-size=390,844 "$URL" qa-evidence/<slug>/mobile.png
152
+ ```
153
+
154
+ ## Adding more
155
+
156
+ ```bash
157
+ npx agent-kit add agent lead-architect
158
+ npx agent-kit add skill debug
159
+ ```
160
+
161
+ Optional agents: `lead-architect`, `docs`, `deploy`, `research`.
162
+ Optional skills: `ui-polish`, `docs`, `upgrade`, `debug`.
163
+
164
+ Do not add them unless you have a repeating job for that specialist.
165
+
166
+ ## Updating
167
+
168
+ ```bash
169
+ npx agent-kit update
170
+ ```
171
+
172
+ Pristine files refresh. Local edits win or land in `.agent-kit/conflicts/`. Do not re-init. `update` never deletes your old docs.
173
+
174
+ ## Troubleshooting
175
+
176
+ | Problem | Fix |
177
+ | --- | --- |
178
+ | Agent missing in Cursor / Claude | Re-run `init --activate cursor` or `claude`. Check `.cursor/agents/` or `.claude/agents/`. |
179
+ | Skill not triggering | Mention the skill name (`browser-qa`) or `@` it in Cursor. |
180
+ | No browser in Copilot / Codex | Use the Playwright commands in `browser-qa`. |
181
+ | QA finished from the diff | Reject it. Re-run with the good QA prompt above. |
182
+ | `doctor` fails USER_GUIDE | The screenshot fail-closed sentence must stay in this file. |
183
+ | Still have `QUALITY_GATES.md` / `COUNCIL.md` | Expected. `update` does not delete them. `doctor` lists leftovers. |
@@ -0,0 +1,34 @@
1
+ ---
2
+ name: app-engineer
3
+ description: Use to implement Next.js App Router and Supabase behavior. Smoke the changed route in the browser before handing off.
4
+ tools: [repo, edit, terminal, browser]
5
+ requiredTools: [repo, edit, browser]
6
+ ---
7
+
8
+ # App Engineer
9
+
10
+ Implement the change in Next.js and Supabase. Keep server/client boundaries explicit. After a UI or flow change, open the running app and smoke the route before handing to QA.
11
+
12
+ ## Use when
13
+
14
+ Routes, Server Components, Server Actions, Route Handlers, forms, schema, migrations, RLS, or auth wiring.
15
+
16
+ ## Tools
17
+
18
+ Allowed: `repo`, `edit`, `terminal`, `browser`.
19
+ Required: read the repo, edit the implementation, and smoke UI/flow changes in the browser.
20
+ Code-only “it should work” is incomplete for anything the user can see or click.
21
+
22
+ ## Skills
23
+
24
+ `nextjs-app-router`, `supabase-auth-rls`, `postgres-migrations`.
25
+
26
+ Available skills: `catalog.json` and the skill table in `USER_GUIDE.md`. Start with the skills named above. Use another listed skill when this job needs it.
27
+
28
+ ## Handoff
29
+
30
+ Security reviews auth/data/secret changes. Design reviews user-facing screens. QA always reviews behavior or UI changes with `browser-qa`.
31
+
32
+ ## Done when
33
+
34
+ The change is implemented, failure paths are explicit, and any changed route was opened in the browser at least once.
@@ -0,0 +1,40 @@
1
+ ---
2
+ name: copy
3
+ description: Use for public-facing or conversion copy. Review the rendered words in screenshots, not just strings in TSX. Always finish with the deslop skill.
4
+ tools: [repo, edit, screenshot, image-review]
5
+ requiredTools: [repo, image-review]
6
+ ---
7
+
8
+ # Copy
9
+
10
+ Write and review headlines, CTAs, empty states, and onboarding copy. Approve words as they appear on screen.
11
+
12
+ For this kit, copy must name specialists and ask the reader to paste a prompt or run `init`. Headlines that could sell any copilot fail. Public HTML is not done until the rendered screenshot shows the key line and CTA without truncation.
13
+
14
+ ## Use when
15
+
16
+ Landing pages, CTAs, positioning, empty states, pricing, or conversion copy.
17
+
18
+ ## Tools
19
+
20
+ Allowed: `repo`, `edit`, `screenshot`, `image-review`.
21
+ Required: read the repo and review rendered copy from screenshots when the surface exists.
22
+
23
+ ## Skills
24
+
25
+ `product-copy` first, then `frontend-design` if the words live on a screen. **`deslop` last. Always.** Do not hand off after `product-copy` alone.
26
+
27
+ Available skills: `catalog.json` and the skill table in `USER_GUIDE.md`. Start with the skills named above. Use another listed skill when this job needs it.
28
+
29
+ ## End run
30
+
31
+ 1. Write or edit with `product-copy`.
32
+ 2. Read the rendered screenshot (desktop and mobile when the surface is a page).
33
+ 3. Run `deslop`. Fix writing tells. List leftover visual P0s for Design.
34
+ 4. Run `deslop` a second time on your own rewrite.
35
+
36
+ If you skip step 3, the work is not done.
37
+
38
+ ## Done when
39
+
40
+ Copy is specific to this product, claims are not invented, `deslop` has been run as the last pass, and the rendered screenshot shows the CTA and key line without truncation or hierarchy collapse.
@@ -0,0 +1,33 @@
1
+ ---
2
+ name: design
3
+ description: Use for UI quality, accessibility, and anti-generic layout. Critique screenshots first, then code.
4
+ tools: [repo, edit, browser, screenshot, image-review]
5
+ requiredTools: [browser, screenshot, image-review]
6
+ ---
7
+
8
+ # Design
9
+
10
+ Review and improve user-facing UI. Start from screenshots. Reject a single happy-path shot and reject generic AI-looking layout.
11
+
12
+ This kit’s HTML (especially `USER_GUIDE.html`) is an assignment desk, not a SaaS landing page. First screen: named specialists, the fail-closed screenshot rule, and a pasteable prompt. Use `frontend-design` kit tokens: charcoal paper `#10100e`, ink `#eceae4`, safelight `#ff5a2a` only for required QA, Helvetica Neue + mono, 2px radius, no gradients, no card soup. Downstream product screens get their own 4–6 tokens — do not paste the kit desk onto an app.
13
+
14
+ Public words on a screen hand to Copy. Copy finishes with `deslop`. You restyle leftover visual P0s.
15
+
16
+ ## Use when
17
+
18
+ Screens, components, layout, visual design, responsive behavior, or “it looks wrong.”
19
+
20
+ ## Tools
21
+
22
+ Allowed: `repo`, `edit`, `browser`, `screenshot`, `image-review`.
23
+ Required: open the running UI, capture desktop (~1280) and mobile (~390), and write findings from the images.
24
+
25
+ ## Skills
26
+
27
+ `frontend-design`, `accessibility-wcag`, `browser-qa`. Visual P0 list lives in `deslop`; you fix pixels, Copy does not.
28
+
29
+ Available skills: `catalog.json` and the skill table in `USER_GUIDE.md`. Start with the skills named above. Use another listed skill when this job needs it.
30
+
31
+ ## Done when
32
+
33
+ Desktop and mobile screenshots were captured and read. Blockers (overlap, contrast, clipped text, missing tap targets, generic gradient/card soup) are fixed or explicitly accepted. One screenshot is not enough.
@@ -0,0 +1,18 @@
1
+ ---
2
+ name: deploy
3
+ description: Optional. Use for env vars, migrations order, rollback, and release checks.
4
+ tools: [repo, terminal]
5
+ requiredTools: [repo]
6
+ ---
7
+
8
+ # Deploy (optional)
9
+
10
+ Confirm release order, env vars, and rollback. Use the `ship` skill.
11
+
12
+ ## Skills
13
+
14
+ `ship`.
15
+
16
+ Available skills: `catalog.json` and the skill table in `USER_GUIDE.md`. Start with the skills named above. Use another listed skill when this job needs it.
17
+
18
+ Add with `agent-kit add agent deploy`.
@@ -0,0 +1,16 @@
1
+ ---
2
+ name: docs
3
+ description: Optional. Use to update project docs after a significant change.
4
+ tools: [repo, edit]
5
+ requiredTools: [repo]
6
+ ---
7
+
8
+ # Docs (optional)
9
+
10
+ Keep `USER_GUIDE.md`, `AGENTS.md`, and project docs accurate. Do not invent product claims.
11
+
12
+ ## Skills
13
+
14
+ Available skills: `catalog.json` and the skill table in `USER_GUIDE.md`. Start with the skills named above. Use another listed skill when this job needs it.
15
+
16
+ Add with `agent-kit add agent docs`.
@@ -0,0 +1,20 @@
1
+ ---
2
+ name: lead-architect
3
+ description: Optional. Use for cross-layer architecture decisions before a large implementation.
4
+ tools: [repo]
5
+ requiredTools: [repo]
6
+ ---
7
+
8
+ # Lead Architect (optional)
9
+
10
+ Map affected layers and preserve behavioral contracts. Do not implement unless asked.
11
+
12
+ ## Skills
13
+
14
+ `planning`.
15
+
16
+ You name layers and tradeoffs. You do not run the other agents.
17
+
18
+ Available skills: `catalog.json` and the skill table in `USER_GUIDE.md`. Start with the skills named above. Use another listed skill when this job needs it.
19
+
20
+ Add with `agent-kit add agent lead-architect` only when the change spans data, auth, and presentation.
@@ -0,0 +1,16 @@
1
+ ---
2
+ name: research
3
+ description: Optional. Use to compare public patterns before changing this pack. Do not copy ceremony.
4
+ tools: [repo]
5
+ requiredTools: [repo]
6
+ ---
7
+
8
+ # Research (optional)
9
+
10
+ Inventory public agent/skill patterns. Extract structure only. Do not re-import an operating system.
11
+
12
+ ## Skills
13
+
14
+ Available skills: `catalog.json` and the skill table in `USER_GUIDE.md`. Start with the skills named above. Use another listed skill when this job needs it.
15
+
16
+ Add with `agent-kit add agent research`.
@@ -0,0 +1,37 @@
1
+ ---
2
+ name: planner
3
+ description: Use for planning, scope, sequencing, and choosing which specialist to call. Do not write product code.
4
+ tools: [repo]
5
+ requiredTools: [repo]
6
+ ---
7
+
8
+ # Planner
9
+
10
+ Classify the request, name the owning agent, and say what evidence QA must capture. Do not implement.
11
+
12
+ ## Use when
13
+
14
+ Planning, roadmaps, ambiguous asks, “what should we do,” or any request that needs a specialist chosen.
15
+
16
+ ## Tools
17
+
18
+ Allowed: `repo` (read and search only).
19
+ Required: read the repo before naming owners.
20
+ Do not edit product code.
21
+
22
+ ## Skills
23
+
24
+ `planning`.
25
+
26
+ You name the owner and reviewers. You do not run the other agents.
27
+
28
+ Available skills: `catalog.json` and the skill table in `USER_GUIDE.md`. Start with the skills named above. Use another listed skill when this job needs it.
29
+
30
+ ## Handoff
31
+
32
+ Name one owner from: `app-engineer`, `security`, `design`, `qa`, `copy`.
33
+ Add extra reviewers only when needed: Security for auth/data/secrets, Design for user-facing screens, QA for any behavior or UI change, Copy for public/conversion words.
34
+
35
+ ## Done when
36
+
37
+ You have named the owner, extra reviewers, affected routes, preserved behavior, and — if the change is user-visible — which desktop and mobile screenshots QA must capture.
@@ -0,0 +1,37 @@
1
+ ---
2
+ name: qa
3
+ description: Use to prove a change works. Do not review user-visible work from code alone. Open the app, capture desktop and mobile screenshots, read the images, then give a verdict.
4
+ tools: [repo, terminal, test-runner, browser, screenshot, image-review]
5
+ requiredTools: [browser, screenshot, image-review]
6
+ ---
7
+
8
+ # QA
9
+
10
+ Prove the change. Tests are necessary. For anything user-visible, screenshots are required. Do not edit product code during the review pass; you may add tests.
11
+
12
+ ## Use when
13
+
14
+ “Is this done?”, review, regression, smoke, acceptance, or any behavior/UI change.
15
+
16
+ ## Tools
17
+
18
+ Allowed: `repo`, `terminal`, `test-runner`, `browser`, `screenshot`, `image-review`.
19
+ Required: `browser`, `screenshot`, `image-review` for user-visible changes.
20
+ Hard fail if the only evidence is a file diff.
21
+
22
+ ## Skills
23
+
24
+ `browser-qa`, `testing-qa`, `accessibility-wcag`.
25
+
26
+ Available skills: `catalog.json` and the skill table in `USER_GUIDE.md`. Start with the skills named above. Use another listed skill when this job needs it.
27
+
28
+ ## Must not accept
29
+
30
+ - “Reviewed `page.tsx`; layout looks correct.”
31
+ - One desktop screenshot of the happy path.
32
+ - Playwright `toBeVisible` with no image.
33
+ - Skipping mobile, or skipping auth/empty/error when those states exist.
34
+
35
+ ## Done when
36
+
37
+ You opened the running app, captured desktop and mobile screenshots, **read the images**, ran applicable tests, and wrote accept / accept-with-nits / reject with image paths under `qa-evidence/`.
@@ -0,0 +1,30 @@
1
+ ---
2
+ name: security
3
+ description: Use for auth, RLS, IDOR, secrets, OWASP, and data-boundary review.
4
+ tools: [repo, edit, terminal, browser]
5
+ requiredTools: [repo, browser]
6
+ ---
7
+
8
+ # Security
9
+
10
+ Review auth, RLS, IDOR, secrets, and OWASP risks. Fix only when asked. User-visible auth states need screenshots, not just policy text.
11
+
12
+ ## Use when
13
+
14
+ Auth, RLS, Storage policies, service-role usage, Server Actions, webhooks, uploads, external fetches, or secrets.
15
+
16
+ ## Tools
17
+
18
+ Allowed: `repo`, `edit`, `terminal`, `browser`.
19
+ Required: read the code and exercise login/logout/denied paths in the browser when the change is user-visible.
20
+ RLS/SQL-only findings may stay code + tests.
21
+
22
+ ## Skills
23
+
24
+ `owasp-security-review`, `supabase-auth-rls`, `postgres-migrations`.
25
+
26
+ Available skills: `catalog.json` and the skill table in `USER_GUIDE.md`. Start with the skills named above. Use another listed skill when this job needs it.
27
+
28
+ ## Done when
29
+
30
+ Access control is enforced in Postgres or the server, not only in the UI. Login, redirect, and denied states were checked in the browser when they exist. Secrets stay server-only.
@@ -1,33 +1,12 @@
1
1
  ---
2
- description: Use Agent Kit council routing, quality gates, and Next.js/Supabase rules.
3
- globs:
4
- - "**/*"
2
+ description: Use the installed agents and skills. QA must review screenshots, not code alone.
5
3
  alwaysApply: true
6
4
  ---
7
5
 
8
- # Agent Kit Cursor Rule
6
+ # Agents And Skills
9
7
 
10
- Use `AGENTS.md`, `AGENT_ROSTER.md`, `.agent-kit/agent-roster.json`, `MODEL_ROUTING.md`, `.agent-kit/model-routing.json`, `.agent-kit/project-context.json`, `.agent-kit/project-context.md`, `.agent-kit/agent-briefs.md` when present, `.agent-kit/corrections/project-rules.json`, `.agent-kit/corrections/agent-rules.json`, `COUNCIL.md`, `.agent-kit/council-sessions/`, and `QUALITY_GATES.md` as the source of truth.
8
+ Read `AGENTS.md` and `USER_GUIDE.md`. Delegate to `.cursor/agents/` instead of playing every role in one chat.
11
9
 
12
- ## Routing
10
+ A user-visible change is not done until someone opened the running UI, captured desktop and mobile screenshots, and reviewed those images. Reading TSX is not QA.
13
11
 
14
- - Planning starts with Planner.
15
- - Core changes require Lead Architect.
16
- - Frontend changes require Frontend Design Lead, brand/content intake, creative-direction rationale, visual QA evidence, state coverage, accessibility checks, and desktop/mobile verification.
17
- - Auth, RLS, data mutation, dependency, external-call, secret, and release-risk changes require Security Reviewer.
18
- - Behavior changes require QA evidence.
19
- - Significant changes require living markdown updates.
20
- - Meaningful work should read project context and active corrections first.
21
- - Human corrections should be recorded before continuing and promoted to durable project or agent correction rules when they should affect future work.
22
- - Meaningful multi-agent work should use `agent-kit session checkpoint --file <json>` or individual `agent-kit session ...` commands and render Markdown evidence when available.
23
- - For council work, delegate to the matching project subagent in `.cursor/agents/` instead of role-playing every role in the main thread.
24
-
25
- ## Validation
26
-
27
- Run `agent-kit audit --min-readiness baseline-setup` for setup validity. Use `agent-kit audit --min-readiness best-practice-candidate` only when project-specific evidence has replaced starter placeholders.
28
-
29
- This Cursor rule is an instruction adapter, not proof that the executable council ran. Use `agent-kit orchestrate validate` and `agent-kit orchestrate status` for runtime evidence. A Cursor executor route additionally requires `cursor.enabled`, `sandbox.allowHostMutations`, an isolated worktree, and explicit host-mutation approval.
30
-
31
- ## Model Selection
32
-
33
- Use Cursor's active model picker or team model policy with the profile in `MODEL_ROUTING.md`. Treat this rule as advisory unless the active Cursor environment provides enforceable model controls.
12
+ Use `@planner` to pick an owner. Use `@qa` with the `browser-qa` skill for any screen.
package/catalog.json ADDED
@@ -0,0 +1,21 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "defaultAgents": ["planner", "app-engineer", "security", "design", "qa", "copy"],
4
+ "optionalAgents": ["lead-architect", "docs", "deploy", "research"],
5
+ "defaultSkills": [
6
+ "planning",
7
+ "nextjs-app-router",
8
+ "supabase-auth-rls",
9
+ "postgres-migrations",
10
+ "owasp-security-review",
11
+ "frontend-design",
12
+ "accessibility-wcag",
13
+ "browser-qa",
14
+ "testing-qa",
15
+ "product-copy",
16
+ "deslop",
17
+ "ship"
18
+ ],
19
+ "optionalSkills": ["ui-polish", "docs", "upgrade", "debug"],
20
+ "screenshotFailClosed": "A user-visible change is not done until someone opened the running UI, captured desktop and mobile screenshots, and reviewed those images."
21
+ }