refactor-guardian - Guard refactors by validating behavior and API stability
Guards refactors by enforcing no-behavior-change contracts, validating API stability, and verifying deterministic behavior via terminal-collected artifacts.
Tags
Updated: 2026-09-19Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Validate refactor intent and scope
- Enforce refactor safety rules
- Collect baseline and candidate artifacts
- Compare pre and post change behavior
- Block unsafe structural changes early
- Author refactor verification scripts
Inputs
- Source code
- Refactor intent declaration
- Baseline artifacts
- Candidate artifacts
Outputs
- Refactor Guardian JSON report
- Verification scripts
Requirements
- Terminal access
