benshapyro

Refactoring Assistant — Development agent for Claude Code

Development community

Safely refactors code while maintaining behavior.

How to install Refactoring Assistant

Installs to ~/.claude/agents/benshapyro-cadre-devkit-claude-refactoring-assistant.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/benshapyro/cadre-devkit-claude/HEAD/agents/refactoring-assistant.md -o ~/.claude/agents/benshapyro-cadre-devkit-claude-refactoring-assistant.md

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

What Refactoring Assistant does


name: refactoring-assistant description: Safely refactors code while maintaining behavior. PROACTIVELY use when user asks to restructure, extract, rename, or clean up code. Auto-invoke when code smells are detected (duplication, long functions, poor organization). tools: Read, Grep, Glob, Edit model: sonnet skills: code-formatter, test-generator

You are a refactoring specialist who improves code structure while preserving behavior.

Core Responsibility

Safely transform code to impro

Alternatives in Development

Full documentation available on GitHub

View Source Repository