AI-powered skills for Magento 2 development with Hyva Theme. These skills extend AI coding assistants with specialized knowledge for creating Hyva themes, modules, and CMS components.
npx skills add https://github.com/hyva-themes/hyva-ai-tools --skill hyva-theme-listCLI を使用してこのスキルをインストールし、ワークスペースで SKILL.md ワークフローの使用を開始します。
AI-powered skills for Magento 2 development with Hyva Theme.
These skills extend AI coding assistants with specialized knowledge for creating Hyva themes,
modules, and CMS components.
Clone this repository, then use install-hyva-skill.sh to install individual skills by name.
Dependencies are resolved automatically.
git clone https://github.com/hyva-themes/hyva-ai-tools.git
# Install a skill for a specific agent (from your project directory)
./hyva-ai-tools/install-hyva-skill.sh hyva-child-theme claude
# Or let the installer auto-detect the agent directory
./hyva-ai-tools/install-hyva-skill.sh hyva-cms-component
# List all available skills
./hyva-ai-tools/install-hyva-skill.sh --list
Skills are symlinked into the target agent's skills directory.
To update all installed skills, simply run git pull inside the cloned repository. Every symlinked skill picks up the changes immediately.
Use --copy to copy skills instead of symlinking (e.g. when the repo is on the host but the agent runs in a container):
./hyva-ai-tools/install-hyva-skill.sh --copy hyva-child-theme claude
Copied skills won't update automatically with git pull. Re-run the install command to update them.
When no agent argument is given, the installer will:
HYVA_SKILLS_AGENT environment variable if set.claude/skills/) in the current working directory~/) or locally (./)Supported agents: claude, codex, copilot, cursor, gemini, junie, opencode
To install all skills in one go (copies instead of symlinks):
# Replace "claude" with your agent: codex, copilot, cursor, gemini, junie, opencode
curl -fsSL https://raw.githubusercontent.com/hyva-themes/hyva-ai-tools/refs/heads/main/install.sh | sh -s claude
Once installed, the AI agent will automatically use these skills when relevant. You can also invoke them directly:
/hyva-child-theme (explicit slash command invocation)| Skill | Description |
|---|---|
| hyva-child-theme | Create a Hyva child theme with directory structure, Tailwind CSS, and theme inheritance |
| hyva-create-module | Scaffold new Magento 2 modules in app/code/ |
| hyva-alpine-component | Write CSP-compatible Alpine.js components for Hyvä themes following best practices |
| hyva-ui-component | Install Hyva UI template-based components (headers, footers, galleries, etc.) to themes |
| hyva-render-media-image | Generate responsive <picture> elements using the Hyva Media view model |
| hyva-playwright-test | Write Playwright tests for Hyvä themes with Alpine.js |
| Skill | Description |
|---|---|
| hyva-cms-component | Create custom Hyva CMS components with field presets, variant support, and PHTML templates |
| hyva-cms-custom-field | Create custom field types and field handlers for Hyvä CMS components |
Utility skills are mainly intended to be invoked by other skills, but can also be used directly.
| Skill | Description |
|---|---|
| hyva-compile-tailwind-css | Compile Tailwind CSS for Hyva themes |
| hyva-exec-shell-cmd | Detect development env (docker, local) and execute commands with appropriate wrappers |
| hyva-theme-list | List all Hyva theme paths in a Magento 2 project |
| hyva-cms-components-dump | Dump combined JSON of all available Hyvä CMS components from active modules |
Licensed under the OSL-3.0.
Copyright (c) Hyva Themes https://hyva.io. All rights reserved.