gauntlet
Skill0 starsChanged 10 days agoMITView on GitHub
Post-hoc verification of code changes — run the full check stack (tests, types, lint, changed-line coverage, real execution; mutation testing for high-stakes changes) against already-written code and produce an evidence report with pasted numbers. Use when the user says "test it", "verify this", "run the gauntlet", "prove it works", or asks whether a change is safe — and invoke it proactively after finishing any substantial coding task (new feature, multi-file change, bug fix touching core logic), even if the user didn't explicitly ask for verification. Skip it for trivial edits (typos, comments, config values) unless asked.
22 other projects use a version of this.
Adopted by
Most recently taken up by
- UsmanBuk/skillsword for word, first seen Nov 22, 2026
- gajeshbhat/gauntlettheir own version, first seen Nov 22, 2026
- laceyp99/skillstheir own version, first seen Nov 16, 2026
- tomw1808/flash-agentstheir own version, first seen Nov 15, 2026
- ryanportfolio/HarnessFirmware.comtheir own version, first seen Nov 8, 2026
- ryanportfolio/Corewise.Academytheir own version, first seen Nov 8, 2026
Used with
Projects with it also use addskill, apply-firmware 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.
ryanportfolioSkilladdskill
Create, import, update, or install repo or personal skills: runtime ownership, resources, discovery checks.
Also in 6 projects that use this
ryanportfolioSkillapply-firmware
Bring current folder (plain folder, existing repo, old or partial firmware copy) up to full Harness Firmware in place. Mirror external repo → adopt-repo.
Also in 6 projects that use this
- +10 more from ryanportfolio
Other versions22 projects use a version of this.
Word for word · 1
- UsmanBuk/skills★ 0100% same
Edited · 0
None found.
Wrote their own version · 21
- oprogramadorreal/optimus-claude★ 75same name
- tomw1808/flash-agents★ 9same name
- bountyoperator/bounty-operator★ 6same name
- danecwalker/agentskills★ 2same name
- gioeleBrancaleoni/gauntlet★ 2same name
- Riloox/gauntlet-skill★ 2same name
- ryanportfolio/winuse-mcp★ 2same name
- bendyworks/claude-skills★ 1same name
- gajeshbhat/gauntlet★ 1same name
- ryanportfolio/Corewise.Academy★ 1same name
11 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 repository11 other files it gives its agents.
- bugfixSkill
- claude-fable-reviewSkill
- context7-docsSkill
- create-verification-skillSkill
- deslopSkill
- isolated-worktree-dbSkill
- leaderSkill
- maintain-verification-skillSkill
- old-coderSkill
- simplifySkill
- unslopSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 5 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 18 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 36
Before judging the change, run the test suite once on the current tree and record any pre-existing failures verbatim.
- Distinctive: line 38
zero NEW failures: Don't fix unrelated pre-existing failures — that's scope creep.
- Distinctive: line 45
Read the diff and write down, in a few lines, the concrete behaviors the change claims to deliver — specific inputs and outputs, not …
- Very specific: line 55
Run every applicable layer.
- Distinctive: line 80
Write the report to a file and give its absolute path.
- Distinctive: line 108
A failing layer blocks "done": If genuinely blocked, the verbatim failure IS the outcome — report it as such.
- Very specific: line 133
If the project has no test runner, linter, or type checker, propose the minimal standard toolchain for the language (see …
“Common” is measured: kept by at least 6 in 10 of the 18 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
Gauntlet: verify after writing
The working model here is: the code was written freely — by an agent, by the user, by anyone — and now it has to earn trust. Confidence comes from one artifact: an evidence report showing the change survived a stack of executable checks, with real numbers from real runs. The reader of that report should not need to open a source file to know what was verified and what wasn't.
This only works if the report is honest. A check you didn't run is not a pass. A number you remember from an earlier run is not a number. A layer that can't fail is not a layer. Every rule below exists to protect that honesty, because the report is worthless the first time it overstates.
The pass
SCOPE → BASELINE → CLAIMS → LAYERS → EVIDENCE1. SCOPE — what is under test
Identify the change set precisely: git diff (staged + unstaged) plus
untracked files, or the commit range the user names. Record the source state —
commit SHA plus a dirty-tree marker, so the report says exactly what was
verified. Everything downstream (changed-line coverage, mutation scope,
capability diff) keys off this set; get it right first.
2. BASELINE — what was already broken
Before judging the change, run the test suite once on the current tree and record any pre-existing failures verbatim. The gauntlet then holds the line at zero NEW failures. Don't fix unrelated pre-existing failures — that's scope creep; surface them in the report instead. Without a baseline, an old failure gets blamed on the new change (or worse, a new failure gets excused as "probably old").
3. CLAIMS — what the change says it does
Read the diff and write down, in a few lines, the concrete behaviors the change claims to deliver — specific inputs and outputs, not "improves handling". Then map each claim to the test that verifies it. This is the map the evidence report is built on, and it is where gaps become visible: a claim with no covering test is a finding, not a footnote. Don't silently write the missing test and move on — flag it, and add the test only if it's clearly in scope of what the user asked for.
4. LAYERS — the check stack
Run every applicable layer. Prefer the project's own commands (check
package.json / pyproject.toml / Makefile / CI config first); defaults per
ecosystem are in references/tooling.md. Scale to the tier (below), but never
skip a layer silently — a skipped layer appears in the report with its reason.
| Layer | What it catches | Pass condition |
| Full test suite | regressions | zero NEW failures vs. baseline |
| Static types | whole bug classes | zero new errors |
| Lint + format | latent bugs, drift | zero new warnings |
| Changed-line coverage | untested new code | every changed/added line executed by a test. The check must exit nonzero when the threshold is missed (diff-cover --fail-under, --cov-fail-under, equivalent) — a layer that prints a percentage and exits 0 is a report, not a gate |
| Real execution | "passes tests, doesn't run" | run the actual app/CLI/endpoint once on a realistic input, not only the test harness |
| Suite health | flaky/order-dependent tests | randomized test order; rerun suspected flakes. Every number in the report rests on the suite being deterministic |
| Deps & secrets | vulnerable deps, leaked credentials | only when the dependency set changed: audit it; always: scan the diff for secrets, and eyeball the capability diff — did the change start using network / subprocess / filesystem / env it didn't before? |
| Mutation (high-stakes or on request) | tests that assert nothing | plant realistic bugs in the changed code, one at a time; the suite must kill every one. Prefer a real mutation tool scoped to changed files; manual procedure in references/tooling.md |
| Property-based (high-stakes) | edge cases nobody imagined | invariant tests (round-trip, idempotence, bounds) for parsing/math/serialization logic |
Checker honesty: off-the-shelf tools (pytest, tsc, ruff…) have earned their
failure behavior; home-grown checks — grep gates, custom scripts — have not.
For those: fail closed (a crash or unreadable input is a layer failure,
never a pass — no || true, no 2>/dev/null), and prove the check can
fail once with a known-bad input before trusting its pass.
5. EVIDENCE — the report
Write the report to a file and give its absolute path. Structure:
# Gauntlet report — <change description>
Source state: <SHA / dirty marker> Tier: <1|2|3> Date
## Claims → tests (each claim, its covering test, or GAP)
## Layers (per layer: exact command, pasted output numbers, pass/fail)
## Skipped (layer + reason)
## Honest notes (pre-existing failures, flakes seen, anything resolved along the way)
## Verdict (pass / fail / pass-with-gaps, in one sentence)Numbers must come from one final fresh run after the last code edit — a mid-task run is stale the moment another edit lands. "All 47 tests pass, changed-line coverage 100% (31/31)" is a result; "tests look good" is not. In conversation, give the verdict and the notable findings in prose — the file holds the detail.
Anti-gaming rules (absolute)
- Never weaken a test to make it pass — no broadened assertions, added skips, raised tolerances, deleted tests. A test that seems wrong is a finding to surface, not an obstacle to remove.
- Never report a layer you didn't run. "Skipped: no mutation tool here" preserves trust; an invented result destroys all of it.
- Never chase the coverage number. Coverage detects untested code; a test added only to touch lines, asserting nothing, is gaming — and mutation testing exists to catch exactly that, including yours.
- A failing layer blocks "done". If genuinely blocked, the verbatim failure IS the outcome — report it as such.
- Fixing counts, hiding doesn't. A gauntlet you fixed your way through is as good as one you passed first try; record what failed and how it was resolved. The only failure is a check quietly weakened.
Calibration
Say which tier you chose and why:
- Tier 1 — trivial (typo, comment, config value): full suite + lint. State why the change needs no dedicated test.
- Tier 2 — normal (feature, bug fix, refactor): all default layers. A bug fix must include a test that reproduces the bug — if none exists, that's a claims-map gap to flag.
- Tier 3 — high stakes (money, auth, data loss, concurrency, public API, migrations): default layers + mutation + property-based tests, and start with a short failure model — list the ways this specific change can hurt (race, partial write, hostile input, failed rollback…) and add a check that can actually catch each one. Finish with an adversarial pass: one explicit attempt to break the implementation with hostile inputs. Modes deliberately not covered go in the report as known limits.
Missing tooling
If the project has no test runner, linter, or type checker, propose the
minimal standard toolchain for the language (see references/tooling.md)
before running — a gauntlet can't run on bare ground, and installing tools
changes the user's environment, so it needs their OK (prefer project-local
installs: venv, node_modules, container — never system-level). If tooling is declined,
fall back to manual layers and record the reduced confidence honestly.
Gauntlet-layer design adapted from AmazingAng/old-coder (MIT), itself inspired by Robert C. Martin's agent-era testing strategy. This skill keeps the verification stack and evidence discipline but drops the spec-approval/TDD loop: code is written first, verified after.
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.

