refactor-pass
Skill157 starsChanged 5 months agoApache-2.0View on GitHub
Perform a refactor pass focused on simplicity after recent changes. Use when the user asks for a refactor/cleanup pass, simplification, or dead-code removal and expects build/tests to verify behavior.
4 other projects use a version of this, 2 of them edited.
Adopted by
Most recently taken up by
- EnsoDynamics/enso-methodtheir own version, first seen Oct 11, 2026
- star-history/star-historyword for word, first seen Oct 8, 2026
- ElyzeSolutions/skillsedited, first seen Aug 6, 2026
- montagao/skillsedited, first seen Feb 23, 2026
Other versions4 projects use a version of this.
Word for word · 1
- star-history/star-history★ 9.7k100% same
Edited · 2
- montagao/skills★ 2100% same
- ElyzeSolutions/skills★ 191% same
Wrote their own version · 1
- EnsoDynamics/enso-method★ 6same 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 repository3 other files it gives its agents.
- .claude/claude.mdCLAUDE.md
- pr-bot-reviewsSkill
- take-doc-screenshotsSkill
The file
We split this skill into the rules it gives an agent
2 rules. 2 are common, 0 are distinctive, and 0 are very specific to this project.
2
Common
Most of the 3 edited versions we read keep these.
0
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
- Common: line 12
Remove dead code and dead paths.
- Common: line 16
Run build/tests to verify behavior.
“Common” is measured: kept by at least 6 in 10 of the 3 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
Refactor Pass
Workflow
- Review the changes just made and identify simplification opportunities.
- Apply refactors to:
- Remove dead code and dead paths.
- Straighten logic flows.
- Remove excessive parameters.
- Remove premature optimization.
- Run build/tests to verify behavior.
- Identify optional abstractions or reusable patterns; only suggest them if they clearly improve clarity and keep suggestions brief.
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.

