@appsforgood/next-supabase-kit 0.2.1 → 0.4.0

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 (323) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +22 -548
  3. package/UPGRADE.md +11 -77
  4. package/USER_GUIDE.md +181 -0
  5. package/agents/app-engineer/agent.md +32 -0
  6. package/agents/copy/agent.md +27 -0
  7. package/agents/design/agent.md +27 -0
  8. package/agents/optional/deploy/agent.md +12 -0
  9. package/agents/optional/docs/agent.md +12 -0
  10. package/agents/optional/lead-architect/agent.md +12 -0
  11. package/agents/optional/research/agent.md +12 -0
  12. package/agents/planner/agent.md +29 -0
  13. package/agents/qa/agent.md +35 -0
  14. package/agents/security/agent.md +28 -0
  15. package/assistant-adapters/cursor-agent-kit.mdc +5 -26
  16. package/catalog.json +20 -0
  17. package/dist/index.js +892 -8219
  18. package/dist/index.js.map +1 -1
  19. package/examples/next-supabase-installed/.agent-kit/config.json +26 -0
  20. package/examples/next-supabase-installed/.agent-kit/manifest.json +78 -223
  21. package/examples/next-supabase-installed/.antigravity/agent-kit/commands/browser-qa.toml +6 -0
  22. package/examples/next-supabase-installed/.antigravity/agent-kit/commands/copy.toml +6 -0
  23. package/examples/next-supabase-installed/.antigravity/agent-kit/commands/frontend.toml +6 -0
  24. package/examples/next-supabase-installed/.antigravity/agent-kit/commands/plan.toml +6 -0
  25. package/examples/next-supabase-installed/.antigravity/agent-kit/commands/security.toml +6 -0
  26. package/examples/next-supabase-installed/.antigravity/agent-kit/commands/ship.toml +6 -0
  27. package/examples/next-supabase-installed/.antigravity/agent-kit/commands/test.toml +6 -0
  28. package/examples/next-supabase-installed/.antigravity/agent-kit/plugin.json +12 -0
  29. package/examples/next-supabase-installed/.antigravity/runtime-skills/accessibility-wcag/SKILL.md +26 -0
  30. package/examples/next-supabase-installed/.antigravity/runtime-skills/browser-qa/SKILL.md +67 -0
  31. package/examples/next-supabase-installed/.antigravity/runtime-skills/frontend-design/SKILL.md +26 -0
  32. package/examples/next-supabase-installed/.antigravity/runtime-skills/nextjs-app-router/SKILL.md +23 -0
  33. package/examples/next-supabase-installed/.antigravity/runtime-skills/owasp-security-review/SKILL.md +23 -0
  34. package/examples/next-supabase-installed/.antigravity/runtime-skills/planning/SKILL.md +25 -0
  35. package/examples/next-supabase-installed/.antigravity/runtime-skills/postgres-migrations/SKILL.md +21 -0
  36. package/examples/next-supabase-installed/.antigravity/runtime-skills/product-copy/SKILL.md +22 -0
  37. package/examples/next-supabase-installed/.antigravity/runtime-skills/ship/SKILL.md +22 -0
  38. package/examples/next-supabase-installed/.antigravity/runtime-skills/supabase-auth-rls/SKILL.md +23 -0
  39. package/examples/next-supabase-installed/.antigravity/runtime-skills/testing-qa/SKILL.md +27 -0
  40. package/examples/next-supabase-installed/.claude/agents/app-engineer.md +32 -0
  41. package/examples/next-supabase-installed/.claude/agents/copy.md +27 -0
  42. package/examples/next-supabase-installed/.claude/agents/design.md +27 -0
  43. package/examples/next-supabase-installed/.claude/agents/planner.md +29 -0
  44. package/examples/next-supabase-installed/.claude/agents/qa.md +35 -0
  45. package/examples/next-supabase-installed/.claude/agents/security.md +28 -0
  46. package/examples/next-supabase-installed/.codex/agents/app-engineer.toml +39 -0
  47. package/examples/next-supabase-installed/.codex/agents/copy.toml +34 -0
  48. package/examples/next-supabase-installed/.codex/agents/design.toml +34 -0
  49. package/examples/next-supabase-installed/.codex/agents/planner.toml +36 -0
  50. package/examples/next-supabase-installed/.codex/agents/qa.toml +42 -0
  51. package/examples/next-supabase-installed/.codex/agents/security.toml +35 -0
  52. package/examples/next-supabase-installed/.cursor/agents/app-engineer.md +32 -0
  53. package/examples/next-supabase-installed/.cursor/agents/copy.md +27 -0
  54. package/examples/next-supabase-installed/.cursor/agents/design.md +27 -0
  55. package/examples/next-supabase-installed/.cursor/agents/planner.md +29 -0
  56. package/examples/next-supabase-installed/.cursor/agents/qa.md +35 -0
  57. package/examples/next-supabase-installed/.cursor/agents/security.md +28 -0
  58. package/examples/next-supabase-installed/.cursor/rules/cursor-agent-kit.mdc +12 -0
  59. package/examples/next-supabase-installed/.cursor/skills/accessibility-wcag/SKILL.md +26 -0
  60. package/examples/next-supabase-installed/.cursor/skills/browser-qa/SKILL.md +67 -0
  61. package/examples/next-supabase-installed/.cursor/skills/frontend-design/SKILL.md +26 -0
  62. package/examples/next-supabase-installed/.cursor/skills/nextjs-app-router/SKILL.md +23 -0
  63. package/examples/next-supabase-installed/.cursor/skills/owasp-security-review/SKILL.md +23 -0
  64. package/examples/next-supabase-installed/.cursor/skills/planning/SKILL.md +25 -0
  65. package/examples/next-supabase-installed/.cursor/skills/postgres-migrations/SKILL.md +21 -0
  66. package/examples/next-supabase-installed/.cursor/skills/product-copy/SKILL.md +22 -0
  67. package/examples/next-supabase-installed/.cursor/skills/ship/SKILL.md +22 -0
  68. package/examples/next-supabase-installed/.cursor/skills/supabase-auth-rls/SKILL.md +23 -0
  69. package/examples/next-supabase-installed/.cursor/skills/testing-qa/SKILL.md +27 -0
  70. package/examples/next-supabase-installed/.github/copilot-instructions.md +23 -0
  71. package/examples/next-supabase-installed/AGENTS.md +30 -0
  72. package/examples/next-supabase-installed/CLAUDE.md +7 -0
  73. package/examples/next-supabase-installed/README.md +2 -14
  74. package/examples/next-supabase-installed/USER_GUIDE.md +181 -0
  75. package/examples/next-supabase-installed/skills/accessibility-wcag/SKILL.md +26 -0
  76. package/examples/next-supabase-installed/skills/browser-qa/SKILL.md +67 -0
  77. package/examples/next-supabase-installed/skills/frontend-design/SKILL.md +26 -0
  78. package/examples/next-supabase-installed/skills/nextjs-app-router/SKILL.md +23 -0
  79. package/examples/next-supabase-installed/skills/owasp-security-review/SKILL.md +23 -0
  80. package/examples/next-supabase-installed/skills/planning/SKILL.md +25 -0
  81. package/examples/next-supabase-installed/skills/postgres-migrations/SKILL.md +21 -0
  82. package/examples/next-supabase-installed/skills/product-copy/SKILL.md +22 -0
  83. package/examples/next-supabase-installed/skills/ship/SKILL.md +22 -0
  84. package/examples/next-supabase-installed/skills/supabase-auth-rls/SKILL.md +23 -0
  85. package/examples/next-supabase-installed/skills/testing-qa/SKILL.md +27 -0
  86. package/examples/next-supabase-installed/tree.txt +57 -45
  87. package/package.json +15 -42
  88. package/research/agent-skill-gap-report.md +128 -0
  89. package/skills/accessibility-wcag/SKILL.md +26 -0
  90. package/skills/browser-qa/SKILL.md +67 -0
  91. package/skills/frontend-design/SKILL.md +26 -0
  92. package/skills/nextjs-app-router/SKILL.md +23 -0
  93. package/skills/optional/debug/SKILL.md +11 -0
  94. package/skills/optional/docs/SKILL.md +10 -0
  95. package/skills/optional/ui-polish/SKILL.md +10 -0
  96. package/skills/optional/upgrade/SKILL.md +10 -0
  97. package/skills/owasp-security-review/SKILL.md +23 -0
  98. package/skills/planning/SKILL.md +25 -0
  99. package/skills/postgres-migrations/SKILL.md +21 -0
  100. package/skills/product-copy/SKILL.md +22 -0
  101. package/skills/ship/SKILL.md +22 -0
  102. package/skills/supabase-auth-rls/SKILL.md +23 -0
  103. package/skills/testing-qa/SKILL.md +27 -0
  104. package/templates/next-supabase/AGENTS.md +19 -129
  105. package/templates/next-supabase/CLAUDE.md +4 -36
  106. package/BEST_PRACTICE_EVIDENCE.md +0 -45
  107. package/DOGFOOD.md +0 -187
  108. package/GOVERNANCE.md +0 -45
  109. package/LOOP_CODING.md +0 -107
  110. package/MAINTAINER_RELEASE.md +0 -100
  111. package/REPOSITORY_SETTINGS.md +0 -81
  112. package/RESEARCH_CITATION_POLICY.md +0 -26
  113. package/SUPPLY_CHAIN.md +0 -56
  114. package/agents/deployment-observability-engineer.md +0 -13
  115. package/agents/docs-maintainer.md +0 -17
  116. package/agents/frontend-design-lead.md +0 -22
  117. package/agents/lead-architect.md +0 -25
  118. package/agents/marketing-copy-lead.md +0 -20
  119. package/agents/nextjs-engineer.md +0 -20
  120. package/agents/planner.md +0 -20
  121. package/agents/qa-engineer.md +0 -19
  122. package/agents/research-analyst.md +0 -13
  123. package/agents/security-reviewer.md +0 -16
  124. package/agents/supabase-postgres-engineer.md +0 -19
  125. package/antigravity/commands/accessibility-pass.toml +0 -16
  126. package/antigravity/commands/audit.toml +0 -16
  127. package/antigravity/commands/browser-qa.toml +0 -18
  128. package/antigravity/commands/copy.toml +0 -16
  129. package/antigravity/commands/distinctiveness-pass.toml +0 -16
  130. package/antigravity/commands/frontend.toml +0 -18
  131. package/antigravity/commands/handoff.toml +0 -16
  132. package/antigravity/commands/layout-cleanup.toml +0 -16
  133. package/antigravity/commands/plan.toml +0 -18
  134. package/antigravity/commands/responsive-cleanup.toml +0 -16
  135. package/antigravity/commands/review.toml +0 -16
  136. package/antigravity/commands/screenshot-critique.toml +0 -16
  137. package/antigravity/commands/security.toml +0 -16
  138. package/antigravity/commands/setup.toml +0 -16
  139. package/antigravity/commands/ship.toml +0 -17
  140. package/antigravity/commands/spec.toml +0 -17
  141. package/antigravity/commands/test.toml +0 -17
  142. package/antigravity/commands/ui-audit.toml +0 -17
  143. package/antigravity/commands/ui-polish.toml +0 -17
  144. package/antigravity/commands/upgrade.toml +0 -17
  145. package/antigravity/plugin.json +0 -70
  146. package/assistant-adapters/antigravity.md +0 -65
  147. package/assistant-adapters/claude-code-subagents.md +0 -38
  148. package/assistant-adapters/codex-agents.md +0 -53
  149. package/assistant-adapters/cursor-frontend.mdc +0 -16
  150. package/assistant-adapters/cursor-planner.mdc +0 -14
  151. package/assistant-adapters/cursor-security.mdc +0 -18
  152. package/assistant-adapters/github-copilot-instructions.md +0 -35
  153. package/assistant-adapters/github-next-supabase.instructions.md +0 -28
  154. package/assistant-adapters/model-selection/claude-code-subagents-with-models.md +0 -32
  155. package/assistant-adapters/model-selection/codex-config.example.toml +0 -32
  156. package/assistant-adapters/model-selection/cursor-model-selection.mdc +0 -24
  157. package/assistant-adapters/model-selection/github-copilot-model-selection.md +0 -20
  158. package/assistant-adapters/orchestrator-runtime.md +0 -39
  159. package/checklists/accessibility.md +0 -12
  160. package/checklists/agent-council.md +0 -13
  161. package/checklists/brand-content.md +0 -15
  162. package/checklists/deployment.md +0 -10
  163. package/checklists/design-critique.md +0 -13
  164. package/checklists/frontend-distinctiveness.md +0 -12
  165. package/checklists/frontend-product-quality.md +0 -13
  166. package/checklists/frontend-quality.md +0 -21
  167. package/checklists/marketing-copy.md +0 -11
  168. package/checklists/owasp.md +0 -12
  169. package/checklists/rls.md +0 -10
  170. package/checklists/testing.md +0 -12
  171. package/checklists/ui-acceptance-rubric.md +0 -58
  172. package/checklists/ui-detectors.md +0 -81
  173. package/checklists/upgrade.md +0 -13
  174. package/checklists/visual-regression.md +0 -11
  175. package/design-adapters/claude-design.prompt.md +0 -27
  176. package/design-adapters/figma.prompt.md +0 -18
  177. package/design-adapters/google-stitch.prompt.md +0 -36
  178. package/design-adapters/human-designer-brief.prompt.md +0 -36
  179. package/design-briefs/admin-dashboard.md +0 -21
  180. package/design-briefs/ai-workflow-product.md +0 -25
  181. package/design-briefs/community-social.md +0 -26
  182. package/design-briefs/content-app.md +0 -21
  183. package/design-briefs/ecommerce.md +0 -25
  184. package/design-briefs/education-course.md +0 -25
  185. package/design-briefs/marketplace.md +0 -21
  186. package/design-briefs/portfolio-venue.md +0 -25
  187. package/design-briefs/saas.md +0 -21
  188. package/design-briefs/tool.md +0 -21
  189. package/examples/next-supabase-installed/.agent-kit/agent-roster.json +0 -267
  190. package/examples/next-supabase-installed/.agent-kit/model-routing.json +0 -171
  191. package/examples/next-supabase-installed/.agent-kit/overrides.json +0 -3
  192. package/examples/next-supabase-installed/audit-output.json +0 -405
  193. package/model-routing/default-model-routing.json +0 -171
  194. package/profiles/admin-app.md +0 -17
  195. package/profiles/content-app.md +0 -17
  196. package/profiles/marketplace.md +0 -17
  197. package/profiles/saas.md +0 -17
  198. package/profiles/stack-next-firebase.md +0 -25
  199. package/profiles/stack-next-postgres.md +0 -24
  200. package/profiles/stack-remix-supabase.md +0 -24
  201. package/prompts/audit-project-setup.md +0 -28
  202. package/prompts/brand-content-intake.md +0 -17
  203. package/prompts/copy-review.md +0 -15
  204. package/prompts/council-session-review.md +0 -17
  205. package/prompts/creative-direction-matrix.md +0 -22
  206. package/prompts/design-critique-gate.md +0 -28
  207. package/prompts/docs-update.md +0 -16
  208. package/prompts/frontend-design-review.md +0 -35
  209. package/prompts/frontend-distinctiveness-benchmark.md +0 -32
  210. package/prompts/frontend-product-quality-scorecard.md +0 -35
  211. package/prompts/implement-feature.md +0 -14
  212. package/prompts/lifecycle-command-index.md +0 -180
  213. package/prompts/migration-review.md +0 -14
  214. package/prompts/screenshot-review.md +0 -28
  215. package/prompts/security-review.md +0 -17
  216. package/prompts/ui-command-index.md +0 -124
  217. package/prompts/upgrade-review.md +0 -18
  218. package/prompts/visual-qa-plan.md +0 -16
  219. package/research/proposed-updates.md +0 -70
  220. package/research/scan-config.json +0 -261
  221. package/research/scan-plan.md +0 -24
  222. package/research/summaries/.gitkeep +0 -1
  223. package/research/summaries/agent-workflow-patterns.md +0 -37
  224. package/research/summaries/agentic-engineering-maturity-levels.md +0 -54
  225. package/research/summaries/creative-design-patterns.md +0 -38
  226. package/research/summaries/design-critique-patterns.md +0 -34
  227. package/research/summaries/docs-and-agent-patterns.md +0 -64
  228. package/research/summaries/dogfood-adoption-patterns.md +0 -33
  229. package/research/summaries/frontend-design-patterns.md +0 -64
  230. package/research/summaries/frontend-distinctiveness-benchmark-patterns.md +0 -38
  231. package/research/summaries/frontend-product-quality-rubric-patterns.md +0 -37
  232. package/research/summaries/maturity-model-patterns.md +0 -29
  233. package/research/summaries/nextjs-patterns.md +0 -65
  234. package/research/summaries/repo-health-patterns.md +0 -41
  235. package/research/summaries/scan-overview.md +0 -46
  236. package/research/summaries/security-patterns.md +0 -64
  237. package/research/summaries/supabase-rls-patterns.md +0 -54
  238. package/research/summaries/supply-chain-patterns.md +0 -38
  239. package/research/summaries/testing-patterns.md +0 -63
  240. package/research/summaries/upgrade-lifecycle-patterns.md +0 -26
  241. package/research/summaries/visual-qa-patterns.md +0 -39
  242. package/rosters/next-supabase-default-council.json +0 -267
  243. package/runtime-skills/README.md +0 -7
  244. package/runtime-skills/accessibility-wcag/SKILL.md +0 -8
  245. package/runtime-skills/agent-handoff-tracing/SKILL.md +0 -8
  246. package/runtime-skills/best-practice-maturity-review/SKILL.md +0 -8
  247. package/runtime-skills/content-first-design/SKILL.md +0 -8
  248. package/runtime-skills/conversion-copywriting/SKILL.md +0 -8
  249. package/runtime-skills/deployment-observability/SKILL.md +0 -8
  250. package/runtime-skills/docs-maintainer/SKILL.md +0 -8
  251. package/runtime-skills/frontend-design-system/SKILL.md +0 -8
  252. package/runtime-skills/frontend-distinctiveness-benchmark/SKILL.md +0 -8
  253. package/runtime-skills/frontend-product-quality-rubric/SKILL.md +0 -8
  254. package/runtime-skills/landing-page-copy/SKILL.md +0 -8
  255. package/runtime-skills/nextjs-app-router/SKILL.md +0 -8
  256. package/runtime-skills/onboarding-empty-state-copy/SKILL.md +0 -8
  257. package/runtime-skills/owasp-security-review/SKILL.md +0 -8
  258. package/runtime-skills/planning-council/SKILL.md +0 -8
  259. package/runtime-skills/positioning-messaging/SKILL.md +0 -8
  260. package/runtime-skills/postgres-migrations/SKILL.md +0 -8
  261. package/runtime-skills/product-voice-tone/SKILL.md +0 -8
  262. package/runtime-skills/reference-led-design-critique/SKILL.md +0 -8
  263. package/runtime-skills/supabase-auth-rls/SKILL.md +0 -8
  264. package/runtime-skills/testing-qa/SKILL.md +0 -8
  265. package/runtime-skills/ui-improvement-harness/SKILL.md +0 -12
  266. package/runtime-skills/upgrade-maintenance/SKILL.md +0 -8
  267. package/runtime-skills/visual-regression-qa/SKILL.md +0 -8
  268. package/schemas/agent-roster.schema.json +0 -54
  269. package/schemas/agentic-level.schema.json +0 -47
  270. package/schemas/audit-report-v2.schema.json +0 -71
  271. package/schemas/audit-report.schema.json +0 -50
  272. package/schemas/correction-rules.schema.json +0 -32
  273. package/schemas/council-session.schema.json +0 -65
  274. package/schemas/model-routing.schema.json +0 -72
  275. package/schemas/onboarding-state.schema.json +0 -36
  276. package/schemas/orchestrator.schema.json +0 -167
  277. package/schemas/project-context.schema.json +0 -94
  278. package/schemas/runtime-event.schema.json +0 -66
  279. package/schemas/runtime-run.schema.json +0 -58
  280. package/schemas/session-event.schema.json +0 -48
  281. package/schemas/studio-session.schema.json +0 -48
  282. package/skills/accessibility-wcag.md +0 -15
  283. package/skills/agent-handoff-tracing.md +0 -44
  284. package/skills/best-practice-maturity-review.md +0 -26
  285. package/skills/content-first-design.md +0 -50
  286. package/skills/conversion-copywriting.md +0 -38
  287. package/skills/deployment-observability.md +0 -14
  288. package/skills/docs-maintainer.md +0 -19
  289. package/skills/frontend-design-system.md +0 -68
  290. package/skills/frontend-distinctiveness-benchmark.md +0 -40
  291. package/skills/frontend-product-quality-rubric.md +0 -59
  292. package/skills/landing-page-copy.md +0 -29
  293. package/skills/nextjs-app-router.md +0 -18
  294. package/skills/onboarding-empty-state-copy.md +0 -37
  295. package/skills/owasp-security-review.md +0 -19
  296. package/skills/planning-council.md +0 -21
  297. package/skills/positioning-messaging.md +0 -42
  298. package/skills/postgres-migrations.md +0 -14
  299. package/skills/product-voice-tone.md +0 -35
  300. package/skills/reference-led-design-critique.md +0 -48
  301. package/skills/supabase-auth-rls.md +0 -20
  302. package/skills/testing-qa.md +0 -15
  303. package/skills/ui-improvement-harness.md +0 -96
  304. package/skills/upgrade-maintenance.md +0 -32
  305. package/skills/visual-regression-qa.md +0 -42
  306. package/templates/next-supabase/.agent-kit/orchestrator.json +0 -48
  307. package/templates/next-supabase/.agent-kit/runtime/gitignore.template +0 -2
  308. package/templates/next-supabase/.github/workflows/agent-kit-audit.yml +0 -35
  309. package/templates/next-supabase/AGENT_ROSTER.md +0 -101
  310. package/templates/next-supabase/ASSISTANT_ADAPTERS.md +0 -146
  311. package/templates/next-supabase/COUNCIL.md +0 -54
  312. package/templates/next-supabase/DECISIONS.md +0 -87
  313. package/templates/next-supabase/DEPLOYMENT.md +0 -49
  314. package/templates/next-supabase/DESIGN.md +0 -180
  315. package/templates/next-supabase/DOCS.md +0 -80
  316. package/templates/next-supabase/LOOP_CODING.md +0 -98
  317. package/templates/next-supabase/MESSAGING.md +0 -81
  318. package/templates/next-supabase/MODEL_ROUTING.md +0 -130
  319. package/templates/next-supabase/QUALITY_GATES.md +0 -97
  320. package/templates/next-supabase/SKILLS.md +0 -235
  321. package/templates/next-supabase/SPEC.md +0 -122
  322. package/templates/next-supabase/STYLE_GUIDE.md +0 -121
  323. package/templates/next-supabase/TESTING.md +0 -91
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.0
4
+
5
+ - Simplify the pack to agents, skills, and a user guide. `init` writes `AGENTS.md`, `USER_GUIDE.md`, and native IDE files only.
6
+ - Require screenshot QA: user-visible work is not done until desktop and mobile screenshots are captured and read.
7
+ - Drop session, studio, research, and orchestrate commands from the default CLI.
8
+ - Add `doctor`, `add agent`, and the `agents-and-skills` binary alias.
9
+ - Existing 17-doc / `.agent-kit/` installs are not deleted; `update` leaves leftover files unmanaged.
10
+ - Keep `npm run smoke:ui-screens` as a Playwright desktop/mobile capture of the installed user guide, not the removed Studio wizard.
11
+
12
+ ## 0.3.0
13
+
14
+ - Make GitHub Actions opt-in for fresh installs while preserving local verification gates and existing downstream workflows.
15
+
3
16
  ## 0.2.1
