Refactor Safely

Restructure existing code while preserving externally observable behavior through explicit invariants, characterization evidence, small reversible steps, and continuous verification. Use when the user asks to refactor, simplify, extract, reorganize, modularize, deduplicate, split a component, improve architecture, or pay down technical debt without intentionally changing product behavior. Distinguish refactoring from feature work and stop scope drift from hiding inside structural edits.

contextosai Updated 1 repo stars

File contents

contextosai/skills commit ccda783be0

Frequently asked questions

npx get-skill add contextosai/refactor-safely