@appsforgood/next-supabase-kit 0.1.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 (169) hide show
  1. package/BEST_PRACTICE_EVIDENCE.md +45 -0
  2. package/CHANGELOG.md +44 -0
  3. package/CODE_OF_CONDUCT.md +26 -0
  4. package/CONTRIBUTING.md +48 -0
  5. package/DOGFOOD.md +121 -0
  6. package/GOVERNANCE.md +45 -0
  7. package/LICENSE +21 -0
  8. package/README.md +251 -0
  9. package/REPOSITORY_SETTINGS.md +70 -0
  10. package/RESEARCH_CITATION_POLICY.md +26 -0
  11. package/SECURITY.md +29 -0
  12. package/SUPPLY_CHAIN.md +55 -0
  13. package/SUPPORT.md +28 -0
  14. package/UPGRADE.md +77 -0
  15. package/agents/deployment-observability-engineer.md +13 -0
  16. package/agents/docs-maintainer.md +17 -0
  17. package/agents/frontend-design-lead.md +22 -0
  18. package/agents/lead-architect.md +25 -0
  19. package/agents/marketing-copy-lead.md +20 -0
  20. package/agents/nextjs-engineer.md +20 -0
  21. package/agents/planner.md +20 -0
  22. package/agents/qa-engineer.md +19 -0
  23. package/agents/research-analyst.md +13 -0
  24. package/agents/security-reviewer.md +16 -0
  25. package/agents/supabase-postgres-engineer.md +19 -0
  26. package/assistant-adapters/README.md +28 -0
  27. package/assistant-adapters/claude-code-subagents.md +37 -0
  28. package/assistant-adapters/codex-agents.md +35 -0
  29. package/assistant-adapters/cursor-agent-kit.mdc +30 -0
  30. package/assistant-adapters/github-copilot-instructions.md +35 -0
  31. package/assistant-adapters/github-next-supabase.instructions.md +28 -0
  32. package/assistant-adapters/model-selection/claude-code-subagents-with-models.md +32 -0
  33. package/assistant-adapters/model-selection/codex-config.example.toml +29 -0
  34. package/assistant-adapters/model-selection/cursor-model-selection.mdc +24 -0
  35. package/assistant-adapters/model-selection/github-copilot-model-selection.md +20 -0
  36. package/checklists/accessibility.md +12 -0
  37. package/checklists/agent-council.md +13 -0
  38. package/checklists/brand-content.md +15 -0
  39. package/checklists/deployment.md +10 -0
  40. package/checklists/design-critique.md +13 -0
  41. package/checklists/frontend-distinctiveness.md +12 -0
  42. package/checklists/frontend-product-quality.md +13 -0
  43. package/checklists/frontend-quality.md +20 -0
  44. package/checklists/marketing-copy.md +11 -0
  45. package/checklists/owasp.md +12 -0
  46. package/checklists/rls.md +10 -0
  47. package/checklists/testing.md +12 -0
  48. package/checklists/upgrade.md +13 -0
  49. package/checklists/visual-regression.md +11 -0
  50. package/design-adapters/claude-design.prompt.md +27 -0
  51. package/design-adapters/figma.prompt.md +18 -0
  52. package/design-adapters/google-stitch.prompt.md +36 -0
  53. package/design-adapters/human-designer-brief.prompt.md +36 -0
  54. package/design-briefs/admin-dashboard.md +21 -0
  55. package/design-briefs/ai-workflow-product.md +25 -0
  56. package/design-briefs/community-social.md +26 -0
  57. package/design-briefs/content-app.md +21 -0
  58. package/design-briefs/ecommerce.md +25 -0
  59. package/design-briefs/education-course.md +25 -0
  60. package/design-briefs/marketplace.md +21 -0
  61. package/design-briefs/portfolio-venue.md +25 -0
  62. package/design-briefs/saas.md +21 -0
  63. package/design-briefs/tool.md +21 -0
  64. package/dist/index.d.ts +2 -0
  65. package/dist/index.js +3521 -0
  66. package/dist/index.js.map +1 -0
  67. package/examples/next-supabase-installed/.agent-kit/agent-roster.json +228 -0
  68. package/examples/next-supabase-installed/.agent-kit/manifest.json +58 -0
  69. package/examples/next-supabase-installed/.agent-kit/model-routing.json +164 -0
  70. package/examples/next-supabase-installed/.agent-kit/overrides.json +9 -0
  71. package/examples/next-supabase-installed/README.md +15 -0
  72. package/examples/next-supabase-installed/audit-output.json +336 -0
  73. package/examples/next-supabase-installed/tree.txt +38 -0
  74. package/model-routing/default-model-routing.json +164 -0
  75. package/package.json +98 -0
  76. package/profiles/admin-app.md +17 -0
  77. package/profiles/content-app.md +17 -0
  78. package/profiles/marketplace.md +17 -0
  79. package/profiles/saas.md +17 -0
  80. package/profiles/stack-next-firebase.md +25 -0
  81. package/profiles/stack-next-postgres.md +24 -0
  82. package/profiles/stack-remix-supabase.md +24 -0
  83. package/prompts/audit-project-setup.md +28 -0
  84. package/prompts/brand-content-intake.md +17 -0
  85. package/prompts/copy-review.md +15 -0
  86. package/prompts/council-session-review.md +17 -0
  87. package/prompts/creative-direction-matrix.md +22 -0
  88. package/prompts/design-critique-gate.md +28 -0
  89. package/prompts/docs-update.md +16 -0
  90. package/prompts/frontend-design-review.md +29 -0
  91. package/prompts/frontend-distinctiveness-benchmark.md +32 -0
  92. package/prompts/frontend-product-quality-scorecard.md +35 -0
  93. package/prompts/implement-feature.md +14 -0
  94. package/prompts/migration-review.md +14 -0
  95. package/prompts/screenshot-review.md +27 -0
  96. package/prompts/security-review.md +17 -0
  97. package/prompts/upgrade-review.md +18 -0
  98. package/prompts/visual-qa-plan.md +16 -0
  99. package/research/proposed-updates.md +70 -0
  100. package/research/scan-config.json +261 -0
  101. package/research/scan-plan.md +24 -0
  102. package/research/summaries/.gitkeep +1 -0
  103. package/research/summaries/agent-workflow-patterns.md +37 -0
  104. package/research/summaries/creative-design-patterns.md +38 -0
  105. package/research/summaries/design-critique-patterns.md +34 -0
  106. package/research/summaries/docs-and-agent-patterns.md +64 -0
  107. package/research/summaries/dogfood-adoption-patterns.md +33 -0
  108. package/research/summaries/frontend-design-patterns.md +64 -0
  109. package/research/summaries/frontend-distinctiveness-benchmark-patterns.md +38 -0
  110. package/research/summaries/frontend-product-quality-rubric-patterns.md +37 -0
  111. package/research/summaries/maturity-model-patterns.md +29 -0
  112. package/research/summaries/nextjs-patterns.md +65 -0
  113. package/research/summaries/repo-health-patterns.md +41 -0
  114. package/research/summaries/scan-overview.md +46 -0
  115. package/research/summaries/security-patterns.md +64 -0
  116. package/research/summaries/supabase-rls-patterns.md +54 -0
  117. package/research/summaries/supply-chain-patterns.md +38 -0
  118. package/research/summaries/testing-patterns.md +63 -0
  119. package/research/summaries/upgrade-lifecycle-patterns.md +26 -0
  120. package/research/summaries/visual-qa-patterns.md +39 -0
  121. package/rosters/next-supabase-default-council.json +228 -0
  122. package/schemas/agent-roster.schema.json +54 -0
  123. package/schemas/audit-report.schema.json +50 -0
  124. package/schemas/correction-rules.schema.json +32 -0
  125. package/schemas/council-session.schema.json +65 -0
  126. package/schemas/model-routing.schema.json +72 -0
  127. package/schemas/project-context.schema.json +94 -0
  128. package/schemas/session-event.schema.json +46 -0
  129. package/schemas/studio-session.schema.json +48 -0
  130. package/skills/accessibility-wcag.md +15 -0
  131. package/skills/agent-handoff-tracing.md +44 -0
  132. package/skills/best-practice-maturity-review.md +26 -0
  133. package/skills/content-first-design.md +50 -0
  134. package/skills/conversion-copywriting.md +38 -0
  135. package/skills/deployment-observability.md +14 -0
  136. package/skills/docs-maintainer.md +19 -0
  137. package/skills/frontend-design-system.md +68 -0
  138. package/skills/frontend-distinctiveness-benchmark.md +40 -0
  139. package/skills/frontend-product-quality-rubric.md +59 -0
  140. package/skills/landing-page-copy.md +29 -0
  141. package/skills/nextjs-app-router.md +18 -0
  142. package/skills/onboarding-empty-state-copy.md +37 -0
  143. package/skills/owasp-security-review.md +19 -0
  144. package/skills/planning-council.md +21 -0
  145. package/skills/positioning-messaging.md +42 -0
  146. package/skills/postgres-migrations.md +14 -0
  147. package/skills/product-voice-tone.md +35 -0
  148. package/skills/reference-led-design-critique.md +48 -0
  149. package/skills/supabase-auth-rls.md +20 -0
  150. package/skills/testing-qa.md +15 -0
  151. package/skills/upgrade-maintenance.md +32 -0
  152. package/skills/visual-regression-qa.md +42 -0
  153. package/templates/next-supabase/AGENTS.md +138 -0
  154. package/templates/next-supabase/AGENT_ROSTER.md +98 -0
  155. package/templates/next-supabase/ASSISTANT_ADAPTERS.md +82 -0
  156. package/templates/next-supabase/COUNCIL.md +54 -0
  157. package/templates/next-supabase/DECISIONS.md +45 -0
  158. package/templates/next-supabase/DEPLOYMENT.md +45 -0
  159. package/templates/next-supabase/DESIGN.md +171 -0
  160. package/templates/next-supabase/DOCS.md +62 -0
  161. package/templates/next-supabase/MESSAGING.md +81 -0
  162. package/templates/next-supabase/MODEL_ROUTING.md +109 -0
  163. package/templates/next-supabase/QUALITY_GATES.md +87 -0
  164. package/templates/next-supabase/SECURITY.md +54 -0
  165. package/templates/next-supabase/SKILLS.md +221 -0
  166. package/templates/next-supabase/SPEC.md +114 -0
  167. package/templates/next-supabase/STYLE_GUIDE.md +104 -0
  168. package/templates/next-supabase/TESTING.md +68 -0
  169. package/templates/next-supabase/UPGRADE.md +59 -0
