# Laravel:blade Components And Layouts

> Compose UIs with Blade components, slots, and layouts; keep templates pure and testable

- **Type:** Skill
- **Install:** `agentstack add skill-jpcaparas-superpowers-laravel-blade-components-and-layouts`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [jpcaparas](https://agentstack.voostack.com/s/jpcaparas)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [jpcaparas](https://github.com/jpcaparas)
- **Source:** https://github.com/jpcaparas/superpowers-laravel/tree/main/skills/blade-components-and-layouts

## Install

```sh
agentstack add skill-jpcaparas-superpowers-laravel-blade-components-and-layouts
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Blade Components and Layouts

Encapsulate markup and behavior with components; prefer slots over includes.

## Commands

```
sail artisan make:component Alert              # or: php artisan make:component Alert

// Use component

// Layouts + stacks
@extends('layouts.app')
@push('scripts')
    /* page 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

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [jpcaparas](https://github.com/jpcaparas)
- **Source:** [jpcaparas/superpowers-laravel](https://github.com/jpcaparas/superpowers-laravel)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-jpcaparas-superpowers-laravel-blade-components-and-layouts
- Seller: https://agentstack.voostack.com/s/jpcaparas
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
