Skip to main content
skill CX Codex

hyva-cms-components-dump — Claude Code skill: list Hyvä CMS components

Dumps every Hyvä CMS component available in a Magento 2 project, merged across the modules that are switched on.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add hyva-themes/hyva-ai-tools --skill hyva-cms-components-dump -a claude-code
Open on GitHub

What hyva-cms-components-dump does

The skill walks the enabled modules of a Magento 2 project and returns their Hyvä CMS component definitions as one JSON object. Reach for it when you need to know what the CMS editor actually offers, or when a component you expected is missing.

It first looks for the console commands bin/magento hyva:cms:describe-components and bin/magento hyva:cms:list-disabled-components and uses them when present, since they report the live state of the project. On an older Hyvä CMS it falls back to the bundled scripts/dump_cms_components.php. That script reads app/etc/config.php, keeps only modules marked 1, finds etc/hyva_cms/components.json under app/code and vendor, and merges the files in module load order. A later module wins on a duplicate component key.

Everything runs from the Magento project root. The fallback script pulls in app/etc/config.php, so it needs a PHP interpreter, and the skill relies on hyva-exec-shell-cmd to work out the command wrapper.

What it helps with

  • see which CMS components the editor offers
  • confirm a newly added component got registered
  • spot component key clashes between modules
  • trace why a component dropped out of the list
  • export component definitions for documentation

Example prompts for the agent

  • List all Hyvä CMS components in this project
  • Dump components.json and show me the output
  • Show the disabled CMS components

How to install hyva-cms-components-dump

1Skills CLI (Vercel)

npx skills add hyva-themes/hyva-ai-tools --skill hyva-cms-components-dump -a claude-code

2Manually: put the files in place

~/.claude/skills/hyva-cms-components-dump/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/hyva-cms-components-dump/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about hyva-cms-components-dump

How do I install hyva-cms-components-dump in Claude Code?

Run npx skills add hyva-themes/hyva-ai-tools --skill hyva-cms-components-dump -a claude-code. The skill lands at ~/.claude/skills/hyva-cms-components-dump/SKILL.md.

What does hyva-cms-components-dump do?

It gathers Hyvä CMS component definitions from the active Magento 2 modules and prints them as a single merged JSON. It also reports which components are disabled.

What does the skill need to run?

It depends on the hyva-exec-shell-cmd skill to detect the command wrapper, and commands run from the Magento project root. The fallback script needs a PHP interpreter because it requires app/etc/config.php.

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set12

hyva-ui-component This skill applies template-based Hyvä UI components to a selected theme. It helps choose a component, review its variant and copy the required files. CX Codex +1 1,300installs hyva-render-media-image Writes responsive <picture> markup for Hyvä Theme templates through the Media view model. Useful when mobile and desktop need different image sources. CX Codex +1 1,300installs hyva-compile-tailwind-css Builds Tailwind CSS stylesheets for Hyvä themes in Magento 2. It triggers production builds or watch mode when updated utility classes fail to render on the storefront. CX Codex +1 1,300installs hyva-child-theme Builds a Hyvä child theme inside a Magento 2 project, including its frontend structure and Tailwind CSS setup. Useful when starting a custom theme. CX Codex +1 1,300installs hyva-alpine-component Guides the agent through building Alpine.js components for Hyvä themes in Magento 2 that keep working when Content Security Policy is strict. CX Codex +1 1,300installs hyva-exec-shell-cmd Identifies the Magento dev setup and selects the right command wrapper for containers or local execution. CX Codex +1 1,300installs hyva-cms-component Walks you through building a custom Hyvä CMS component for Magento 2: module, fields, PHTML template and setup:upgrade. CX Codex +1 762installs hyva-cms-custom-field Generates custom inputs and modal handlers for Hyvä CMS components. Helps Magento developers extend editor controls without writing boilerplate by hand. CX Codex +1 752installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor