Best agent skills for refactoring
We found 203 agent skills for refactoring in the catalog; these are the 15 that rank highest. The order comes from our rank, which weighs adoption, freshness, documentation and publisher identity. Nobody can pay for a place on this list. brooks-sweep, brooks-health and refactor-clean lead it. code-reviewer comes from the largest repository here (12,039 stars). 13 of the 15 had activity in the last 30 days. Each entry lists why it made the list and links to its install page.
Updated Oct 26, 2026 · Built from catalog data; how we rank and grade
Top 15 of 203
- 1brooks-sweep
hyhmrright
Full-sweep mode: runs a unified analysis across all quality dimensions — code decay, architecture, tech debt, and test quality — then applies fixes directly…
- Repository has 1.5K stars
- Active in the last 30 days
- Open source (MIT)
★ 1.5KLast active Oct 24, 2026Claude Code, Claude apps, Codex, Cursor +6
AFreshness: A–Security: not graded yet - 2brooks-health
hyhmrright
Combined codebase health dashboard that scores a project across all four quality dimensions — PR quality, architecture, tech debt, and test quality — in a…
- Repository has 1.5K stars
- Active in the last 30 days
- Open source (MIT)
★ 1.5KLast active Oct 24, 2026Claude Code, Claude apps, Codex, Cursor +6
AFreshness: A–Security: not graded yet - 3refactor-clean
dzhng
Refactor cleanly instead of layering sediment.
- Repository has 1.4K stars
- Active in the last 30 days
- Open source (MIT)
★ 1.4KLast active Oct 14, 2026Claude Code, Claude apps, Codex, Cursor +6
AFreshness: A–Security: not graded yet - 4well-formed
luongnv89
Review pull request diffs for code smells, style issues, and safety problems before merging.
- Active in the last 30 days
- Open source (MIT)
★ 959Last active Oct 20, 2026Claude Code, Claude apps, Codex, Cursor +6
AFreshness: A–Security: not graded yet - 5component-refactoring
Charlie85270
Refactor high-complexity React components in Dify frontend.
- Active in the last 30 days
- Open source (MIT)
★ 353Last active Oct 23, 2026Claude Code, Claude apps, Codex, Cursor +6
AFreshness: A–Security: not graded yet - 6architectural-analysis
Pedro Nauck
Audit architecture, dead code, duplication, type confusion, and code smells across a codebase.
★ 641Last active Sep 5, 2026Claude Code, Claude apps, Codex, Cursor +6
BFreshness: B–Security: not graded yet - 7refactoring-analysis
Pedro Nauck
Audit code quality and architectural health or plan refactoring using Fowler code smells and techniques; write prioritized findings to docs/_refacs/.
- Ships helper scripts
- For Python
★ 641Last active Sep 13, 2026Claude Code, Claude apps, Codex, Cursor +6
BFreshness: B–Security: not graded yet - 8code-reviewer
https://github.com/Jeffallan
Analyzes code diffs and files to identify bugs, security vulnerabilities (SQL injection, XSS, insecure deserialization), code smells, N+1 queries, naming…
- Largest repository here (12,039 stars)
- Active in the last 30 days
- Open source (MIT)
★ 12KLast active Oct 16, 2026Claude Code, Claude apps, Codex, Cursor +6
AFreshness: A–Security: not graded yet - 9go-refactoring
eduardo-sl
Safe refactoring workflow for Go: behavior-preserving steps, compiler-checked renames, extracting packages, breaking circular dependencies, and strangler…
- Active in the last 30 days
- Open source (MIT)
★ 82Last active Oct 14, 2026Claude Code, Claude apps, Codex, Cursor +6
AFreshness: A–Security: not graded yet - 10mstar-audit
btspoony
Audit or survey a codebase into an evidence-backed, prioritized review report (read-only): bugs, security, perf, test gaps, tech debt, DX, a PR/branch/diff…
- Active in the last 30 days
- Open source (MIT)
★ 64Last active Oct 24, 2026Claude Code, Claude apps, Codex, Cursor +6
AFreshness: A–Security: not graded yet - 11repo-graph-impact
James-Chahwan
Blast radius before a change — everything a node affects (forward) or that depends on it (backward), ranked and located, with likely-dead code flagged.
- Active in the last 30 days
- Open source (MIT)
★ 87Last active Oct 2, 2026Claude Code, Claude apps, Codex, Cursor +6
AFreshness: A–Security: not graded yet - 12dead-code
kaeawc
Use this skill to detect and clean up dead code in this repo, starting with the project’s TypeScript dead-code scripts and validating that removals do not…
- Active in the last 30 days
- Open source (Apache-2.0)
★ 52Last active Oct 20, 2026Claude Code, Claude apps, Codex, Cursor +6
AFreshness: A–Security: not graded yet - 13melech-tidy
AdirD
Adaptive diff reduction — prune dead code residue, shake prompt bloat, remove cosmetic diff noise, and propose edge-case trades that drop rare-case handling…
- Active in the last 30 days
- Open source (MIT)
★ 45Last active Oct 5, 2026Claude Code, Claude apps, Codex, Cursor +6
AFreshness: A–Security: not graded yet - 14code-refactoring
myths-labs
Code refactoring patterns and techniques for improving code quality without changing behavior.
- Active in the last 30 days
- Open source (MIT)
★ 36Last active Oct 24, 2026Claude Code, Claude apps, Codex, Cursor +6
AFreshness: A–Security: not graded yet - 15simplify
griffinwork40
Discovers incidental complexity, duplication, and dead code in a codebase and produces a ranked, behavior-preserving reduction plan — optionally applying safe…
- Active in the last 30 days
- Open source (Apache-2.0)
★ 23Last active Sep 30, 2026Claude Code, Claude apps, Codex, Cursor +6
AFreshness: A–Security: not graded yet