@appsforgood/next-supabase-kit 0.4.1 → 0.4.3
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.
- package/CHANGELOG.md +15 -0
- package/README.md +2 -1
- package/UPGRADE.md +23 -0
- package/USER_GUIDE.html +14 -7
- package/USER_GUIDE.md +6 -5
- package/agents/app-engineer/agent.md +2 -0
- package/dist/index.js +319 -242
- package/dist/index.js.map +1 -1
- package/examples/next-supabase-installed/.agent-kit/manifest.json +25 -25
- package/examples/next-supabase-installed/.antigravity/runtime-skills/deslop/SKILL.md +7 -1
- package/examples/next-supabase-installed/.antigravity/runtime-skills/frontend-design/SKILL.md +3 -1
- package/examples/next-supabase-installed/.antigravity/runtime-skills/nextjs-app-router/SKILL.md +29 -9
- package/examples/next-supabase-installed/.antigravity/runtime-skills/owasp-security-review/SKILL.md +31 -9
- package/examples/next-supabase-installed/.antigravity/runtime-skills/planning/SKILL.md +11 -5
- package/examples/next-supabase-installed/.antigravity/runtime-skills/postgres-migrations/SKILL.md +25 -7
- package/examples/next-supabase-installed/.antigravity/runtime-skills/supabase-auth-rls/SKILL.md +41 -9
- package/examples/next-supabase-installed/.antigravity/runtime-skills/testing-qa/SKILL.md +5 -3
- package/examples/next-supabase-installed/.claude/agents/app-engineer.md +2 -0
- package/examples/next-supabase-installed/.codex/agents/app-engineer.toml +2 -0
- package/examples/next-supabase-installed/.cursor/agents/app-engineer.md +2 -0
- package/examples/next-supabase-installed/.cursor/skills/deslop/SKILL.md +7 -1
- package/examples/next-supabase-installed/.cursor/skills/frontend-design/SKILL.md +3 -1
- package/examples/next-supabase-installed/.cursor/skills/nextjs-app-router/SKILL.md +29 -9
- package/examples/next-supabase-installed/.cursor/skills/owasp-security-review/SKILL.md +31 -9
- package/examples/next-supabase-installed/.cursor/skills/planning/SKILL.md +11 -5
- package/examples/next-supabase-installed/.cursor/skills/postgres-migrations/SKILL.md +25 -7
- package/examples/next-supabase-installed/.cursor/skills/supabase-auth-rls/SKILL.md +41 -9
- package/examples/next-supabase-installed/.cursor/skills/testing-qa/SKILL.md +5 -3
- package/examples/next-supabase-installed/USER_GUIDE.html +14 -7
- package/examples/next-supabase-installed/USER_GUIDE.md +6 -5
- package/examples/next-supabase-installed/skills/deslop/SKILL.md +7 -1
- package/examples/next-supabase-installed/skills/frontend-design/SKILL.md +3 -1
- package/examples/next-supabase-installed/skills/nextjs-app-router/SKILL.md +29 -9
- package/examples/next-supabase-installed/skills/owasp-security-review/SKILL.md +31 -9
- package/examples/next-supabase-installed/skills/planning/SKILL.md +11 -5
- package/examples/next-supabase-installed/skills/postgres-migrations/SKILL.md +25 -7
- package/examples/next-supabase-installed/skills/supabase-auth-rls/SKILL.md +41 -9
- package/examples/next-supabase-installed/skills/testing-qa/SKILL.md +5 -3
- package/package.json +1 -1
- package/research/agent-skill-gap-report.md +4 -0
- package/skills/deslop/SKILL.md +7 -1
- package/skills/frontend-design/SKILL.md +3 -1
- package/skills/nextjs-app-router/SKILL.md +29 -9
- package/skills/owasp-security-review/SKILL.md +31 -9
- package/skills/planning/SKILL.md +11 -5
- package/skills/postgres-migrations/SKILL.md +25 -7
- package/skills/supabase-auth-rls/SKILL.md +41 -9
- package/skills/testing-qa/SKILL.md +5 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.4.3
|
|
4
|
+
|
|
5
|
+
- `doctor` fails if a default agent drops packaged `requiredTools` (QA/Design can no longer drop screenshot tools and still pass).
|
|
6
|
+
- `adapter validate all` validates the IDEs in `.agent-kit/manifest.json` `activated`, not every IDE the kit supports. Named targets still check that one IDE.
|
|
7
|
+
- `loadCatalog` caches per package root so tests and nested installs do not reuse the wrong catalog.
|
|
8
|
+
- `agent-kit guide` prints the local `USER_GUIDE.html` path. GitHub shows that file as source; open it in a browser.
|
|
9
|
+
- `planning` and `testing-qa` name the domain skills they must not replace.
|
|
10
|
+
- Visual P0s: reject left accent bars on selected rows and status wells. Selection is radio/check + tint. Same family as accent-border cards / glow rails, not a second prompt. `USER_GUIDE.html` fail-closed well is a flat tint, not a left stroke.
|
|
11
|
+
- Version Packages keeps a drafted next-version `CHANGELOG.md` heading instead of failing when `package.json` is still on the previous version.
|
|
12
|
+
|
|
13
|
+
## 0.4.2
|
|
14
|
+
|
|
15
|
+
- Uplift default domain skills so they are playbooks, not checklists: `nextjs-app-router` (App Router, async request APIs, `proxy.ts`), `supabase-auth-rls` (SSR clients, `getUser()`, service role, RLS), `postgres-migrations` (RLS in the same change), `owasp-security-review` (Top 10 mapped onto Actions/RLS/SSRF).
|
|
16
|
+
- Planner’s `planning` skill names which of those skills the owner must run. App engineer must not skip them for a “small” route.
|
|
17
|
+
|
|
3
18
|
## 0.4.1
|
|
4
19
|
|
|
5
20
|
- Catch-up release: npm `0.4.0` was the simplify cut; later GitHub work (`deslop`, frontend-design, catalog pointers, leftover `doctor`, HTML user guide) was not on npm.
|
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ QA does not review user-visible work from code alone. A change is not done until
|
|
|
10
10
|
npx --yes @appsforgood/next-supabase-kit init --activate all
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Then open **[USER_GUIDE.html](USER_GUIDE.html)** (markdown twin: [USER_GUIDE.md](USER_GUIDE.md)). That guide is how you use the pack.
|
|
13
|
+
Then open **[USER_GUIDE.html](USER_GUIDE.html)** in a browser (markdown twin: [USER_GUIDE.md](USER_GUIDE.md)). GitHub shows the HTML as source; `npx agent-kit guide` prints the local path. That guide is how you use the pack.
|
|
14
14
|
|
|
15
15
|
## What you get
|
|
16
16
|
|
|
@@ -23,6 +23,7 @@ Then open **[USER_GUIDE.html](USER_GUIDE.html)** (markdown twin: [USER_GUIDE.md]
|
|
|
23
23
|
|
|
24
24
|
```bash
|
|
25
25
|
npx agent-kit init --activate all
|
|
26
|
+
npx agent-kit guide
|
|
26
27
|
npx agent-kit doctor
|
|
27
28
|
npx agent-kit add skill debug
|
|
28
29
|
npx agent-kit add agent lead-architect
|
package/UPGRADE.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# Upgrade Guide
|
|
2
2
|
|
|
3
|
+
## 0.4.3
|
|
4
|
+
|
|
5
|
+
`0.4.3` does not change installed agent files unless you stripped `requiredTools`. `doctor` now fails that. `adapter validate all` on a Cursor-only install checks Cursor only.
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npx @appsforgood/next-supabase-kit@0.4.3 update
|
|
9
|
+
npx @appsforgood/next-supabase-kit@0.4.3 doctor
|
|
10
|
+
npx @appsforgood/next-supabase-kit@0.4.3 guide
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Open `USER_GUIDE.html` in a browser. GitHub shows it as source.
|
|
14
|
+
|
|
15
|
+
## 0.4.2
|
|
16
|
+
|
|
17
|
+
`0.4.1` is the published simplify catch-up. `0.4.2` rewrites the Next.js and Supabase domain skills. `update` refreshes pristine skill files; local edits win or land in conflicts.
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
npx @appsforgood/next-supabase-kit@0.4.2 update
|
|
21
|
+
npx @appsforgood/next-supabase-kit@0.4.2 doctor
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Do not re-init. `update` still never deletes leftover 0.3 council docs.
|
|
25
|
+
|
|
3
26
|
## 0.4.1
|
|
4
27
|
|
|
5
28
|
npm `0.4.0` was the simplify cut. `0.4.1` adds `deslop`, the 4-token `frontend-design` skill, catalog pointers on agents, and leftover-0.3 `doctor` warnings. Those leftover warnings are not a failure. `update` still never deletes old council docs.
|
package/USER_GUIDE.html
CHANGED
|
@@ -220,12 +220,15 @@
|
|
|
220
220
|
}
|
|
221
221
|
|
|
222
222
|
.rule {
|
|
223
|
-
border-left: 4px solid var(--safelight);
|
|
224
223
|
padding: 0.7rem 0.9rem;
|
|
225
|
-
background: #
|
|
224
|
+
background: #23160f;
|
|
226
225
|
margin: 0 0 1.4rem;
|
|
227
226
|
}
|
|
228
227
|
|
|
228
|
+
.rule strong {
|
|
229
|
+
color: var(--safelight);
|
|
230
|
+
}
|
|
231
|
+
|
|
229
232
|
.steps {
|
|
230
233
|
display: grid;
|
|
231
234
|
gap: 0.85rem;
|
|
@@ -563,23 +566,23 @@
|
|
|
563
566
|
<tbody>
|
|
564
567
|
<tr>
|
|
565
568
|
<td><code>planning</code></td>
|
|
566
|
-
<td>Ambiguous work; pick an owner</td>
|
|
569
|
+
<td>Ambiguous work; pick an owner and which skill they run</td>
|
|
567
570
|
</tr>
|
|
568
571
|
<tr>
|
|
569
572
|
<td><code>nextjs-app-router</code></td>
|
|
570
|
-
<td>
|
|
573
|
+
<td>App Router, Server vs Client, actions, <code>proxy.ts</code></td>
|
|
571
574
|
</tr>
|
|
572
575
|
<tr>
|
|
573
576
|
<td><code>supabase-auth-rls</code></td>
|
|
574
|
-
<td>Auth, RLS, service role</td>
|
|
577
|
+
<td>Auth, RLS, service role, Storage</td>
|
|
575
578
|
</tr>
|
|
576
579
|
<tr>
|
|
577
580
|
<td><code>postgres-migrations</code></td>
|
|
578
|
-
<td>Schema
|
|
581
|
+
<td>Schema, constraints, RLS in the same change</td>
|
|
579
582
|
</tr>
|
|
580
583
|
<tr>
|
|
581
584
|
<td><code>owasp-security-review</code></td>
|
|
582
|
-
<td>Mutations, uploads, secrets</td>
|
|
585
|
+
<td>Mutations, uploads, SSRF, secrets</td>
|
|
583
586
|
</tr>
|
|
584
587
|
<tr>
|
|
585
588
|
<td><code>frontend-design</code></td>
|
|
@@ -763,6 +766,10 @@ npx agent-kit update</pre>
|
|
|
763
766
|
<td>QA finished from the diff</td>
|
|
764
767
|
<td>Reject it. Re-run with the good QA prompt.</td>
|
|
765
768
|
</tr>
|
|
769
|
+
<tr>
|
|
770
|
+
<td>GitHub shows this page as code</td>
|
|
771
|
+
<td>Open <code>USER_GUIDE.html</code> in a browser, or run <code>npx agent-kit guide</code>. GitHub does not render the layout.</td>
|
|
772
|
+
</tr>
|
|
766
773
|
<tr>
|
|
767
774
|
<td><code>doctor</code> fails the guide</td>
|
|
768
775
|
<td>The screenshot fail-closed sentence must stay in <code>USER_GUIDE.md</code> and this page.</td>
|
package/USER_GUIDE.md
CHANGED
|
@@ -82,11 +82,11 @@ Do not ask one chat to be all six. Planner names the next specialist. It does no
|
|
|
82
82
|
|
|
83
83
|
| Skill | Use when |
|
|
84
84
|
| --- | --- |
|
|
85
|
-
| `planning` | Ambiguous work; pick an owner |
|
|
86
|
-
| `nextjs-app-router` |
|
|
87
|
-
| `supabase-auth-rls` | Auth, RLS, service role |
|
|
88
|
-
| `postgres-migrations` | Schema
|
|
89
|
-
| `owasp-security-review` | Mutations, uploads, secrets |
|
|
85
|
+
| `planning` | Ambiguous work; pick an owner and which skill they run |
|
|
86
|
+
| `nextjs-app-router` | App Router, Server vs Client, actions, `proxy.ts` |
|
|
87
|
+
| `supabase-auth-rls` | Auth, RLS, service role, Storage |
|
|
88
|
+
| `postgres-migrations` | Schema, constraints, RLS in the same change |
|
|
89
|
+
| `owasp-security-review` | Mutations, uploads, SSRF, secrets |
|
|
90
90
|
| `frontend-design` | Layout, simple palette, anti-generic UI |
|
|
91
91
|
| `accessibility-wcag` | Keyboard, contrast, labels |
|
|
92
92
|
| `browser-qa` | Any screen. Required for QA of UI |
|
|
@@ -179,5 +179,6 @@ Pristine files refresh. Local edits win or land in `.agent-kit/conflicts/`. Do n
|
|
|
179
179
|
| Skill not triggering | Mention the skill name (`browser-qa`) or `@` it in Cursor. |
|
|
180
180
|
| No browser in Copilot / Codex | Use the Playwright commands in `browser-qa`. |
|
|
181
181
|
| QA finished from the diff | Reject it. Re-run with the good QA prompt above. |
|
|
182
|
+
| GitHub shows `USER_GUIDE.html` as code | Open the file in a browser. Run `npx agent-kit guide` to print the path. GitHub does not render the layout. |
|
|
182
183
|
| `doctor` fails USER_GUIDE | The screenshot fail-closed sentence must stay in this file. |
|
|
183
184
|
| Still have `QUALITY_GATES.md` / `COUNCIL.md` | Expected. `update` does not delete them. `doctor` lists leftovers. |
|
|
@@ -23,6 +23,8 @@ Code-only “it should work” is incomplete for anything the user can see or cl
|
|
|
23
23
|
|
|
24
24
|
`nextjs-app-router`, `supabase-auth-rls`, `postgres-migrations`.
|
|
25
25
|
|
|
26
|
+
Run those skills. Do not treat a small route, form, or table as exempt.
|
|
27
|
+
|
|
26
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.
|
|
27
29
|
|
|
28
30
|
## Handoff
|