hyva-themes/hyva-ai-tools▌
12 approved skills in this repository
hyva-child-theme
Productivity
This skill creates a complete Hyvä child theme with the proper directory structure, configuration files, and Tailwind CSS build setup.
hyva-cms-component
Productivity
This skill guides the interactive creation of custom Hyvä CMS components for Magento 2. It supports creating components in new or existing modules, with field presets for common patterns and automatic setup:upgrade execution.
hyva-ui-component
Frontend
Applies Hyva UI template-based (non-CMS) components to a Hyvä theme by copying files from {hyva_ui_path}/components/ to app/design/frontend/{Vendor}/{Theme}/.
hyva-playwright-test
Testing
Hyvä replaces Luma's KnockoutJS/RequireJS/jQuery with Alpine.js + Tailwind CSS. Playwright's strict mode (rejects locators matching multiple elements) conflicts with Alpine.js DOM patterns where hidden elements exist throughout the page. This skill documents pitfalls and solutions discovered while writing Playwright tests for Hyvä storefronts.
hyva-cms-components-dump
Productivity
Locates all components.json files from Hyvä CMS modules and outputs a merged JSON object containing all component definitions from active modules.
hyva-render-media-image
Productivity
Generate responsive <picture> elements for Hyvä Theme templates using the \Hyva\Theme\ViewModel\Media view model.
hyva-alpine-component
Productivity
This skill provides guidance for writing CSP-compatible Alpine.js components in Hyvä themes. Alpine CSP is a specialized Alpine.js build that operates without the unsafe-eval CSP directive, which is required for PCI-DSS 4.0 compliance on payment-related pages (mandatory from April 1, 2025).
hyva-exec-shell-cmd
Productivity
This utility skill detects the Magento development environment and provides the appropriate command wrapper for executing shell commands.
hyva-compile-tailwind-css
Frontend
Compiles Tailwind CSS for Hyvä themes in Magento 2. Handles both production builds and development watch mode.
hyva-theme-list
Productivity
Lists all Hyvä theme paths in a Magento 2 project. Themes are identified by the presence of web/tailwind/package.json.
hyva-create-module
Productivity
This utility skill creates new Magento 2 modules in app/code/. It is designed to be called by other skills that need module scaffolding.
hyva-cms-custom-field
Productivity
This skill guides the creation of custom field types and field handlers for Hyvä CMS components. Custom field types extend the built-in field types (text, textarea, select, etc.) with specialized input controls for the CMS editor interface.