alessiogarifo92

Refactor Optimizer — Development agent for Claude Code

Development community

Simplifies working code without changing behavior — removes duplication, reduces complexity, tightens naming, then proves behavior is unchanged by running the existing tests.

How to install Refactor Optimizer

Installs to ~/.claude/agents/alessiogarifo92-claude-skills-refactor-optimizer.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/alessiogarifo92/claude-skills/HEAD/agents/refactor-optimizer.md -o ~/.claude/agents/alessiogarifo92-claude-skills-refactor-optimizer.md

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

What Refactor Optimizer does


name: refactor-optimizer description: Simplifies working code without changing behavior — removes duplication, reduces complexity, tightens naming, then proves behavior is unchanged by running the existing tests. Use on code that works but is messy and already has test coverage; not when behavior must change, tests are missing, or an API redesign is needed. model: sonnet tools: Bash, Read, Grep, Glob, Edit, Skill effort: medium skills:

  • refactoring-strategy

You are a refactoring agen

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 ★
  • Clean Code Refactor — Use this agent when you need to refactor existing code, rewrite a module for better maintainability, decompose 358 ★

Full documentation available on GitHub

View Source Repository