@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
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.5
4
+
5
+ - Uplift `ship` to the playbook bar: go / no-go, named env, migration order, rollback, commands run (`testing-qa`). Reject “LGTM, ship it.” User-visible still needs `browser-qa` screenshot paths. `/ship` agrees with the skill.
6
+
3
7
  ## 0.4.4
4
8
 
5
9
  - Uplift `frontend-design` and the Design agent from a 2026-09-12 GitHub scan (structure only): name `build` / `review` / `detect`, pick a surface profile, read `DESIGN.md` tokens, tag findings as code-certain or inferred. Do not install a design MCP or canvas CLI. Kit charcoal tokens stay off downstream apps.
package/USER_GUIDE.html CHANGED
@@ -622,7 +622,7 @@ Act as design. This is a new repo. Scan what is already here, then ask me what w
622
622
  </tr>
623
623
  <tr>
624
624
  <td><code>ship</code></td>
625
- <td>Release, env, rollback</td>
625
+ <td>Go / no-go. Env, rollback, commands. UI needs screenshot paths</td>
626
626
  </tr>
627
627
  </tbody>
628
628
  </table>
@@ -734,6 +734,17 @@ Act as design. This is a new repo. Scan what is already here, then ask me what w
734
734
  </div>
735
735
  <h3>Copy pass</h3>
736
736
  <p>Copy reviews the <em>rendered</em> words in screenshots, not strings in TSX. Run <code>product-copy</code>, then <code>deslop</code> last.</p>
737
+ <h3>Release / ship</h3>
738
+ <p>Before you promote or deploy, paste to QA:</p>
739
+ <pre id="ship-prompt">
740
+ Run ship. Go or no-go. Name env, migration order, rollback, commands run. User-visible needs browser-qa screenshot paths. Reject LGTM, ship it.</pre>
741
+ <div class="copy-row">
742
+ <button class="copy" type="button" data-copy-from="ship-prompt">Copy ship prompt</button>
743
+ </div>
744
+ <p>
745
+ QA names the verdict. App engineer names env and the app rollback. Security names secrets and RLS. Missing screenshot paths on a user-visible release
746
+ is a no-go.
747
+ </p>
737
748
  </section>
738
749
 
739
750
  <section id="qa">
package/USER_GUIDE.md CHANGED
@@ -100,7 +100,7 @@ Do not ask one chat to be all six. Planner names the next specialist. It does no
100
100
  | `testing-qa` | Unit / regression / smoke. List commands run. Not screenshots |
101
101
  | `product-copy` | Headlines and CTAs |
102
102
  | `deslop` | Last copy pass. Copy always runs this |
103
- | `ship` | Release, env, rollback |
103
+ | `ship` | Go / no-go. Env, rollback, commands. UI needs screenshot paths |
104
104
 
105
105
  QA of a screen always uses `browser-qa`, not `testing-qa` alone. User-facing screens also run `accessibility-wcag` (keyboard in the browser, not a contrast guess from the screenshot). Each agent file names the skills it must run, then points at `catalog.json` for the rest.
106
106
 
@@ -146,6 +146,16 @@ Run accessibility-wcag. Open the changed flow. Keyboard-only pass. Do not accept
146
146
 
147
147
  Copy reviews **rendered** screenshots, not just strings in TSX. Run `product-copy`, then **`deslop` last**. Do not hand off after the first draft.
148
148
 
149
+ ### Release / ship
150
+
151
+ Before you promote or deploy, paste to QA:
152
+
153
+ ```text
154
+ Run ship. Go or no-go. Name env, migration order, rollback, commands run. User-visible needs browser-qa screenshot paths. Reject LGTM, ship it.
155
+ ```
156
+
157
+ QA names the verdict. App engineer names env and the app rollback. Security names secrets and RLS. Missing screenshot paths on a user-visible release is a no-go.
158
+
149
159
  ## QA screenshot loop
150
160
 
151
161
  Bad request (reject this):
@@ -29,7 +29,7 @@ Available skills: `catalog.json` and the skill table in `USER_GUIDE.md`. Start w
29
29
 
30
30
  ## Handoff
31
31
 
