code-refactor

Installation
SKILL.md

Code Refactor

Overview

This skill guides systematic refactoring of one or more codebase components through three phases:

  1. Research - Deep analysis of component behavior, usage patterns, and dependencies
  2. Proposal - Concrete change suggestions with code samples and impact analysis
  3. Test Plan - Test strategy to validate changes without regressions

Each phase produces a markdown document, creating a complete refactoring proposal that can be reviewed before implementation.

Output Structure

Ask the user for an output directory (e.g., ./docs/refactoring/ or ./proposals/).

Related skills

More from baggiponte/skills

Installs
12
First Seen
Jan 23, 2026