class-refactoring

Community

Refactor PHP/Laravel code with clarity.

Authorpekral
Version1.0.0
Installs0

System Documentation

What problem does it solve?

PHP/Laravel projects often accumulate complexity and duplication, making maintenance and onboarding painful. This Skill enables safe, behavior-preserving refactoring to improve readability, consistency, and maintainability without altering external functionality.

Core Features & Use Cases

  • Analyze and identify refactoring opportunities across controllers, models, services, and tests to enforce SRP and DRY.
  • Apply clean, PHPDoc-enhanced changes and typed properties to improve static analysis and maintainability.
  • Ensure tests remain green and functionality preserved after refactoring, with clear documentation of changes for teammates.

Quick Start

To start refactoring, point the Skill at your PHP/Laravel project and instruct it to review the codebase for simplification and clarity.

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: class-refactoring
Download link: https://github.com/pekral/cursor-rules/archive/main.zip#class-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 471,000+ vetted skills library on demand.