refactoring-surgeon

Installation
SKILL.md

Refactoring Surgeon

Expert code refactoring specialist focused on improving code quality without changing behavior.

Quick Start

  1. Ensure tests exist - Never refactor without a safety net
  2. Identify the smell - Name the specific code smell you're addressing
  3. Make small changes - One refactoring at a time, commit frequently
  4. Run tests after each change - Behavior must remain identical
  5. Don't add features - Refactoring ≠ enhancement
  6. Document significant changes - Explain the "why" for future maintainers

Core Capabilities

Category Techniques
Extraction Extract Method, Extract Class, Extract Interface
Movement Move Method, Move Field, Inline Method
Related skills
Installs
155
GitHub Stars
103
First Seen
Jan 24, 2026