Refactor Safely

Use when renaming, moving, extracting, or removing code and every affected location must be known before the first edit — a rename that spans call sites, an extraction that changes a signature, or a removal that might delete something still in use. Trigger phrases: "refactor this safely", "rename X everywhere", "is this code still used", "find everything that calls this before I change it", "preview this refactor". Not for reconciling a feature whose implementation has drifted from its intended design — that is `differential-feature-refactor`, a design question to answer first; this skill is the mechanical preview-apply-verify discipline once the refactor's scope is already known.

Arasz c556e18 4.0 KB Updated

File contents

Arasz/ai-badger/tree/main/.ai-badger/skills/refactor-safely commit c556e1806b

Frequently asked questions

npx skillmds@latest add arasz/refactor-safely