Code Refactorer — Development agent for Claude Code
Refactor overly large code units into smaller, more focused components.
How to install Code Refactorer
Installs to ~/.claude/agents/aspiers-ai-config-code-refactorer.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/aspiers/ai-config/HEAD/.claude/agents/code-refactorer.md -o ~/.claude/agents/aspiers-ai-config-code-refactorer.md Restart Claude Code, or start a new session, for it to be picked up.
What Code Refactorer does
name: code-refactorer description: Refactor overly large code units into smaller, more focused components tools: Read, Grep, Glob, Bash, Edit, Write, Skill(code-refactoring-small)
Use the `code-refactoring-small` skill to refactor code.
Alternatives in Development
- Track Management — Guide for creating, managing, and completing Conductor tracks - the logical work units that organize 31.9k ★
- Code Refactorer — Use this agent when you need to improve existing code structure, readability, or maintainability wit 2k ★
- Refactorer Agent — You are a refactoring expert who improves code structure without changing external behavior 1.3k ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
File Refactor Organizer
Use this agent when you need to break down large files into smaller, more maintainable components or modules.
Clean Code Refactor
Use this agent when you need to refactor existing code, rewrite a module for better maintainability, decompose
Apex Refactorer
Refactor an Apex class to canonical patterns. SfSkills apex workflow agent, /refactor-apex: reads its AGENT.md
Doc Refactor Agent
Technical writer, architecture documentation specialist, code style refactorer, and API cataloger.
Size Purist
The merciless executioner of bloated files. Use this agent to find oversized files, god classes, mega-componen
Jev Long
Repository worker pinned to the long tier (fable). Use when you already know the tier you want and would rathe
Related Skills
Decompose
Break a large GitHub issue into smaller, actionable sub-issues
Safe Refactor
Test-safe file refactoring with facade pattern and incremental migration. Use when splitting large files to pr
Refactor TDD
REFACTOR phase - Improve code quality while keeping tests green with automatic metrics tracking in sprintdag d