vtex-io-storefront-theme-app
БесплатноБез исполняемых скриптовНе проверенApply when designing or modifying a VTEX IO storefront theme app — the app that owns `store/blocks.json`, `store/routes.json`, `store/templates/`…
от vtex★ 47 звёзд на GitHubОб этом скилле
Storefront Theme App
When this skill applies
Use this skill when working on the app that assembles the storefront — the theme app that owns the page tree, custom routes, and Site Editor surface area for a store.
- Scaffolding
vendor.store-themeor any app with thestorebuilder that ships pages - Adding or changing
store/blocks.jsonor per-template files understore/blocks/ - Adding or modifying a custom route in
store/routes.json - Composing the block tree for
store.home,store.product,store.search,store.custom, or any native page template - Extending or overriding a base theme such as
vtex.store-theme - Reviewing whether a change belongs in the theme app, in a component app, or in app settings
Do not use this skill for:
- registering a new block in a component app (
store/interfaces.json) — usevtex-io-render-runtime-and-blocks - implementing the React component behind a block — use
vtex-io-storefront-react - changing the theme app's installed version on
master— usevtex-io-storefront-theme-versioning - localized strings — use
vtex-io-messages-and-i18n
Decision rules
- A theme app is a regular VTEX IO app with the
storebuilder declared inmanifest.json. It almost never ships React code; it composes blocks declared by component apps and by base themes. - The theme app declares its base theme in
manifest.json#dependencies, typicallyvtex.store-theme, and inherits every page template, block declaration, and default content the base ships. store/blocks.json(or per-template files understore/blocks/) defines the block tree per page template by referencing block IDs. Block IDs come from the component apps'store/interfaces.jsonand are scoped by the declaring app's MAJOR version.store/routes.jsondefines custom storefront routes and binds them to a page context (store.custom,store.product,store.search, etc.). Native routes (/,/{slug}/p, search) come from the base theme and rarely need to be redeclared.store/contentSchemas.jsondeclares Site Editor-editable props for blocks. Merchant edits to those props are stored byvtex.pages-graphqlunder a key that includes the theme app's MAJOR version.- Three change locations exist for storefront behavior. Pick consciously:
- Theme app
store/JSON — composition, routes, default content, allowed children. Affects all shoppers immediately on promote. - Component app code — the React behavior of a block. Released on the component app's own version cadence.
- Site Editor — merchant-managed content overrides on top of the theme's defaults. Stored by
vtex.pages-graphqland scoped by the declaring app's installed major.
- Theme app
- Prefer extending a base theme over forking it. Forking a base theme moves the responsibility for every block, route, and template to your app forever, including upstream bug fixes.
- A storefront page is a tree of blocks. The leaves are component blocks; the branches are container blocks (
flex-layout.row,flex-layout.col, etc.). Keep the tree as shallow as the design allows; deep trees inflate render and content footprint. - The theme app is a content-holding app in the sense of
vtex-io-storefront-theme-versioning. Its installed major version is part of the key the platform uses for every Site Editor change a merchant has ever saved against blocks declared by this app. Treat its version contract as merchant-facing, not developer-facing.
Hard constraints
Constraint: Theme apps must declare the store builder and a base theme
A storefront theme app MUST declare "store" in manifest.json#builders and MUST depend on a base theme (typically vtex.store-theme) unless it explicitly takes ownership of every native page template, block, and route.
Why this matters
Without the store builder, none of the files under store/ are processed and the theme contributes nothing to the storefront. Without a base theme, the app is responsible for declaring every native page template (store.home, store.product, store.search, etc.) from scratch — including upstream maintenance forever.
Detection
If a theme app ships store/blocks.json or store/routes.json but its manifest does not declare "store" in builders, STOP and add the builder. If the manifest also omits vtex.store-theme (or another base theme) from dependencies or peerDependencies without an explicit reason, STOP and confirm the app intends to own every native template.
Correct
{
"vendor": "acme",
"name": "store-theme",
"version": "1.0.0",
"title": "ACME Store Theme",
"builders": {
"store": "0.x",
"messages": "1.x"
},
"dependencies": {
"vtex.store-theme": "2.x",
"acme.product-widgets": "0.x"
}
}
Wrong
{
"vendor": "acme",
"name": "store-theme",
"version": "1.0.0",
"builders": {
"messages": "1.x"
},
"dependencies": {}
}
The store/ files exist on disk but the platform
Установить vtex-io-storefront-theme-app в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл vtex-io-storefront-theme-app?
Apply when designing or modifying a VTEX IO storefront theme app — the app that owns `store/blocks.json`, `store/routes.json`, `store/templates/`, `store/contentSchemas.json`, and the storefront page tree assembled from `store.home`, `store.product`, `store.search`, `store.custom`, and other native page templates. Covers how a theme app extends a base theme, declares routes, composes blocks across pages, and how its `store/` files relate to merchant Site Editor content. Use for theme scaffolding, custom page routes, theme-level overrides, or reviewing whether a change belongs in the theme app, in a component app, or in app settings.
Как установить скилл vtex-io-storefront-theme-app?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл vtex-io-storefront-theme-app запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic