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

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 1300 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-ui-component/SKILL.md
- Updated: 2026-07-31
- HTML: https://affpapa.org/en/nevibecode/skills/hyva-ui-component

## What it does

The skill works with Hyvä UI’s non-CMS components, including headers, footers, galleries, menus and minicarts. It checks `vendor/hyva-themes/hyva-ui/components/`, lists available variants and reads the selected component’s README before making changes.

It then locates a theme under `app/design/frontend/`, copies files from the component’s `src/` directory and records which files were created or updated. XML options go into `etc/view.xml`, while existing layout XML must be merged instead of replaced. Component and plugin dependencies are handled before the files are copied.

Hyva UI must be available at `vendor/hyva-themes/hyva-ui` or at a custom path. If it is missing, the workflow offers a Composer installation, a custom extraction path or a download from the Hyvä account area. Tailwind compilation is not automatic; the skill asks before invoking it.

## Install

### Claude Code (native platform)

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

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

### Codex

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

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

### Cursor

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

2. **Manually: put the files in place**
- File: `.cursor/skills/hyva-ui-component/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-ui-component
```

2. **Manually: put the files in place**
- File: `.github/skills/hyva-ui-component/SKILL.md`

### Gemini CLI

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

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

### Windsurf (Devin Desktop)

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

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add hyva-themes/hyva-ai-tools --skill hyva-ui-component -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-ui-component/SKILL.md

## When to use it
- list available non-CMS Hyvä UI components
- choose a component variant for a Hyvä theme
- copy component files into the theme
- add XML options to `etc/view.xml`
- track created and updated files

## Example prompts
- Add a Hyvä UI gallery to the existing theme and show its available variants.
- Install the `header` component into a new Hyvä child theme.
- Check dependencies for `minicart`, copy its files and report the changes.

## 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
