xsolla-ai-kit — плагин для Claude Code: интеграция Xsolla
Набор скиллов, который ведёт агента по шагам интеграции Xsolla: настройка мерчанта, каталог, Pay Station, вебхуки и сборка магазина.
/plugin marketplace add anthropics/claude-plugins-community
/plugin install xsolla-ai-kit@claude-communityЧто делает xsolla-ai-kit
Плагин ставит в проект набор скиллов, по одному на домен Xsolla. Точка входа — shop-setup: он уточняет путь сборки через shop-plan, а дальше цепочка идёт по доменам. На headless-пути это catalog-design, login-setup, headless-checkout-integration, webhooks-impl и production. На пути Shop Builder — description-to-shop и shop-builder-assembly, которые передают портал PC-игры скиллу game-web-portal. Отдельно shopbuilder-translate переводит текст страниц магазина.
Внутри репозитория лежат skills/ с файлами SKILL.md, общий контекст AGENTS.md, который большинство агентов подхватывают сами, отдельные инструкции для GitHub Copilot и нативные скиллы Cursor в .cursor/skills/. Скиллы загружаются автоматически после установки, и агент выбирает нужный по запросу. Принудительно вызвать конкретный можно слэш-командой, например /shop-setup; если имя конфликтует с чем-то ещё, работает /xsolla-ai-kit:shop-setup.
Для работы нужен Xsolla CLI версии 1.9.4 или новее — brew install xsolla/xsolla-cli/xsolla. Ещё понадобятся переменные окружения XSOLLA_MERCHANT_ID, XSOLLA_PROJECT_ID и XSOLLA_PROJECT_API_KEY; без них скилл merchant-setup не пройдёт. Путь Shop Builder пока в превью: агент собирает черновик сайта в тестовом проекте, а публикуете вы сами в Publisher Account.
Какие задачи решает
- настроить мерчанта и проект Xsolla с нуля
- спроектировать каталог: товары, цены, виртуальная валюта, наборы
- подключить оплату через Headless Checkout
- сгенерировать обработчик вебхуков
- собрать headless-магазин со своим фронтендом
Примеры запросов агенту
- Собери мне магазин для игры — начни с
shop-setup - Подключи Headless Checkout и дай оплатить картой в песочнице
- Сгенерируй обработчик вебхуков для событий оплаты
Как установить xsolla-ai-kit
Через маркетплейс плагинов
/plugin marketplace add anthropics/claude-plugins-community/plugin install xsolla-ai-kit@claude-communityПо шагам, с командами для каждой платформы: Плагины Claude Code: маркетплейсы, установка и как собрать свой
Вопросы о xsolla-ai-kit
Как установить xsolla-ai-kit в Claude Code?
Через маркетплейс плагинов: сначала /plugin marketplace add anthropics/claude-plugins-community, затем /plugin install xsolla-ai-kit@claude-community.
Что делает xsolla-ai-kit?
Даёт агенту скиллы по доменам Xsolla и проводит от настройки проекта до рабочей интеграции: каталог, авторизация, оплата, вебхуки, выход в продакшен.
Что нужно для работы плагина?
Xsolla CLI 1.9.4 или новее и переменные окружения XSOLLA_MERCHANT_ID, XSOLLA_PROJECT_ID, XSOLLA_PROJECT_API_KEY.
Исходный текст
SKILL.md · MIT
# Xsolla AI Toolkit Agent skills for Xsolla — works with Claude Code, GitHub Copilot, Codex CLI, Windsurf, Roo Code, Augment, and more. Install the kit in your AI coding tool and your agent can integrate Xsolla's APIs directly into your game, build a fully functional headless web shop you own and host with full control of the frontend, or, in preview, assemble a Shop Builder site from a plain-language description of your game. It works with the AI coding tools you already use, with no engine lock-in and no proprietary assistant. Instead of generating code that looks right but breaks in production, your agent follows validated, production-ready logic encoding the correct integration paths, so the first AI-assisted attempt is the right one, with validation built in. From setting up a project and configuring a catalog to integrating Pay Station and implementing webhooks, the kit takes you from zero to a working integration. On the Shop Builder path, in preview, the agent turns your game description into a validated shop brief and builds an unpublished Shop Builder site from it through the Xsolla CLI, in a dedicated test project you approve. You review the site and publish it yourself in Publisher Account. To use it today, install the Xsolla CLI 1.9.4 or later: `brew install xsolla/xsolla-cli/xsolla`. ## What's inside | Directory | Purpose | |-----------|---------| | `skills/` | SKILL.md files — one per Xsolla domain | | `AGENTS.md` | Universal context loaded automatically by most agents | | `.github/copilot-instructions.md` | GitHub Copilot-specific context | | `.cursor/skills/` | Cursor-native skills (synced from `skills/`) | | `.cursor/rules/` | Short always-on Cursor pointer rule | | `docs/` | Architecture, distribution, and skill-gap guides | ## Quick start Install the kit as a plugin in your preferred coding agent, or copy it into your project for any tool that follows the [AGENTS.md](https://agents.md) convention: ### Claude Code ```bash claude plugin marketplace add xsolla/xsolla-ai-kit && claude plugin install xsolla-ai-kit@xsolla-ai-kit ``` Or in a session: ```text /plugin marketplace add xsolla/xsolla-ai-kit /plugin install xsolla-ai-kit@xsolla-ai-kit ``` ### Cursor Add this repo as a workspace folder (or open it as the project), then use natural language — Cursor loads skills from `.cursor/skills/`. ```text # Example Integrate Xsolla Headless Checkout and let me pay with a credit card in sandbox ``` For an end-to-end shop, start with `shop-setup`. A short always-on rule in `.cursor/rules/xsolla-ai-kit.mdc` points the agent at those skills. ### Codex ```bash codex plugin marketplace add xsolla/xsolla-ai-kit ``` ### Gemini CLI ```bash gemini extensions install https://github.com/xsolla/xsolla-ai-kit ``` ### Other tools (Windsurf, Roo Code, Augment, Amp, Copilot, …) For tools with no official plugin system, use the kit by copying `AGENTS.md` and the `skills/` directory into your project root. Any tool that follows the [AGENTS.md](https://agents.md) convention will pick the skills up automatically the next time you open the project: ```bash git clone https://github.com/xsolla/xsolla-ai-kit cp -r xsolla-ai-kit/AGENTS.md xsolla-ai-kit/skills your-game-project/ ``` Then set environment variables or run the `merchant-setup` skill: ```bash XSOLLA_MERCHANT_ID=<your merchant ID> XSOLLA_PROJECT_ID=<your project ID> XSOLLA_PROJECT_API_KEY=<your API key> ``` ## Skill inventory | Skill | Domain | Owner | Status | |-------|--------|-------|---------| | `shop-setup` | Entry point — build path, then the flow | @y.klochikhin | Done | | `shop-plan` | Orchestrator — headless or Shop Builder | @s.sadruddin | Draft | | `description-to-shop` | Description → Shop Builder shop brief | @k.shah | Draft | | `shop-builder-assembly` | Shop Builder site assembly | @k.shah | Draft | | `game-web-portal` | Game Web Portal — PC game home + shop | @a.pyanzin | Draft | | `shopbuilder-translate` | Shop Builder page copy | @s.hossain | Draft | | `merchant-setup` | Merchant and Project setup | @y.klochikhin | Done | | `catalog-design` | Items, pricing, virtual currency, bundles | @p.sanachev | Planned | | `login-setup` | Login / NewID / auth | @mohammed_abujalala | Planned | | `login-styling` | Login UI theming / branding | @a.springut | Draft | | `headless-checkout-integration` | Payments via Headless Checkout | @y.klochikhin | Done | | `webhooks-impl` | Webhook handler generation | @e.chernykh | Done | | `production` | Sandbox → live / go-live | @y.klochikhin | Done | ## Invoking a skill Skills load automatically once the plugin is installed — the agent picks the right one from your request (e.g. "build me a shop" → `shop-setup`). To force a specific skill: | Agent | Explicit invocation | |--------------|-----------------------------------------------------------------| | Claude Code | `/shop-setup` (slash command; `/xsolla-ai-kit:shop-setup` if names clash) | | Cursor | Describe the task (skills under `.cursor/skills/`) — or `@` a skill by name | | Codex CLI | No per-skill command — describe the task; Codex routes via AGENTS.md | | Others | Natural language; skills load from SKILL.md / generated rules | `shop-setup` is the entry point. It confirms the build path with `shop-plan`, then chains the domain skills: on the headless path `catalog-design`, `login-setup`, `headless-checkout-integration`, `webhooks-impl` and `production`; on the Shop Builder path `description-to-shop` and `shop-builder-assembly`, which hand a PC game portal to `game-web-portal`. `shopbuilder-translate` translates the page copy of a Shop Builder site. ## Contributing See [CONTRIBUTING-skills.md](CONTRIBUTING-skills.md) for the full guide on writing a skill. ## License © 2026 Xsolla Inc. All rights reserved.
© Xsolla · MIT · xsolla/xsolla-ai-kit