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

  • Resource Duplication — Resource duplication expert - use when configuring a resource to be copied between projects 39.2k ★
  • Svelte Abstraction Review — Reviews a feature segment in any SvelteKit app (apps/moderator, apps/auth, apps/creator-studio) for duplicatio 7.2k ★
  • Tend — Tend the Allium garden 3.7k ★

Full documentation available on GitHub

View Source Repository