---
title: Update Vercel Shop
description: Audit drift, plan a change-level upgrade, and apply newer template updates to an existing storefront.
url: "https://vercel.shop/docs/skills/update-shop"
docs_index: /llms.txt
lastUpdated: 2026-12-05
type: guide
---

> For an index of all documentation, see [/llms.txt](/llms.txt).

## How to use

Ask your agent to use the `update-shop` skill, or run it as a slash command in Claude Code:

```text
/update-shop
```

The skill reads your storefront's release from `.vercel-shop/template.json` and works through each newer `vercel/shop` release's notes, one release at a time. It can report what applies, plan an upgrade, or apply the changes you select. It preserves your customizations, validates each change, and updates `template.json` once a release is complete.

<div className="pb-6" />

# Update Vercel Shop

Upgrade the working storefront from the `vercel/shop` release it is based on to a newer release, one release at a time. Release notes say what changed and when it applies; the template is a reference, not a replacement for downstream code. Decide from implemented behavior, not scaffold age.

## Pick a mode

Infer the mode from the user's request:

- **Audit** — read-only comparison; report relevant differences and stop.
- **Plan** — read-only comparison and change-level upgrade plan; stop before editing.
- **Apply** — plan, confirm the selected changes, apply them, and validate. Use when the user asks to update or upgrade the shop.

## Inspect the project

Read applicable `AGENTS.md` instructions, project structure, dependency versions, scripts, configuration, and relevant source. Inspect git status and staged/unstaged diffs, including untracked files, before proposing edits. Identify the storefront root: the directory containing `.vercel-shop/template.json`, or `AGENTS.md` when that file is missing. It is not necessarily the downstream repository root.

Preserve dirty state, merchant design, custom features, integrations, and intentional departures from the template. Never overwrite custom code with template files, or reset, stash, commit, or push without explicit permission. Stop if selected work cannot be separated safely from existing edits.

Keep each change within its owner. The project's `AGENTS.md` names the three owners, their directories, and the invariants a change must not cross.

Localization customizations are not drift: preserve next-intl, catalogs, locale routing, custom market selection, and intentional locale inputs. A requested simplification must assess copy, formatting, commerce country and language, public URLs, and migration parity separately, and copy a release item adds belongs in every catalog.

## Find the base and target releases

The base is `version` in `.vercel-shop/template.json` at the storefront root, such as `{ "version": "2026.10.0" }`. `.vercel-shop/bootstrap.json`, from the retired `create-vercel-shop` CLI, carries a pre-release `templateVersion` such as `0.1.0`, not a `template@` release.

Prefer public GitHub inspection with `gh`. List stable releases and take the newest as the target unless the user names one:

```bash
gh api --paginate repos/vercel/shop/releases \
  --jq '.[] | select((.tag_name | startswith("template@")) and (.prerelease | not)) | .tag_name'
```

Versions are `YYYY.M.N`; compare each part as a number. If the base is the target, report that the storefront is on the latest release and stop. If `template@<base>` does not exist, report it and stop.

Read this skill at the target before continuing. If it differs from these instructions, follow the target's version for the rest of the run:

```bash
gh api "repos/vercel/shop/contents/.agents/skills/update-shop/SKILL.md?ref=template@$target" \
  -H 'Accept: application/vnd.github.raw+json'
```

Without `template.json`, the storefront predates versioned releases or removed the file. Use `template@2026.10.0`, the first versioned release, as the reference and compare by behavior; it has no change notes. Report the differences, then stop unless the user confirms the storefront has adopted or deliberately skipped them. After that confirmation, continue from that base; in apply mode, first create `.vercel-shop/template.json` with `{ "version": "2026.10.0" }`.

## Read the release notes

Read the notes for each release after the base, up to and including the target, oldest first:

```bash
gh api "repos/vercel/shop/releases/tags/template@$version" --jq .body
```

