/xsolla-ai-kit:xla-pagesfrom xsolla-ai-kit
Creates XLA Pages on x.la in Shop Builder by duplicating reference pages or building from scratch. Handles game, payment provider, and coin pages bound to the XLA Pages API.
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.
Add pages to the XLA Pages site in Shop Builder. Every new page is modelled on a reference page that is already on the site: its blocks, their versions and their data bindings are read from the site, never typed. A row of the batch says only what differs: the path, the name, the canonical URL, the games filter and a few static values.
The scripts do the checking; follow their output and never work around a refusal. The general Shop Builder rules (standard blocks first, Custom Blocks where needed, theme and copy from a brief) don't apply to these pages.
The site. One Shop Builder site, written in its draft only. Its merchant, project and slug
live in the user's .xsolla/xla-pages.json, never in this repository (it's public):
{"merchant_id": 0, "project_id": 0, "site_slug": "<slug>", "write_to_published_site": true}
Add .xsolla/ to the project's .gitignore before the first file goes there. The site is
live: write_to_published_site: true is the one exception to "never write to a published
site", and only for that configured site. Ask the user for these values if the file is missing.
A copy first. For a kind of row that has not run on this site before, point a second config
at an unpublished copy of the site (--config) and run the whole flow there. A person makes
the copy; this skill never duplicates or deletes a site.
The CLI. Xsolla CLI 1.10.0 or later, signed in (xsolla auth login, in the user's own
terminal) and pointing at that merchant and project with sandbox mode off
(xsolla config list --json). If it points elsewhere, switch it and say so, with the undo.
The batch. {"pages": [...]}, one row per new page; the batch reference
lists the keys and has examples. Ask the user which page to model each row on, when it isn't
obvious from the paths already on the site.
All scripts are in scripts/ and run with python3 -I. Keep each run's files in a new
.xsolla/xla-<UTC time>/ folder.
Backup. backup.py --out-dir <run>/backup saves the structure, the data connections and
the localization. It is the backup and the plan's source. Shop Builder's version history is
not a backup: restoring a version drops the data connections.
Plan. render_plan.py --batch <batch.json> --backup-dir <run>/backup --output <run>/plan.json. It refuses a reference that isn't on the site, a taken or malformed path, an
override of a field that is bound to data, a field the reference block doesn't have, a games
filter the catalog returns nothing for, and a batch that would pass the site's 100 pages. Then
cli_gate.py --plan <run>/plan.json says whether the CLI can apply it.
One approval. Show, in one message:
notes and the gate's result;Ask for one explicit yes. A request to "create the pages" is not that yes. When the gate reports missing commands, show the plan and the reason and don't ask for the yes.
Apply. apply_pages.py --plan <run>/plan.json --confirmation-id <its confirmation_id> --backup-dir <run>/backup. Before the first write it stops, with zero writes, on: an edited
plan, a wrong confirmation id, another backup, another site, a published site the config
doesn't allow, the wrong CLI target, a site that changed since the backup, or a missing
command or flag. It reads every page back as soon as it is created and stops at the first one
that differs from its plan.
Check and hand off. Report every page's result and created_pages. The check compares
data, not rendering: a person opens the new pages in the Editor before anyone publishes.
verify_pages.py --plan --backup-dir runs the same check again at any time. Say that nothing
was published.
duplicate (the default). duplicate-page copies the reference with its blocks, versions,
bindings, texts and SEO; the row then changes the name, path, canonical URL and the listed
fields. Without mode a dynamic copy shares the reference's paths connection, which is right
when the pages list the same games (the coin pages). With mode it gets its own.scratch. add-page creates an empty dynamic page with its paths provider, then each block
is created at the reference's version and its fields are bound to the page's own data
connection. Use it when there is no page to copy on that site, or for another paths provider
(provider_input). It takes about six times the writes, and a block created today takes the
current schema of its version, which can differ from an older block's.created_pages, read back from the site. Show them. A
person deletes an unfinished page in the Editor; the skill deletes nothing. Then back up and
plan the remaining rows. Never retry blindly: the path of a half-made page is taken.verify-website, or apply or restore a site version.patch-block: with part of a block's values it replaces all of them. Field changes
go through update-block with exact paths, as the scripts do.--force; never call a command outside scripts/xla_common.py's list..xsolla/, a plan or a backup: they hold real IDs.Changing an existing page is not supported. Rendering is not checked. A path takes one :param.
A paths provider must already be registered in Site Builder. README.md lists what a
real site has confirmed and what it has not.
README.md (opens in a new tab)references/batch.md (opens in a new tab)scripts/apply_pages.py (opens in a new tab)scripts/backup.py (opens in a new tab)scripts/cli_gate.py (opens in a new tab)scripts/render_plan.py (opens in a new tab)scripts/verify_pages.py (opens in a new tab)scripts/xla_common.py (opens in a new tab)tests/harness.py (opens in a new tab)tests/stand_in_cli.py (opens in a new tab)tests/test_xla_pages.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`./headless-checkout-integrationIntegrates Xsolla Headless Checkout — a fully customizable, client-controlled payment UI built on the @xsolla/pay-station-sdk JavaScript SDK, where payment data stays isolated in secure iframes and payments run through Xsolla without the standard Pay Station./login-setupIntegrates Xsolla Login (Xsolla ID, NewID): sign-up and sign-in by password, email or SMS code, social networks, Steam, Xbox, PSN, Epic, device or custom ID; Login Widget, API or SDK; JWT validation, server tokens, account linking, MFA, password reset. Use for "integrate Xsolla Login", "add sign-in", "validate a user JWT", or when a feature needs a signed-in user./login-stylingStyles the Xsolla Login widget (sign-in, sign-up, password reset): upload custom CSS through the API and attach it to the login project, or set colors, logo, background and social order through themeJSON. Use for "style the login", "brand the sign-in screen", "upload login CSS", "dark-mode login". Pairs with login-setup, which wires the auth flow.Other plugins' skills for the same job