Skip to content

Scaffold a Hyvä child theme with registration, theme.xml, composer.json, and a copied Tailwind build setup.

CCM score
63 of 100
skills.sh installs
1.4K
GitHub stars
86
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers creating the theme directory, registration.php, theme.xml, and composer.json under app/design/frontend/<Vendor>/<themeName>/
  • Detects the parent theme from hyva-theme-list, defaulting to Hyva/default-csp when the user does not choose
  • Copies web/tailwind from the parent with rsync, excluding node_modules to avoid broken symlinks
  • Designed for Magento 2 projects that need a custom Hyvä-based frontend theme

Install

$ npx -y skills add hyva-themes/hyva-ai-tools --skill hyva-child-theme -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Hyvä Child Theme Creator

This skill creates a complete Hyvä child theme with the proper directory structure, configuration files, and Tailwind CSS build setup.

Command execution: For commands that need to run inside the development environment (e.g., bin/magento), use the hyva-exec-shell-cmd skill to detect the environment and determine the appropriate command wrapper.

Skill deps (read via <skill_path>/../{name}/SKILL.md, where <skill_path> is the directory containing this SKILL.md file): hyva-exec-shell-cmd, hyva-theme-list, hyva-compile-tailwind-css

Workflow

Step 1: Gather Theme Information

Use the vendor name and theme name from the request if they were given. Otherwise prompt the user to provide them. If the user cannot be asked (subagent or non-interactive run), stop and report that a vendor name and a theme name are required.

Vendor Name: The vendor/company namespace (e.g., "Acme", "MyCompany")

  • Must be PascalCase
  • Used in composer package name and directory structure
  • If there are existing Vendor name folders in app/design/frontend or app/code/ offer those in lower case as suggestions

Details

Repository
github.com/hyva-themes/hyva-ai-tools
Categories
Frontend & UI Code, PHP & Laravel
First seen
Jun 3, 2026

More from hyva-themes/hyva-ai-tools

All 12

Similar to Hyva Child Theme

More Frontend & UI Code