@appsforgood/next-supabase-kit 0.4.4 → 0.4.5

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 (31) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/USER_GUIDE.html +12 -1
  3. package/USER_GUIDE.md +11 -1
  4. package/agents/app-engineer/agent.md +1 -1
  5. package/agents/optional/deploy/agent.md +1 -1
  6. package/agents/qa/agent.md +3 -2
  7. package/agents/security/agent.md +1 -1
  8. package/dist/index.js +2 -2
  9. package/dist/index.js.map +1 -1
  10. package/examples/next-supabase-installed/.agent-kit/manifest.json +20 -20
  11. package/examples/next-supabase-installed/.antigravity/agent-kit/commands/ship.toml +1 -1
  12. package/examples/next-supabase-installed/.antigravity/runtime-skills/planning/SKILL.md +2 -2
  13. package/examples/next-supabase-installed/.antigravity/runtime-skills/ship/SKILL.md +53 -8
  14. package/examples/next-supabase-installed/.claude/agents/app-engineer.md +1 -1
  15. package/examples/next-supabase-installed/.claude/agents/qa.md +3 -2
  16. package/examples/next-supabase-installed/.claude/agents/security.md +1 -1
  17. package/examples/next-supabase-installed/.codex/agents/app-engineer.toml +1 -1
  18. package/examples/next-supabase-installed/.codex/agents/qa.toml +3 -2
  19. package/examples/next-supabase-installed/.codex/agents/security.toml +1 -1
  20. package/examples/next-supabase-installed/.cursor/agents/app-engineer.md +1 -1
  21. package/examples/next-supabase-installed/.cursor/agents/qa.md +3 -2
  22. package/examples/next-supabase-installed/.cursor/agents/security.md +1 -1
  23. package/examples/next-supabase-installed/.cursor/skills/planning/SKILL.md +2 -2
  24. package/examples/next-supabase-installed/.cursor/skills/ship/SKILL.md +53 -8
  25. package/examples/next-supabase-installed/USER_GUIDE.html +12 -1
  26. package/examples/next-supabase-installed/USER_GUIDE.md +11 -1
  27. package/examples/next-supabase-installed/skills/planning/SKILL.md +2 -2
  28. package/examples/next-supabase-installed/skills/ship/SKILL.md +53 -8
  29. package/package.json +1 -1
  30. package/skills/planning/SKILL.md +2 -2
  31. package/skills/ship/SKILL.md +53 -8
@@ -1,22 +1,67 @@
1
1
  ---
2
2
  name: ship
3
- description: Use before release. Check env vars, migration order, smoke, and rollback. User-visible releases still need browser-qa evidence.
3
+ description: Use before deploy, promote, rollback, or when someone says LGTM, ship it. Go or no-go. Name env, migration order, rollback, commands run. User-visible still needs browser-qa screenshot paths.
4
4
  ---
5
5
 
6
6
  # Ship
7
7
 
8
+ This skill is **go / no-go**. Commands live in `testing-qa`. Screenshots live in `browser-qa`. Keyboard pass lives in `accessibility-wcag`. Policies live in `supabase-auth-rls`. Schema order lives in `postgres-migrations`. Secrets and OWASP live in `owasp-security-review`. This skill does not replace those.
9
+
8
10
  ## Use when
9
11
 
10
- Preparing to deploy, promote, or roll back.
12
+ Preparing to deploy, promote, roll back, or cut a production release. Also when someone says “ship it”, “LGTM”, “is this ready?”, “promote preview”, or “rollback”.
13
+
14
+ Not a substitute for writing the feature. Run this **after** the owning specialists finish. QA names the verdict; App engineer names env and the app rollback; Security names secrets and RLS.
15
+
16
+ ## Do
17
+
18
+ 1. Name the target (`preview` / `production` / named env) and what commit or deployment is going out.
19
+ 2. List production-critical **env var names** (not values). Confirm they exist on that target. Flag any `NEXT_PUBLIC_` secret or service role on the client.
20
+ 3. Name migration order. If schema changed, say whether the migration already ran and how to reverse it (`postgres-migrations`). Do not drop a column the live app still reads.
21
+ 4. Run `testing-qa`: list commands actually run. Smoke of the primary path is required for a go.
22
+ 5. If anything user-visible changed: attach `browser-qa` desktop + mobile paths. For screens, `accessibility-wcag` already ran. Missing paths are a no-go.
23
+ 6. Return **go** or **no-go** with gaps. Do not imply go by omitting the word.
11
24
 
12
25
  ## Checks
13
26
 
14
- - Production-critical env vars are named.
15
- - Migration order and rollback are explicit.
16
- - Smoke of the primary path passed.
17
- - User-visible changes have desktop and mobile screenshot evidence from `browser-qa`.
18
- - Secrets are not in the repo or client bundle.
27
+ | Area | Pass |
28
+ | --- | --- |
29
+ | Target | Preview vs production (or named env) is explicit. |
30
+ | Env | Critical names listed. Values are not pasted into the verdict. |
31
+ | Secrets | No secrets in git, `NEXT_PUBLIC_*`, client bundle, or logs. Service role stays server-only. |
32
+ | Migrations | Order named. Rollback named, or expand/contract reverse named. Empty “N/A” only if schema did not change. |
33
+ | Commands | `testing-qa` list with results. Smoke of the primary path (login or the workflow being released). |
34
+ | UI | User-visible changes have `qa-evidence/<date>-<slug>/desktop.png` and `mobile.png`. |
35
+ | Host | If this app is on Vercel (or similar), name preview vs production and how to restore the previous deployment. Do not require a Vercel CLI install from this kit. |
36
+
37
+ ## Evidence
38
+
39
+ ```text
40
+ verdict: go | no-go
41
+ target: preview | production
42
+ commands:
43
+ - npx vitest run # pass
44
+ - npm run smoke # pass
45
+ env: NEXT_PUBLIC_SUPABASE_URL, NEXT_PUBLIC_SUPABASE_ANON_KEY set; SERVICE_ROLE not in client
46
+ migrations: 0012_widgets applied; rollback = reverse 0012 / expand-contract reverse
47
+ rollback:
48
+ app: previous production deployment / git revert <sha>
49
+ db: do not drop 0012 in this release if the app still reads it
50
+ browser-qa: qa-evidence/2026-09-13-settings/desktop.png, mobile.png
51
+ gaps: none | named
52
+ ```
53
+
54
+ ## Reject
55
+
56
+ - “LGTM, ship it” (or “looks good, deploy”) with no env list, no rollback, and no commands.
57
+ - User-visible release without `browser-qa` screenshot **paths**.
58
+ - “We’ll set env in the dashboard later” or shipping with placeholder secrets.
59
+ - `SUPABASE_SERVICE_ROLE_KEY` (or any secret) in `NEXT_PUBLIC_*`, the repo, or a client bundle.
60
+ - Skipping rollback because “it’s a small change” or “we can just migrate forward.”
61
+ - Treating `toBeVisible` or “tests pass” as the ship gate. Use `testing-qa` and, for UI, `browser-qa`.
62
+ - Replacing `testing-qa`, `browser-qa`, `postgres-migrations`, `supabase-auth-rls`, or `owasp-security-review` with this skill.
63
+ - Pasting secret **values** into the go/no-go note.
19
64
 
20
65
  ## Done when
21
66
 
22
- Go / no-go is explicit, with commands run and rollback named.
67
+ Go or no-go is explicit. Commands run, env names, migration order, and rollback are named. User-visible work has `browser-qa` screenshot paths. Secrets were not written into the verdict.