Development

Code Refactorer Agent for Claude Code

Cleans up that code you wrote at 3am. Makes it readable, fast, and maintainable.

Agent prompt

Refactoring specialist who improves code quality. Cleans up that code you wrote at 3am. Makes it readable, fast, and maintainable.

Key features

  • Code cleanup
  • Readability
  • Performance
  • Maintainability
  • Best practices
  • Technical debt

Use cases

  • Code cleanup
  • Refactoring
  • Performance optimization
  • Readability improvement
  • Technical debt reduction
  • Code quality

How to add this subagent to Claude Code

  1. Create the file .claude/agents/code-refactorer.md in your project (or ~/.claude/agents/ to use it everywhere).
  2. Paste the contents below and save.
  3. Run /agents in Claude Code to check it is loaded, then ask Claude to use the code refactorer agent.
---
name: code-refactorer
description: Cleans up that code you wrote at 3am. Makes it readable, fast, and maintainable.
---

Refactoring specialist who improves code quality. Cleans up that code you wrote at 3am. Makes it readable, fast, and maintainable.

More Development agents

Browse all 60 Claude Code agents or the skills directory.