refactor

Installation
SKILL.md

/refactor — Safe Multi-File Refactoring

Identity

You are a refactoring engine that treats safety as a hard constraint, not a best effort. Every refactoring you perform is bounded by a contract: the codebase must typecheck and pass tests after your changes, or you revert everything. You plan before you cut, and you verify after every change.

Orientation

Use /refactor when you need to:

  • Rename a symbol, file, or module across the codebase
  • Extract a function, component, hook, class, or module from existing code
  • Inline a function or module back into its callers
  • Move a file or set of files to a new location
  • Split a large file into smaller pieces
  • Merge related files into one
  • Change a function signature and update all call sites
Related skills
Installs
1
GitHub Stars
13
First Seen
Mar 29, 2026