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.
npx skills add hyva-themes/hyva-ai-tools --skill hyva-cms-components-dump -a claude-codeWhat 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-code2Manually: put the files in place
~/.claude/skills/hyva-cms-components-dump/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/hyva-cms-components-dump/
1Skills CLI (Vercel)
npx skills add hyva-themes/hyva-ai-tools --skill hyva-cms-components-dump -a codex2Manually: put the files in place
.agents/skills/hyva-cms-components-dump/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add hyva-themes/hyva-ai-tools --skill hyva-cms-components-dump -a cursor2Manually: put the files in place
.cursor/skills/hyva-cms-components-dump/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install hyva-themes/hyva-ai-tools hyva-cms-components-dump2Manually: put the files in place
.github/skills/hyva-cms-components-dump/SKILL.md1Skills CLI (Vercel)
npx skills add hyva-themes/hyva-ai-tools --skill hyva-cms-components-dump -a gemini-cli2Platform CLI
gemini skills install https://github.com/hyva-themes/hyva-ai-tools --path skills/hyva-cms-components-dumpManually: put the files in place
.devin/skills/hyva-cms-components-dump/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add hyva-themes/hyva-ai-tools --skill hyva-cms-components-dump -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
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.