/xsolla-ai-kit:shop-builder-assemblyfrom xsolla-ai-kit
Assembles a Shop Builder storefront from a validated shop brief: pages, layout, navigation, blocks, localization, catalog links, theme and copy with mobile/PC/live-service presets.
Ships in xsolla-ai-kit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Build an unpublished Publisher Account Shop Builder site, not a custom frontend,
in the developer's project through xsolla shopbuilder.
A Game Web Portal is built by game-web-portal, not here. If the user asked for a
game home, or the existing site has /news, /rewards, and /store, hand off to
game-web-portal and stop. A shop continues.
Normalize publisher answers, existing stores, descriptions, and designs into the shop brief. Writes require that brief; callers own source extraction.
For Quests block operations on an existing Shop Builder site, including settings and
appearance changes, use a block_operations brief and follow
block operations. This path plans and applies only
confirmed block operations; it does not reconcile pages, navigation, site or page themes,
or catalog sections.
If preset is auto, choose in this order:
live-service-events.pc-multi-page.mobile-single-page.Before planning, read presets, the block catalog and the render rules: how Shop Builder actually draws themes, fonts, backgrounds, text and store sections. Before applying, read the exported contracts and CLI operations.
The official inventory is authoritative; its mappings and presets remain provisional until expert-review.md records approval.
scripts/preflight.py <brief.json>. Read back the matched merchant ID, project
ID, active Publisher login, target site, and catalog groups.
When catalog-design's proposal is still waiting for the same yes, preflight's only
allowed failure is the groups that proposal creates: render and show the plan with
it. After the yes and the catalog's creation, run preflight again; it must pass in
full before apply.
When the site needs a common layout (a new site, or one without it) and the CLI can't
create it (shopbuilder list-block-modules lists common-layout under cannotCreate),
preflight and the rendered plan's warnings say the site is built without it and won't
open in the Editor, Publish or private preview; show that with the plan, before any
write. The plan depends on that CLI check, so a CLI upgrade between render and apply
changes its confirmation ID: render again and show it.nocode-shop-setup does this at its first
check), then rerun preflight; never override later commands.scripts/backup_shop.py --brief <brief.json> --slug <slug> --output-dir <dir>.scripts/render_plan.py <brief.json> --structure <backup-dir>/structure.json, save the output as approved-plan.json, and show one
plan in plain language: the project by name and IDs (the name from xsolla publisher list-projects), each page and its sections in order, the products and offers in
each, the visual direction (palette, backgrounds, artwork and where it came from), each
page's search title, description and share image, exact block removals, the template
sections each new page comes with that are removed (template_removals has one entry
per block: say how many of each, such as four more Store sections), catalog
mappings (for an __all__ section, every enabled item it pulls in, with test or
leftover entries flagged; recommend sections of the new groups only, since disabling
an entry changes the live catalog at once), existing pages the theme puts on the site colors, that a preview link anyone can
open will be created for the visual review after the build, and what is still to
connect, with a desktop and mobile
mockup. Call each section by its
block name in the block catalog, such as Offer chain or
Reward system, never by a module ID such as sb-offer-chain. Don't show the developer
module IDs or the confirmation_id on standalone build plans, even as audit details.
The block_operations mode instead follows its local operation-plan confirmation
exception. Preserve configured blocks lacking replacement data. Omit --structure only for a new slug's
bootstrap-only plan; it still shows every page and section to be built.nocode-shop-setup shows it in one message with a pending catalog proposal, that yes
covers creating the catalog too. Earlier permission to "build a shop" is not that
yes. Apply with --approved-plan approved-plan.json --confirmation-id <its confirmation_id>; the script refuses an edited plan file.Never use sandbox as a Shop Builder target. Never publish, attach a production domain, enable live payments, or apply a saved version. A human publishes in Publisher Account.
More than one run under the yes. A new site is applied in two runs, a run that stops
partway prints a stopped-partway report, and background fixes after the review run
scripts/patch_backgrounds.py. Before each later run, export again and render with
--structure, --approved-plan and --run-report; apply under the same yes only when the
render says "Covered by the approved plan". Commands and what each check covers:
runs under one yes.
What the yes covers. This is the one list; other files point here. The yes covers what the plan and the catalog proposal shown with it showed: pages and sections, the catalog with its prices, promotions, limits and dates, the palette, fonts, art and wording, the exact removals listed (blocks that existed before this run included), both runs of a new site, a rerun the render calls covered, background fixes after the review, and theme, font and wording fixes back to the approved values. Don't ask again for those; note "covered by the approved plan" and continue. Ask again, showing what changed, for anything else: a render that "Needs a new yes"; a change the plan didn't show, such as another theme value, font or wording, a change to a block or page that existed before this run, or a price, promotion, limit, date or eligibility not in the proposal; another site, slug or project; or a target that changed after export. Pressing Preview once, when the preview session expired, is a request, not a new approval.
After confirmation, apply_plan.py applies steps 1–5 in this dependency order, and
scripts/apply_style.py steps 6–8 after the last apply run (run 2 for a new site), from
a fresh backup, as CLI operations describes.
features.redesign in get-structure, true for every new site) a page that gets the
store is made with add-page --type topup: that page type comes with a store, and a
redesigned store can't be added later.common-layout only if the
site has none, with create-block --slug <slug> --page-id <page id> --module common-layout; adding it earlier suppresses some template headers and footers.
Find it by module, not position: get-structure lists layouts by ID, so read each
one with get-block. Other layouts, such as a sidebar's side-by-side layout, stay.
Verify the common layout's ID appears in both blocks and layouts. When
list-block-modules lists common-layout under cannotCreate, as CLI 1.10.0 does,
this step is skipped and verification doesn't require it.values or components.newStore sections after this project's groups and SKUs
are verified. Localize a section title before enabling its L: ID. On a redesigned
store apply_plan.py points its first sections at the plan's groups and drops the
rest; a store with fewer sections than the plan is left as it is and reported. The
plan's warnings say so before the yes: a store page comes with a store of three
sections, so show it and offer to plan three groups or fewer.apply_style.py sets the brief's brand.theme on the site theme and puts
planned pages on it; a page's own theme overrides the site's. Take the palette from the
game's art (visual style). Hand over its needs_human.brand.images file once and puts the CDN URL in the
block's background or logo. An opaque background.color hides the image under it.content.copy, hero button labels (content.buttons), the FAQ
items and each page's content.seo (title, description, share image) in the primary
locale through update-many-localization, never block patches; shopbuilder-translate
adds other locales. Follow the text rules in visual style.Use pre-written scripts for repeated work; never pass --force or invent HTTP or
curl workarounds. If an operation requires --force, stop and report it.
If the CLI lacks an operation, stop it, record the gap, and file a CLI/API ticket.
scripts/verify_structure.py --plan <the last applied plan> --structure <post-apply-structure.json> for the deterministic structural comparison: run 2's plan
for a new site, approved-plan.json otherwise.xsolla shopbuilder verify-website --slug <slug> --draft-pages-ids '["<page id>"]'.
The flag is required: a JSON array with the _id of every page in get-structure.enable-preview); the plan's yes covers it,
because the plan says anyone with the link can open it. No CLI command returns the
link (preview-link was removed in CLI 1.10.0): open the preview in the browser as
the visual review describes, and return that link.admin_privileges_requred, it is a known CLI gap
(test findings): report it once and go
on, without retrying. For the preview, open it in the browser as the visual review
describes.auth in get-structure or get-landing. With an
auth.loginId, check in Publisher Account, or with a read-only command from
xsolla login --help, that this Login project is linked to the same store project. If
it belongs to another project, or to none, report it in the handoff as a fix in
Publisher Account before publishing: players would sign in through the wrong Login
project. Never change it.html) block, tell the user it is added empty and
hidden: they paste their code and make the block visible in the Site Builder editor.
Never write HTML, CSS, or JavaScript into it. A site that must match a Figma design
uses no custom code, and Custom Blocks only as
Matching a Figma design allows.Stop before writes when project identity is ambiguous, backup fails, confirmation is missing, catalog/project IDs do not match, or the plan requires an unverified block module. Preserve completed safe work and explain the smallest action needed to continue.
_site-builder-classic_…). On them assembly sets up the pages, the order of the blocks
and the store's catalog sections. It doesn't set their header links, texts, images or
FAQ yet: the plan's warnings say so before the yes, and the reports' needs_human
list each step for the Editor. Show both. A planned block that such a page lacks is
left out with the reason in omissions, and a store page's hero is the page type's own
(redesigned blocks).create-website creates
the site under another slug; apply_plan.py stops and names it. The new address needs
a new yes, so propose a distinctive slug in the plan, not a generic <game>-shop.examples/live-service-events.json (opens in a new tab)examples/mobile-single-page.json (opens in a new tab)examples/pc-multi-page.json (opens in a new tab)references/block-catalog.md (opens in a new tab)references/block-operations.md (opens in a new tab)references/build-flow.md (opens in a new tab)references/cli-operations.md (opens in a new tab)references/expert-review.md (opens in a new tab)references/exported-block-contracts.md (opens in a new tab)references/presets.md (opens in a new tab)references/shop-brief.md (opens in a new tab)references/test-findings.md (opens in a new tab)references/visual-style.md (opens in a new tab)scripts/apply_plan.py (opens in a new tab)scripts/apply_style.py (opens in a new tab)scripts/backup_shop.py (opens in a new tab)scripts/block_ops.py (opens in a new tab)scripts/cli_environment.py (opens in a new tab)scripts/extract_block_contracts.py (opens in a new tab)scripts/patch_backgrounds.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub xsolla/xsolla-ai-kit --plugin xsolla-ai-kit15 skills in this plugin
/catalog-designSets up an Xsolla catalog: virtual items, virtual currency and its packages, bundles, game keys, item groups, regional prices and LiveOps offers, plus the client purchase flow (buy by SKU or cart, buy for virtual currency, order status). Use for "set up my Xsolla catalog", "create virtual items", "sell game keys", "regional prices"./description-to-shopTurns a game description or store listing (App Store, Google Play, Steam) into the shop brief that shop-builder-assembly builds from. Reached through nocode-shop-setup; not an entry point. Owns intake and inference only: presets, confirmation, CLI writes and preview belong to shop-builder-assembly./game-web-portalBuilds or resumes an unpublished Game Web Portal for a PC or mobile game: Home, News, Rewards, Web Shop, Community and an optional Launcher, on a site made from the Multi-page web portal template. Reached through nocode-shop-setup. Use for "continue my Game Web Portal" or "add the Community section". Never publishes; that stays with the human. Not for XLA Pages on x.la; use `xla-pages`.Other plugins' skills for the same job