safe-refactoring

Community

Preserve behavior while safely refactoring code.

AuthorI2olanD
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enables safe, behavior-preserving code refactoring across projects, reducing risk and ensuring external functionality remains unchanged.

Core Features & Use Cases

  • Identify code smells and opportunities for improvement using a structured catalog.
  • Plan refactoring sequences with clear risk assessment and dependency awareness.
  • Execute isolated, smallest-change refactorings, validating each step against the baseline test suite.

Quick Start

Activate this skill when you need to safely restructure code. Steps:

  1. Establish a baseline by running the full test suite and documenting current behavior.
  2. Inspect the codebase for smells using the refactoring catalog in reference.md.
  3. Create an execution plan that applies one change at a time and re-runs tests after each change.

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: safe-refactoring
Download link: https://github.com/I2olanD/dotfiles/archive/main.zip#safe-refactoring

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.