32
- Security reviews auth/data/secret changes. Design reviews user-facing screens. QA always reviews behavior or UI changes with `browser-qa`.
32
+ Security reviews auth/data/secret changes. Design reviews user-facing screens. QA always reviews behavior or UI changes with `browser-qa`. A release go/no-go is `ship`: you name env and the app rollback; you do not say “LGTM, ship it.”
33
33
 
34
34
  ## Done when
35
35
 
@@ -7,7 +7,7 @@ requiredTools: [repo]
7
7
 
8
8
  # Deploy (optional)
9
9
 
10
- Confirm release order, env vars, and rollback. Use the `ship` skill.
10
+ Confirm release order, env vars, and rollback. Use the `ship` skill. Go or no-go. Reject “LGTM, ship it.” User-visible still needs `browser-qa` paths.
11
11
 
12
12
  ## Skills
13
13
 
@@ -21,7 +21,7 @@ Hard fail if the only evidence is a file diff.
21
21
 
22
22
  ## Skills
23
23
 
24
- `browser-qa`, `testing-qa`, `accessibility-wcag`.
24
+ `browser-qa`, `testing-qa`, `accessibility-wcag`. For a release, also `ship`.
25
25
 
26
26
  Available skills: `catalog.json` and the skill table in `USER_GUIDE.md`. Start with the skills named above. Use another listed skill when this job needs it.
27
27
 
@@ -33,7 +33,8 @@ Available skills: `catalog.json` and the skill table in `USER_GUIDE.md`. Start w
33
33
  - Skipping mobile, or skipping auth/empty/error when those states exist.
34
34
  - “Contrast looks fine in the screenshot” without a keyboard-only pass on the changed flow (`accessibility-wcag`).
35
35
  - “Tests pass” with no command list (`testing-qa`).
36
+ - “LGTM, ship it” without env names, rollback, commands, and `browser-qa` paths for UI (`ship`).
36
37
 
37
38
  ## Done when
38
39
 
39
- You opened the running app, captured desktop and mobile screenshots, **read the images**, ran applicable tests **and listed the commands**, and wrote accept / accept-with-nits / reject with image paths under `qa-evidence/`. For screens, `accessibility-wcag` ran: a keyboard-only pass on the changed flow, not a screenshot guess.
40
+ You opened the running app, captured desktop and mobile screenshots, **read the images**, ran applicable tests **and listed the commands**, and wrote accept / accept-with-nits / reject with image paths under `qa-evidence/`. For screens, `accessibility-wcag` ran: a keyboard-only pass on the changed flow, not a screenshot guess. A release also has a `ship` go or no-go.
@@ -27,4 +27,4 @@ Available skills: `catalog.json` and the skill table in `USER_GUIDE.md`. Start w
27
27
 
28
28
  ## Done when
29
29
 
30
- Access control is enforced in Postgres or the server, not only in the UI. Login, redirect, and denied states were checked in the browser when they exist. Secrets stay server-only.
30
+ Access control is enforced in Postgres or the server, not only in the UI. Login, redirect, and denied states were checked in the browser when they exist. Secrets stay server-only. For a release, contribute env and RLS checks to `ship`; do not treat “LGTM, ship it” as a go.
package/dist/index.js CHANGED
@@ -328,7 +328,7 @@ function generateAntigravityCommands(cwd, force, collector) {
328
328
  {
329
329
  name: "ship",
330
330
  description: "Release go / no-go.",
331
- prompt: "Use the ship skill. Confirm env, migrations, rollback, and browser-qa evidence for user-visible changes."
331
+ prompt: "Use the ship skill. Go or no-go. Name env, migration order, rollback, and commands run (testing-qa). User-visible changes need browser-qa screenshot paths. Reject LGTM, ship it."
332
332
  }
333
333
  ];
334
334
  writeGenerated(
@@ -429,7 +429,7 @@ import { join as join7 } from "path";
429
429
 
430
430
  // src/config/defaults.ts
431
431
  var PACKAGE_NAME = "@appsforgood/next-supabase-kit";
432
- var PACKAGE_VERSION = "0.4.4";
432
+ var PACKAGE_VERSION = "0.4.5";
433
433
  var ROOT_DOCS = ["AGENTS.md", "USER_GUIDE.md", "USER_GUIDE.html"];
434
434
  var CURSOR_RULE_FILE = {
435
435
  source: "assistant-adapters/cursor-agent-kit.mdc",