Alpine.js Development Guide
A directive cheat-sheet and pattern set that guides Claude in writing lightweight reactive Alpine.js UIs.
Dev & CodingBeginner★ 269⑂ 42AI score 6/10Last updated: Oct 8, 2026
What it does
- Summarizes core Alpine.js directives (
x-data,x-show,x-for,x-model, etc.) so Claude produces syntactically correct markup. - Provides integration patterns for Tailwind CSS, Laravel/Livewire (TALL stack), and Ghost CMS.
- Supplies best practices for performance, code organization (
Alpine.data(),Alpine.store()), and accessibility (ARIA, focus management).
Who it's for
- Web developers adding light interactivity without a heavy framework.
- Teams on the Laravel + Livewire + Alpine + Tailwind stack.
- Developers layering dynamic UI onto Ghost CMS or server-rendered templates.
Examples
- "Build a dropdown that closes on outside click" → code using
@click.awayandx-transition. - "Add live email validation and disable the submit button" →
x-modelvalidation pattern. - "Bind Alpine state two-way with a Livewire property" →
@entangleguidance.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/Mindrally/skills/HEAD/alpine-js/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the alpine-js folder from the GitHub repo Mindrally/skills into my ~/.claude/skills/alpine-js/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/Mindrally/skills.git /tmp/mindrally-skills && mkdir -p ~/.claude/skills && cp -r /tmp/mindrally-skills/alpine-js ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open your terminal.
- Clone the repo:
git clone https://github.com/Mindrally/skills.git - Create the skills folder:
mkdir -p ~/.claude/skills - Copy this skill:
cp -r skills/alpine-js ~/.claude/skills/ - Restart Claude Code and test with a prompt like "make an Alpine.js dropdown".
View source on GitHub ↗License: Apache-2.0