refactoring-advisor
CommunityRefactor PHP/CakePHP for cleaner, faster code
Authormasanao-ohba
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill identifies code smells, architectural weaknesses, and CakePHP-specific refactoring opportunities to improve maintainability, performance, and testability in PHP applications.
Core Features & Use Cases
- Code smell detection: long methods, oversized classes, duplication, and cross-cutting concerns in controllers, models, and services.
- Design-pattern guidance: Repository, Service, Factory, and Behavior extraction with concrete before/after examples.
- Performance optimization: resolve N+1 queries, enable eager loading, implement caching, and modularize code for testability.
Quick Start
To use this skill, provide a CakePHP code snippet or describe observed symptoms; the skill will return a targeted refactoring plan with file structure changes and example code.
Dependency Matrix
Required Modules
None requiredComponents
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: refactoring-advisor Download link: https://github.com/masanao-ohba/claude-manifests/archive/main.zip#refactoring-advisor Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.