mcpField
H
hyva-theme-list

hyva-theme-list

github.com/hyva-themesDevelopment851.3k installsUpdated 13w ago
Repository

About hyva-theme-list

hyva-theme-list is a skill for Magento 2 project teams that finds Hyvä themes under the project’s custom and vendor theme directories. It identifies themes by their Tailwind package and Magento theme files.

Key features

  1. 01Finds themes in app/design/frontend/ and vendor/
  2. 02Checks for Tailwind package and theme.xml
  3. 03Prints project-relative paths, one per line

Use cases

  1. 01Discover available Hyvä themes in a Magento project
  2. 02Provide theme paths to another skill for selection

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/hyva-themes/hyva-ai-tools --skill hyva-theme-list

After installing, type/hyva-theme-listin Claude Code to confirm it loaded.

Bundled filesscripts/list_hyva_themes.sh

Details

From the project README

Hyvä Theme Listing

Lists all Hyvä theme paths in a Magento 2 project. Themes are identified by the presence of web/tailwind/package.json.

Usage

Important: Execute this script from the Magento project root directory.

Run the discovery script to list all Hyvä themes:

bash <skill_path>/scripts/list_hyva_themes.sh

Where <skill_path> is the directory containing this SKILL.md file (e.g., .claude/skills/hyva-theme-list).

Output format: One theme path per line (relative to project root), or empty output if no themes found.

app/design/frontend/Example/customTheme
vendor/hyva-themes/magento2-default-theme-csp

Search Locations

The script searches two locations:

LocationDescription
app/design/frontend/Custom themes developed for the project
vendor/Installed themes from any vendor (not limited to hyva-themes)

Theme Identification

A directory is identified as a Hyvä theme when it contains both:

  1. web/tailwind/package.json (Hyvä/Tailwind structure)
  2. theme.xml (valid Magento theme)

Integration with Other Skills

Other skills that need to locate Hyvä themes should invoke this skill by name:

Invoke the `hyva-theme-list` skill to discover available themes.

The output can be processed line-by-line or stored in a variable for selection prompts.

Comments

Markdown supported