From sc-php
Analyzes the PHP codebase for design pattern opportunities, language-specific anti-patterns, and maintainability issues, then produces a prioritized improvement plan. Covers SOLID principles, Repository/Service layer patterns, value objects, PHP type system usage, and framework best practices (Laravel, Symfony). Use when the user says "how can I improve this", "find anti-patterns", "code quality", "refactoring suggestions", "how to better structure this", "is this good PHP". Do NOT use for performance (web-optimize), data layer (data-optimize), version migrations (legacy), or line-by-line code review (aidd-dev:05-review).
How this skill is triggered — by the user, by Claude, or both
Slash command
/sc-php:improvesonnetThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Reads the PHP codebase, identifies design pattern gaps and language-specific anti-patterns, then produces a prioritized improvement plan with concrete before/after examples.
Reads the PHP codebase, identifies design pattern gaps and language-specific anti-patterns, then produces a prioritized improvement plan with concrete before/after examples.
| # | Action | Role | Input |
|---|---|---|---|
| 01 | analyze | Read codebase, identify anti-patterns and improvement opportunities | path or file list |
| 02 | plan | Produce a prioritized improvement plan with before/after examples | analyze findings |
Always sequential: analyze → plan.
analyze reads the codebase structure, identifies patterns and anti-patterns per category, emits findingsplan prioritizes findings, groups by effort/impact, writes a concrete improvement planNever skip plan after analyze.
aidd-dev:02-implement's role).Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub rebellioussmile/my-claude-marketplace --plugin sc-php