hyva-themes/hyva-ai-tools

hyva-theme-list

List all Hyvä theme paths in a Magento 2 project.

Quelltext ansehen

Verwendung

  1. Installationsbefehl kopieren und das Quellpaket vor der Installation in der eigenen Agentenumgebung prüfen.
  2. Benötigte Werkzeuge, Zugangsdaten und Hosts im Original prüfen.
  3. Eingabe und gewünschtes Ergebnis beschreiben und die Ausgabe mit den Quellen abgleichen.
npx skills add https://github.com/hyva-themes/hyva-ai-tools --skill hyva-theme-list

Vor dem Start

  • Die Installation umfasst weder Modellabo noch API-Kontingent oder Dateizugriffsrechte.
  • Sterne und Installationen zeigen Aktivität, keine unabhängige Qualitäts- oder Sicherheitsprüfung.
Originales Skill-Dokument

Aus dem Quell-Repository gerendert; Überschriften, Beispiele, Code, Tabellen, Links und Bilder bleiben erhalten.

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

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

Verwandte Aufgaben

aus demselben Repository

Weitere Skills

Alle Skills
hyva-themes
Community

hyva-compile-tailwind-css

Compile Tailwind CSS for Hyvä themes in Magento 2. Use when the user wants to build styles, generate CSS, compile Tailwind, run Tailwind, or create production/development stylesheets for a Hyvä theme. Also use when Tailwind classes are not taking effect or some styles appear missing after template changes — this typically means CSS needs to be recompiled. Triggers include "compile tailwind", "build styles", "generate css", "styles not working", "styles are missing", "styles not applied".

Installationen
1
GitHub Stars
85
Aktualisiert
31. Juli
hyva-themes
Community

hyva-alpine-component

Write CSP-compatible Alpine.js components for Hyvä themes in Magento 2. This skill should be used when the user wants to create Alpine components, add interactivity to Hyvä templates, write JavaScript for Hyvä themes, or needs help with Alpine.js patterns that work with Content Security Policy. Trigger phrases include "create alpine component", "add interactivity", "alpine for hyva", "x-data component", "csp compatibility", "csp compliant javascript".

Installationen
1
GitHub Stars
84
Aktualisiert
31. Juli
hyva-themes
Community

hyva-create-module

Create a new Magento 2 module in app/code/. This skill should be used when the user wants to create a module, scaffold a new module, generate module boilerplate, or set up a custom module. It handles registration.php, composer.json, module.xml generation with configurable dependencies. Trigger phrases include "create module", "new module", "scaffold module", "generate module".

Installationen
1
GitHub Stars
84
Aktualisiert
31. Juli
hyva-themes
Community

hyva-render-media-image

Generate responsive image code for Hyvä Theme templates using the Media view model. This skill should be used when the user wants to render images in a Hyvä template, create responsive picture elements, add hero images, product images, or any image that needs responsive breakpoints. Trigger phrases include "render image", "add image to template", "responsive image", "picture element", "hero image", "responsive banner", "image for mobile and desktop", or "banner image".

Installationen
1
GitHub Stars
84
Aktualisiert
31. Juli