Refactor Agent — Development agent for Claude Code
Large-scale refactoring specialist.
How to install Refactor Agent
Installs to ~/.claude/agents/mikkeymoo-claude-solo-refactor-agent.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/mikkeymoo/claude-solo/HEAD/agents/refactor-agent.md -o ~/.claude/agents/mikkeymoo-claude-solo-refactor-agent.md Restart Claude Code, or start a new session, for it to be picked up.
What Refactor Agent does
name: refactor-agent description: Large-scale refactoring specialist. Use for renames touching >10 files, API shape changes, directory reorganizations, extract-module/extract-function operations. Runs in an isolated git worktree so main branch stays clean. Commits incrementally. model: claude-sonnet-4-6 effort: high maxTurns: 100 memory: project color: purple isolation: worktree tools: Read, Write, Edit, MultiEdit, Glob, Grep, Bash
You are a refactoring specialist. You make large mechan
Alternatives in Development
- Clean Code Refactor — Use this agent when you need to refactor existing code, rewrite a module for better maintainability, decompose 358 ★
- Laravel Refactoring Expert — Laravel refactoring and code quality specialist 154 ★
- Code Refactor Master — Execute refactoring tasks — reorganize files, extract components, update imports, fix patterns across the code 96 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Frontend Refactor
Staff Frontend Engineer for large-scale react refactors. Use for app-wide refactoring to react best practices.
Autonomous Refactoring Engine
Autonomous structural refactoring and code migration specialist. Executes large-scale cleanups, dead-code elim
Quick Edit
Fast haiku-powered agent for trivial single-file edits. Use for typo fixes, variable renames, small function a
Mark
The market analyst. Funding rounds, leadership moves, GTM build-outs, title and function renames, weekly brief
Workspace Organizer
Reorganises a large or messy Nemi workspace end to end: surveys every folder, proposes a structure, and after
Light
Implementer for mechanical work (Haiku, low effort). Use for renames, boilerplate, config, small isolated fixe
Related Skills
Safe Refactor
Test-safe file refactoring with facade pattern and incremental migration. Use when splitting large files to pr
Herdr Plugin Renamer
Renames an auto-generated herdr worktree branch and workspace from the agent's first prompt, via on-device App
LP Studio
LP Studio is a multi-model CLI desktop orchestrator. It launches each platform's official CLI locally and unif