This skill helps you build Alpine.js components for Hyvä themes in Magento 2. These components work with Content Security Policy (CSP) rules. CSP is a security feature that stops unsafe scripts. If you run a payment page, you need CSP compliance by April 2025. The skill shows you how to write code that works in both regular and CSP mode. You will learn the correct patterns for properties, methods, and events. This keeps your store safe and future-proof.
Magento developers and Hyvä theme users benefit the most. The skill explains how to register components with Alpine.data() and use the alpine:init event. It also covers important details like escaping PHP values and composing multiple objects. The examples are clear and ready to use in your templates.
Global
mkdir -p ~/.claude/skills/hyva-alpine-componentProject
mkdir -p .claude/skills/hyva-alpine-componentSource Repository
Frontend Designanthropics/skills
Create striking frontend interfaces with bold design and polished code every time
Vercel React Best Practicesvercel-labs/agent-skills
Optimize React and Next.js apps using proven Vercel performance guidelines
Design Taste Frontendleonxlnx/taste-skill
Enforce premium frontend design with metric-based rules and smart component architecture
Vercel Composition Patternsvercel-labs/agent-skills
Clean React components with composition instead of boolean props
Shadcnshadcn/ui
Manage shadcn UI components easily with CLI commands and clear styling rules
Impeccablepbakaus/impeccable
Polish your frontend interfaces with expert design critique and code
Minimalist Uileonxlnx/taste-skill
Build warm minimal web interfaces with editorial typography and flat bento grids
Industrial Brutalist Uileonxlnx/taste-skill
Raw mechanical UIs fusing Swiss print with military terminal aesthetics and high data density