refactor-guardian

Community

Guard refactors to preserve behavior.

AuthorHawi254
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Refactor operations can unintentionally alter behavior or break public interfaces; this skill provides guardrails that verify refactors are safe by construction.

Core Features & Use Cases

  • Validates refactor intent and scope to prevent regressions.
  • Enforces no-behavior-change contracts across code movement, module extraction, renaming, and architectural restructuring.
  • Collects real artifacts (builds, tests, diffs) via terminal access and compares pre- and post-change behavior.
  • Generates actionable remediation guidance and can write helper scripts to automate repetitive checks.
  • Applies to large-scale restructuring before merges, providing a last-line safety net.

Quick Start

Run the guardian automatically during refactors to verify behavioral equivalence and public API stability.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: refactor-guardian
Download link: https://github.com/Hawi254/transport_tycoon_sim/archive/main.zip#refactor-guardian

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.