audit-fix-loop
Skill4 starsChanged 54 days agoMITView on GitHub
Iteratively audit and fix a specified diff, feature, or code area when the user explicitly requests an audit-and-fix loop or asks to keep fixing until clean. Validate reproducible defects and recheck affected behavior until the requested acceptance criteria are met. Review-only requests remain read-only.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- mattmireles/gemma-tuner-multimodaltheir own version, first seen Nov 1, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- mattmireles/gemma-tuner-multimodal★ 1.5ksame 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 repository39 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agentic-repo-scaffoldSkill
- agent-travel-plannerSkill
- ai-workflow-spineSkill
- ana-awardSkill
- analyze-video-evidenceSkill
- apple-pdfSkill
- autonomous-grindSkill
- award-flightsSkill
- banxian-skillSkill
- big-taskSkill
- clean-room-rewriteSkill
- cloudflare-r2-setupSkill
- codebase-sweepSkill
- context-infrastructureSkill
- deep-researchSkill
- download-web-videoSkill
- dr-sharpSkill
- game-script-creationSkill
- gemini-imageSkill
- gpt-imageSkill
- investigateSkill
- jewelry-marketingSkill
- learning-coachSkill
- mineru-pdf-parserSkill
- mtcSkill
- narrative-researchSkill
- neat-freakSkill
- pet-forgeSkill
- plan-design-reviewSkill
- pr-fix-loopSkill
- proxy-node-setupSkill
- serenity-bottleneck-researchSkill
- task-shaped-agent-routingSkill
- transcribeSkill
- tridentSkill
- tui-engineeringSkill
- wandian-writerSkill
- web-novel-writingSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
Update documentation directly invalidated by a fix as part of that fix.
- Distinctive: line 39
If parallel work is useful and permitted, delegate independent audit slices or fix clusters with explicit boundaries.
- Distinctive: line 62
Do not require both unit and E2E tests for every fix.
- Distinctive: line 66
After a fix, run the focused check and required project verification.
- Distinctive: line 83
If the same failure recurs without new evidence, change the hypothesis, reproduce it more directly, or identify the missing dependency.
- Distinctive: line 89
Keep progress updates brief: supported findings, fixes verified, and the next uncertainty.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Audit-Fix Loop
Converge on verified fixes for defects within the requested scope.
Contract
Identify the target diff, feature, paths, or whole-project scope from the request and repository instructions. Preserve existing authorization and user-owned changes. Audit/review alone produces findings; apply fixes only when requested. Continue already authorized fixes without a new permission question for each round.
Inspect source, callers, tests, and build configuration before choosing audit slices or verification commands. Do not add cleanup, commits, PRs, remote messages, memory updates, or documentation projects to the user's request. Update documentation directly invalidated by a fix as part of that fix.
Audit and triage
Audit the full requested scope first. Report concrete defects with location, trigger or reproduction, expected versus actual behavior, impact, and evidence. Trace cross-file contracts far enough to establish the failure. Distinguish reproducible bugs from stylistic preferences, uncertain hypotheses, and unrelated existing debt; do not turn coverage percentages into bug findings.
Deduplicate findings that share a root cause. Prioritize by impact and confidence grounded in evidence, without a numeric confidence cutoff. An in-scope supported defect remains work even when its severity is low; a nit or speculative redesign does not become required merely because a reviewer mentioned it.
If parallel work is useful and permitted, delegate independent audit slices or fix clusters with explicit boundaries. Give writers disjoint ownership and keep dependent fixes sequential. Choose available capabilities for the actual difficulty; no prescribed agent roster, model, or compressed return limit. Require enough evidence to integrate and verify each result.
Fix, verify, recheck
Implement the smallest change that resolves the root cause and preserves contracts. Test the demonstrated failure mode using the repository's existing tools and fixtures. Add a regression test when it meaningfully protects that behavior; choose unit, integration, or UI coverage from where the defect lives.
Examples of useful verification:
| Defect | Evidence that can establish the fix |
| Pure logic error | A deterministic example that failed before and now passes. |
| Query or transaction behavior | A database-backed check of the relevant constraint or interleaving. |
| Permission failure | Allowed and denied cases at the actual enforcement boundary. |
| UI state or interaction | Rendered state and the affected user interaction. |
| Configuration or build failure | The actual startup, build, or configuration consumer. |
Do not require both unit and E2E tests for every fix. Reversible wording or format changes usually need inspection or the relevant linter. Required project checks and project coverage contracts still apply.
After a fix, run the focused check and required project verification. Investigate failures; distinguish failures caused by this diff from existing or environmental failures. Do not delete a valid failing test to claim green. Reuse passing evidence until new changes or unresolved concerns justify repeating it.
Re-audit the changed files, their callers, affected contracts, and new tests. Expand only when evidence shows wider impact. The initial requested scope does not need a fresh whole-codebase audit after each local fix.
Convergence and output
Finish when supported in-scope defects are resolved, affected rechecks find no remaining defects, and required verification supports the acceptance criteria. Report the checked scope and limitations rather than claiming an entire codebase is defect-free.
If the same failure recurs without new evidence, change the hypothesis, reproduce it more directly, or identify the missing dependency. Follow any user-set round or time budget; an exhausted budget or external blocker is an incomplete outcome, not convergence. Ask only for missing authority or a material decision that cannot be inferred, after completing independent work.
Keep progress updates brief: supported findings, fixes verified, and the next uncertainty. Deliver a concise result with changed files, evidence, and any unresolved finding with its blocker. Store a report only when requested or the project's workflow calls for one.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

