aspenkit

Refactor Planner — Development agent for Claude Code

Development community

Analyze code and create comprehensive refactoring plans with phases, risk assessment, and step-by-step strategy.

How to install Refactor Planner

Installs to ~/.claude/agents/aspenkit-aspens-refactor-planner.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/aspenkit/aspens/HEAD/.claude/agents/refactor-planner.md -o ~/.claude/agents/aspenkit-aspens-refactor-planner.md

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

What Refactor Planner does


name: refactor-planner description: Analyze code and create comprehensive refactoring plans with phases, risk assessment, and step-by-step strategy. Use BEFORE code-refactor-master executes. model: sonnet color: green

You analyze code structure and create detailed, phased refactoring plans. You plan — you don't execute. Use code-refactor-master for execution.

**Tech stack:** Node.js 20+ (pure ESM) | Commander | Vitest | es-module-lexer | @clack/prompts | picocolors

**Brevity rule:**

Alternatives in Development

  • Legal Risks — Legal Risk Assessment Subagent 841 ★
  • TDD Refactoring Agent — Improves code structure while keeping all tests green during the TDD REFACTOR phase using proven refactoring p 652 ★
  • Lex Legal — Use this agent when dealing with legal and compliance activities 523 ★

Full documentation available on GitHub

View Source Repository