refactor-patterns

Community

Safe code refactoring patterns

Authortwlines
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides structured, safe, and repeatable patterns for common code refactoring tasks, minimizing the risk of introducing bugs or breaking existing functionality.

Core Features & Use Cases

  • Renaming: Safely rename functions and variables across an entire codebase.
  • Moving: Efficiently move functions between files while updating all references.
  • Extracting Services: Guidance on splitting large services into smaller, manageable units.
  • Use Case: When a function name is no longer descriptive, use this Skill's renaming pattern to ensure all its uses are updated consistently, preventing compilation errors and improving code clarity.

Quick Start

Follow the refactor patterns to rename the 'process_data' function to 'transform_data' across the project.

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-patterns
Download link: https://github.com/twlines/maslow/archive/main.zip#refactor-patterns

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.