refactoring-patterns

Installation
SKILL.md

Refactoring Patterns Guide

Refactoring Philosophy

Refactoring is changing code structure without changing behavior. Small, safe steps compound into significant improvements.

Core Principles

  1. Tests first - Never refactor without a safety net
  2. Small steps - Each change should be reversible
  3. One thing at a time - Don't mix refactoring with feature work
  4. Boy Scout Rule - Leave code better than you found it

"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." — Martin Fowler


{% if focus == "code-smells" or focus == "simplification" %}

Code Smells & Fixes

Installs
3
GitHub Stars
1
First Seen
Mar 22, 2026