Hyva Cms Component
Creates custom Hyvä CMS components with components.json, PHTML templates, field presets, and setup:upgrade.
- CCM score
- 65 of 100
- skills.sh installs
- 793
- GitHub stars
- 86
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers module selection for new or existing modules, component naming, icon selection, field definitions, and optional template variants
- Includes field presets such as Basic Card, Image Card, CTA Block, and Accordion Item, plus a reference for field types and component schema
- Enforces a valid component schema, rejecting invalid properties like
hiddenand treatingchildrenas a root-level property rather than a field - Designed for Magento 2 developers extending Hyvä CMS, with dependencies on
hyva-create-moduleandhyva-exec-shell-cmd
Install
$ npx -y skills add hyva-themes/hyva-ai-tools --skill hyva-cms-component -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
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.
Skill deps (read via <skill_path>/../{name}/SKILL.md, where <skill_path> is the directory containing this SKILL.md file): hyva-exec-shell-cmd, hyva-create-module, hyva-cms-components-dump, hyva-render-media-image
Non-interactive runs: If the user cannot be asked (subagent or non-interactive run), take the inputs from the request. Stop and report what is missing if any of these were not given: the target module (or the vendor name for a new module), the component name and label, and the fields (a preset name or a field list). Choose the category from the component's purpose, and create a single template without variants unless variants were requested.
Workflow
Details
- Repository
- github.com/hyva-themes/hyva-ai-tools
- Categories
- PHP & Laravel, Frontend & UI Code
- First seen
- Jun 3, 2026
Questions
What does the hyva-cms-component skill do?
It guides the interactive creation of custom Hyvä CMS components for Magento 2, including components.json and PHTML templates. It supports new or existing modules, field presets, variant templates and running setup:upgrade afterward.
How do I install the hyva-cms-component skill?
Run npx -y skills add hyva-themes/hyva-ai-tools --skill hyva-cms-component -y in your project. Once installed, the agent can build a new Hyvä CMS component for you from requests like create hyva cms component.
Which skills lead the PHP & Laravel category, and where does hyva-cms-component stand?
hyva-cms-component ranks in the top 100 on the PHP & Laravel category page. Laravel specialist, PHP Pro, Laravel patterns, Laravel verification and Laravel plugin discovery lead the category. It stands apart by focusing on Hyvä CMS component scaffolding for Magento 2 rather than general PHP or Laravel work.
What does the skill need to run?
It depends on the hyva-exec-shell-cmd, hyva-create-module, hyva-cms-components-dump and hyva-render-media-image skills. The workflow runs bin/magento commands, so a Magento 2 project with Hyvä CMS and the commerce-module-cms dependency is needed.
More from hyva-themes/hyva-ai-tools
All 12Similar to Hyva Cms Component
More PHP & Laravelhyva-ui-componenthyva-themes/hyva-ai-tools1.4K installsApplies Hyvä UI template-based components to a Hyvä theme by copying their source files and variants.
hyva-cms-custom-fieldhyva-themes/hyva-ai-tools781 installsCustom field types and field handlers for Hyvä CMS, with basic, inline, and modal-based patterns.
create-componentadobe/skills1.2K installsScaffolds complete AEM components with dialog, HTL, Sling Model, tests, and clientlibs, optionally translating Figma designs.
primevuekindy/skills542 installsSetup and use PrimeVue in Vue/Vite projects with auto-import, theming, and component configuration.