Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Agents
electrik/slate
claude-code
cursor
ui
components
laravel
blade
ui-kit
design-system
tailwind
tailwindcss
livewire
laravel-ui
dark-mode
shadcn

Use these rules when generating Laravel Blade UI with Electrik Slate (electrik/slate 3.x).

Install
php artisan boost:add-skill electrik/slate

Save this content to: AGENTS.md

# Electrik Slate — agent notes

Use these rules when generating Laravel Blade UI with **Electrik Slate** (`electrik/slate` 3.x).

## Stack

- Anonymous Blade components: `<x-slate::name />`
- Tailwind CSS v4 + Slate OKLCH tokens (`--slate-*`)
- Alpine.js only when interactivity is required
- Livewire-friendly forms (do not invent React/shadcn or a CLI `add` command)

## Install reminder

```bash
composer require electrik/slate:^3.0
```

Import after Tailwind:

```css
@import 'tailwindcss';
@import '../../vendor/electrik/slate/resources/css/slate.css';
```

## Authoring rules

1. Prefer progressive props: `label`, `description`, `errorMessage` on form controls.
2. Do not nest the same Blade component inside itself.
3. Do not put `@if` inside `<x-slate::*>` opening tags — compute classes in `@php` first.
4. Use logical CSS (`start` / `end`) over `left` / `right` when touching layout.
5. Mount `<x-slate::toaster />` once in the layout; dispatch `slate-toast` browser events.
6. For busy buttons: `loading` / `loadingText` (static/Alpine) or Livewire `wire:loading`.
7. Theme via CSS variables (`--slate-primary`, etc.), not hardcoded hex in components.
8. Compose overlays from documented parts (`dialog` + `dialog-trigger` + `dialog-content`, …).

## AI sources

- https://slate.electrik.dev/llms.txt
- https://slate.electrik.dev/components/{name}.md
- MCP: see `mcp/README.md` and https://slate.electrik.dev/docs/ai

## Good prompts for agents

- “Build a settings form with Slate progressive field props and a destructive alert.”
- “Use the login block pattern from slate.electrik.dev/blocks/login.”
- “Drop `<x-slate-illustration::deploy />` into a landing page and pass jobs/messages. Decorative, not a live screen — see slate.electrik.dev/docs/illustrations.”
- “Fetch dialog docs via MCP and wire Alpine open state.”

Electrik Slate — agent notes

Use these rules when generating Laravel Blade UI with Electrik Slate (electrik/slate 3.x).

Stack

  • Anonymous Blade components: <x-slate::name />
  • Tailwind CSS v4 + Slate OKLCH tokens (--slate-*)
  • Alpine.js only when interactivity is required
  • Livewire-friendly forms (do not invent React/shadcn or a CLI add command)

Install reminder

composer require electrik/slate:^3.0

Import after Tailwind:

@import 'tailwindcss';
@import '../../vendor/electrik/slate/resources/css/slate.css';

Authoring rules

  1. Prefer progressive props: label, description, errorMessage on form controls.
  2. Do not nest the same Blade component inside itself.
  3. Do not put @if inside <x-slate::*> opening tags — compute classes in @php first.
  4. Use logical CSS (start / end) over left / right when touching layout.
  5. Mount <x-slate::toaster /> once in the layout; dispatch slate-toast browser events.
  6. For busy buttons: loading / loadingText (static/Alpine) or Livewire wire:loading.
  7. Theme via CSS variables (--slate-primary, etc.), not hardcoded hex in components.
  8. Compose overlays from documented parts (dialog + dialog-trigger + dialog-content, …).

AI sources

Good prompts for agents

  • “Build a settings form with Slate progressive field props and a destructive alert.”
  • “Use the login block pattern from slate.electrik.dev/blocks/login.”
  • “Drop <x-slate-illustration::deploy /> into a landing page and pass jobs/messages. Decorative, not a live screen — see slate.electrik.dev/docs/illustrations.”
  • “Fetch dialog docs via MCP and wire Alpine open state.”
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast