Refactor fat controllers into lean ones by extracting business logic to services, handlers, and invokable commands
Scanned 8/31/2026
Install to Claude Code
npx -y skills add dev-toolings/superpowers-symfony --skill controller-cleanup --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Controller Cleanup?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/dev-toolings-controller-cleanup)More formats (shields.io, HTML) on the badges page.
---
name: symfony:controller-cleanup
allowed-tools:
- Read
- Glob
- Grep
description: Refactor fat controllers into lean ones by extracting business logic to services, handlers, and invokable commands
---
# Controller Cleanup (Symfony)
## Use when
- Refining architecture/workflows/context handling in Symfony projects.
- Planning and executing medium/complex changes safely.
## Default workflow
1. Establish current boundaries, constraints, and coupling points.
2. Propose smallest coherent architectural adjustment.
3. Execute in checkpoints with validation at each stage.
4. Summarize tradeoffs and follow-up backlog.
## Guardrails
- Use existing project patterns by default.
- Avoid broad refactors without explicit need.
- Keep decision log clear and auditable.
## Progressive disclosure
- Use this file for execution posture and risk controls.
- Open references when deep implementation details are needed.
## Output contract
- Architecture/workflow changes.
- Checkpoint validation outcomes.
- Residual risks and next steps.
## References
- `reference.md`
- `docs/complexity-tiers.md`
No comments yet. Be the first to comment!
SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.