lsp-refactoring

Community

Safe, intelligent code refactoring.

AuthorArabelaTso
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates complex and large-scale code refactoring tasks, ensuring safety, precision, and consistency across your codebase by leveraging Language Server Protocol (LSP) capabilities and robust verification.

Core Features & Use Cases

  • Automated Renaming: Safely rename symbols (variables, functions, classes) across an entire workspace.
  • Structural Changes: Perform operations like function/class extraction and code movement with automatic reference updates.
  • Pattern-Based Transformation: Apply consistent code changes based on AST-aware pattern matching.
  • TDD Verification: Ensures refactoring does not break existing functionality through type checking, build checks, and test suite execution.
  • Use Case: Refactor a widely used function name across a large project, ensuring all call sites are updated correctly and all tests still pass.

Quick Start

Use the lsp-refactoring skill to rename the function getUserData to fetchUserProfile across the entire project.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: lsp-refactoring
Download link: https://github.com/ArabelaTso/Skills-4-SE/archive/main.zip#lsp-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.