pre-push-gate
Installation
SKILL.md
The pre-push gate
The rule (stated in AGENTS.md): run
npm run local:gate before every push, and push only when it exits 0.
npm run validate is the inner-loop check and is not a substitute.
What each stage covers, and how the gate relates to CI, is
docs/quality-gate.md. The stage list is
written out there and nowhere else, on purpose. This skill is how to run the
gate and what to do when it goes red.
Run it
cd <repo root>
npm run format # TypeScript. It rewrites files; the gate only checks.
npm run local:gate; echo "EXIT=$?"