gate
Skill3 starsChanged 3 days agoMITView on GitHub
Full quality gate in one command — linters, types, import contracts, tests. The set of steps lives in the script, not in prose. Trigger words (RU+EN): гейт, прогони гейт, проверки, полный прогон / gate, run the gate, checks, full run.
- Commits and pushes
33 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
- blauwtje/exotheir own version, first seen Nov 1, 2026
- Railly/skillstheir own version, first seen Nov 1, 2026
Used with
Projects with it also use new, build and 10 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
Microsoft AzureSkillbuild
Build the TypeSpec Rust emitter from source. Run this after cloning the repo, after pulling changes, or when TypeScript source files have been modified.
Also in 5 projects that use this
AWSSkillship
Finalize dev work on an issue branch — update docs, push, and open a PR.
Also in 8 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
Other versions33 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 33
- 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
23 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 repository16 other files it gives its agents.
- complexity-budgetSkill
- diagnosingSkill
- frontend-tasteSkill
- gitea-flowSkill
- gitlab-flowSkill
- graph-firstSkill
- guardrailsSkill
- receiving-reviewSkill
- researchSkill
- retrofitSkill
- second-opinionSkill
- session-reviewSkill
- task-cycleSkill
- test-generationSkill
- wayfinderSkill
- writing-skillsSkill
The file
Files
The gate — one command
bash scripts/gate.sh # the command comes from <project>/.retainer/config.toml (gate_command):
# a path to the script or a build command (make ci, docker compose run …)The step list is IN THE SCRIPT ITSELF, not in this file and not in the project rules. Reason: a list of steps rots — keep the list in prose and it diverges from reality (there was a case of "nine steps" when there were ten: graph freshness did not make the list). Prose says WHAT the gate holds; how many steps exactly and in what order — only the script knows.
What a typical gate holds (Python preset)
- the rule guard (is the regulation not weakened);
- linters and format:
ruff format --check·ruff check·flake8(WPS) · templates · JS (biome, if present); - import contracts:
import-linter; - types:
mypy(strict); - spelling:
codespell; - tests:
pytestwith an N+1 detector and a coverage floor; - migrations (Django module).
Two levels, one check
The same gate hangs on the pre-push hook AND in CI (a from-scratch environment).
- The hook is faster and catches earlier — the first line.
- The guarantee is CI:
git push --no-verifybypasses the hook entirely, and the hook itself is not guaranteed to be versioned and may be absent on another machine.
CI on a from-scratch environment catches what the local one does not see (example: .mo
translations built by hand only on the developer's machine; a missing config section that silently
disabled CI).
Acceptance = a GREEN gate, not "done"
"Done" without a green gate means nothing — the machine judges, not the agent's word. The full run goes locally until green on what leaves the machine, and the claim "done" is made after it; claims about parts along the way are proven by a targeted run of the subject, not the full suite. This also requires a working venv with dev dependencies — part of the task, not a separate step.
How many runs per task
The full run is one, on what leaves the machine. Along the way there is a targeted run of the subject of the edit and a mutation probe: they answer whether the check guards what is being edited. The full run answers a different question — is the tree intact — and that answer is needed once, when the edits are done.
An intermediate "done" is not proven by the full run: it is proven by a targeted run of the subject (the cost of a full run per hypothesis is named in "When NOT to apply"). What launches the full run and where the mutation probe lives is known to the project regulation; the step list — the gate script, as said above.
When NOT to apply
- The gate is not a cause finder. It says "red" and on exactly what; WHY is the subject of [[diagnosing]]. Running the gate in circles instead of building a loop means paying with a full run for every hypothesis.
- Not a measure of task readiness. A green gate means "the tree is not broken", not "the declared is done": the acceptance criteria are checked by the task cycle, not the gate.
- Not a place for a new check one-off. A step is added to the gate script, not run beside it by hand: a check living outside the script runs only while it is remembered.
- In a foreign tree without a dependency box the gate reddens on its own environment. That is "not checked", not "broken", and the reader must tell them apart.
Related: [[guardrails]] (linter configs under the guard), [[task-cycle]] (the gate is a cycle step and a DoD item).
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.

