Skip to content
Back to skills

Release Gate

ASecurity

Head of Engineering. The checklist before merging to main or deploying - whole suite and CI green on the exact commit, migrations additive and reviewed, live-mode settings checked, a smoke run with vendors stubbed, every actor's first-time path clicked, a rollback line. Shows the evidence and stops for the founder's word.

  • 16 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added October 22, 2026
ai-agentsgitdatabase

Works with

  • cli

Security analysis

A100/100

Scanned October 22, 2026

npx -y skills add PancheI/BootstrappedOS --skill release-gate --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Release Gate?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Release Gate
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/panchei-release-gate/badge)](https://www.skillsdirectory.com/skills/panchei-release-gate)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: release-gate
description: Head of Engineering. The checklist before merging to main or deploying - whole suite and CI green on the exact commit, migrations additive and reviewed, live-mode settings checked, a smoke run with vendors stubbed, every actor's first-time path clicked, a rollback line. Shows the evidence and stops for the founder's word.
---

# Release gate

Show each line with its evidence (a pasted summary line, a link, a file name). A box without evidence counts as unchecked. The founder decides whether it ships.

**References:** `head-of-engineering/references/coding-rules.md`. Hosting comes from `knowledge/decisions.md` (default: Vercel + Supabase).

## The process
1. **Code**
   - [ ] **Whole suite** green locally (paste the summary line), typecheck and lint clean. Not only the files you touched.
   - [ ] **CI green for this exact commit:** `gh run list --workflow=ci.yml --commit $(git rev-parse HEAD) --json conclusion`. Needs `.github/workflows/ci.yml` (the head-of-engineering "Set up once" step). "Pushed" isn't "done" while CI is pending or red.
   - [ ] App **booted** from a clean start after any wiring or config change (stale dev servers killed first).
   - [ ] Every ledger row: review clean or the founder's picks fixed; acceptance criteria met with evidence.
   - [ ] `git diff --cached --stat` or the PR file count matches the work. No stray design files, no `.env`, no key in the diff.
   - [ ] The branch was cut from `origin/main`, not local main.
2. **Data**
   - [ ] Every migration in the batch is **additive**, was shown, was reviewed against the local schema (by the `supabase` skill if installed, otherwise by the reviewer), and is applied locally.
   - [ ] Data changes (seed rows, content, settings) are migration files too, written to run twice.
   - [ ] The order is agreed: migrations to production **before** the code that reads them.
3. **Outside services**
   - [ ] **Live-mode settings** the release depends on (payment methods, webhooks, sender domains, rate limits) were confirmed by the founder **on the live account**, not assumed from test mode. How the author learned it: a setting turned on in test mode only broke the live checkout minutes after a release. It was "believed done".
   - [ ] Smoke run with every vendor-facing route **stubbed before the first page load** (at the network level; an in-page `fetch` patch is lost on reload). Afterwards, the vendor dashboard and the server log show nothing was created. How the author learned it: twice a smoke run created real, paid sessions at a vendor.
4. **Screens**
   - [ ] `browser-checker` in the founder's visible Chrome on every changed screen, **scrolled top to bottom**, desktop and 390px. A glance at the top once missed a duplicated form lower down.
   - [ ] **Every actor's first-time path:** new account, invite link, plain login without the link, refresh, back, direct URL. Fresh emails never used before.
   - [ ] One page or folder with the screenshots (for example a private Artifact): step, what it proves, pass or fail, and what was not checked.
5. **Rollback**
   - [ ] One line, written now: how to put the previous version back on your host (on Vercel: promote the previous deploy), and for the database, the forward-fix migration if one would be needed.
6. **Stop.** "Ready to <merge|deploy> <what>. Migrations: <files>. Rollback: <line>. Not checked: <list>. Ship?" **Gate:** see `shared/gates.md` in the core plugin.
7. **After shipping**
   - Tags: `git ls-remote --tags origin | grep vX.Y.Z` must return the tag. How the author learned it: a release commit and its tag sat unpushed for days while production stayed on the old version.
   - The health or version endpoint reports the new version (poll it; "deploy accepted" isn't "running").
   - `browser-checker` on the live URL, look and click only. Report what was checked and what was not, then add the deploy line.

## Decision rules
- If a box has no evidence, it is unchecked. Say so in "Not checked"; don't tick it.
- If CI isn't set up, say "CI not set up" instead of ticking the CI box.

## Quality bar
- [ ] Every ticked line has evidence next to it.
- [ ] The rollback line exists before the founder is asked.

## Never
- Merge, push, tag or deploy before the founder's word.
- Let a smoke run reach a real or paid vendor.

## Shared knowledge
**Read first:** `.dev/progress.md`, `knowledge/decisions.md`, `knowledge/trackers/deploys.md`. **Write after:** `knowledge/trackers/deploys.md` (one dated deploy line), `.dev/progress.md` (Status). Paths from `shared/knowledge-tree.md`.

## Bootstrapped core
Not used.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.