# vtex-io-storefront-theme-app

Assists with structuring VTEX IO storefront theme apps by composing block trees, declaring custom routes, and wiring templates for the merchant Site Editor.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 1000 installs · ★ 46
- Author: vtex
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/vtex/skills/tree/HEAD/skills/vtex-io-storefront-theme-app/SKILL.md
- Updated: 2026-10-14
- HTML: https://affpapa.org/en/nevibecode/skills/vtex-io-storefront-theme-app

## What it does

This skill guides the architecture of VTEX IO storefront theme packages. A theme app relies on declarative JSON rather than React components. It arranges pages using files inside `store/`, such as `store/blocks.json` and `store/routes.json`. Omitting the `store` builder in `manifest.json` causes the platform to ignore every block layout completely.

The instructions enforce correct block references across native templates like `store.home` and `store.product`. Every block identifier must resolve to an installed dependency with matching major version bounds, preventing runtime `Missing block` failures in GraphQL. The skill also separates concerns: React code stays in component packages, while the theme app controls layout hierarchies and `store/contentSchemas.json`.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add vtex/skills --skill vtex-io-storefront-theme-app -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/vtex-io-storefront-theme-app/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/vtex-io-storefront-theme-app/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add vtex/skills --skill vtex-io-storefront-theme-app -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/vtex-io-storefront-theme-app/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add vtex/skills --skill vtex-io-storefront-theme-app -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/vtex-io-storefront-theme-app/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install vtex/skills vtex-io-storefront-theme-app
```

2. **Manually: put the files in place**
- File: `.github/skills/vtex-io-storefront-theme-app/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add vtex/skills --skill vtex-io-storefront-theme-app -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/vtex/skills --path skills/vtex-io-storefront-theme-app
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/vtex-io-storefront-theme-app/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add vtex/skills --skill vtex-io-storefront-theme-app -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/vtex/skills/tree/HEAD/skills/vtex-io-storefront-theme-app/SKILL.md

## When to use it
- compose block hierarchies for native pages like store.product
- define custom storefront routing inside store/routes.json
- extend a base theme like vtex.store-theme via manifest.json
- prevent missing block errors by matching dependency major versions

## Example prompts
- Inspect store/blocks.json to verify all block IDs match our dependencies
- Add a custom storefront route bound to store.custom in store/routes.json
- Set up the block layout for store.search using flex-layout.row

## Similar
- [storefront-best-practices](https://affpapa.org/en/nevibecode/skills/storefront-best-practices.md) — skill · 4600 installs
- [saleor-storefront](https://affpapa.org/en/nevibecode/skills/saleor-storefront.md) — skill · 2300 installs
- [storefront-builder](https://affpapa.org/en/nevibecode/skills/storefront-builder.md) — skill · 384 installs
- [shopify-storefront-graphql](https://affpapa.org/en/nevibecode/skills/shopify-storefront-graphql.md) — skill · 1 install
- [amazon-storefront-design](https://affpapa.org/en/nevibecode/skills/amazon-storefront-design.md) — skill · 1100 installs
- [preline-theme-generator](https://affpapa.org/en/nevibecode/skills/preline-theme-generator.md) — skill · 1300 installs

From the same set: [vtex/skills](https://affpapa.org/en/nevibecode/by/vtex/skills.md) — 43 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
