magento-hyva

magento-hyva is a skill for Claude Code from staksoft/magento-claude-skills. It costs 235 tokens per session (1,216 once invoked), scanned A, original, MIT.

A guide to building Magento 2, Mage-OS, and Adobe Commerce storefronts with Hyvä, a frontend theme using Alpine.js and Tailwind CSS. It covers theme templates, layout settings, styling, and reactive server-rendered components.

In plain words
What is it for?
Use it to create child themes, configure Tailwind, add browser interactions, build forms and cart components, and adapt existing Luma themes to Hyvä.
Why use it?
It helps developers work with Hyvä's frontend structure instead of the older Luma frontend stack, while keeping Magento's backend and module system.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the magento-skills plugin — 3 skills shipped together

Good fit Use it to create child themes, configure Tailwind, add browser interactions, build forms and cart components, and adapt existing Luma themes to Hyvä.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/staksoft/magento-claude-skills/magento-hyva
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add staksoft/magento-claude-skills --skill magento-hyva
Clone the repo
git clone --depth 1 https://github.com/staksoft/magento-claude-skills

Made for: Claude Code.

Or install magento-skills, the plugin that ships this one along with the rest of its 3 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for magento-hyva

README.md
[![agentmods](https://agentmods.dev/badge/skills/staksoft/magento-claude-skills/magento-hyva/github.svg)](https://agentmods.dev/skills/staksoft/magento-claude-skills/magento-hyva)
Your own site
<a href="https://agentmods.dev/skills/staksoft/magento-claude-skills/magento-hyva"><img src="https://agentmods.dev/badge/skills/staksoft/magento-claude-skills/magento-hyva/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for magento-hyva

Your own site · 80×15
<a href="https://agentmods.dev/skills/staksoft/magento-claude-skills/magento-hyva"><img src="https://agentmods.dev/badge/skills/staksoft/magento-claude-skills/magento-hyva.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 235 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,216 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00235 $0.01216
Opus 5 $0.00118 $0.00608
Sonnet 5 $0.00047 $0.00243
Haiku 4.5 $0.00023 $0.00122

Measured 12d ago against content hash eff21cdaa6dc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

magento-hyva scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/scaffold-theme.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/magento-hyva/SKILL.md · 89 lines

How it starts

The opening of the file, as written. The whole thing — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Hyvä Theme Development (Magento 2 / Mage-OS)

Hyvä is a Magento frontend theme that replaces the Luma stack (RequireJS + Knockout + jQuery + LESS) with Alpine.js + Tailwind CSS, plus Magewire for reactive server-rendered components. It ships far less JavaScript and is the de-facto modern choice for new Magento and Mage-OS storefronts. Layout XML, view models, and the module system are unchanged — only the template/JS/CSS layer differs.

Hyvä's core theme is commercial (a one-time license, package hyva-themes/magento2-default-theme); the supporting Hyva_Theme module and many helpers are MIT. This skill covers the development conventions; it does not bundle or require the licensed theme.

Workflow

  1. Identify the task and read the matching reference before writing code:

    Task Read first
    New child theme, Tailwind build setup references/theme-setup.md
    Interactivity in templates (Alpine.js) references/alpine.md
    Styling, Tailwind config, design tokens references/tailwind.md
    Reactive server-driven components (forms, cart) references/magewire.md
    Override a template, add a block, layout XML references/overriding.md
    A Luma module/extension breaks on Hyvä references/luma-compat.md
  2. For a new theme, scaffold the skeleton with the script — it produces the child-theme files and the web/tailwind/ build directory deterministically:

    python scripts/scaffold-theme.py "Vendor/theme-name" --parent Hyva/default
    
  3. Implement templates with Alpine for client-side interactivity and Magewire when the logic belongs on the server. Keep JavaScript minimal — that is the entire point of Hyvä.

  4. Build the CSS and verify. Tailwind compiles web/tailwind/tailwind-source.cssweb/css/styles.css:

Read the full file on GitHub · 89 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 89 lines · 235 tokens per session scan A eff21cdaa6dc

Subscribe to this mod's changes

magento-hyva is a skill published in the GitHub repository staksoft/magento-claude-skills (6 stars, last pushed 2mo ago), licensed MIT. It adds 235 tokens to every session and 1,216 once invoked, about $0.0012 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

magento-hyva

Build Hyva theme templates, Alpine.js components, Tailwind CSS styles, and View Models for Magento 2. Use when developing frontend for Hyva-based Magento stores.

furan917/magento-ai-toolkit · 40 tokens

shiny-bslib-theming

Advanced theming for Shiny apps using bslib and Bootstrap 5. Use when customizing app appearance with bstheme(), Bootswatch themes, custom colors, typography, brand.yml integration, Bootstrap Sass variables, custom Sass/CSS rules, dark mode and color modes, dynamic theme switching, real-time theming, theme inspection…

posit-dev/skills · 87 tokens

interaction-skill

Layer A interaction-mechanics reference anchored to the beui.dev catalog. Stacks on any style skill whenever work adds or changes motion or interaction — micro-interactions, animated components, transitions, gestures, hover/press/state feedback, loading/success/error morphs, 'make it feel alive'. Mandates reading the…

code-yeongyu/oh-my-openagent · 104 tokens

shiny-bslib

Build modern Shiny dashboards and applications using bslib (Bootstrap 5). Use when creating new Shiny apps, modernizing legacy apps (fluidPage, fluidRow/column, tabsetPanel, wellPanel, shinythemes), or working with bslib page layouts, grid systems, cards, value boxes, navigation, sidebars, filling layouts, theming…

posit-dev/skills · 107 tokens

layout-skill

Layer A layout-mechanics reference. Stacks on any style skill when the screen is an app shell, dashboard, settings, list-detail, mail/inbox, or any layout with fixed regions plus a scrolling body — or when a layout breaks under long, empty, or unbroken content. Owns spatial structure and scroll ownership; owns zero…

code-yeongyu/oh-my-openagent · 88 tokens

web-ui-best-practices

Signs of taste in web UI. Use when building or reviewing web interfaces, dashboards, SaaS apps, or internal tools.

jamditis/claude-skills-journalism · 32 tokens