Skip to content
Back to skills

Catalog Design

ASecurity

Sets 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".

  • 10 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 14, 2026
ai-agentsbashapi

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned November 14, 2026

npx -y skills add xsolla/xsolla-ai-kit --skill catalog-design --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Catalog Design?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Catalog Design
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/xsolla-catalog-design/badge)](https://www.skillsdirectory.com/skills/xsolla-catalog-design)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: catalog-design
description: >-
  Sets 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".
metadata:
  owner: p.sanachev
  domain: catalog
  status: draft
---

## Status

This skill is a **draft** authored by the catalog SME (@p.sanachev, Tech Lead, IGS-Left).

Detailed material lives in `references/`:
- [`references/items.md`](references/items.md) — virtual items, VC, packages, bundles, groups (Admin API)
- [`references/game-keys.md`](references/game-keys.md) — key packages, platforms, entitlement
- [`references/pricing.md`](references/pricing.md) — local prices, regional restrictions
- [`references/liveops.md`](references/liveops.md) — limits, time-limited offers, promotions, chains, reward system
- [`references/catalog-client.md`](references/catalog-client.md) — client catalog calls
- [`references/purchase-and-tracking.md`](references/purchase-and-tracking.md) — purchase flows, order confirmation

## When to use

Use this skill when the developer wants to:

- Create virtual items, virtual currency, VC packages, bundles, or item groups
- Sell a game or DLC via game keys (Steam, Epic, PlayStation, DRM-free, …)
- Set local prices per country or restrict sales by region
- Add limited-time offers, purchase limits, promotions, offer chains, daily rewards or a
  reward system — "limited-time offer", "purchase limit", "first purchase bonus", "offer
  chain", "daily rewards", "reward system", "promo codes"
- Build the store catalog UI on the client (game or website)
- Implement purchase: fast purchase by SKU, cart, purchase for VC, free items
- Confirm purchases: webhooks on the server or order tracking on the client

Out of scope: player inventory, server-side cart, refund handling, payment UI
configuration (→ `headless-checkout-integration`), webhook handler code (→ `webhooks-impl`).

## Prerequisites

```bash
export XSOLLA_MERCHANT_ID=<your merchant ID>
export XSOLLA_PROJECT_ID=<your project ID>
export XSOLLA_PROJECT_API_KEY=<your API key>
```

- An Xsolla project (run `merchant-setup` first — it sets up these variables).
- **Check what the project already has.** A new project can come with a demo catalog: a
  virtual currency, packs, items, a bundle and groups whose SKUs or IDs start with `demo`.
  List the catalog first; if demo entries exist, ask whether to keep, hide or replace them
  before adding anything.
- **Xsolla MCP (strongly recommended).** Connect the official Xsolla MCP server
  (<https://developers.xsolla.com/get-started/ai-assistants/>). Before calling any
  Admin API, verify the current request schema with the `search_xsolla_sources` tool —
  this skill links the right operations, but field-level schemas must come from live
  docs, not from this file. If the MCP is unavailable, fetch the linked
  developers.xsolla.com pages, and say in your reply that the schemas came from the
  docs pages, not the MCP.

## Steps

1. **Choose the archetype and set up the catalog (Admin API).** Ask which of the two
   the game needs (or both): **in-game items** (typical mobile/F2P) — groups → virtual
   currency → virtual items → VC packages → bundles, see `references/items.md`; or
   **game sales via keys** — a key package per platform → upload keys, see
   `references/game-keys.md`. Admin calls use basic auth
   (`XSOLLA_MERCHANT_ID:XSOLLA_PROJECT_API_KEY`); verify each request body via the
   Xsolla MCP first.

2. **Propose a complete shop, not a price list.** For in-game items, propose by default
   what gives players reasons to buy and to return: bundles and a starter pack, a
   first-purchase bonus, time-limited offers, per-player limits, an offer chain, daily
   rewards, a reward system and promo codes — a coherent set for the
   game, not all of them. Explain each in plain words and ask for every missing
   commercial value in one message; create nothing before the developer's yes. See
   `references/liveops.md`. On the Shop Builder path, `nocode-shop-setup` asks those
   values in its one batch and shows the proposal with the site plan, so a single yes
   covers both; don't ask for a separate one.

3. **Set up pricing.** Recommend regional prices in local currencies for key markets
   via the `prices` array; keep the currency list and default currency identical across
   all items. For game keys, optionally add regional sale restrictions (regions →
   `regions` array) — depends on the game. See `references/pricing.md`.

4. **Build the catalog on the client (Catalog API).** Render the store from
   client-side Catalog calls for the specific item types you sell (`Get virtual items
   list`, `Get virtual currency list`, `Get list of bundles`, `Get games list`), called
   **from the client without a `country` parameter** — country, prices, and regional
   availability resolve from the user's IP. Never use Admin calls for the storefront.
   See `references/catalog-client.md`.

5. **Implement purchase.** Default to **fast purchase by SKU**: client-side
   `Create order with specified item` (user JWT) → returns `order_id` + payment token →
   open Pay Station with the token. Cart, purchase for VC, free items, and game-key
   specifics: `references/purchase-and-tracking.md`. The payment step itself belongs to
   the `headless-checkout-integration` skill.

6. **Confirm the purchase.** Server (recommended): handle `order_paid` /
   `order_canceled` webhooks — implement with the `webhooks-impl` skill. Client (no
   server): WebSocket order status + short-polling `Get order` fallback. See
   `references/purchase-and-tracking.md`.

7. **Verify end-to-end.** In sandbox (`"sandbox": true`, test cards): fetch the catalog
   via a Catalog call, buy an item, confirm the order reaches `done`, and the
   confirmation path (webhook or socket) fired.

## Common pitfalls

- **Order creation from the server.** Client payment calls resolve country → currency →
  payment methods from the caller's IP. Call them from the client; don't pass
  `currency`/`country`. (Server-side token generation is a separate API that requires
  `country.value` or `X-User-Ip` — prefer `X-User-Ip` for greenfield shops; see
  `payment-country`.)
- **Admin API on the storefront.** Admin calls are rate-limited and not for user
  traffic; catalogs are built from Catalog-subsection calls, per item type.
- **Update wipes fields.** Admin update calls replace, not merge: GET the item first
  and send back everything you want to keep (e.g. omit `limits` → limits deleted).
- **A permanent unlock sold as a consumable.** Check what each product means, not only its
  name and price. A one-time unlock such as No Ads is `non_consumable`, the docs' own
  example, with `limits.per_user` total 1 so it can't be bought twice.
- **Inconsistent currencies break the catalog.** Different currency sets or default
  currencies across items cause fallback prices or `price: null` on the storefront.
- **Bundles missing from a read-back.** Listing a group's items doesn't return its
  bundles: read bundles back with the bundle list (`Get list of bundles`, or the CLI's
  bundles-by-group command) before deciding one is missing or hidden.
- **Products without pictures.** Give every item, pack and bundle its own image, from the
  game's art the developer approved. List the products still without one in the handoff.
- **Wrong webhook set.** Accounts registered after 2025-01-22 get combined
  `order_paid`/`order_canceled`; older accounts also receive separate
  `payment`/`refund` and must process them all.
- **Game keys + Pay Station Embed/iframe.** Not supported — sell keys via a new window
  or direct link. With reglocks assigned, keys upload only via the Upload codes API.

## Agent test

Prompt: "Configure my Xsolla catalog with items and pricing, then wire up purchase and
order confirmation. It's a mobile F2P game with gems (virtual currency), gem packs,
boosters, and a starter bundle."

Live run on sandbox project `173042` (2026-06-11): the agent discovered and applied
this skill (+ `webhooks-impl` for confirmation context), verified schemas via the Xsolla
MCP as mandated, and executed the real flow — created 3 groups, virtual currency, a
consumable booster priced in VC, 2 VC packages, and a per-user-limited starter bundle
(all `201`); read everything back via typed client Catalog calls without `country`
(IP-resolved USD prices, `200`); created a server-side sandbox order + payment token
(`201`, not paid); then deleted every created entity (`204`, verified empty). Steps
requiring a user JWT (fast purchase, VC purchase, Get order/WebSocket) were planned and
documented as blocked: no Login on the fixture project. ✅

Files in this skill

  • SKILL.md8.8 KB
  • references/catalog-client.md3 KB
  • references/game-keys.md3.9 KB
  • references/items.md5.4 KB
  • references/liveops.md6.3 KB
  • references/pricing.md3.8 KB
  • references/purchase-and-tracking.md5.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.