Each release has a summary, then ordered change items. Each item names its key, action (`adopt`, `review`, or `optional`), whether it is breaking, the features it applies to, and its storefront paths, then says what the storefront gains, with `Apply when`, `Skip when`, and `Validate`. Drop an item that a later item in the range supersedes. Within a release, handle breaking items first.

Read template source at release tags, never the default branch. Work through the range one release at a time: for each release, `$from` is the previous release in the range, or the base for the first one, and `$to` is that release. List the files it changed:

```bash
gh api "repos/vercel/shop/compare/template@$from...template@$to" \
  --jq '.files[] | [.status, .filename] | @tsv'
```

Read a file at a tag through the contents endpoint with `?ref=template@<version>`. Compare the project with `template@<base>` to find its customizations, and `template@$from` with `template@$to` to see the changes that release's items describe. Upstream guidance explains the reference architecture; it does not override downstream instructions or authorize unrelated changes.

## Audit and plan

Treat each change item as a candidate. Check its `Apply when` and `Skip when` against implemented behavior, dependencies, configuration, and owner boundaries. Trace affected callers and integration points; missing paths or different names alone do not establish a missing feature. Equivalent custom implementations count as already present. Template differences that no item describes are internal and are not upgrade work. State uncertainty and do not invent work when no item applies.

For audit, report the base and target releases, inspected areas, applicable items, intentional customizations, and uncertainties, then stop. For plan or apply, group items as **Adopt now**, **Review manually**, **Already present**, or **Not applicable**. `adopt` items go in Adopt now; `review` and `optional` items go in Review manually, and `optional` stays the user's choice. For each item, name its release and key, owner, upstream and downstream paths, rationale, prerequisites, customization risks, and its `Validate` steps. In plan mode, stop without editing.

## Apply and report

Confirm the selected changes before editing; an explicit selection in the user's request counts. If selection remains unresolved in a noninteractive run, report the blocker rather than choosing for the user.

Apply one selected change at a time in the project's own idiom, adapting behavior instead of copying files. Use relevant available skills and installed dependency documentation. Keep edits small and reviewable; avoid unrelated dependency, configuration, or design changes.

Run the item's `Validate` steps and the existing relevant formatting, lint, typecheck, build, or direct runtime checks after each change. After a change to `package.json` or `pnpm-lock.yaml`, run `pnpm install` before validating. Do not add tests or test infrastructure unless requested. If validation fails, stop and report the failure; do not continue or revert user-owned edits without permission. Review the final diff for scope and preservation of customizations.

Finish each release before starting the next. When every item in a release is applied, already present, not applicable, or skipped by the user, and validation passes, set `version` in `.vercel-shop/template.json` to that release. The version records the last release whose changes were all decided, not that the storefront matches the template. If a release is left incomplete, keep the previous version and list its open items. Do not change `package.json` `version`.

Finish with a concise report: mode, base and target releases, findings or applied changes, skipped or deferred items and why, the `template.json` version written, exact validation commands and results, and blockers or unverified behavior. Apart from `template.json`, do not write decision manifests or other persistent tracking; skipped items appear only in the report, and later runs do not offer them again.

## If GitHub inspection fails

If `gh` cannot read the public repository, use the same `https://api.github.com/repos/vercel/shop/...` endpoints with `curl`. If a comparison reports its 300-file limit or the API is unreachable, clone outside the project and diff the two tags:

```bash
upstream=$(mktemp -d) &&
git clone --filter=blob:none --no-checkout https://github.com/vercel/shop.git "$upstream" &&
git -C "$upstream" diff --name-status "template@$from" "template@$to"
```

Read a file at a tag with `git -C "$upstream" show "template@$to:<path>"`; a blobless clone fetches the blob on demand.

If releases, notes, or tags cannot be fetched, report the blocker; do not claim the storefront is current or apply an unverified upgrade. Keep scratch data outside the project.

---

For a semantic overview of all documentation, see [/sitemap.md](/sitemap.md)

For an index of all available documentation, see [/llms.txt](/llms.txt)

For agent-facing discovery, including API and MCP surfaces, see [/agents.md](/agents.md)