incremental-refactor

Community

Safe, incremental refactoring constraints.

Authorgustavofsantos
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Provides constraints and guardrails to perform safe, incremental refactoring of code during development sessions. It helps users clean up code, remove duplication, extract concepts, or improve structure without altering behavior, and generates a constraint block for the card's Context section in Claude Code.

Core Features & Use Cases

  • Constraint block ready for Claude Code planning sessions, including explicit safety rules and a checklist.
  • The flocking rules guide the identification and elimination of duplication with the simplest change.
  • Common safe moves outline safe, one-step edits (rename, extract, inline, move, replace constants) to keep behavior intact.
  • Signals for violations help prevent multiple structural changes or unintended behavior changes in a single task.

Quick Start

Paste the constraint block into the card's Context before starting the Claude Code session to guide planning.

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: incremental-refactor
Download link: https://github.com/gustavofsantos/dot-files/archive/main.zip#incremental-refactor

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.