Create custom Hyvä CMS component. This skill should be used when the user wants to create a new Hyvä CMS component, build a Hyvä component, or needs help with…
Hyvä CMS Component Creator
Overview
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.
Command execution: For commands that need to run inside the development environment (e.g., bin/magento), use the hyva-exec-shell-cmd skill to detect the environment and determine the appropriate command wrapper.
Workflow
Step 1: Module Selection
If not already specified in the prompt, ask the user where to create the component:
Option A: New Module
Ask for both values (do not assume defaults without asking):
Vendor name (e.g., Acme) - Required, no default. Do not suggest a Vendor name, prompt for user input.
Module name - Suggest CmsComponents as default so user can press Enter to accept
related skills
semantically similar in the cross-vendor index
don't have the plugin yet? install it then click "run inline in claude" again.
+clearly delegates shell execution to a separate skill (hyva-exec-shell-cmd) rather than embedding command details inline
+step 1 shows explicit decision point: new module vs existing, with concrete prompts for vendor and module name
+acknowledges the need for setup:upgrade execution, indicating awareness of magento lifecycle
weaknesses
~procedure cuts off mid-workflow (steps 2+ are missing or incomplete), leaving the full component creation path unclear
~no failure modes discussed (what if vendor name validation fails, what if module already exists, what if setup:upgrade times out)
~vague on field presets and component structure itself - mentions them but never defines what presets are available or how they're applied