test-and-fix
Skill0 starsChanged 5 months agoMITView on GitHub
Run the test suite, read failures, patch, and re-run — looping until green or a precise blocker report. Use for any feature or module that has tests. Caps attempts so it can't run away.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- LucasCooperBey/claude-skillstheir own version, first seen Oct 20, 2026
- rayketcham-lab/qn-claude-webtheir own version, first seen Mar 30, 2026
- renatorozas/claude-code-configtheir own version, first seen Mar 19, 2026
- yu-iskw/coding-agent-fabrictheir own version, first seen Feb 5, 2026
- yu-iskw/skill-inspectortheir own version, first seen Jan 23, 2026
Used with
Projects with it also use techdebt and grill.
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.Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- rayketcham-lab/qn-claude-web★ 2same name
- yu-iskw/skill-inspector★ 2same name
- LucasCooperBey/claude-skills★ 1same name
- renatorozas/claude-code-config★ 1same name
- yu-iskw/coding-agent-fabric★ 1same name
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 repository7 other files it gives its agents.
- ai-proxy-guardSkill
- consent-complianceSkill
- context-checkpointSkill
- monorepo-bootstrapSkill
- review-gateSkill
- rls-securitySkill
- security-reviewSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
3
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
- Distinctive: line 11
Run the relevant suites (unit, integration, e2e, accessibility — whatever the project has).
- Very specific: line 13
Stop at green, OR after a fixed attempt cap (e.g.
- Distinctive: line 15
Never delete or skip a failing test to "pass".
- Distinctive: line 18
All targeted suites pass, or a clear blocker report exists.
“Common” is measured: kept by at least 6 in 10 of the 5 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
test-and-fix
Close the loop on tests automatically, so cheaper models can self-correct safely.
Steps
- Run the relevant suites (unit, integration, e2e, accessibility — whatever the project has).
- On failure: read the actual error, form a hypothesis, patch the smallest thing, re-run.
- Stop at green, OR after a fixed attempt cap (e.g. 6) → write a precise blocker report
(the failing test, the error, what you tried) to
tasks.mdand stop. - Never delete or skip a failing test to "pass". Never mark done on a partial.
Done when
All targeted suites pass, or a clear blocker report exists. Coverage on changed code meets your project threshold.
Token tactics
Ideal for a cheaper/mid model — the iterative loop is where expensive models waste budget. Cap the attempts to bound cost. Pass only the failing test + the file under test, not the whole repo.
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.

