review-fix
Skill153 starsChanged 8 months agoMITView on GitHub
Code review with automatic fix. Detects bugs, stale references, code duplication, provider abstraction gaps, and sort instability — then fixes and verifies.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- davidvornholt/mailboxtheir own version, first seen Oct 4, 2026
- 200iqlabs/shared-skillstheir own version, first seen Aug 22, 2026
- EternallLight/tgc-skillstheir own version, first seen Jul 13, 2026
- EricTechPro/startup-claude-skillstheir own version, first seen Jun 5, 2026
- DasDigitaleMomentum/opencode-processing-skillstheir own version, first seen Feb 21, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- DasDigitaleMomentum/opencode-processing-skills★ 59same name
- EricTechPro/startup-claude-skills★ 56same name
- EternallLight/tgc-skills★ 9same name
- 200iqlabs/shared-skills★ 4same name
- davidvornholt/mailbox★ 2same 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 repository25 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- benchmark-runnerSkill
- check-implSkill
- check-production-readySkill
- deploy-workflowSkill
- git-worktreeSkill
- hitl-approvalSkill
- mutation-testSkill
- review-allSkill
- review-architectureSkill
- review-duplicatesSkill
- review-fixSkill
- rust-agent-specialistSkill
- benchmark-runnerSkill
- check-implSkill
- check-production-readySkill
- deploy-workflowSkill
- git-worktreeSkill
- hitl-approvalSkill
- mutation-testSkill
- review-allSkill
- review-architectureSkill
- review-duplicatesSkill
- rust-agent-specialistSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 6 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
6
Distinctive
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 16
If no changes exist, abort with "nothing to review".
- Distinctive: line 20
Run build and lint to establish a clean starting point:
- Distinctive: line 27
If the baseline already fails, report the failures and stop — do not mask pre-existing breakage.
- Distinctive: line 55
Do not change unrelated code.
- Distinctive: line 56
After all fixes, run:
- Distinctive: line 63
If clippy or test compilation fails, revert the offending edit and report it as 🟡 instead.
“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
Review uncommitted changes, fix actionable issues, and verify the result.
Workflow
Phase 1: Scope
git status --shortandgit diff --stat HEADto determine what changed.- If no changes exist, abort with "nothing to review".
Phase 2: Baseline
Run build and lint to establish a clean starting point:
cargo clippy --workspace -- -D warnings 2>&1 | tail -20
cargo test --workspace --no-run 2>&1 | tail -5If the baseline already fails, report the failures and stop — do not mask pre-existing breakage.
Phase 3: Review
Inspect the diff and new untracked files. Check for:
| Category | What to look for |
| Stale references | Deleted modules/commands still referenced in routing, docs, templates |
| Code duplication | Identical structs/functions across multiple files (> 10 lines, > 90% similarity) |
| Provider abstraction gaps | Hard-coded CLI names (claude, codex, gh copilot) instead of AgentProvider trait |
| Dead async | Async operations whose results are discarded (let _ = tokio::...await.ok() then re-done synchronously) |
| Sort instability | Utc::now() used as fallback sort key (non-deterministic) |
| Hardcoded paths | Filesystem paths that should be relative to repo_path |
| Unused TODO params | CLI arguments accepted but silently ignored (_param: T) |
| Security | Path traversal in user-supplied IDs, credential leaks |
Classify each finding:
- 🔴 Fix: Clear bug or correctness issue — fix it now.
- 🟡 Warn: Design concern or missing feature — report but do not fix unless trivial.
- 🟢 Note: Style or informational — report only.
Phase 4: Fix
For each 🔴 finding:
- Make the minimal, surgical edit.
- Do not change unrelated code.
- After all fixes, run:
cargo clippy --workspace -- -D warnings
cargo test --workspace --no-runIf clippy or test compilation fails, revert the offending edit and report it as 🟡 instead.
Phase 5: Report
Output a structured summary:
## Review + Fix Report
### Fixed (🔴)
- <file>:<line> — <description>
### Warnings (🟡)
- <file>:<line> — <description>
### Notes (🟢)
- <description>
### Verification
- clippy: PASS / FAIL
- test compile: PASS / FAIL
- files modified: NDoes 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.

