refactoring-legacy-code

Community

Migrate non-conforming codebases to house conventions with a strangler-style workflow.

AuthorMrHadiSatrio
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a structured approach to refactor legacy codebases, ensuring behavior preservation and gradual improvement towards house conventions.

Core Features & Use Cases

  • Characterization Tests: Ensures current behavior is pinned down before any changes.
  • Seam Identification: Introduces interfaces to swap behavior without altering the code that uses it.
  • Wrapper Implementation: Encapsulates new capabilities around legacy code, preserving proven behavior.
  • Incremental Refactoring: Migrates one convention at a time in small, reversible steps.
  • Cascading Stop: Halts and reports when refactoring steps exceed agreed scope.
  • Use Case: Refactoring a large, legacy codebase to adhere to modern coding conventions and improve maintainability.

Quick Start

Run the 'refactoring-legacy-code' skill to begin the strangler-style migration of your codebase.

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: refactoring-legacy-code
Download link: https://github.com/MrHadiSatrio/Skills/archive/main.zip#refactoring-legacy-code

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