preflight
Installation
SKILL.md
preflight
Change-gated, branch-scoped lint preflight. It lints only the categories relevant
to origin/<base>...HEAD, on changed paths only — not a whole-repo pnpm lint —
then classifies each violation as introduced (on a line this branch added or
changed) or pre-existing (already there, in a file the branch happens to
touch).
This skill is the single source of truth for the preflight loop. It is invoked two ways:
- Standalone (
/preflight) — a quick "will my branch pass scoped lint?" check, leaving any fixes in the working tree. - Inside a ship flow (e.g.
/send-it) — the lint gate that runs after commits and before the changelog/push steps.
All bundled scripts use only Node built-ins — no npm install, no build step.
They operate on the consumer repo's root (run them from the repo root, where
git resolves the branch diff).