4
17
 
5
18
  - Rewrite the public README with verified setup commands and task-oriented examples for audits, council sessions, UI review, upgrades, and optional runtime orchestration.
package/README.md CHANGED
@@ -1,567 +1,41 @@
1
- # Agent Kit for Next.js + Supabase
1
+ # Agents And Skills
2
2
 
3
- [![CI](https://github.com/lukey662/agentsandskills/actions/workflows/ci.yml/badge.svg)](https://github.com/lukey662/agentsandskills/actions/workflows/ci.yml)
4
- [![npm version](https://img.shields.io/npm/v/%40appsforgood%2Fnext-supabase-kit)](https://www.npmjs.com/package/@appsforgood/next-supabase-kit)
5
- [![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/lukey662/agentsandskills/badge)](https://scorecard.dev/viewer/?uri=github.com/lukey662/agentsandskills)
6
- [![CodeQL](https://github.com/lukey662/agentsandskills/actions/workflows/codeql.yml/badge.svg)](https://github.com/lukey662/agentsandskills/actions/workflows/codeql.yml)
7
- [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
3
+ A small pack of **agents**, **skills**, and a **user guide** for Next.js + Supabase apps.
8
4
 
9
- `@appsforgood/next-supabase-kit` installs versioned agent instructions, specialist roles, reusable skills, project documentation, security checks, UI review gates, and audit tooling into an existing repository.
5
+ QA does not review user-visible work from code alone. A change is not done until someone opened the running UI, captured desktop and mobile screenshots, and reviewed those images.
10
6
 
11
- It is designed for teams using AI coding tools on Next.js and Supabase projects that need the work to remain reviewable, secure, and maintainable.
12
-
13
- ## Start Here
14
-
15
- - [Quick start](#quick-start)
16
- - [First-run examples](#first-run-examples)
17
- - [Audit examples](#audit-examples)
18
- - [Common delivery workflows](#common-delivery-workflows)
19
- - [Updating an existing install](#updating-an-existing-install)
20
- - [Optional executable runtime](#optional-executable-runtime)
21
- - [Installed project contract](#installed-project-contract)
22
- - [Maintainer verification](#maintainer-verification)
23
-
24
- ## What You Get
25
-
26
- - A machine-readable council roster with explicit ownership and handoffs.
27
- - Instructions and adapters for Codex, Cursor, Claude Code, GitHub Copilot, and Antigravity.
28
- - Living `SPEC.md`, `DECISIONS.md`, `DESIGN.md`, `MESSAGING.md`, `SECURITY.md`, `TESTING.md`, and deployment documentation.
29
- - Supabase Auth, RLS, migration, service-role, and OWASP review rules.
30
- - Frontend design gates that reject generic gradients, card soup, fake metrics, vague SaaS copy, inaccessible state styling, and other common AI-generated UI patterns.
31
- - Local project context, durable human corrections, council-session evidence, and static or live Agent Studio views.
32
- - A CLI that detects missing setup, stale templates, unsupported claims, weak evidence, and release-readiness gaps.
33
- - An optional runtime for checkpointed LangGraph execution with provider adapters, MCP policy, approvals, Docker isolation, and Git worktrees.
34
-
35
- ## Choose A Mode
36
-
37
- | Mode | Package | What runs |
38
- | --- | --- | --- |
39
- | Instructions and audits | `@appsforgood/next-supabase-kit` | Your coding assistant follows installed files; the CLI installs, validates, records, and audits evidence |
40
- | Executable council | Add `@appsforgood/agent-kit-runtime` | The CLI compiles the roster into checkpointed workflows with approval gates and isolated worktrees |
41
-
42
- The base kit does not call a model provider. Installing instructions does not prove that an executable council ran. Only `agent-kit orchestrate ...` produces runtime checkpoints and run evidence.
43
-
44
- ## Requirements
45
-
46
- - Node.js 20 or newer.
47
- - Git for update, session, and worktree-aware workflows.
48
- - A Next.js + Supabase project is the primary profile, but the documentation and audit model can be adapted to adjacent stacks.
49
- - Docker is required only for mutation commands in the optional executable runtime.
50
-
51
- ## Quick Start
52
-
53
- ### Zero-install trial
54
-
55
- Run the current package directly in the repository you want to prepare:
56
-
57
- ```bash
58
- npx --yes @appsforgood/next-supabase-kit@latest init --stack next-supabase --setup --open
59
- npx --yes @appsforgood/next-supabase-kit@latest audit
60
- npx --yes @appsforgood/next-supabase-kit@latest audit --min-readiness baseline-setup
61
- ```
62
-
63
- The first command installs project-owned documentation and `.agent-kit/` assets, then opens the local Agent Office setup flow. Existing customized files are preserved; changed templates are written to `.agent-kit/conflicts/` for review.
64
-
65
- ### Local development dependency
66
-
67
- Install the CLI when the project will use it repeatedly or in CI:
68
-
69
- ```bash
70
- npm install --save-dev @appsforgood/next-supabase-kit
71
- npx agent-kit init --stack next-supabase --setup --open
72
- npx agent-kit audit --min-readiness baseline-setup
73
- ```
74
-
75
- Add convenient package scripts:
76
-
77
- ```json
78
- {
79
- "scripts": {
80
- "agent:audit": "agent-kit audit --min-readiness baseline-setup",
81
- "agent:setup": "agent-kit setup --open",
82
- "agent:studio": "agent-kit studio serve --open"
83
- }
84
- }
85
- ```
86
-
87
- Then run:
88
-
89
- ```bash
90
- npm run agent:audit
91
- ```
92
-
93
- ## First-Run Examples
94
-
95
- ### Preview before writing
96
-
97
- ```bash
98
- npx agent-kit init --stack next-supabase --guided --dry-run --json
99
- ```
100
-
101
- ### Install without opening a browser
102
-
103
- ```bash
104
- npx agent-kit init --stack next-supabase --no-setup
105
- npx agent-kit context init
106
- npx agent-kit context ask
107
- ```
108
-
109
- ### Resume project onboarding
110
-
111
- ```bash
112
- npx agent-kit setup --open
113
- npx agent-kit setup --status
114
- ```
115
-
116
- The setup server binds to `127.0.0.1:9321` by default:
117
-
118
- - `/` or `/office`: Agent Office.
119
- - `/wizard`: form-based fallback.
120
-
121
- Use a different port when needed:
122
-
123
- ```bash
124
- npx agent-kit setup --port 9400 --open
125
- ```
126
-
127
- ### Activate IDE adapters
128
-
129
- ```bash
130
- npx agent-kit init --activate cursor
131
- npx agent-kit init --activate codex
132
- npx agent-kit init --activate antigravity
133
- npx agent-kit adapter validate all
134
- ```
135
-
136
- Activation promotes the relevant adapter files. The IDE or coding agent still decides when and how to load them; review `ASSISTANT_ADAPTERS.md` for the exact behavior of each tool.
137
-
138
- ## Audit Examples
139
-
140
- ### Human-readable readiness report
141
-
142
- ```bash
143
- npx agent-kit audit
144
- ```
145
-
146
- ### Stable JSON output
147
-
148
- ```bash
149
- npx agent-kit audit --json
150
- npx agent-kit audit --schema-version 2 --format json
151
- ```
152
-
153
- ### SARIF for code-scanning systems
154
-
155
- ```bash
156
- npx agent-kit audit --schema-version 2 --format sarif > agent-kit.sarif
157
- ```
158
-
159
- ### Fail CI below the required evidence level
160
-
161
- ```bash
162
- npx agent-kit audit --min-readiness baseline-setup
163
- ```
164
-
165
- Readiness levels are:
166
-
167
- 1. `needs-setup`
168
- 2. `baseline-setup`
169
- 3. `needs-improvement`
170
- 4. `best-practice-candidate`
171
-
172
- Example GitHub Actions job:
173
-
174
- ```yaml
175
- name: Agent Kit Audit
176
-
177
- on:
178
- pull_request:
179
- push:
180
- branches: [main]
181
-
182
- jobs:
183
- audit:
184
- runs-on: ubuntu-latest
185
- permissions:
186
- contents: read
187
- steps:
188
- - uses: actions/checkout@v6
189
- with:
190
- persist-credentials: false
191
- - uses: actions/setup-node@v6
192
- with:
193
- node-version: 24
194
- cache: npm
195
- - run: npm ci
196
- - run: npx agent-kit audit --min-readiness baseline-setup
197
- ```
198
-
199
- The installed template at `.github/workflows/agent-kit-audit.yml` is the maintained starting point.
200
-
201
- ## Common Delivery Workflows
202
-
203
- ### Plan and record a feature
204
-
205
- ```bash
206
- npx agent-kit session start "Add organization invitations" --workflow core-change
207
- npx agent-kit session decision "Keep authorization in Supabase RLS and server-side mutation boundaries."
208
- npx agent-kit session handoff \
209
- --from planner \
210
- --to lead-architect \
211
- --decision "Review the invitation data and auth boundaries." \
212
- --risk "Invitation tokens and tenant isolation require explicit review."
213
- npx agent-kit session artifact --file SPEC.md
214
- npx agent-kit session verify \
215
- --command "npm test" \
216
- --result pass \
217
- --notes "Invitation unit and regression tests passed."
218
- npx agent-kit session render
219
- npx agent-kit session close --status complete
220
- ```
221
-
222
- ### Record several events at once
223
-
224
- ```json
225
- {
226
- "events": [
227
- {
228
- "type": "decision",
229
- "agent": "lead-architect",
230
- "text": "Use a server action for the mutation and RLS for authorization."
231
- },
232
- {
233
- "type": "artifact",
234
- "agent": "nextjs-engineer",
235
- "path": "app/invitations/actions.ts"
236
- },
237
- {
238
- "type": "verification",
239
- "agent": "qa-engineer",
240
- "command": "npm test",
241
- "result": "pass",
242
- "notes": "Regression suite passed."
243
- }
244
- ]
245
- }
246
- ```
247
-
248
- ```bash
249
- npx agent-kit session checkpoint --file .agent-kit/checkpoint.json
250
- npx agent-kit session render
251
- ```
252
-
253
- ### Review a frontend change
254
-
255
- Use the installed command instructions as prompt prefixes in compatible coding tools, or as native commands after activating Antigravity:
256
-
257
- ```text
258
- /frontend Build the account settings workflow.
259
- /ui-audit Review the implementation against the product-quality gates.
260
- /responsive-cleanup Verify 390px, tablet, and desktop layouts.
261
- /accessibility-pass Check keyboard, focus, labels, contrast, and error recovery.
262
- /screenshot-critique Compare desktop and mobile screenshots against DESIGN.md.
263
- ```
264
-
265
- The UI detector checks include concrete replacements:
266
-
267
- | Avoid | Prefer |
268
- | --- | --- |
269
- | Thick colored side rails and gradient borders on cards | Quiet 1px full borders, semantic icons, labels, and subtle state tint |
270
- | Purple/blue gradient heroes and glowing blobs | Product imagery, real workflow screenshots, concrete content, or tokenized neutral surfaces |
271
- | Decorative card grids | Tables, lists, forms, timelines, split panes, and task-specific grouping |
272
- | Invented metrics and placeholder charts | Real data, clearly labelled samples, empty states, or connection prompts |
273
- | "Supercharge your workflow" and similar copy | Specific actions, product nouns, constraints, and supported outcomes |
274
- | Decorative badge or icon walls | Real integrations, security posture, support details, commands, states, and navigation |
275
- | Frosted oversized panels | Normal surfaces, practical density, and clear section boundaries |
276
- | Color-only status | Semantic text, icons, accessible contrast, ARIA state, and recovery actions |
277
-
278
- Exceptions for an established brand system should be recorded in `DESIGN.md` or `.agent-kit/overrides.json`.
279
-
280
- ### Review Supabase auth or RLS work
281
-
282
- ```text
283
- /plan Add team-scoped document sharing.
284
- /security Review tenant isolation, IDOR risk, service-role use, and RLS coverage.
285
- /test Add cross-tenant read/write denial tests and an authorized happy path.
286
- ```
287
-
288
- Required evidence should include:
289
-
290
- - Migration and rollback implications.
291
- - RLS policies at the data boundary.
292
- - Cross-tenant denial tests.
293
- - Service-role isolation.
294
- - Server-side input validation.
295
- - Explicit failure and empty states.
296
-
297
- ### Preserve a durable correction
7
+ ## Start here
298
8
 
299
9
  ```bash
300
- npx agent-kit correction add --scope project \
301
- "Use task-first operational layouts; do not add marketing heroes to authenticated tools."
302
- npx agent-kit correction list
303
- npx agent-kit correction apply <correction-id>
10
+ npx --yes @appsforgood/next-supabase-kit init --activate all
304
11
  ```
305
12
 
306
- Applied project and agent corrections are loaded before meaningful work. Use `correction retire <id> --reason "..." ` when a rule no longer applies.
13
+ Then read **[USER_GUIDE.md](USER_GUIDE.md)**. That guide is how you use the pack.
307
14
 
308
- ### Inspect sessions in Agent Studio
15
+ ## What you get
309
16
 
310
- ```bash
311
- npx agent-kit studio export
312
- npx agent-kit studio serve --open
313
- ```
17
+ - `AGENTS.md` — who to ask
18
+ - `USER_GUIDE.md` — how to invoke agents and skills in Cursor, Claude, Codex, Copilot, and Antigravity
19
+ - Native agents and skills for the IDEs you activate
20
+ - A `browser-qa` skill that fails closed without desktop + mobile screenshots
314
21
 
315
- - Static export: `.agent-kit/studio/index.html`.
316
- - Live Studio: `http://127.0.0.1:9331` by default.
317
- - Live sessions use local append-only events and Server-Sent Events.
318
-
319
- ## Updating An Existing Install
320
-
321
- Preview template drift before applying an update:
22
+ ## Commands
322
23
 
323
24
  ```bash
324
- npx agent-kit diff --json
325
- npx agent-kit update --dry-run --json
25
+ npx agent-kit init --activate all
26
+ npx agent-kit doctor
27
+ npx agent-kit add skill debug
28
+ npx agent-kit add agent lead-architect
326
29
  npx agent-kit update
327
- npx agent-kit audit --min-readiness baseline-setup
328
- ```
329
-
330
- Update behavior:
331
-
332
- - Pristine installed files are refreshed.
333
- - Project-owned edits are preserved.
334
- - Template changes that collide with local edits are written to `.agent-kit/conflicts/`.
335
- - `--force` is explicit and should be used only after reviewing the diff.
336
- - Accepted deviations belong in `.agent-kit/overrides.json`.
337
-
338
- Example conflict review:
339
-
340
- ```bash
341
- npx agent-kit update --dry-run
342
- git diff -- .agent-kit/manifest.json
343
- git status --short .agent-kit/conflicts
344
- ```
345
-
346
- ## Optional Executable Runtime
347
-
348
- Install both packages locally. The runtime package does not provide the `agent-kit` binary by itself.
349
-
350
- ```bash
351
- npm install --save-dev \
352
- @appsforgood/next-supabase-kit \
353
- @appsforgood/agent-kit-runtime
354
- npx agent-kit orchestrate validate
355
- ```
356
-
357
- Fresh installs include a disabled `.agent-kit/orchestrator.json`. Configure provider model IDs that you have verified for the current provider account. Credentials must be references, not inline secret values.
358
-
359
- Minimal configuration example:
360
-
361
- ```json
362
- {
363
- "schemaVersion": 1,
364
- "enabled": true,
365
- "defaultWorkflow": "planning",
366
- "defaultAlias": "balanced",
367
- "providers": {
368
- "primary": {
369
- "kind": "openai",
370
- "credentialRef": "env:OPENAI_API_KEY"
371
- }
372
- },
373
- "modelAliases": {
374
- "balanced": {
375
- "requiredCapabilities": ["text", "tools"],
376
- "maxAttempts": 1,
377
- "candidates": [
378
- {
379
- "provider": "primary",
380
- "model": "replace-with-a-verified-provider-model-id"
381
- }
382
- ]
383
- }
384
- }
385
- }
386
- ```
387
-
388
- Validate and inspect the plan without calling a provider:
389
-
390
- ```bash
391
- npx agent-kit orchestrate validate
392
- npx agent-kit orchestrate plan "Review the authorization boundary" --workflow planning
393
- ```
394
-
395
- Start and manage a run:
396
-
397
- ```bash
398
- npx agent-kit orchestrate run "Implement the approved authorization fix" --workflow core-change
399
- npx agent-kit orchestrate status
400
- npx agent-kit orchestrate approve <run-id>
401
- npx agent-kit orchestrate resume <run-id> --decision approve
402
- npx agent-kit orchestrate export <run-id> --output .agent-kit/runtime-export.md
403
- ```
404
-
405
- Reject or cancel:
406
-
407
- ```bash
408
- npx agent-kit orchestrate resume <run-id> --decision reject
409
- npx agent-kit orchestrate cancel <run-id>
410
- ```
411
-
412
- Probe external adapters explicitly:
413
-
414
- ```bash
415
- npx agent-kit provider probe
416
- npx agent-kit provider probe primary
417
- npx agent-kit mcp probe project-tools
418
- ```
419
-
420
- Store a keychain-backed credential through a masked prompt:
421
-
422
- ```bash
423
- npx agent-kit credential set keychain:team-openai
424
- npx agent-kit credential delete keychain:team-openai
425
- ```
426
-
427
- ### Runtime boundaries
428
-
429
- - Mutations occur in an isolated Git worktree.
430
- - Docker mutation containers use a read-only root, dropped capabilities, `no-new-privileges`, resource limits, and no network by default.
431
- - File tools reject traversal, symlink escapes, Git internals, environment files, private keys, package-manager credentials, and runtime evidence paths.
432
- - Network, host execution, worktree writes, and final commits require applicable approval gates.
433
- - One approved scoped commit may be created on `agent-kit/<run-id>`.
434
- - The runtime never merges, pushes, opens a pull request, deploys, or applies a migration automatically.
435
-
436
- See [Runtime orchestration scope](RUNTIME_ORCHESTRATION_SCOPE.md) and the [runtime package README](packages/runtime/README.md) for provider, MCP, sandbox, checkpoint, and recovery details.
437
-
438
- ## Installed Project Contract
439
-
440
- Important root documents:
441
-
442
- | File | Purpose |
443
- | --- | --- |
444
- | `AGENTS.md` | High-level operating instructions and required handoffs |
445
- | `AGENT_ROSTER.md` | Human-readable specialist ownership |
446
- | `SPEC.md` | Current functional and technical contract |
447
- | `DECISIONS.md` | Architectural decisions and consequences |
448
- | `DESIGN.md` | Brand, content, UI rules, anti-references, and approved exceptions |
449
- | `MESSAGING.md` | Audience, positioning, proof, objections, voice, and CTA rules |
450
- | `QUALITY_GATES.md` | Evidence required for each readiness level |
451
- | `SECURITY.md` | Auth, data, dependency, secret, and threat boundaries |
452
- | `TESTING.md` | Unit, regression, smoke, visual, and release evidence |
453
- | `DEPLOYMENT.md` | Environment, release, rollback, and observability guidance |
454
- | `UPGRADE.md` | Template and dependency upgrade history |
455
-
456
- Important `.agent-kit/` assets:
457
-
458
- - `agent-roster.json`: workflow, agent, and handoff contract.
459
- - `model-routing.json`: provider-neutral model profiles.
460
- - `project-context.json` and `project-context.md`: current product and architecture context.
461
- - `corrections/`: durable project and agent rules.
462
- - `council-sessions/`: structured decisions, handoffs, outputs, and verification.
463
- - `skills/`, `prompts/`, and `checklists/`: reusable execution and review procedures.
464
- - `assistant-adapters/`: IDE-specific installation guidance.
465
- - `schemas/`: validation contracts for installed evidence.
466
-
467
- Inspect an example installation:
468
-
469
- - [Example project README](examples/next-supabase-installed/README.md)
470
- - [Example installed tree](examples/next-supabase-installed/tree.txt)
471
- - [Example audit report](examples/next-supabase-installed/audit-output.json)
472
-
473
- ## Workflow Instruction Index
474
-
475
- The kit includes 20 lifecycle and UI instruction adapters.
476
-
477
- | Goal | Instruction |
478
- | --- | --- |
479
- | Capture project context | `/setup` |
480
- | Define behavior and constraints | `/spec` |
481
- | Plan implementation and handoffs | `/plan` |
482
- | Record agent ownership changes | `/handoff` |
483
- | Build or review frontend work | `/frontend` |
484
- | Audit kit readiness | `/audit` |
485
- | Add verification evidence | `/test` |
486
- | Review code before merge | `/review` |
487
- | Review auth, data, secrets, and dependencies | `/security` |
488
- | Review public or conversion copy | `/copy` |
489
- | Verify release and rollback evidence | `/ship` |
490
- | Review template or dependency upgrades | `/upgrade` |
491
- | Detect UI quality failures | `/ui-audit` |
492
- | Improve an implemented UI | `/ui-polish` |
493
- | Repair hierarchy and layout | `/layout-cleanup` |
494
- | Verify responsive states | `/responsive-cleanup` |
495
- | Verify WCAG 2.1 AA behavior | `/accessibility-pass` |
496
- | Check product-specific visual identity | `/distinctiveness-pass` |
497
- | Critique screenshot evidence | `/screenshot-critique` |
498
- | Run a browser QA loop | `/browser-qa` |
499
-
500
- These are instruction adapters, not proof of execution. Canonical steps live in `.agent-kit/prompts/lifecycle-command-index.md` and `.agent-kit/prompts/ui-command-index.md`.
501
-
502
- ## Output And Flag Notes
503
-
504
- Use command help as the source of truth:
505
-
506
- ```bash
507
- npx agent-kit --help
508
- npx agent-kit audit --help
509
- npx agent-kit session --help
510
- npx agent-kit orchestrate --help
511
- ```
512
-
513
- Commands that expose `--json` include `init`, `audit`, `diff`, `update`, `doctor`, adapter/package validation, most session mutations, corrections, orchestrator commands, provider/MCP probes, and Studio export.
514
-
515
- Long-running server commands such as `setup` and `studio serve`, interactive credential entry, and maintainer research commands use their documented human output instead.
516
-
517
- Commands that support `--dry-run` include `init`, `update`, and `add skill`. Review each command's `--help` output rather than assuming a global flag.
518
-
519
- ## Security Defaults
520
-
521
- The installed contract requires:
522
-
523
- - Supabase RLS at the data boundary, not only UI authorization.
524
- - Service-role credentials in trusted server code only.
525
- - Input validation and safe output rendering at every boundary.
526
- - IDOR, SSRF, injection, broken-auth, upload, and misconfiguration review.
527
- - Explicit loading, empty, error, retry, and success states.
528
- - Cross-tenant denial tests for tenant-scoped data.
529
- - Dependency audit and release evidence for dependency changes.
530
- - No secrets, customer data, or private repository evidence in committed session files.
531
-
532
- ## Maintainer Verification
533
-
534
- For development of this repository:
535
-
536
- ```bash
537
- npm install
538
- npm run build
539
- npm test
540
- npm run release:check
30
+ npx agent-kit adapter validate all
541
31
  ```
542
32
 
543
- `npm run release:check` runs:
544
-
545
- - JSON and version consistency checks.
546
- - TypeScript, ESLint, and Prettier checks.
547
- - Unit and regression tests with coverage gates.
548
- - Package build and asset validation.
549
- - IDE adapter and example-install validation.
550
- - Install, Studio, setup, and audit-gate smoke tests.
551
- - Dependency audit.
552
- - CycloneDX SBOM validation.
553
- - Root and runtime package dry runs.
554
-
555
- The release workflow uses npm Trusted Publishing through GitHub Actions OIDC, creates package-rooted SBOM attestations, publishes the runtime before the root package when needed, verifies both packages from the public registry, and creates a GitHub release only after registry verification.
33
+ `agents-and-skills` is the same binary.
556
34
 
557
- Additional evidence:
35
+ ## Default agents
558
36
 
559
- - [Best-practice evidence map](BEST_PRACTICE_EVIDENCE.md)
560
- - [Supply-chain policy](SUPPLY_CHAIN.md)
561
- - [Maintainer release procedure](MAINTAINER_RELEASE.md)
562
- - [Research citation policy](RESEARCH_CITATION_POLICY.md)
563
- - [Public support policy](SUPPORT.md)
37
+ Planner · App engineer · Security · Design · QA · Copy
564
38
 
565
- ## License
39
+ ## Default skills
566
40
 
567
- MIT.
41
+ planning · nextjs-app-router · supabase-auth-rls · postgres-migrations · owasp-security-review · frontend-design · accessibility-wcag · **browser-qa** · testing-qa · product-copy · ship