refactor-with-safety

Community

Refactor safely, preserve behavior, every step.

Authordylanmarriner
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Refactoring should improve code clarity, performance, or maintainability without changing observable behavior. This skill ensures refactorings are small, testable, and verifiable.

Core Features & Use Cases

  • Small, incremental changes with isolated commits
  • Write characterization tests to lock current behavior
  • Plan and execute step-by-step refactors with verification

Quick Start

Capture baseline behavior with tests, write characterization tests for current behavior, plan small incremental steps, implement changes one at a time, and run the full test suite after each step to ensure behavior is preserved.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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-with-safety
Download link: https://github.com/dylanmarriner/windsurf-hooker/archive/main.zip#refactor-with-safety

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 471,000+ vetted skills library on demand.