Skip to main content
skill CX Codex

hyva-child-theme — Claude Code skill: create a child theme

Builds a Hyvä child theme inside a Magento 2 project, including its frontend structure and Tailwind CSS setup. Useful when starting a custom theme.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add hyva-themes/hyva-ai-tools --skill hyva-child-theme -a claude-code
Open on GitHub

What hyva-child-theme does

This skill creates a Hyvä child theme for a Magento 2 project. It collects the vendor namespace and theme name, checks available parent themes through hyva-theme-list, and creates the theme directory with registration.php, theme.xml, composer.json, and web/tailwind.

The Tailwind directory is copied without node_modules. The skill also updates hyva.config.json so Tailwind scans the parent theme paths, then calls hyva-compile-tailwind-css to install dependencies and compile CSS. Commands such as bin/magento are run through hyva-exec-shell-cmd when the environment requires a wrapper.

The setup requires hyva-exec-shell-cmd, hyva-theme-list, and hyva-compile-tailwind-css. If a Hyvä parent theme is not installed, the child theme cannot inherit its files or Tailwind configuration.

What it helps with

  • create a Hyvä child theme in Magento 2
  • generate the theme registration and configuration files
  • find a suitable Hyvä parent theme
  • copy the Tailwind setup without node_modules
  • compile CSS and register the new theme

Example prompts for the agent

  • Create a Hyvä child theme for vendor Acme named StoreTheme.
  • List the available Hyvä parent themes, then use my selected one for the new theme.
  • Set up web/tailwind, compile the CSS, and run bin/magento setup:upgrade.

How to install hyva-child-theme

1Skills CLI (Vercel)

npx skills add hyva-themes/hyva-ai-tools --skill hyva-child-theme -a claude-code

2Manually: put the files in place

~/.claude/skills/hyva-child-theme/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/hyva-child-theme/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about hyva-child-theme

How do I install hyva-child-theme in Claude Code?

Run npx skills add hyva-themes/hyva-ai-tools --skill hyva-child-theme -a claude-code, then check ~/.claude/skills/hyva-child-theme/SKILL.md.

What does hyva-child-theme do?

It creates a Hyvä child theme in Magento 2, writes the required theme files, prepares the Tailwind directory, and builds the CSS.

Which skills does hyva-child-theme require?

It requires hyva-exec-shell-cmd, hyva-theme-list, and hyva-compile-tailwind-css for command execution, parent-theme discovery, and CSS compilation.

Similar skills

Everything for Frontend and UI →

From the same set12

hyva-playwright-test Guides writing Playwright end-to-end tests for Hyvä Magento storefronts using Alpine.js. It resolves locator conflicts caused by hidden DOM elements. CX Codex +1 1,300installs hyva-ui-component This skill applies template-based Hyvä UI components to a selected theme. It helps choose a component, review its variant and copy the required files. CX Codex +1 1,300installs hyva-render-media-image Writes responsive <picture> markup for Hyvä Theme templates through the Media view model. Useful when mobile and desktop need different image sources. CX Codex +1 1,300installs hyva-compile-tailwind-css Builds Tailwind CSS stylesheets for Hyvä themes in Magento 2. It triggers production builds or watch mode when updated utility classes fail to render on the storefront. CX Codex +1 1,300installs hyva-alpine-component Guides the agent through building Alpine.js components for Hyvä themes in Magento 2 that keep working when Content Security Policy is strict. CX Codex +1 1,300installs hyva-exec-shell-cmd Identifies the Magento dev setup and selects the right command wrapper for containers or local execution. CX Codex +1 1,300installs hyva-cms-component Walks you through building a custom Hyvä CMS component for Magento 2: module, fields, PHTML template and setup:upgrade. CX Codex +1 762installs hyva-cms-custom-field Generates custom inputs and modal handlers for Hyvä CMS components. Helps Magento developers extend editor controls without writing boilerplate by hand. CX Codex +1 752installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor