Skip to content
Skill

Acorn livewire

Build, wire and debug Livewire 4 components inside an Acorn WordPress app

Acorn livewire is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
14
Last commit
License
MIT
Listing updated

Similar skills

About Acorn livewire

This skill guides an agent through adding Livewire 4 to an Acorn application, from installing livewire/livewire and checking its service provider to publishing config and setting up routing and asset directives. It covers generating class-based components, writing their state and validation, and embedding them in Blade templates.

The workflow starts by checking the installed Livewire version in composer.lock and the Acorn boot call, then walks through install, routing and asset setup, generator usage, class design and view structure. It includes guidance for cached pages, where per-visitor state must be pushed after load, and a checklist for verifying the update route, script output and browser network behaviour.

The skill expects a Roots-style Acorn project with access to the runner commands for WP, Acorn and Composer, and it differentiates between Sage themes, mu-plugins and Radicle app profiles. A failure table and reference notes cover common errors such as 404 update requests, expired-page responses and snapshot mismatches after deploys.

When your agent uses it

Use when creating, wiring or fixing a Livewire 4 component in an Acorn app - make:livewire --class, app/Livewire, wire:model modifiers (.live, .blur, .debounce), wire:key, attributes (#[Locked]/#[Computed]/#[Validate]/#[On]), lifecycle hooks, @livewireScripts, the /livewire-<hash>/update route, installing livewire/livewire on Radicle. For errors that start after a deploy (419, RangeError, stale HTML) use roots-debugging; for JSON endpoints use acorn-routes-api; for Alpine-only UI use tailwind-vite-assets.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 5 files (32 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the kivo-wise plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add hekivo/kivo-wise
/plugin install kivo-wise@kivo-wise

Or copy only this skill to ~/.claude/skills/acorn-livewire:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hekivo/kivo-wise.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/acorn-livewire &&
cp -R "$tmp/plugins/kivo-wise/skills/acorn-livewire" ~/.claude/skills/acorn-livewire &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/acorn-livewire inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/acorn-livewire to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hekivo/kivo-wise.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/acorn-livewire &&
cp -R "$tmp/plugins/kivo-wise/skills/acorn-livewire" ~/.agents/skills/acorn-livewire &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/acorn-livewire inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/acorn-livewire to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hekivo/kivo-wise.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/acorn-livewire &&
cp -R "$tmp/plugins/kivo-wise/skills/acorn-livewire" ~/.cursor/skills/acorn-livewire &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/acorn-livewire inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/hekivo/kivo-wise.git --path plugins/kivo-wise/skills/acorn-livewire

Or copy the folder to ~/.gemini/skills/acorn-livewire yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/acorn-livewire:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hekivo/kivo-wise.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/acorn-livewire &&
cp -R "$tmp/plugins/kivo-wise/skills/acorn-livewire" ~/.copilot/skills/acorn-livewire &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/acorn-livewire inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/hekivo/kivo-wise.git

Then copy kivo-wise/plugins/kivo-wise/skills/acorn-livewire into your agent's skills folder as acorn-livewire. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Livewire installation
Steps to add livewire/livewire to an Acorn project and confirm the app key and provider are picked up.
Routing and asset setup
Guidance on withRouting options, the wordpress middleware group and where to place Livewire directives.
Class-based component generation
How to generate and configure components with class files instead of single-file components.
State and attribute rules
Rules for public properties, locked values, computed data, validation and capability checks in actions.
Cache-aware rendering
Advice on rendering neutral defaults on cached pages and planning purges with releases.
Failure diagnostics
A symptom-to-cause table covering missing scripts, 404 and 419 responses and snapshot errors.

Good for

  • Add a server-validated contact form to a WordPress page using Livewire
  • Build a search or filter component that queries WordPress posts as the user types
  • Create a multi-step wizard component inside an Acorn theme
  • Fix a Livewire component that fails to mount or whose update request returns 404
  • Set up Livewire on a Radicle project for the first time

Acorn livewire FAQ

Does Acorn livewire support Livewire 3?

No. It targets Livewire 4.x. For a Livewire 3 project the skill says to stop and report the version.

Where does the Livewire service provider come from?

The skill states there is no roots/acorn-livewire package. You install livewire/livewire alongside Acorn and Acorn discovers its service provider.

What changes when I add wordpress: true to withRouting?

Every WordPress page then runs the wordpress middleware group, a copy of web that includes session start and queued cookies, so cached pages should be checked for session cookies.

Do I need to add Livewire scripts to my layout?

Yes. The skill recommends @livewireStyles in the head and @livewireScripts before the closing body tag of each layout that can render a component, since auto-injection does not reach WordPress-rendered templates.

How do I install Acorn livewire in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/acorn-livewire to use it in all your projects, or to .claude/skills/acorn-livewire in one project. Or install the kivo-wise plugin, which includes it: /plugin marketplace add hekivo/kivo-wise, then /plugin install kivo-wise@kivo-wise.

Does Acorn livewire run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Acorn livewire?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Acorn livewire?

The closest alternatives to Acorn livewire are Acorn stack, Acorn background, Acorn routes API, Acorn scaffolding and Wp hooks lifecycle.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from hekivo/kivo-wise

  1. Writes approved design plans as WordPress block markup and scaffolds missing blocks

    • Open source
    • 14 GitHub stars
    • Developer tools
  2. Maps Figma components to project code blocks through Code Connect, with approval first

    • Open source
    • 14 GitHub stars
    • Design and media
  3. Turns a Figma frame, HTML file or URL into a WordPress page on the Roots stack

    • Open source
    • 14 GitHub stars
    • Developer tools
  4. Turns a Figma frame into neutral section specs for kivo-creator via the Figma MCP server

    • Open source
    • 14 GitHub stars
    • Design and media
  5. Turns an HTML file or URL into kivo-creator section specs with reference screenshots

    • Open source
    • 14 GitHub stars
    • Developer tools
  6. Maps design sections to a project's existing blocks before any code is generated

    • Open source
    • 14 GitHub stars
    • Developer tools