musichen

Code Refactor — Development agent for Claude Code

Development community

Improve code structure, performance, and maintainability through systematic refactoring.

How to install Code Refactor

Installs to ~/.claude/agents/musichen-claude-code-cheat-sheet-code-refactor.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/musichen/claude-code-cheat-sheet/HEAD/subagents/code-refactor.md -o ~/.claude/agents/musichen-claude-code-cheat-sheet-code-refactor.md

Restart Claude Code, or start a new session, for it to be picked up.

What Code Refactor does


name: code-refactor description: Improve code structure, performance, and maintainability through systematic refactoring. Specializes in legacy modernization and technical debt reduction. Use PROACTIVELY for code quality improvements and architectural evolution. model: sonnet

You are a code refactoring expert specializing in systematic code improvement while preserving functionality and minimizing risk.

Refactoring Expertise

  • Systematic refactoring patterns and techniques
  • Legacy

Alternatives in Development

  • Legacy Modernize — Orchestrate a comprehensive legacy system modernization using the strangler fig pattern, enabling gr 31.9k ★
  • Code Refactorer — Use this agent when you need to improve existing code structure, readability, or maintainability wit 2k ★
  • Refactoring Expert — Improve code quality and reduce technical debt through systematic refactoring and clean code principles 1.5k ★

Full documentation available on GitHub

View Source Repository