gate
Skill1 starsChanged 53 days agoMITView on GitHub
Use when a plan's tasks are landed and its branch needs the gate before a pull request: the scripted checks, the branch review and its repairs. Not for landing a task (build) or a change with no plan.
32 other projects use a version of this.
Adopted by
Most recently taken up by
- amirf147/active-desktop-context-enginetheir own version, first seen Nov 8, 2026
- ronniepinnell/caspertheir own version, first seen Nov 8, 2026
- BSSE23047/nauraiz-devtheir own version, first seen Nov 8, 2026
- per-simmons/claude-game-studiotheir own version, first seen Nov 8, 2026
- Railly/skillstheir own version, first seen Nov 1, 2026
- AlexCiortan/setlisttheir own version, first seen Oct 29, 2026
Used with
Projects with it also use new, checkpoint and 8 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
codebycoreySkillnew
Start a new change with a proposal. Use when starting a feature, creating a proposal, or beginning planned work.
Also in 3 projects that use this
genomewalkerSkillcheckpoint
Save a checkpoint of task status, decisions, active files, and next steps
Also in 3 projects that use this
VercelSkillinvestigate
Investigate an issue report, or analyze the constraints of a proposed change, with strict, evidence-driven diagnosis.
Also in 3 projects that use this
BlockSkillplan
Draft a TDD, PRD, or lightweight plan in the conversation without committing it.
Also in 4 projects that use this
GitHubSkillrefactor
Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.
Also in 3 projects that use this
SentrySkillreview
Fixture review skill.
Also in 6 projects that use this
Other versions32 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 32
- plugin87/ux-ui-agent-skills★ 3.1ksame name
- guardana/guardana★ 203same name
- skillberry-ai/cap-evolve★ 69same name
- assaio/assaio★ 63same name
- Cleveland-RD/hivehouse★ 46same name
- ProjectAJ14/eklavya★ 29same name
- Railly/skills★ 11same name
- BenjaminG/ai-skills★ 4same name
- dadwadw233/team-collab-skills★ 4same name
- per-simmons/claude-game-studio★ 4same name
22 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- buildSkill
- configureSkill
- edit-skillsSkill
- find-causeSkill
- save-sessionSkill
- shipSkill
- specSkill
- watchSkill
- write-docsSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 30 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
No plan file → end the turn: ask for its path and name build's no-plan route.
“Common” is measured: kept by at least 6 in 10 of the 30 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Gate
The gate readies a branch for a pull request.
The loop
- Run the gate.
node "${CLAUDE_SKILL_DIR}/scripts/gate-step.mjs" --plan <plan path> --root <checkout> --base <base>first. Read only itsSTEP,LOG,NEXT,DECIDElines, no log file.- Then in one message: the full run in the background and step 2's dispatch; end the turn, no ScheduleWakeup, Monitor or sleep. A dispatched agent runs it in the foreground, timeout 600000.
- No plan file → end the turn: ask for its path and name
build's no-plan route; hand-run no check orship. SKIP,WARN,FIX-ONLY,SESSION,SELF-HOSTED→references/gate-lines.md.- On
FAILorUNPLANNED, end the turn with its report, rerunning nothing.
- Review the branch. Reviewer
none: skip the dispatch, still merge.- Dispatch
exo:review-branchperDISPATCH Branchin one message, startingexo-kind: review-deepunless the line has none, its fields andRead:changed files. - For a branch with many changed files, print the tree from
changedFileTreeinlib/draw.mjsfirst, so the reviewer sees the shape before reading. - Then run
gate-step.mjs --after reviewwith those flags and a--report <path>per report; follow itsNEXTlines. - On a
CODEX offerline, ask once for acodex execreview of plan and diff, into findings. --land→ skip.
- Dispatch
- Repair the findings.
FINDINGSwithfix=1or more, orconcern=1or more, goes to theexo:build-taskagent withexo-kind: fix-review, no model override, the dispatch line and../build/review-fixer-prompt.mdby path.- One
exo:build-taskperCLUSTERline, in parallel, each with only its findings,concernones too. - With
fix=0andconcern=0, go to step 4: no fixer dispatch, rerun or fix commit. - Else read
references/repair.md.
- One
- Offer the finish. End on
ship, unless a request or plan rules out a push; then say nothing left the machine.--land→ pass--landtoship.
References
| File | Read it when |
references/review-rules.md | BLOCKED return or resume. |
references/triage.md | Step 2. |
references/repair.md | Step 3. |
references/gate-lines.md | Step 1. |
references/plan-checks.md | Never. |
../../lib/references/closing.md | Final message. |
references/review.md | Mode review. |
Report: REPORT gets Changed, chores, report, note findings. Message: the report rule, three lines: REPORT path, question findings, one decision: FAIL, else question, else ship.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

