From superpowers-laravel
Composes UIs with Laravel Blade components, slots, and layouts. Covers artisan commands, dumb components with merge() for attributes, named slots, and reusable atoms for pure testable templates.
How this skill is triggered — by the user, by Claude, or both
Slash command
/superpowers-laravel:blade-components-and-layoutsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Encapsulate markup and behavior with components; prefer slots over includes.
Encapsulate markup and behavior with components; prefer slots over includes.
sail artisan make:component Alert # or: php artisan make:component Alert
// Use component
<x-alert type="warning" :message="$msg" class="mb-4" />
// Layouts + stacks
@extends('layouts.app')
@push('scripts')
<script>/* page script */</script>
@endpush
merge() to honor passed classes/attributes in componentsnpx claudepluginhub jpcaparas/superpowers-laravel --plugin superpowers-laravelCreate Blade templates with components, slots, layouts, and directives. Use when building views, reusable components, or templating.
Provides best practices and patterns for Laravel Blade components including class-based, anonymous components, slots, attribute bags, and reusable UI like alerts and cards.
Provides Laravel patterns for PHP apps including Eloquent ORM, migrations, routing, controllers, queues, jobs, authentication, middleware, and testing. Use for Laravel projects.