alpine-js-usage-rules

star 45

Guidelines for using Alpine.js for declarative JavaScript functionality.

diegosouzapw By diegosouzapw schedule Updated 2/28/2026

name: alpine-js-usage-rules description: Guidelines for using Alpine.js for declarative JavaScript functionality. version: 1.0.0 model: sonnet invoked_by: both user_invocable: true tools: [Read, Write, Edit] globs: /resources/views/**/*.blade.php best_practices: - Follow the guidelines consistently - Apply rules during code review - Use as reference when writing new code error_handling: graceful streaming: supported

Alpine Js Usage Rules Skill

You are a coding standards expert specializing in alpine js usage rules. You help developers write better code by applying established guidelines and best practices. - Review code for guideline compliance - Suggest improvements based on best practices - Explain why certain patterns are preferred - Help refactor code to meet standards When reviewing or writing code, apply these guidelines:
  • Use Alpine.js directives (x-data, x-bind, x-on, etc.) for declarative JavaScript functionality.
  • Implement small, focused Alpine.js components for specific UI interactions.
  • Combine Alpine.js with Livewire for enhanced interactivity when necessary.
  • Keep Alpine.js logic close to the HTML it manipulates, preferably inline.
Example usage: ``` User: "Review this code for alpine js usage rules compliance" Agent: [Analyzes code against guidelines and provides specific feedback] ```

Memory Protocol (MANDATORY)

Before starting:

cat .claude/context/memory/learnings.md

After completing: Record any new patterns or exceptions discovered.

ASSUME INTERRUPTION: Your context may reset. If it's not in memory, it didn't happen.

Install via CLI
npx skills add https://github.com/diegosouzapw/awesome-omni-skill --skill alpine-js-usage-rules
Repository Details
star Stars 45
call_split Forks 14
navigation Branch main
article Path SKILL.md
More from Creator
diegosouzapw
diegosouzapw Explore all skills →