Agent skills for refactoring in Claude Code
203 agent skills for refactoring in the catalog list Claude Code as a supported host. These are the 15 that rank highest, ordered by adoption, freshness and documentation. brooks-sweep, brooks-health and refactor-clean lead the list. Claude Code reads them from .claude/skills/<name>/SKILL.md in the project, or ~/.claude/skills/<name>/ for every project. A skill is a folder with a SKILL.md file; Claude Code loads it when a task matches its description. Every listing links to its source and shows a freshness grade.
Updated Oct 26, 2026 · Built from catalog data; how we rank and grade
How to install in Claude Code
npx skills add <owner>/<repo> --skill <name> -a claude-code
Where it goes: .claude/skills/<name>/SKILL.md in the project, or ~/.claude/skills/<name>/ for every project.
The host's docs describe copying a folder with a SKILL.md into a skills directory; the npx skills command is a third-party shortcut for the same thing.
Each listing page has the exact command for that listing.
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
Related
- Host guideAdd-ons for Claude Code
- Host guideAgent skills for Claude Code
- Host guideAgent skills for git workflows in Claude Code
- Host guideAgent skills for agent memory in Claude Code
- Host guideAgent skills for deployment in Claude Code
- Host guideAgent skills for software testing in Claude Code
- Host guideAgent skills for browser automation in Claude Code
- Host guideAgent skills for GitHub in Claude Code
- Best ofBest agent skills for refactoring
- Best ofBest agent skills for git workflows
- Best ofBest agent skills for agent memory
- Best ofBest agent skills for GitHub
- Best ofBest agent skills for software testing