Pre Push Gate
Run this repo's pre-push gate and fix it when it goes red. Use when npm run local:gate fails or a stage of it does (verify:install-fresh, a root guard, lint, typecheck, ruff, pyright, pytest, verify:skills:cli, the boot smoke); when the gate says it is waiting on the gate lease; or when checking whether a gate run really passed.
Install
npx skills add modelcontextprotocol/servers --skill pre-push-gategit clone --depth 1 https://github.com/modelcontextprotocol/servers.git /tmp/servers
mkdir -p ~/.claude/skills
cp -r /tmp/servers/.claude/skills/pre-push-gate ~/.claude/skills/pre-push-gatePersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# The pre-push gate **The rule** (stated in [`AGENTS.md`](../../../AGENTS.md#before-pushing)): 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`](../../../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 ```sh cd <repo root> npm run format # TypeScript. It rewrites files; the gate only checks. npm run local:gate; echo "EXIT=$?" ``` In a Python server you changed, format with `uv run --frozen ruff format .` from that server's directory. **Verify by exit code, not by grepping the output.** A Prettier failure is a few `[warn]` lines that match no obvious failure pattern, and `validate:py` prints `PASS` for two servers above the `FAIL` for the third. ⚠️ If you run it as a background task, the harness's "exit code 0" notification describes the _wrapper_ (the trailing `echo`), not the gate. Read the `EXIT=` line. **Background it and wait for the notification.** Do not spend turns tailing the log; see `AGENTS.md` **Waiting on long-running work**. The gate stops at the first failing stage, so the last stage header in the output is the one that failed. Fix it, then **re-run the whole gate**, not just that stage: the stages after it have not run yet.
Details
- Skill name
pre-push-gate- Repository
- modelcontextprotocol/servers
- Path
.claude/skills/pre-push-gate/SKILL.md- Repo updated
- 18 November 2026
- Listed in
- heilcheng/awesome-agent-skills
FAQ
What does the Pre Push Gate skill do?
Run this repo's pre-push gate and fix it when it goes red. Use when npm run local:gate fails or a stage of it does (verify:install-fresh, a root guard, lint, typecheck, ruff, pyright, pytest, verify:skills:cli, the boot smoke); when the gate says it is waiting on the gate lease; or when checking whether a gate run really passed.
How do I install the Pre Push Gate skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add modelcontextprotocol/servers --skill pre-push-gate. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Pre Push Gate popular?
It lives in modelcontextprotocol/servers, which has 92,088 GitHub stars and 11,978 forks, and is included in 1 curated skill list.
Related skills
Board Ops
92kmodelcontextprotocol/servers
gh recipes for the Servers V2 project board (#43): add an issue's card, move its Status, set or change its Priority, delete a card, and recover from a deleted single-select option. Use when moving a card between columns; when setting Status or Priority; when an option ID is rejected; before editing a board field's options; or when cards lost their Status or Priority.
Client Smoke
92kmodelcontextprotocol/servers
Drive a locally built server with a real client: the Inspector CLI (scripted), the Inspector web UI (through Playwright) and an LLM client. Use when smoke-testing a server change; when calling a tool, reading a resource or getting a prompt from the command line; when choosing a protocol era; or when the Inspector CLI will not connect to, or misreads, a server command.
Issue Create
92kmodelcontextprotocol/servers
Create a tracked issue in this repo end to end — duplicate check, v2 label, type label, server-scope label, milestone, board card, Status and Priority. Use when asked to file, create, open or raise an issue; when picking its labels or its milestone; when checking whether one already exists; or when work discovered mid-task needs an issue of its own.
Testing
92kmodelcontextprotocol/servers
Write, place and run tests for a server in this repo. Use when choosing between driving the server through an MCP client and calling its functions directly; when writing a protocol-level test for a TypeScript or Python server; when choosing the command that runs one suite or a coverage report; or when a test is skipped or passes against a stale build.
Character Animation QA
82kOpenMontageInc/OpenMontage
Review local character animation with schema checks, Playwright browser previews, frame sampling, and FFmpeg/ffprobe final output checks.
Verify
142kgarrytan/gstack
Use when coding: run the checks and tests /ship picks until green. Use for: verify my change, run the checks, make the tests pass. (gstack)
Browse the most popular Claude skills, all testing & qa skills, or write your own with the skills generator.