Skip to content
Agentmart
Submit a tool

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

  1. 1
    brooks-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

  2. 2
    brooks-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

  3. 3

    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

  4. 4
    well-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

  5. 5

    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

  6. 6

    Audit architecture, dead code, duplication, type confusion, and code smells across a codebase.

    ★ 641Last active Sep 5, 2026Claude Code, Claude apps, Codex, Cursor +6

  7. 7

    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

  8. 8
    code-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

  9. 9
    go-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

  10. 10
    mstar-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

  11. 11
    repo-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

  12. 12
    dead-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

  13. 13

    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

  14. 14

    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

  15. 15
    simplify

    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