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.
npx claudepluginhub jpcaparas/superpowers-laravel --plugin superpowers-laravelThis skill uses the workspace's default tool permissions.
Encapsulate markup and behavior with components; prefer slots over includes.
Provides best practices and patterns for Laravel Blade components including class-based, anonymous components, slots, attribute bags, and reusable UI like alerts and cards.
Builds reusable UI components with ViewComponent and view_component-contrib, including slots, style variants, Lookbook previews, and refactoring partials to components.
Provides guidelines and workflows for Laravel 11/12 app development in API-only or full-stack stacks with Docker Compose/Sail, Inertia+React, Livewire, Vue, Blade, Tailwind v4, Fortify, PHPUnit, Pint. Use for features, bugs, UI/backend changes per repo docs.
Share bugs, ideas, or general feedback.
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 components