/superpowers-laravel:laravel:controller-cleanupfrom superpowers-laravel
Reduces controller bloat in Laravel by extracting auth/validation to Form Requests, business logic to Actions/Services with DTOs, and using resource or single-action controllers.
Ships in superpowers-laravel. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Keep controllers small and focused on orchestration.
StoreUserRequest) and use authorize() + rules()php artisan make:request StoreUserRequest
final class CreateUserAction {
public function __invoke(CreateUserDTO $dto): User { /* ... */ }
}
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub jpcaparas/superpowers-laravel --plugin superpowers-laravel57 skills in this plugin
/laravel:ai-sdkBuild AI features with the first-party Laravel AI SDK (Laravel 13+); agents, embeddings, images, audio, and tool calling with provider-agnostic APIs/laravel:api-resources-and-paginationUse API Resources with pagination and conditional fields; keep response shapes stable and cache-friendly/laravel:api-surface-evolutionEvolve APIs safely using versioned DTOs/transformers, deprecations, and compatibility tests/laravel:blade-components-and-layoutsCompose UIs with Blade components, slots, and layouts; keep templates pure and testable/laravel:bootstrap-checkDetect Sail/non‑Sail and print the right command pairs for your environment; verify dependencies and key services are reachable/laravel:brainstormingInteractive design refinement tailored to Laravel projects; clarify domain, data, interfaces, testing, and quality gates while accounting for Sail/non‑Sail environmentsOther plugins' skills for the same job