Alpinejs
Use when the user asks about Alpine.js, x-data, x-init, x-bind, x-on, x-show, x-for, Alpine.store or adding reactivity to server-rendered HTML. Produces attribute-driven Alpine components, stores and CSP-safe setup with minimal JavaScript. Not for hypermedia requests that swap server HTML (use htmx).
Install
npx skills add j4flmao/agent-skills --skill alpinejsgit clone --depth 1 https://github.com/j4flmao/agent-skills.git /tmp/agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/agent-skills/skills/frontend/alpinejs ~/.claude/skills/alpinejsPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Alpine.js
## Purpose
Add interactivity to HTML pages using Alpine.js directives — a lightweight, declarative framework that works directly in the DOM without a build step.
## Agent Protocol
### Trigger
Exact user phrases: "Alpine.js setup", "Alpine component", "Alpine x-data", "Alpine x-init", "Alpine store", "Alpine project", "Alpine directive", "alpine reactive".
### Input Context
Before activating, verify:
- Alpine.js is included (CDN script or npm).
- Whether the project uses Alpine + backend (Laravel, Django, etc.) or standalone.
### Output Artifact
No file output. Produces HTML snippets with Alpine directives as text.
### Response Format
HTML with Alpine directives:
```html
<div x-data="{ open: false }">
<button @click="open = !open">Toggle</button>
<div x-show="open">Content</div>
</div>
```
No preamble. No postamble. No explanations. Compress output — why use many token when few do trick.
### Completion Criteria
- [ ] Component state defined with x-data on root element.
- [ ] Event handlers use x-on or @ shorthand.
- [ ] Dynamic attributes use x-bind or : shorthand.
- [ ] Conditional rendering uses x-show or x-if.
- [ ] Lists use x-for with unique :key.
- [ ] Shared state uses Alpine.store().
- [ ] Side effects use x-init or $watch.
- [ ] No external build step required (CDN-compatible).
### Max Response Length
~4096 tokens.
## Architecture Decision Trees
### State Management DecisionDetails
- Skill name
alpinejs- Repository
- j4flmao/agent-skills
- Path
skills/frontend/alpinejs/SKILL.md- License
- MIT
- Repo updated
- 17 November 2026
FAQ
What does the Alpinejs skill do?
Use when the user asks about Alpine.js, x-data, x-init, x-bind, x-on, x-show, x-for, Alpine.store or adding reactivity to server-rendered HTML. Produces attribute-driven Alpine components, stores and CSP-safe setup with minimal JavaScript. Not for hypermedia requests that swap server HTML (use htmx).
How do I install the Alpinejs skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add j4flmao/agent-skills --skill alpinejs. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Alpinejs popular?
It lives in j4flmao/agent-skills, which has 45 GitHub stars and 6 forks.
Related skills
Agent Observability
45j4flmao/agent-skills
Use when the user asks about agent observability, tracing agent reasoning, debugging an agent loop, OpenTelemetry GenAI spans for LLM calls, LLM cost tracking per agent, agent audit logs or hallucination/eval monitoring in production. Produces instrumentation config, trace schema, dashboards, alerts and cost attribution. Not for generic service tracing without LLMs (use devops-opentelemetry).
AI Agent Architectures
45j4flmao/agent-skills
Use when the user asks to build an AI agent, design an agent that calls tools and keeps memory, write an agent system prompt or pick an agent framework (Claude Agent SDK, OpenAI Agents SDK, LangGraph). Produces an architecture brief covering loop, tools, memory, guardrails and evals, routing depth to child skills. Not for workflow patterns (use ai-agentic-workflows).
AI Agent Core Loop
45j4flmao/agent-skills
Use when the user asks about the agent loop, ReAct vs plan-and-solve, re-planning, Reflexion, an agent stuck in a loop, max iterations or termination conditions. Produces a loop spec or patch with state, success predicate, caps and no-progress detection. Not for overall agent design (use ai-agent-architectures) or tool schemas (use tool-calling-principles).
Animation Systems
45j4flmao/agent-skills
Use when the user asks about a game animation system, skeletal animation, skinning, animation state machines, blend trees, root motion, IK, retargeting or animation compression. Produces runtime animation architecture with CPU budgets. Not for UI motion design (use design-motion-design) or ragdoll physics (use physics-engine).
AI Accessibility Checker
39lionelsimai/claude-skills-collection
Build AI accessibility checking. TRIGGERS - Use when user needs help with ai-accessibility-checker related tasks.
Data Data Platform
45j4flmao/agent-skills
Use when the user asks to design an end-to-end data platform: storage/compute separation, S3/ADLS/GCS, Spark and Trino, catalog, orchestration and data platforms on Kubernetes (Strimzi, Spark operator). Produces a platform architecture with component choices and interfaces. Not for one component in depth (use data-data-lakehouse or data-streaming).
Browse the most popular Claude skills, all frontend & design skills, or write your own with the skills generator.