Skip to content
Back to skills

Preflight

ASecurity

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.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 1, 2026
ai-agentsgorailssecurityperformance

Security analysis

A100/100

Scanned December 1, 2026

npx -y skills add sgathrid/agent-smith --skill preflight --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Preflight?

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

Security grade badge for Preflight
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sgathrid-preflight/badge)](https://www.skillsdirectory.com/skills/sgathrid-preflight)

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: 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.

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.