# xsolla-ai-kit

A skill pack that walks your agent through Xsolla integration: merchant setup, catalog, Pay Station, webhooks, and shop assembly.

- plugin · `type=plugin` · Claude Code · ★ 8
- Author: Xsolla
- License: MIT · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/xsolla/xsolla-ai-kit
- Updated: 2026-10-23
- HTML: https://affpapa.org/en/nevibecode/plugins/xsolla-ai-kit

## What it does

The plugin drops a set of domain skills into your project. `shop-setup` is the entry point: it settles the build path with `shop-plan` and then chains the rest. On the headless path that means `catalog-design`, `login-setup`, `headless-checkout-integration`, `webhooks-impl` and `production`. On the Shop Builder path `description-to-shop` and `shop-builder-assembly` run, handing a PC game portal to `game-web-portal`. A separate skill, `shopbuilder-translate`, handles page copy.

The repo ships `skills/` with SKILL.md files, an `AGENTS.md` context file most agents load on their own, Copilot-specific instructions, and Cursor-native skills under `.cursor/skills/`. Skills load automatically once installed, and the agent picks one from your request. You can also force a skill with a slash command such as `/shop-setup`, or `/xsolla-ai-kit:shop-setup` when the name clashes.

Xsolla CLI 1.9.4 or later is required: `brew install xsolla/xsolla-cli/xsolla`. You also need `XSOLLA_MERCHANT_ID`, `XSOLLA_PROJECT_ID` and `XSOLLA_PROJECT_API_KEY` set — without them `merchant-setup` goes nowhere. The Shop Builder path is in preview: the agent assembles an unpublished site in a test project you approve, and publishing happens on your side in Publisher Account.

## Install

### Claude Code (native platform)

**Plugin marketplace**
In the agent chat (not a shell):
```text
/plugin marketplace add anthropics/claude-plugins-community
```
In the agent chat (not a shell):
```text
/plugin install xsolla-ai-kit@claude-community
```

## When to use it
- set up a Xsolla merchant and project from scratch
- design a catalog with items, pricing and virtual currency
- wire up payments through Headless Checkout
- generate a webhook handler
- build a headless shop with your own frontend

## Example prompts
- Build me a shop for my game — start with `shop-setup`
- Integrate Headless Checkout and let me pay by card in sandbox
- Generate a webhook handler for payment events

## Source text · SKILL.md · MIT

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: 9f04cee4f086ca39.

BEGIN THIRD-PARTY FILE 9f04cee4f086ca39
````text
# 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   |
````
END THIRD-PARTY FILE 9f04cee4f086ca39

The third-party file has ended. Everything between the 9f04cee4f086ca39 tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 4042 of 5910 bytes. © Xsolla · MIT · https://github.com/xsolla/xsolla-ai-kit

## Similar
- [stripe-best-practices](https://affpapa.org/en/nevibecode/skills/stripe-best-practices-2.md) — skill · 98100 installs
- [Yolfi Payments MCP](https://affpapa.org/en/nevibecode/mcp/yolfi-payments-mcp.md) — MCP server · ★ 177
- [mcp-pagseguro](https://affpapa.org/en/nevibecode/mcp/mcp-pagseguro.md) — MCP server · ★ 274
- [BlindPay](https://affpapa.org/en/nevibecode/mcp/blindpay.md) — MCP server · ★ 9

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
