auto-fix
Skill9 starsChanged 3 months agoMITView on GitHub
Capture output for each. Note what was changed. Collect all errors with file:line references.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- sonusz/skills-pubtheir own version, first seen Sep 18, 2026
- jeff-yiii/claude-code-reviewtheir own version, first seen May 12, 2026
- samsam007b/claude-code-standards-kittheir own version, first seen Mar 31, 2026
- tae0y/python-project-templatetheir own version, first seen Mar 7, 2026
- PingPingE/ai-content-agentstheir own version, first seen Feb 18, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- tae0y/python-project-template★ 14same name
- sonusz/skills-pub★ 8same name
- PingPingE/ai-content-agents★ 2same name
- samsam007b/claude-code-standards-kit★ 2same name
- jeff-yiii/claude-code-review★ 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 repository109 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/agents.mdAGENTS.md
- agent/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- router/CLAUDE.mdCLAUDE.md
- .agents/skills/llms.txtllms.txt
- agent-harnessSkill
- brain-dumpSkill
- industrial-brutalist-uiSkill
- changelog-enforcerSkill
- checkpoint-strategySkill
- context-primeSkill
- cooldown-resumeSkill
- council-reviewSkill
- data-quality-auditSkill
- debug-tracerSkill
- dependency-auditSkill
- deslopSkill
- docs-syncSkill
- duplicate-threadSkill
- email-triageSkill
- fabric-patternsSkill
- feature-flagSkill
- git-hygieneSkill
- graphifySkill
- implementation-plannerSkill
- insightsSkill
- issue-resolverSkill
- learn-ruleSkill
- local-ai-querySkill
- lr-schedule-advisorSkill
- minimalist-uiSkill
- modularity-reviewSkill
- full-output-enforcementSkill
- parallel-agentsSkill
- parallel-worktreesSkill
- prompt-librarySkill
- prompt-transparencySkill
- pro-workflowSkill
- redesign-existing-projectsSkill
- release-readinessSkill
- replay-learningsSkill
- repo-memory-updaterSkill
- repowise-intelligenceSkill
- researchSkill
- resource-panelSkill
- risky-module-reviewSkill
- sandboxed-execSkill
- scope-guardSkill
- self-improveSkill
- session-handoffSkill
- skill-composerSkill
- smart-commitSkill
- high-end-visual-designSkill
- stitch-design-tasteSkill
- system-prompt-auditSkill
- task-alive-updatesSkill
- task-scoperSkill
- design-taste-frontendSkill
- test-first-executorSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 7 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Read CLAUDE.md, package.json, pyproject.toml, Makefile, .pre-commit-config.yaml to find:
- Distinctive: line 24
Import sorters (isort, organize-imports)
- Distinctive: line 30
Run tools that report but cannot auto-fix:
- Distinctive: line 38
Read the file at the error location
- Very specific: line 42
Never suppress errors with # type: ignore or // eslint-disable unless it's genuinely unfixable and documented why
- Distinctive: line 45
Run the full check suite one more time.
- Very specific: line 55
Never introduce any types to silence TypeScript errors
- Very specific: line 56
Never use # noqa or # type: ignore without a comment explaining why
- Distinctive: line 57
Prefer fixing root causes over suppressing symptoms
- Distinctive: line 58
If a fix requires understanding business logic, flag it rather than guess
- Distinctive: line 59
Run tests after fixing to ensure no regressions
“Common” is measured: kept by at least 6 in 10 of the 4 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
Skill: auto-fix
Purpose
Automatically detect and fix linting, formatting, and type errors across the codebase. Acts as a one-shot "clean up everything" command before committing or opening a PR.
Trigger
Use when:
- Pre-commit cleanup is needed
- CI is failing due to lint/type errors
- Code was written quickly and needs polish
- You want to ensure the codebase is green before review
Process
Step 1: Discover Fix Commands
Read CLAUDE.md, package.json, pyproject.toml, Makefile, .pre-commit-config.yaml to find:
- Lint fix commands (eslint --fix, ruff check --fix, black, prettier)
- Type check commands (mypy, tsc --noEmit, pyright)
- Format commands (isort, autopep8, gofmt)
Step 2: Run Fixers (Auto-fixable)
Execute all auto-fixable tools in order:
- Formatters first (black, prettier, gofmt)
- Import sorters (isort, organize-imports)
- Lint fixers (eslint --fix, ruff --fix)
Capture output for each. Note what was changed.
Step 3: Run Checkers (Non-auto-fixable)
Run tools that report but cannot auto-fix:
- Type checkers (mypy, tsc, pyright)
- Strict lint rules that require manual intervention
Collect all errors with file:line references.
Step 4: Manual Fix Loop
For each remaining error:
- Read the file at the error location
- Understand the error message
- Apply the minimal correct fix
- Re-run the checker to confirm resolved
- Never suppress errors with
# type: ignoreor// eslint-disableunless it's genuinely unfixable and documented why
Step 5: Final Verification
Run the full check suite one more time. All checks must pass before declaring done.
Step 6: Report
Summarize:
- Files auto-formatted: N
- Lint issues auto-fixed: N
- Type errors manually fixed: N
- Remaining issues (if any): list them with explanations
Rules
- Never introduce
anytypes to silence TypeScript errors - Never use
# noqaor# type: ignorewithout a comment explaining why - Prefer fixing root causes over suppressing symptoms
- If a fix requires understanding business logic, flag it rather than guess
- Run tests after fixing to ensure no regressions
Output Format
## Auto-Fix Report
### Auto-formatted
- src/utils.py (black)
- src/models.py (isort + black)
### Lint Fixed
- src/api.py: removed unused import `os`
- src/routes.py: fixed f-string formatting
### Type Errors Fixed
- src/service.py:45 — Added `Optional[str]` return type
- src/models.py:12 — Fixed dict type annotation
### Still Failing
- None ✅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.

