KS
Killer-Skills

livewire-development — Categories.community

v1.0.0
GitHub

About this Skill

Ideal for Full-stack Agents requiring advanced Livewire development capabilities for building dynamic, real-time web applications. Altron template (play on the word `Entropy`)

jdecode jdecode
[0]
[0]
Updated: 3/4/2026

Quality Score

Top 5%
28
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
Cursor IDE Windsurf IDE VS Code IDE
> npx killer-skills add jdecode/altrompy

Agent Capability Analysis

The livewire-development MCP Server by jdecode is an open-source Categories.community integration for Claude and other AI agents, enabling seamless task automation and capability expansion.

Ideal Agent Persona

Ideal for Full-stack Agents requiring advanced Livewire development capabilities for building dynamic, real-time web applications.

Core Value

Empowers agents to leverage Livewire 4 features such as full-page routing with `Route::livewire()`, utilize `wire:model` with `.deep` for handling child events, and integrate Alpine for enhanced front-end functionality, all while ensuring compatibility with the latest PHP and JavaScript standards.

Capabilities Granted for livewire-development MCP Server

Creating interactive, real-time components with Livewire's SFC and multi-file approaches
Migrating existing components to Livewire 4 using `php artisan livewire:convert`
Optimizing Livewire application performance by leveraging `component_layout` configuration and closed tags

! Prerequisites & Limits

  • Requires PHP and Laravel environment
  • Livewire 4 specific syntax and configuration
  • JavaScript knowledge for advanced `$wire.$js.name = fn` and `interceptMessage` usage
Project
SKILL.md
2.3 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

Livewire Development

Docs: search-docs for Livewire 4.

Creation

  • SFC (Default): php artisan make:livewire create-post
  • Multi-file: ... --mfc
  • Class-based: ... --class
  • Convert: php artisan livewire:convert name

Livewire 4 Differences

  • Full-page: Route::livewire(). Config: component_layout.
  • wire:model ignores child events (use .deep for old behavior).
  • Tags must be closed.
  • JS: $wire.$js.name = fn, interceptMessage.
  • Alpine bundled.

Features

  • Islands: @island(name: 'x') for isolation.
  • Async: wire:click.async.
  • Directives: wire:sort, wire:intersect, wire:ref, .renderless, .preserve-scroll.
  • Loading: wire:loading, data-loading attr added automatically.
<code-snippet name="SFC Example" lang="php"> <?php use Livewire\Component; new class extends Component { public int $count = 0; public function increment() { $this->count++; } }; ?> <div><button wire:click="increment">{{ $count }}</button></div> </code-snippet> <code-snippet name="Test" lang="php"> Livewire::test(Counter::class)->call('inc')->assertSet('count', 1); </code-snippet>

Best Practices

  • wire:key in loops (mandatory).
  • wire:model.live for realtime.
  • Validate in actions.
  • Debug via Network tab/Console

Livewire 4 JavaScript Integration

Interceptor System (v4)

Intercept Messages

js
1Livewire.interceptMessage(({ component, message, onFinish, onSuccess, onError }) => { 2 onFinish(() => { /* After response, before processing */ }); 3 onSuccess(({ payload }) => { /* payload.snapshot, payload.effects */ }); 4 onError(() => { /* Server errors */ }); 5});

Intercept Requests

js
1Livewire.interceptRequest(({ request, onResponse, onSuccess, onError, onFailure }) => { 2 onResponse(({ response }) => { /* When received */ }); 3 onSuccess(({ response, responseJson }) => { /* Success */ }); 4 onError(({ response, responseBody, preventDefault }) => { /* 4xx/5xx */ }); 5 onFailure(({ error }) => { /* Network failures */ }); 6});

Component-Scoped Interceptors

blade
1<script> 2 this.$intercept('save', ({ component, onSuccess }) => { 3 onSuccess(() => console.log('Saved!')); 4 }); 5</script>

Magic Properties

  • $errors - Access validation errors from JavaScript
  • $intercept - Component-scoped interceptors

Related Skills

Looking for an alternative to livewire-development or building a Categories.community AI Agent? Explore these related open-source MCP Servers.

View All

widget-generator

Logo of f
f

widget-generator is an open-source AI agent skill for creating widget plugins that are injected into prompt feeds on prompts.chat. It supports two rendering modes: standard prompt widgets using default PromptCard styling and custom render widgets built as full React components.

149.6k
0
Design

chat-sdk

Logo of lobehub
lobehub

chat-sdk is a unified TypeScript SDK for building chat bots across multiple platforms, providing a single interface for deploying bot logic.

73.0k
0
Communication

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication