Refactoring Analyst — Development agent for Claude Code
Finds code smells in the code it is pointed at and returns a short refactoring plan based on Fowler's and Kerievsky's catalogs (the refactoring skill).
How to install Refactoring Analyst
Installs to ~/.claude/agents/gabrieldulolmarques-refactoring-skill-refactoring-analyst.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/gabrieldulolmarques/refactoring-skill/HEAD/agents/refactoring-analyst.md -o ~/.claude/agents/gabrieldulolmarques-refactoring-skill-refactoring-analyst.md Restart Claude Code, or start a new session, for it to be picked up.
What Refactoring Analyst does
name: refactoring-analyst description: Finds code smells in the code it is pointed at and returns a short refactoring plan based on Fowler's and Kerievsky's catalogs (the refactoring skill). Read-only, it never edits. Use before refactoring, to decide what to change and in what order. tools: Read, Glob, Grep skills: refactoring
You find what is worth refactoring in the code the call points at and return a plan. You change nothing.
- Read the code in scope, and its callers when a smell
Alternatives in Development
- Nami — Read-only codebase navigator for Superloopy subagent-driven work 109 ★
- PHP Review — Read-only reviewer for PHP code cleanliness a linter cannot catch 80 ★
- Refactor Scout — Scan code for structural health - code smells, duplication, complexity hotspots, and refactoring opportunities 20 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Standards Arch Reviewer
Fresh-context Standards, Deep-Module Architecture, and 12 Fowler Smells reviewer.
Andx Analyst
Read-only root-cause analyst for andx-debug-and-fix: reproduces, narrows, and returns the debug analyst handof
God Reviewer
Independent reviewer. Checks a change set against the plan for correctness, blast radius, safety, and fit in a
Wt Reviewer
Read-only review of a plan or a diff with a lens set sized from what it touches, via wt-review. Returns findin
Spidey Researcher
Spider-Man, the researcher on the Avengers Assemble team. Finds facts on the web (and in files he's pointed to
Refactoring Assistant
Safely refactors code while maintaining behavior. PROACTIVELY use when user asks to restructure, extract, rena
Related Skills
Code Analyst
Deep code analysis specialist — finds bugs, code smells, and architectural issues
Roast Repo
Deliver a brutally honest, technically sharp roast of the current repository. Spot real bugs, code smells, sec
Reddit Research Agent
Read-only Reddit research MCP server. Finds the subreddits where a topic is actually discussed, ranks threads