Run a risk-scaled pre-ship pass over a branch (repo checks, cleanup, review, blast radius, verification) using a short live checklist where steps that do not fit are skipped with a reason. Type it when a branch is ready for review or merge.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Preflight?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/sgathrid-preflight)
---
name: preflight
description: Run a risk-scaled pre-ship pass over a branch (repo checks, cleanup, review, blast radius, verification) using a short live checklist where steps that do not fit are skipped with a reason. Type it when a branch is ready for review or merge.
disable-model-invocation: true
---
# Preflight
Get a branch ready to ship without running busywork. Scale the pass to the diff's risk, track it with a short live checklist, and skip any step that does not earn its cost with a one-line `skip: <reason>`.
## Scope and risk
Inspect the current branch diff against its base (or the files the person named). When available, run `${CLAUDE_PLUGIN_ROOT}/skills/graph/SKILL.md` (`--diff`) to spot touched hubs, new module crossings, or untouched contract, co-changed and boundary peers. State in one line what changed and the risk level: small and local, medium, or risky (shared code, data formats, concurrency, security, public interfaces, or user-visible behavior).
## Live checklist
Keep this short checklist visible as you go and mark each step `done`, `skip: <reason>`, or `blocked: <reason>`:
1. **Repo checks:** run the repo's fast build, typecheck, lint and relevant tests. Fix failures before reviewing.
2. **Cleanup:** read and follow `${CLAUDE_PLUGIN_ROOT}/skills/deslop/SKILL.md` on the diff (which chains into `${CLAUDE_PLUGIN_ROOT}/skills/no-comments/SKILL.md`). Skip for tiny hand-written diffs or docs-only changes; for prose changes, use `${CLAUDE_PLUGIN_ROOT}/skills/unslop/SKILL.md` instead.
3. **Review:** read and follow `${CLAUDE_PLUGIN_ROOT}/skills/interrogate/SKILL.md`, scaled to the diff's risk. Skip only for trivial, mechanical edits.
4. **Blast radius:** when the change touches shared code, contracts, defaults or subtle runtime order, read and follow `${CLAUDE_PLUGIN_ROOT}/skills/blast-radius/SKILL.md`. Otherwise skip.
5. **Verify:** when the change makes a user-visible or performance claim not already proven by tests, read and follow `${CLAUDE_PLUGIN_ROOT}/skills/verify/SKILL.md`. Otherwise skip.
Stop early if a step uncovers a blocker or design flaw that invalidates later steps. Fix or report it rather than polishing broken work.
## Guardrails
Let judgment drive the checklist. A one-line typo fix may run only repo checks and skip the rest; a risky migration may run all five.
Keep cleanup edits inside the branch diff and re-run repo checks after any edit. Do not silently apply `interrogate` findings unless the person asked you to fix what you find.
## Report
Return the finished checklist with each step's status (`done`, `skip: <reason>`, or `blocked: <reason>`), any blocking findings or open items, and a clear ready or not-ready call.