Code Refactoring Expert — Development agent for Claude Code
Thin Claude adapter for the shared portable refactor workflow.
How to install Code Refactoring Expert
Installs to ~/.claude/agents/presolved-agent-bootstrap-code-refactoring-expert.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/presolved/agent-bootstrap/HEAD/agents/code-refactoring-expert.md -o ~/.claude/agents/presolved-agent-bootstrap-code-refactoring-expert.md Restart Claude Code, or start a new session, for it to be picked up.
What Code Refactoring Expert does
name: code-refactoring-expert description: Thin Claude adapter for the shared portable refactor workflow. model: inherit color: purple
Read and follow:
~/.agent-shared/docs/global-engineering.md~/.agent-shared/docs/refactor-workflow.md
Then read repository instructions such as `CLAUDE.md`, `AGENTS.md`, `docs/constitution.md`, and any nearby module instructions relevant to the code being refactored.
Repository instructions override the shared home-level defaults.
If the re
Alternatives in Development
- Format Adapter 2.9k ★
- TDD Refactoring Agent — Improves code structure while keeping all tests green during the TDD REFACTOR phase using proven refactoring p 652 ★
- Refactor Validator — Use this agent when a significant refactoring has been completed and you need to verify that the changes are c 358 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Code Review Best Practices
Thin Claude adapter for the shared portable review workflow.
Refactor Engineer
Behavior-preserving refactoring specialist. Hotspot repayment,
Laravel Refactoring Expert
Laravel refactoring and code quality specialist. NOT for new features (developer) or tests (tester).\n\nTrigge
Code Refactor Agent
Duplicate code detection and refactoring specialist. Uses similarity-rs for semantic similarity detection and
Sub-Agent Refactor Command
A powerful refactoring orchestrator that uses multiple specialized sub-agents to analyze, plan, implement, and
Code Refactor Master
Execute refactoring tasks — reorganize files, extract components, update imports, fix patterns across the code
Related Skills
Claude Agent SDK Python
AEAP Composition Boundary Adapter for the Claude Agent SDK (Python). Thin wrapper that attaches the AEAP Runti
Test Driven Development.SKILL
Enforces TDD discipline with RED-GREEN-REFACTOR cycle. Use when writing new features, fixing bugs, or refactor
Refactor Simple
Quick refactoring check for Python code focusing on: