hyva-cms-components-dump▌
hyva-themes/hyva-ai-tools · updated Apr 8, 2026
Locates all components.json files from Hyvä CMS modules and outputs a merged JSON object containing all component definitions from active modules.
Hyvä CMS Component Dump
Locates all components.json files from Hyvä CMS modules and outputs a merged JSON object containing all component definitions from active modules.
Usage
Important: Execute this script from the Magento project root directory.
Run the dump script:
php <skill_path>/scripts/dump_cms_components.php
Where <skill_path> is the directory containing this SKILL.md file (e.g., .claude/skills/hyva-cms-components-dump).
Output format: A single JSON object containing all merged CMS component definitions.
How It Works
- Reads module configuration from
app/etc/config.phpto get the ordered list of modules - Filters active modules - only modules with value
1are included (disabled modules are skipped) - Locates components.json files in:
app/code/{Vendor}/{Module}/etc/hyva_cms/components.jsonvendor/{vendor-name}/{package-name}/*/etc/hyva_cms/components.json
- Maps paths to module names by reading each module's
etc/module.xml - Merges JSON objects in module load order as declared in
config.php - Outputs the result as formatted JSON
Module Load Order
Components are merged in the exact order modules appear in app/etc/config.php. Later modules can override components from earlier modules by using the same component key.
Example Output
{
"text_block": {
"label": "Text Block",
"category": "Content",
"template": "Hyva_CmsBase::elements/text-block.phtml",
...
},
"feature_card": {
"label": "Feature Card",
"category": "Elements",
"template": "Custom_Module::elements/feature-card.phtml",
...
}
}
Integration with Other Skills
This skill can be used to:
- Debug which components are available in the CMS editor
- Verify component registration after creating new components
- Check for component name conflicts between modules
- Export component definitions for documentation
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.8★★★★★68 reviews- ★★★★★Valentina Diallo· Dec 28, 2024
hyva-cms-components-dump reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Chinedu Flores· Dec 24, 2024
Useful defaults in hyva-cms-components-dump — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Michael Huang· Dec 24, 2024
Solid pick for teams standardizing on skills: hyva-cms-components-dump is focused, and the summary matches what you get after install.
- ★★★★★Arya Thomas· Dec 12, 2024
We added hyva-cms-components-dump from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Dev Jackson· Nov 19, 2024
We added hyva-cms-components-dump from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Liam Ndlovu· Nov 15, 2024
I recommend hyva-cms-components-dump for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Henry Kapoor· Nov 15, 2024
Registry listing for hyva-cms-components-dump matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Diego Yang· Nov 3, 2024
hyva-cms-components-dump reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Valentina Abebe· Oct 22, 2024
hyva-cms-components-dump is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Shikha Mishra· Oct 14, 2024
hyva-cms-components-dump is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
showing 1-10 of 68