# hyva-cms-components-dump

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

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 744 installs · ★ 85
- Author: hyva-themes
- License: OSL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/hyva-themes/hyva-ai-tools/tree/HEAD/skills/hyva-cms-components-dump/SKILL.md
- Updated: 2026-07-31
- HTML: https://affpapa.org/en/nevibecode/skills/hyva-cms-components-dump

## What it 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.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add hyva-themes/hyva-ai-tools --skill hyva-cms-components-dump -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/hyva-cms-components-dump/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/hyva-cms-components-dump/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add hyva-themes/hyva-ai-tools --skill hyva-cms-components-dump -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/hyva-cms-components-dump/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add hyva-themes/hyva-ai-tools --skill hyva-cms-components-dump -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/hyva-cms-components-dump/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install hyva-themes/hyva-ai-tools hyva-cms-components-dump
```

2. **Manually: put the files in place**
- File: `.github/skills/hyva-cms-components-dump/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add hyva-themes/hyva-ai-tools --skill hyva-cms-components-dump -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/hyva-themes/hyva-ai-tools --path skills/hyva-cms-components-dump
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/hyva-cms-components-dump/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add hyva-themes/hyva-ai-tools --skill hyva-cms-components-dump -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/hyva-themes/hyva-ai-tools/tree/HEAD/skills/hyva-cms-components-dump/SKILL.md

## When to use it
- 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
- List all Hyvä CMS components in this project
- Dump components.json and show me the output
- Show the disabled CMS components

## Similar
- [setup-matt-pocock-skills](https://affpapa.org/en/nevibecode/skills/setup-matt-pocock-skills.md) — skill · 1052851 installs
- [ask-matt](https://affpapa.org/en/nevibecode/skills/ask-matt.md) — skill · 766587 installs
- [to-tickets](https://affpapa.org/en/nevibecode/skills/to-tickets.md) — skill · 711230 installs
- [writing-plans](https://affpapa.org/en/nevibecode/skills/writing-plans.md) — skill · 282859 installs
- [caveman-review](https://affpapa.org/en/nevibecode/skills/caveman-review.md) — skill · 411800 installs
- [caveman-compress](https://affpapa.org/en/nevibecode/skills/caveman-compress.md) — skill · 411500 installs

From the same set: [hyva-themes/hyva-ai-tools](https://affpapa.org/en/nevibecode/by/hyva-themes/hyva-ai-tools.md) — 12 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
