hyva-cms-component

Scaffold Hyvä CMS components for Magento 2 with components.json and PHTML templates.

Updated Mar 12, 2026
One-click install
npx skills add https://github.com/Happy-Horizon/cursor-marketplace --skill hyva-cms-component-happy-horizon
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hyva-cms-component
Source: https://github.com/Happy-Horizon/cursor-marketplace/tree/main/plugins/hyva-ai-tools/skills/hyva-cms-component
Command: npx skills add https://github.com/Happy-Horizon/cursor-marketplace --skill hyva-cms-component-happy-horizon

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Guides the interactive creation of custom Hyvä CMS components for Magento 2, enabling developers to scaffold components in new or existing modules with field presets.

Core Features & Use Cases

  • Scaffold new Hyvä CMS components within a Magento 2 module, selecting dependencies and an icon.
  • Define component details (name, label, category, and icon) and configure fields and optional variants.
  • Generate necessary files such as components.json and PHTML templates, and provide setup and validation guidance.

Quick Start

Create a new Hyvä CMS component by selecting a module, supplying component details (name, label, category, and icon), configuring fields and variants, and generating the components.json and PHTML templates.

Frequently Asked Questions about hyva-cms-component

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a new Hyvä CMS component in Magento 2?

Yes, you can add new Hyvä CMS components to an existing Magento 2 module by defining component fields, selecting an unused icon from theme assets, and generating the structured components.json entry alongside the PHTML template.

What files are generated when creating a Hyvä CMS component?

Creating a Hyvä CMS component generates a structured components.json configuration file and a PHTML template, while also enforcing field attribute definitions and selecting an unused icon from the Hyvä theme assets.

Can I configure field presets and variants for Hyvä CMS components?

Yes, you can configure field presets and optional variants for Hyvä CMS components. The scaffolding process enforces field attribute definitions and allows you to define component details including name, label, category, and icon.

How does the Hyvä CMS component scaffolding process select an icon?

The Hyvä CMS component scaffolding process selects an unused icon directly from the Hyvä theme assets, ensuring the generated component configuration has a unique visual identifier within the Magento 2 interface.

Do I need an existing Magento 2 module to create Hyvä CMS components?

No, you can use the scaffolding tool to create a new Hyvä CMS component within an existing Magento 2 module or scaffold a completely new one, configuring dependencies and generating the necessary module integration files.