What it does\nThis skill enables an agent to perform static analysis on PHP code to detect bloated methods. It uses a threshold system (Ideal < 15, Acceptable < 30, Long < 50, Too Long 51+) to classify method length and suggests specific refactoring techniques.\n\n## When to use it\nUse this skill during code reviews, technical debt audits, or when refactoring legacy PHP codebases to improve maintainability and adhere to SOLID principles.\n\n## What's included\n- Detection Thresholds: A clear classification matrix for method length.\n- Refactoring Patterns: Examples of 'Extract Method', 'Introduce Parameter Object', and 'Replace Method with Method Object'.\n- Grep Patterns: Shell commands to locate method signatures for analysis.\n- Output Format: A structured reporting template for documenting issues.\n\n## Compatible agents\nOptimized for Claude Code and other coding agents with shell access and the ability to analyze PHP source files.
Not yet audited
This skill has not been reviewed by our automated audit pipeline yet.