@@ -0,0 +1,228 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "next-supabase-default-council",
4
+ "stack": "next-supabase",
5
+ "required": true,
6
+ "defaultWorkflow": "planning",
7
+ "principle": "Planner routes work by default; Lead Architect convenes council for core changes before implementation.",
8
+ "agents": [
9
+ {
10
+ "id": "planner",
11
+ "name": "Planner",
12
+ "file": ".agent-kit/agents/planner.md",
13
+ "defaultFor": ["planning", "roadmap", "scope", "ambiguous-request", "handoff"],
14
+ "skills": ["planning-council", "best-practice-maturity-review", "agent-handoff-tracing", "docs-maintainer", "upgrade-maintenance"],
15
+ "handsOffTo": ["lead-architect", "frontend-design-lead", "qa-engineer", "docs-maintainer"]
16
+ },
17
+ {
18
+ "id": "lead-architect",
19
+ "name": "Lead Architect",
20
+ "file": ".agent-kit/agents/lead-architect.md",
21
+ "defaultFor": ["core-change", "architecture", "cross-layer-change", "technical-decision"],
22
+ "skills": [
23
+ "planning-council",
24
+ "best-practice-maturity-review",
25
+ "agent-handoff-tracing",
26
+ "nextjs-app-router",
27
+ "supabase-auth-rls",
28
+ "postgres-migrations",
29
+ "owasp-security-review",
30
+ "upgrade-maintenance"
31
+ ],
32
+ "handsOffTo": ["supabase-postgres-engineer", "nextjs-engineer", "security-reviewer", "qa-engineer", "docs-maintainer"]
33
+ },
34
+ {
35
+ "id": "supabase-postgres-engineer",
36
+ "name": "Supabase/Postgres Engineer",
37
+ "file": ".agent-kit/agents/supabase-postgres-engineer.md",
38
+ "defaultFor": ["schema", "migration", "rls", "auth", "storage", "sql"],
39
+ "skills": ["supabase-auth-rls", "postgres-migrations", "owasp-security-review"],
40
+ "handsOffTo": ["security-reviewer", "qa-engineer", "docs-maintainer", "deployment-observability-engineer"]
41
+ },
42
+ {
43
+ "id": "nextjs-engineer",
44
+ "name": "Next.js Engineer",
45
+ "file": ".agent-kit/agents/nextjs-engineer.md",
46
+ "defaultFor": ["app-router", "server-components", "route-handler", "server-action", "forms", "ui-state"],
47
+ "skills": ["nextjs-app-router", "content-first-design", "frontend-design-system", "accessibility-wcag", "testing-qa"],
48
+ "handsOffTo": ["frontend-design-lead", "security-reviewer", "qa-engineer", "docs-maintainer"]
49
+ },
50
+ {
51
+ "id": "frontend-design-lead",
52
+ "name": "Frontend Design Lead",
53
+ "file": ".agent-kit/agents/frontend-design-lead.md",
54
+ "defaultFor": [
55
+ "brand-content-intake",
56
+ "creative-direction",
57
+ "reference-led-critique",
58
+ "distinctiveness-benchmark",
59
+ "product-quality-scorecard",
60
+ "visual-design",
61
+ "component-system",
62
+ "visual-regression",
63
+ "accessibility",
64
+ "anti-generic-ui",
65
+ "screenshot-review"
66
+ ],
67
+ "skills": [
68
+ "content-first-design",
69
+ "reference-led-design-critique",
70
+ "frontend-distinctiveness-benchmark",
71
+ "frontend-product-quality-rubric",
72
+ "frontend-design-system",
73
+ "visual-regression-qa",
74
+ "accessibility-wcag"
75
+ ],
76
+ "handsOffTo": ["marketing-copy-lead", "nextjs-engineer", "qa-engineer", "docs-maintainer"]
77
+ },
78
+ {
79
+ "id": "marketing-copy-lead",
80
+ "name": "Marketing Copy Lead",
81
+ "file": ".agent-kit/agents/marketing-copy-lead.md",
82
+ "defaultFor": [
83
+ "copy",
84
+ "copywriting",
85
+ "marketing",
86
+ "positioning",
87
+ "messaging",
88
+ "value-proposition",
89
+ "landing-page-copy",
90
+ "headline",
91
+ "cta",
92
+ "conversion",
93
+ "onboarding-copy",
94
+ "empty-state-copy",
95
+ "voice-tone",
96
+ "pricing-copy"
97
+ ],
98
+ "skills": [
99
+ "positioning-messaging",
100
+ "conversion-copywriting",
101
+ "landing-page-copy",
102
+ "product-voice-tone",
103
+ "onboarding-empty-state-copy"
104
+ ],
105
+ "handsOffTo": ["frontend-design-lead", "nextjs-engineer", "qa-engineer", "docs-maintainer"]
106
+ },
107
+ {
108
+ "id": "security-reviewer",
109
+ "name": "Security Reviewer",
110
+ "file": ".agent-kit/agents/security-reviewer.md",
111
+ "defaultFor": ["security-review", "auth-boundary", "data-mutation", "external-call", "dependency", "secret"],
112
+ "skills": ["owasp-security-review", "supabase-auth-rls", "postgres-migrations"],
113
+ "handsOffTo": ["lead-architect", "qa-engineer", "docs-maintainer", "deployment-observability-engineer"]
114
+ },
115
+ {
116
+ "id": "qa-engineer",
117
+ "name": "QA Engineer",
118
+ "file": ".agent-kit/agents/qa-engineer.md",
119
+ "defaultFor": ["testing", "regression", "smoke", "acceptance-evidence"],
120
+ "skills": ["testing-qa", "best-practice-maturity-review", "visual-regression-qa", "accessibility-wcag"],
121
+ "handsOffTo": ["docs-maintainer", "deployment-observability-engineer"]
122
+ },
123
+ {
124
+ "id": "docs-maintainer",
125
+ "name": "Documentation Maintainer",
126
+ "file": ".agent-kit/agents/docs-maintainer.md",
127
+ "defaultFor": ["docs", "decisions", "spec", "style-guide", "roadmap", "upgrade-evidence"],
128
+ "skills": ["docs-maintainer", "planning-council", "best-practice-maturity-review", "agent-handoff-tracing", "upgrade-maintenance"],
129
+ "handsOffTo": ["deployment-observability-engineer"]
130
+ },
131
+ {
132
+ "id": "deployment-observability-engineer",
133
+ "name": "Deployment/Observability Engineer",
134
+ "file": ".agent-kit/agents/deployment-observability-engineer.md",
135
+ "defaultFor": ["release", "deployment", "environment", "logs", "rollback", "monitoring"],
136
+ "skills": ["deployment-observability", "testing-qa", "upgrade-maintenance"],
137
+ "handsOffTo": ["qa-engineer", "docs-maintainer"]
138
+ }
139
+ ],
140
+ "workflows": [
141
+ {
142
+ "id": "planning",
143
+ "triggers": ["plan", "roadmap", "phase", "scope", "what should we do", "break this down"],
144
+ "sequence": ["planner", "lead-architect", "qa-engineer", "docs-maintainer"],
145
+ "council": ["planner", "lead-architect"],
146
+ "requiredOutputs": ["phased checklist", "maturity target", "affected layers", "preserved capabilities", "verification plan", "docs impact"]
147
+ },
148
+ {
149
+ "id": "core-change",
150
+ "triggers": ["schema", "auth", "rls", "api", "route handler", "server action", "dependency", "upgrade", "release workflow", "package behavior", "cross-layer"],
151
+ "sequence": [
152
+ "planner",
153
+ "lead-architect",
154
+ "supabase-postgres-engineer",
155
+ "nextjs-engineer",
156
+ "security-reviewer",
157
+ "qa-engineer",
158
+ "docs-maintainer",
159
+ "deployment-observability-engineer"
160
+ ],
161
+ "council": ["lead-architect", "security-reviewer", "qa-engineer", "docs-maintainer"],
162
+ "requiredOutputs": [
163
+ "architecture decision",
164
+ "maturity evidence",
165
+ "security review",
166
+ "test evidence",
167
+ "doc updates",
168
+ "upgrade evidence when applicable",
169
+ "release or rollback notes"
170
+ ]
171
+ },
172
+ {
173
+ "id": "frontend-change",
174
+ "triggers": ["screen", "component", "layout", "design", "responsive", "accessibility", "screenshot"],
175
+ "sequence": ["planner", "frontend-design-lead", "marketing-copy-lead", "nextjs-engineer", "qa-engineer", "docs-maintainer"],
176
+ "council": ["frontend-design-lead", "marketing-copy-lead", "qa-engineer"],
177
+ "requiredOutputs": [
178
+ "brand/content intake",
179
+ "copy/value-proposition brief when public-facing or conversion-facing",
180
+ "creative-direction rationale",
181
+ "reference-set evidence",
182
+ "distinctiveness benchmark",
183
+ "design critique verdict",
184
+ "frontend product-quality scorecard",
185
+ "domain-specific UI rationale",
186
+ "visual QA evidence",
187
+ "state coverage",
188
+ "accessibility checks",
189
+ "desktop/mobile verification"
190
+ ]
191
+ },
192
+ {
193
+ "id": "marketing-copy",
194
+ "triggers": ["copy", "copywriting", "marketing", "positioning", "messaging", "value prop", "value proposition", "landing page", "headline", "cta", "conversion", "onboarding", "empty state", "pricing"],
195
+ "sequence": ["planner", "marketing-copy-lead", "frontend-design-lead", "qa-engineer", "docs-maintainer"],
196
+ "council": ["marketing-copy-lead", "frontend-design-lead"],
197
+ "requiredOutputs": [
198
+ "discovery questions answered or explicitly marked unknown",
199
+ "audience and segment assumptions",
200
+ "problem, pain, desired outcome, and value proposition",
201
+ "differentiators, proof points, objections, and counter-messaging",
202
+ "voice/tone guidance",
203
+ "page or flow copy inventory",
204
+ "CTA and conversion hypothesis",
205
+ "handoff notes for design and implementation"
206
+ ]
207
+ },
208
+ {
209
+ "id": "security-review",
210
+ "triggers": ["security", "owasp", "secret", "token", "permission", "ssrf", "idor", "dependency"],
211
+ "sequence": ["planner", "security-reviewer", "lead-architect", "qa-engineer", "docs-maintainer"],
212
+ "council": ["security-reviewer", "lead-architect"],
213
+ "requiredOutputs": ["finding severity", "attack path", "mitigation", "verification evidence"]
214
+ }
215
+ ],
216
+ "handoffRules": [
217
+ "Each agent must state its decision, risk, and required next handoff before passing work on.",
218
+ "Planner must classify meaningful work against QUALITY_GATES.md as baseline, strong, or best-practice before completion is claimed.",
219
+ "Meaningful multi-agent work must record council-session evidence in COUNCIL.md or a structured record that follows .agent-kit/schemas/council-session.schema.json.",
220
+ "Planner starts planning and ambiguous requests by default.",
221
+ "Lead Architect must review core changes before implementation.",
222
+ "Frontend Design Lead must record reference-set evidence, anti-references, a design critique verdict, a distinctiveness benchmark, and a frontend product-quality scorecard before accepting significant frontend work.",
223
+ "Marketing Copy Lead must ask discovery questions and record audience, pain, outcome, value proposition, proof, objections, voice/tone, and conversion goal before accepting public-facing or conversion-facing copy.",
224
+ "Security Reviewer must review auth, data mutation, external-call, dependency, secret, and release-risk changes.",
225
+ "QA Engineer must verify behavior changes before completion.",
226
+ "Documentation Maintainer must update living markdown when behavior, architecture, release, or standards change."
227
+ ]
228
+ }
@@ -0,0 +1,58 @@
1
+ {
2
+ "packageName": "@agent-skills/next-supabase-kit",
3
+ "packageVersion": "0.1.0",
4
+ "stack": "next-supabase",
5
+ "installedAt": "2026-06-07T11:22:09.937Z",
6
+ "docs": [
7
+ "AGENTS.md",
8
+ "AGENT_ROSTER.md",
9
+ "ASSISTANT_ADAPTERS.md",
10
+ "COUNCIL.md",
11
+ "SKILLS.md",
12
+ "SPEC.md",
13
+ "DECISIONS.md",
14
+ "DOCS.md",
15
+ "DESIGN.md",
16
+ "MESSAGING.md",
17
+ "MODEL_ROUTING.md",
18
+ "QUALITY_GATES.md",
19
+ "STYLE_GUIDE.md",
20
+ "SECURITY.md",
21
+ "TESTING.md",
22
+ "DEPLOYMENT.md",
23
+ "UPGRADE.md"
24
+ ],
25
+ "libraryFolders": [
26
+ "agents",
27
+ "skills",
28
+ "prompts",
29
+ "checklists",
30
+ "design-adapters",
31
+ "assistant-adapters",
32
+ "design-briefs",
33
+ "profiles",
34
+ "rosters",
35
+ "schemas"
36
+ ],
37
+ "agentRoster": ".agent-kit/agent-roster.json",
38
+ "modelRouting": ".agent-kit/model-routing.json",
39
+ "templateHashes": {
40
+ "AGENTS.md": "f9bb80554334f8466d4d0c0c5ae0fa1ed0e7fd5060ef28802e97ed96f76c1a98",
41
+ "AGENT_ROSTER.md": "fb88198d0a5f911ec8cbaa2850c1a47e1dbd1fe2c8144f9ce633bbfc1ec414d3",
42
+ "ASSISTANT_ADAPTERS.md": "d6154a64d77f37cdcfa1f6e59c7d30fc0728c07553551ea77c4fe8d14f1c7365",
43
+ "COUNCIL.md": "40bec9051664c9c38b8360ee16f21b5e4716030d19c493cdec67395ab06528e1",
44
+ "SKILLS.md": "3c3c2eb40438a42026479dccac7bbf084ba22e2d758c425dff59385d05eae3bd",
45
+ "SPEC.md": "8a12bae351b0ceda50dfb2e63ec68767e27f68ffdc15f25bb21bba189855578e",
46
+ "DECISIONS.md": "89b1c8d70450dae83d8b877d5c6acb6517a3555321fdc6fb7259726e06beebab",
47
+ "DOCS.md": "40a3f03278785b7edc8f43fc0c9a72f2ab33f966efe391039cda27c33b6899f1",
48
+ "DESIGN.md": "70f52e539073e7c4c1d37e63c9a21672a3221d2931d3ff284058dabf60243530",
49
+ "MESSAGING.md": "f1f7c0f11796820b60bb44e42a65749763f7167944ba6acf092a1cf7b59e50de",
50
+ "MODEL_ROUTING.md": "0835335a03c1c24275e4a1ddb7905062858035079f9010c14a6a9d70ce7831a7",
51
+ "QUALITY_GATES.md": "0de13d3add75dfa0c01b957cf6b3a1ae552dd7dab2a2e1c17be74263b6b6950d",
52
+ "STYLE_GUIDE.md": "dcaed2d7885e920060d74e4ba5a8d548a08a729a3efc178434a17b5a182fb628",
53
+ "SECURITY.md": "f046e4dc794f49700ddee4cb866e2ba1983a1b71268f2e244892d615b41714f8",
54
+ "TESTING.md": "183f9ca56b95f6390bcfda75a3da3bd22298c8c6ff0d815982022b2af74da75d",
55
+ "DEPLOYMENT.md": "c33d949c2b1850f8ee6c38e5ec565325c3d47f4daac13b81c75e1b35655ea174",
56
+ "UPGRADE.md": "e8393975a7a46c2020cd6afb4c4b4d2cc17807fbec1d33f52b7d159f4eb1e3a0"
57
+ }
58
+ }
@@ -0,0 +1,164 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "next-supabase-default-model-routing",
4
+ "stack": "next-supabase",
5
+ "reviewedAt": "2026-06-03",
6
+ "reviewCadence": "Review quarterly or whenever the active IDE/model provider changes model availability.",
7
+ "principle": "Select model depth by agent responsibility. Keep role behavior in the roster and skills; keep tool-specific model names in dated adapter setup notes.",
8
+ "profiles": [
9
+ {
10
+ "id": "fast-targeted",
11
+ "label": "Fast Targeted",
12
+ "intent": "Use for narrow edits, doc cleanup, simple command interpretation, and low-risk repeated checks.",
13
+ "reasoningEffort": "low",
14
+ "contextWindow": "medium",
15
+ "latency": "low",
16
+ "cost": "low",
17
+ "preferredFor": ["docs-maintainer", "deployment-observability-engineer"]
18
+ },
19
+ {
20
+ "id": "balanced-reasoning",
21
+ "label": "Balanced Reasoning",
22
+ "intent": "Use for planning, normal implementation, review synthesis, and tasks where speed and judgment both matter.",
23
+ "reasoningEffort": "medium",
24
+ "contextWindow": "large",
25
+ "latency": "medium",
26
+ "cost": "medium",
27
+ "preferredFor": ["planner", "nextjs-engineer", "qa-engineer"]
28
+ },
29
+ {
30
+ "id": "coding-large-context",
31
+ "label": "Coding Large Context",
32
+ "intent": "Use for multi-file Next.js implementation, Server Component boundaries, form flows, and repo-wide code changes.",
33
+ "reasoningEffort": "medium",
34
+ "contextWindow": "large",
35
+ "latency": "medium",
36
+ "cost": "medium",
37
+ "preferredFor": ["nextjs-engineer"]
38
+ },
39
+ {
40
+ "id": "deep-reasoning-large-context",
41
+ "label": "Deep Reasoning Large Context",
42
+ "intent": "Use for architecture, cross-layer changes, migrations, security-sensitive work, and ambiguous decisions with high blast radius.",
43
+ "reasoningEffort": "high",
44
+ "contextWindow": "very-large",
45
+ "latency": "high",
46
+ "cost": "high",
47
+ "preferredFor": ["lead-architect", "security-reviewer", "supabase-postgres-engineer"]
48
+ },
49
+ {
50
+ "id": "creative-vision-large-context",
51
+ "label": "Creative Vision Large Context",
52
+ "intent": "Use for frontend creative direction, screenshot critique, content-first design, distinctiveness benchmarking, and product-quality review.",
53
+ "reasoningEffort": "high",
54
+ "contextWindow": "large",
55
+ "latency": "medium",
56
+ "cost": "medium",
57
+ "preferredFor": ["frontend-design-lead", "marketing-copy-lead"]
58
+ }
59
+ ],
60
+ "agentRoutes": [
61
+ {
62
+ "agentId": "planner",
63
+ "profileId": "balanced-reasoning",
64
+ "defaultEffort": "medium",
65
+ "escalationProfileId": "deep-reasoning-large-context",
66
+ "notes": "Escalate when the plan changes architecture, auth, data model, release workflow, or public package behavior."
67
+ },
68
+ {
69
+ "agentId": "lead-architect",
70
+ "profileId": "deep-reasoning-large-context",
71
+ "defaultEffort": "high",
72
+ "notes": "Use for core-change council review and cross-layer decisions."
73
+ },
74
+ {
75
+ "agentId": "supabase-postgres-engineer",
76
+ "profileId": "deep-reasoning-large-context",
77
+ "defaultEffort": "high",
78
+ "notes": "Use high reasoning for schema, RLS, migration ordering, rollback, and authorization boundaries."
79
+ },
80
+ {
81
+ "agentId": "nextjs-engineer",
82
+ "profileId": "coding-large-context",
83
+ "defaultEffort": "medium",
84
+ "escalationProfileId": "deep-reasoning-large-context",
85
+ "notes": "Escalate when server/client boundaries, caching, auth, or data mutation behavior is uncertain."
86
+ },
87
+ {
88
+ "agentId": "frontend-design-lead",
89
+ "profileId": "creative-vision-large-context",
90
+ "defaultEffort": "high",
91
+ "notes": "Use with screenshots, reference sets, content inventory, and product-specific design evidence."
92
+ },
93
+ {
94
+ "agentId": "marketing-copy-lead",
95
+ "profileId": "creative-vision-large-context",
96
+ "defaultEffort": "high",
97
+ "escalationProfileId": "deep-reasoning-large-context",
98
+ "notes": "Use for positioning, value proposition, conversion copy, voice/tone, proof review, and public-facing copy handoff."
99
+ },
100
+ {
101
+ "agentId": "security-reviewer",
102
+ "profileId": "deep-reasoning-large-context",
103
+ "defaultEffort": "high",
104
+ "notes": "Use high reasoning for OWASP, IDOR, SSRF, injection, broken auth, dependency, secret, and release-risk review."
105
+ },
106
+ {
107
+ "agentId": "qa-engineer",
108
+ "profileId": "balanced-reasoning",
109
+ "defaultEffort": "medium",
110
+ "escalationProfileId": "deep-reasoning-large-context",
111
+ "notes": "Escalate for flaky tests, concurrency, auth flows, visual regression, or hard-to-reproduce bugs."
112
+ },
113
+ {
114
+ "agentId": "docs-maintainer",
115
+ "profileId": "fast-targeted",
116
+ "defaultEffort": "low",
117
+ "escalationProfileId": "balanced-reasoning",
118
+ "notes": "Use balanced reasoning when docs encode decisions, migration order, or security-sensitive setup."
119
+ },
120
+ {
121
+ "agentId": "deployment-observability-engineer",
122
+ "profileId": "fast-targeted",
123
+ "defaultEffort": "low",
124
+ "escalationProfileId": "balanced-reasoning",
125
+ "notes": "Escalate for release gates, rollback paths, env var review, logs, or production incidents."
126
+ }
127
+ ],
128
+ "toolSurfaces": [
129
+ {
130
+ "tool": "Codex",
131
+ "instructionSurface": "AGENTS.md, .codex/config.toml, and optional .codex/agents/*.toml custom agents",
132
+ "modelSelection": "Default model in config.toml, temporary /model or --model selection, and optional custom-agent model/model_reasoning_effort fields",
133
+ "enforcement": "partial",
134
+ "adapter": ".agent-kit/assistant-adapters/model-selection/codex-config.example.toml"
135
+ },
136
+ {
137
+ "tool": "Claude Code",
138
+ "instructionSurface": "CLAUDE.md and .claude/agents/*.md project subagents",
139
+ "modelSelection": "Subagent frontmatter can document or select model where supported by the installed Claude Code version",
140
+ "enforcement": "partial",
141
+ "adapter": ".agent-kit/assistant-adapters/model-selection/claude-code-subagents-with-models.md"
142
+ },
143
+ {
144
+ "tool": "Cursor",
145
+ "instructionSurface": ".cursor/rules/*.mdc",
146
+ "modelSelection": "Use Cursor model picker or team setting; project rules advise which profile to pick but do not force the picker",
147
+ "enforcement": "advisory",
148
+ "adapter": ".agent-kit/assistant-adapters/model-selection/cursor-model-selection.mdc"
149
+ },
150
+ {
151
+ "tool": "GitHub Copilot",
152
+ "instructionSurface": ".github/copilot-instructions.md and .github/instructions/*.instructions.md",
153
+ "modelSelection": "Use Copilot chat or coding-agent model selection where available; repo instructions advise but do not force model selection",
154
+ "enforcement": "advisory",
155
+ "adapter": ".agent-kit/assistant-adapters/model-selection/github-copilot-model-selection.md"
156
+ }
157
+ ],
158
+ "updatePolicy": [
159
+ "Treat model names as dated recommendations, not permanent product truth.",
160
+ "Do not store API keys, tokens, billing data, or private model entitlement notes in model-routing files.",
161
+ "When model availability changes, update adapter examples, MODEL_ROUTING.md, DECISIONS.md, and audit tests in the same change.",
162
+ "If an IDE cannot enforce per-agent model choice, record that limitation in ASSISTANT_ADAPTERS.md instead of pretending the package can force it."
163
+ ]
164
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "templates": {
3
+ "AGENTS.md": {
4
+ "reason": "Project keeps a mature custom agent roster and only imports new kit roles selectively.",
5
+ "owner": "engineering",
6
+ "reviewedAt": "2026-06-02"
7
+ }
8
+ }
9
+ }
@@ -0,0 +1,15 @@
1
+ # Example Installed Output
2
+
3
+ This directory shows the expected shape after running:
4
+
5
+ ```bash
6
+ npx @agent-skills/next-supabase-kit init --stack next-supabase
7
+ npx @agent-skills/next-supabase-kit audit --json
8
+ npx @agent-skills/next-supabase-kit audit --min-readiness baseline-setup
9
+ ```
10
+
11
+ The example is intentionally compact. It documents the generated structure, representative manifest metadata, Cursor adapter rules under `.cursor/rules/`, and expected audit shape without duplicating every template file. `npm run examples:check` verifies that these committed example files still match a clean install from the current built CLI.
12
+
13
+ The installed `.agent-kit/agent-roster.json` is the machine-readable default council contract used by agents and validated by `agent-kit audit`. New installs also include `COUNCIL.md`, `ASSISTANT_ADAPTERS.md`, `MODEL_ROUTING.md`, `UPGRADE.md`, `.agent-kit/model-routing.json`, `.agent-kit/assistant-adapters/`, `.agent-kit/schemas/`, `DESIGN.md`, and `QUALITY_GATES.md` so handoffs, tool-specific assistant activation, model selection, upgrade review, frontend brand/content intake, reference-led critique, product-quality scoring, creative direction, visual QA, and maturity evidence are explicit before implementation is accepted. Optional `.agent-kit/council-sessions/*.json` records are validated when present.
14
+
15
+ The sample audit intentionally reports `readiness.level: baseline-setup` with two warnings. A fresh install still contains starter placeholders and unverified assistant/model-selection rows; downstream projects should replace those with real project evidence before claiming strong or best-practice maturity.