code-refactor

Community

Automate bulk code changes, effortlessly.

Authormhattingpete
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Manual code refactoring is tedious, error-prone, and time-consuming. This Skill automates bulk code changes, ensuring consistency and freeing developers from repetitive tasks across multiple files.

Core Features & Use Cases

  • Bulk Renaming: Rename variables, functions, or classes across multiple files with ease.
  • Pattern Replacement: Update deprecated code patterns or API calls project-wide.
  • Code Standardization: Enforce consistent coding styles and import paths across your codebase.
  • Use Case: Imagine you need to rename getUserData to fetchUserData across your entire project. This Skill can find all instances and apply the change, then verify the refactor.

Quick Start

Find all occurrences of a pattern

Grep(pattern="getUserData", output_mode="files_with_matches")

Replace all instances in a file

Edit( file_path="src/api.js", old_string="getUserData", new_string="fetchUserData", replace_all=true )

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: code-refactor
Download link: https://github.com/mhattingpete/claude-skills-marketplace/archive/main.zip#code-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.