laravel:blade-components-and-layouts
SkillDev toolsCompose UIs with Blade components, slots, and layouts; keep templates pure and testable
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the laravel:blade-components-and-layouts skill
What this skill tells your AI
The instructions your AI receives, as published by jpcaparas/superpowers-laravel in skills/blade-components-and-layouts/SKILL.md and read by ahel’s review.
Encapsulate markup and behavior with components; prefer slots over includes.
Commands
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
Patterns
- Keep components dumb: pass data in, emit markup out
- Use
merge()to honor passed classes/attributes in components - Prefer named slots for readability
- Extract small, reusable atoms rather than giant organisms
- Laravel 13+: use the
@fontsdirective (with the Vite font plugin) in layout<head>to emit preload links and@font-facerules automatically;@fonts(["sans", "mono"])for a subset
Signals
- GitHub stars
- 153
- Forks
- 2
- Last commit
- Jul 2026
Advanced
- Catalog kind
- skill
- Gateway key
laravel-blade-components-and-layouts- Source
- github.com/jpcaparas/superpowers-laravel