vtex-io-storefront-theme-app — Claude Code skill: guide
Assists with structuring VTEX IO storefront theme apps by composing block trees, declaring custom routes, and wiring templates for the merchant Site Editor.
npx skills add vtex/skills --skill vtex-io-storefront-theme-app -a claude-codeWhat vtex-io-storefront-theme-app 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.
What it helps with
- 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 for the agent
- 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
How to install vtex-io-storefront-theme-app
1Skills CLI (Vercel)
npx skills add vtex/skills --skill vtex-io-storefront-theme-app -a claude-code2Manually: put the files in place
~/.claude/skills/vtex-io-storefront-theme-app/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/vtex-io-storefront-theme-app/
1Skills CLI (Vercel)
npx skills add vtex/skills --skill vtex-io-storefront-theme-app -a codex2Manually: put the files in place
.agents/skills/vtex-io-storefront-theme-app/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add vtex/skills --skill vtex-io-storefront-theme-app -a cursor2Manually: put the files in place
.cursor/skills/vtex-io-storefront-theme-app/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install vtex/skills vtex-io-storefront-theme-app2Manually: put the files in place
.github/skills/vtex-io-storefront-theme-app/SKILL.md1Skills CLI (Vercel)
npx skills add vtex/skills --skill vtex-io-storefront-theme-app -a gemini-cli2Platform CLI
gemini skills install https://github.com/vtex/skills --path skills/vtex-io-storefront-theme-appManually: put the files in place
.devin/skills/vtex-io-storefront-theme-app/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add vtex/skills --skill vtex-io-storefront-theme-app -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 vtex-io-storefront-theme-app
How to install vtex-io-storefront-theme-app in Claude Code?
Run npx skills add vtex/skills --skill vtex-io-storefront-theme-app -a claude-code.
What does vtex-io-storefront-theme-app do?
It defines rules for assembling VTEX IO storefront themes, covering route declarations, block trees, and Site Editor schemas.
Should React components be placed inside a theme app?
No. A theme app composes blocks through JSON files under store/, while actual React code belongs in separate component applications.