Hyva Theme List

hyva-themes/hyva-ai-tools/skills/hyva-theme-list

作者 hyva-themesa28a3333bcfae05dcba07e88f38a5ff9579903c7無授權條款收錄於 2026年10月9日更新於 2026年10月9日

List all Hyvä theme paths in a Magento 2 project. This skill should be used when the user wants to find Hyvä themes, list available themes, discover theme paths, or when other skills need to locate Hyvä themes. Trigger phrases include "list hyva themes", "find themes", "show themes", "available themes", "theme paths".

AI 產生的概覽

透過掃描 Tailwind 套件檔案與 theme.xml,列出 Magento 2 專案中所有 Hyvä 佈景主題路徑。

功能
執行一個 shell 指令碼,在 app/design/frontend/ 與 vendor/ 中搜尋同時包含 web/tailwind/package.json 和 theme.xml 的目錄,將其辨識為 Hyvä 佈景主題。它會以相對於專案根目錄的路徑,每行輸出一個佈景主題路徑;若找不到佈景主題則沒有輸出。其他技能可呼叫它來探索可用的佈景主題。
適用情境
當需要在 Magento 2 專案中尋找或列出 Hyvä 佈景主題、探索佈景主題路徑,或當其他技能需要定位 Hyvä 佈景主題以供選擇或處理時使用。
執行需求
需要一個包含 Hyvä 佈景主題的 Magento 2 專案、bash shell,並從專案根目錄執行。附帶一個可執行指令碼(scripts/list_hyva_themes.sh)。

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
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/customThemevendor/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:

markdown
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.

<!-- Copyright © Hyvä Themes https://hyva.io. All rights reserved. Licensed under OSL 3.0 -->

來源與署名

來源:hyva-themes/hyva-ai-tools位於skills/hyva-theme-list提交a28a333

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架