
Laravel Controller Cleanup
- 31 installs
- 10 repo stars
- Updated June 13, 2026
- noartem/laravel-vue-skills
Helps with ai & agent building tasks.
About
laravel-controller-cleanup is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.
- laravel-controller-cleanup
- AI & Agent Building
- AI-coding skill
Laravel Controller Cleanup by the numbers
- 31 all-time installs (skills.sh)
- Ranked #9,202 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
- Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/noartem/laravel-vue-skills --skill laravel-controller-cleanupAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 31 |
|---|---|
| repo stars | ★ 10 |
| Last updated | June 13, 2026 |
| Repository | noartem/laravel-vue-skills ↗ |
What it does
Helps with ai & agent building tasks.
Files
Controller Cleanup
Keep controllers small and focused on orchestration.
Move auth/validation to Form Requests
- Create a Request class (e.g.,
StoreUserRequest) and useauthorize()+rules() - Type-hint the Request in your controller method; Laravel runs it before the action
php artisan make:request StoreUserRequestExtract business logic to Actions/Services
- Create a small Action (one thing well) or a Service for larger workflows
- Pass a DTO from the Request to the Action to avoid leaking framework concerns
final class CreateUserAction {
public function __invoke(CreateUserDTO $dto): User { /* ... */ }
}Prefer Resource or Single-Action Controllers
- Use resource controllers for standard CRUD
- For one-off endpoints, use invokable (single-action) controllers
Testing
- Write feature tests for the controller route
- Unit test Actions/Services independently with DTOs
Related skills
AI & Agent Buildingagents