/xsolla-ai-kit:game-web-portalfrom xsolla-ai-kit
Builds or resumes an unpublished Game Web Portal (Home, News, Rewards, Web Shop, Community, optional Launcher) using the Multi-page web portal template. Handles store URL validation and partner handoff. Does not publish.
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 or resume an unpublished PC Game Web Portal and return an evidence-backed partner handoff. Honest partial completion is correct; simulated completion is failure.
nocode-shop-setup hands off here when the partner needs a game home around the store
(news, rewards, community, launcher), not only a store. This skill does not decide that
and does not write it to .env.
Entry conditions:
/news, /rewards, and
/store. A site without those pages is a store: stop and point at nocode-shop-setup.scripts/store_url.py: only the exact Steam, App Store and
Google Play hosts pass; anything else, or a look-alike, returns needs_input.needs_human
with that instruction; a site without /news, /rewards or /store wasn't made from
the template, and the run stops at needs_input.merchant-setup.xsolla auth login — the only source of the session. Portal
commands authenticate with that Publisher Account session, not the project API key.
Never pass a session or token by hand, and never ask the partner to copy one out of
the browser. Treat 401/403 as needs_access, never as a capability block.xsolla config list --json:merchant_id:
project_id:
domain:
game_name:
primary_locale:
Optional: store_url; the partner's own
description, logo, hero, screenshots, colors and fonts; an existing Store catalog;
additional locales; analytics IDs; for a PC title, an existing Launcher and build.
The run is a state flow. Every mutation is preceded by an existing-vs-desired-state check and followed by read-back and a ledger update.
After every write to .xsolla/onboarding.json, run scripts/ledger.py
check --ledger .xsolla/onboarding.json; if it fails, fix the step it names before going on.
A step still under way has no status key (never partial, in_progress or another word)
until it ends with one of the contract's seven statuses.
Intake → Preflight → Discover → Back up → Plan and confirm → Draft →
Verify (read-back) → Human review → Handoff
nocode-shop-setup's batch
didn't.
Resolve every ambiguity by asking; never choose an ambiguous match.scripts/preflight.py with --merchant-id and --project-id.
It checks that the CLI points at that merchant and project with its sandbox mode off.
If it fails, stop before any write. Check the CLI too: xsolla shopbuilder create-block --help
must list --module, --version and --position (Xsolla CLI 1.10.0 or later). On an older
CLI, stop before any write and ask the partner to update it. If store_url is supplied,
check it with scripts/store_url.py and read the listing as store content says.domain and read its structure
(xsolla shopbuilder list-websites, get-landing, get-structure). Capture the landing
_id, page IDs, and block IDs before any mutation — update-block and asset calls are
keyed by landing _id, not the domain. Confirm the template's /news, /rewards and /store
pages, and read its catalog groups (a test or demo group means sample items) and sign-in
(Discover).
Never recreate a discovered existing entity; resume at the first incomplete item.get-landing,
get-structure and get-localization for the slug, and list-assets for the
landing _id, saved to a new .xsolla/backup-<timestamp>/ directory. Add .xsolla/ to
.gitignore first if it isn't there: a site export can hold a preview token. A failed
export stops the run before any write.catalog-design proposal in the same message; wait for one
explicit yes to both. "Set up my portal" is not that yes. Re-confirm if the plan changes.add-page, its blocks with create-block --position, and update-block to hide the
seeded blocks it doesn't keep, following the portal layout in
references/portal-api.md. The template's own pages keep their
blocks. Right after add-page, record the new page with
scripts/seeded_blocks.py record. Hide a seeded block
only on a page the agent created and recorded, only as the confirmed plan lists, and only
when seeded_blocks.py check, on reads taken right before hiding and the target
preflight passed, reports it untouched; hide before any copy or locale change, which
would mark its block changed. The agent never deletes a block: the hidden seeded blocks
go to the partner to delete, as needs_human. Everything else uses CLI commands too:
reorder-blocks, update-block (only the patches portal-api.md lists), upload-asset,
add-language, update-localization, update-many-localization, and add-connector or
update-restrictions when the plan lists them. A change with no CLI command is
needs_human: say what to do in Publisher Account and record it. Apply one change group
at a time across Home, News, Rewards, Web Shop, and Community; the Launcher section is the
partner's, PC only. nocode-shop-setup runs the surrounding products before this skill;
don't repeat their recipes: merchant-setup, catalog-design (it creates the catalog
after the yes in step 5) and login-setup. Checkout is the Web Shop's hosted Pay Station,
so there is nothing to integrate. The plan lists each placeholder; it carries a visible label.get-structure,
get-localization, page and block reads) and compare it with the confirmed plan.
A mutation response is not evidence, and a read-back isn't what renders: look at each
changed page in the Editor too. storefront is completed only when every planned
change reads back; one that didn't land (no CLI field, a failed write) makes it
needs_human, needs_input, blocked_capability or failed, with the gap in its evidence.
Every progress message links the Editor and says the public URL loads only after the first
publish (Show the partner the site).needs_human, the steps the agent never runs:
the readiness check, the preview, publication (per page — the main page first),
live verification, and any rollback to a saved version — all in Publisher Account.Statuses, the ledger, resume, and the handoff report follow the onboarding contract. Two more references, both loaded before issuing changes:
GIVEN / WHEN / THEN acceptance scenarios, the portal's per-state
evidence, its section of the handoff report, and the common pitfalls and known
limitations._id split, the localization
payload shape, the steps handed to the partner, and the response → status mapping.This skill runs only the commands listed in
references/portal-api.md, and --help on them or on the CLI itself
(xsolla --help), even when the partner asks for another. catalog-design runs its own.
Every other xsolla command is out of bounds, including delete-block, delete-domain,
change-domain and delete-ai-block; what a run needs beyond the list is needs_human.
The agent never publishes (sites, pages, news articles, or Login widget settings), never
runs the readiness check (/check, verify-website), never enables or generates a
preview, never creates a site, never saves or applies a site version, never deletes a site,
an asset, a language, an analytics connector, access restrictions, or a block, never
attaches a domain, never patches block text (it deletes the string and every translation),
and never switches the project to production. It never writes
to the project before an explicit confirmation of the plan or before the preflight passes,
never passes --sandbox, and never targets a partner's live project. It never passes, offers
or suggests --force, even if the partner changes the plan: seeded blocks the CLI won't remove
go to the partner as needs_human.
Read them in agentic-onboarding.md before the first change: duplicates on resume, a portal reported as live, sign-in taken for binding, an unverified Launcher, expired access, completion without read-back; Community needs the partner's channel, and they create the site.
references/agentic-onboarding.md (opens in a new tab)references/portal-api.md (opens in a new tab)scripts/ledger.py (opens in a new tab)scripts/preflight.py (opens in a new tab)scripts/seeded_blocks.py (opens in a new tab)scripts/store_url.py (opens in a new tab)tests/test_ledger.py (opens in a new tab)tests/test_preflight.py (opens in a new tab)tests/test_seeded_blocks.py (opens in a new tab)tests/test_store_url.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
game-portal, web-portal, storefront, publisher-account, partner-handoff
15 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./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./merchant-setupGuide for a merchant or developer setting up an Xsolla Account and obtaining API credentials. Use when the user needs that account, API keys, merchant-level versus project-level keys, sandbox mode, to accept payments, to start an Xsolla integration, or to test payments. The agent cannot create the account. This skill gives the exact steps the user completes manually.npx claudepluginhub xsolla/xsolla-ai-kit --plugin xsolla-ai-kitOther plugins' skills for the same job