vtex-io-storefront-theme-versioning
БесплатноБез исполняемых скриптовНе проверенApply when installing, publishing, upgrading, or rolling back a VTEX IO storefront theme app (`vendor.store-theme` or any app that owns `store/blocks.json`…
от vtex★ 47 звёзд на GitHubОб этом скилле
Storefront Theme Versioning, Install, and Rollback
When this skill applies
Use this skill whenever the version of a content-holding storefront app (a theme such as vendor.store-theme, or any app that ships store/blocks.json, store/routes.json, store/templates/, or store/contentSchemas.json) is about to change in master.
- Bumping the version of a theme app with
vtex release patch | minor | major - Running
vtex publish/vtex deployon a theme app - Running
vtex install [email protected]against a production account - Promoting a workspace that has a different theme version installed than
master - Planning recovery from a deploy that "lost" all storefront content
- Reviewing a developer's deploy script that touches a storefront theme
Do not use this skill for:
- block registration via
interfaces.json— usevtex-io-render-runtime-and-blocks - shopper-facing component code under
react/— usevtex-io-storefront-react - app-level settings under
manifest.json#settingsSchema— usevtex-io-app-settings - Master Data schema versioning — use
vtex-io-masterdata-strategy
Decision rules
- Treat any app that ships content under
store/(theme apps and many storefront apps) as a content-holding app. Its installed MAJOR version is part of the key the platform uses to store and look up every Site Editor change a merchant has ever saved against blocks declared by that app. - Site Editor content, custom routes, templates, and per-template render caches are stored by
vtex.pages-graphqlunder keys of the form[email protected]:template. Examples:[email protected]:store.home,[email protected]:store.product. - A
patch(0.0.61→0.0.62) and aminor(0.1.0→0.2.0) reuse the same key and the new version sees the same merchant content. Amajor(0.x→5.x) changes the key. The new major starts with zero merchant content even if the theme code is otherwise identical. - When
vtex.pages-graphqlcannot find content for the active major, it falls back to the defaultvtex.store-themecontent. The site visibly degrades to "VTEX default theme" content even though the customer's app is installed and rendering. - Avoid
vtex release majoron a content-holding app whenever possible. Prefer keeping changes within the current major aspatchorminorso merchant content carries forward automatically. - When a major bump is unavoidable because of a structural change to blocks, routes, or templates, migrate the merchant content from the old major to the new major with the
updateThemeIdsmutation in[email protected]before promoting. The mutation rekeys all Site Editor edits, Pages, and Redirects fromvendor.app@{oldMajor}.xtovendor.app@{newMajor}.xin one operation. This is the official developer-accessible recovery surface; do not assume content has to be re-authored manually. - Always install and validate a new theme major in a production-flag dev workspace (
vtex use rollout-workspace --production, which both creates and switches to the workspace in one step) before promoting. Linking is not enough:vtex linkdoes not exercise published artifacts and does not produce the same content-key behavior asvtex install+vtex workspace promote. - Run
updateThemeIdsagainst[email protected]from the GraphQL Admin IDE (vtex install [email protected], thenvtex browse admin/graphql-ide) inside the production-flag dev workspace, aftervtex installof the new major and beforevtex workspace promote. Site Editor, Pages, and Redirects in that workspace will then resolve under the new major and be carried with the workspace at promote time. - Treat
vtex workspace promoteas the atomic cutover. Smoke-test the dev workspace's full page set (home, PDP, PLP, department, search, custom routes, account, checkout entry) after runningupdateThemeIds. If the dev workspace is broken, master will be broken. - Verify that the version published to the Apps Registry matches the source you expect. A common failure pattern is publishing a stripped-down boilerplate by mistake — the registry version installs cleanly, but it does not contain the custom blocks the existing Site Editor content references.
updateThemeIdscannot fix a missing-block problem; it only rekeys existing content. - The same
updateThemeIdsstep is required when downgrading to a previous major (for example5.x→4.x). The mutation moves content in either direction across MAJOR boundaries. vtex workspace promotedoes not wipe master'svtex.pages-graphqlVBase content. The service merges withMineWinsConflictsResolver: a 3-way merge ofbase(the master state the dev workspace forked from),master(current master), andmine(the dev workspace). Master keys not touched by the dev workspace are preserved; conflicting keys are resolved in favor of the dev workspace ("mine wins"). Plan the rollout so that conflicting
Установить vtex-io-storefront-theme-versioning в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл vtex-io-storefront-theme-versioning?
Apply when installing, publishing, upgrading, or rolling back a VTEX IO storefront theme app (`vendor.store-theme` or any app that owns `store/blocks.json`, `store/routes.json`, and `store/contentSchemas.json`). Covers how Site Editor and theme content are scoped by the app's MAJOR version, why a major version bump leaves the new major with no merchant content and silently falls back to default theme content, the safe install-in-workspace, migrate- content with the `updateThemeIds` mutation, smoke-test, then promote workflow, the 3-way mine-wins merge that `vtex workspace promote` performs against `vtex.pages-graphql` VBase (with automatic per-minute `userData_backup` snapshots when conflicts are resolved), and the support-led recovery path. Use for any operation that changes which version of a content-holding app is installed in `master`.
Как установить скилл vtex-io-storefront-theme-versioning?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл vtex-io-storefront-theme-versioning запускает скрипты?
Нет, скилл состоит только из инструкций (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