/xsolla-ai-plugins:xgs-extendfrom xsolla-ai-plugins
AccelByte Extend — custom server-side game logic on AGS. Use for choosing an Extend pattern (Override, Event Handler, Service Extension), scaffolding a service, deploying to AGS, running locally, testing, and debugging. Also use when a request mentions Xsolla Extend or XGS (the former name of AGS).
Ships in xsolla-ai-plugins. 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.
Single entry point for the full Extend lifecycle. This file is a router. It reads the user's invocation, picks exactly one subskill, hands control to it, and otherwise stays out of the way.
Before running this skill, apply xsolla when it is available.
Use the tool selection and fallback policy from xsolla after routing to a subskill; do not redefine it here.
Never answer Extend questions, scaffold templates, run CLI commands, or apply patches from this file. All of that belongs inside a subskill.
| # | Subskill | Phase | Purpose | Depends on |
|---|---|---|---|---|
| 1 | subskills/ask.md | any | Conceptual questions: what Extend is, pattern selection, comparisons | — |
| 2 | subskills/design.md | design | Multi-app project shaping: which patterns + how they fit together (read-only) | — |
| 3 | subskills/wizard.md | scaffold | Interview → clone template → apply integration patches | design (optional) |
| 4 | subskills/install-dep.md | scaffold | Detect runtimes; install per-app project deps | wizard (typically) |
| 5 | subskills/install-cli.md | scaffold | Install the AGS CLI via /xgs install-cli (required before deploy) | — |
| 6 | subskills/install-mcp.md | scaffold | Wire Extend MCP servers into the user's AI IDE (optional) | — |
| 7 | subskills/init.md | scaffold | Orchestrates wizard + install-dep + install-cli + optional install-mcp | — |
| 8 | subskills/proto.md | scaffold/build | Regenerate proto-derived code after contract or SDK changes | wizard |
| 9 | subskills/debug.md | build | Run and test a local Extend app | wizard, install-dep |
| 10 | subskills/test.md | build | Write or run unit / integration / contract tests | wizard, install-dep |
| 11 | subskills/deploy.md | ship | Build-push + deploy one or more apps to AGS | wizard, install-cli |
| 12 | subskills/ci.md | ship | Wire image-upload + deploy into GitHub Actions or GitLab CI | deploy |
| 13 | subskills/observe.md | operate | Pull logs, health, and runtime signals for a deployed app | deploy |
| 14 | subskills/doctor.md | operate | Read-only diagnosis: symptoms → likely causes → next-step pointer | — |
| 15 | subskills/upgrade.md | operate | Guided SDK or proto contract version bump with breakage surfacing | deploy (recommended) |
Phases run roughly in order but loop (design → scaffold → build → ship → operate → back to design/build). ask and doctor are phase-free: ask answers concept questions at any time; doctor diagnoses without mutating anything and hands off to the subskill that owns the fix.
<tool_usage_rules>
</tool_usage_rules>
Apply these checks in order. Stop at the first match.
/xgs-extend? → Ask the disambiguation question (below). Do not route yet.ask.First match wins. Cues are case-insensitive substring matches unless noted.
| Cue | Route |
|---|---|
ask, "what is", "which pattern", "how does", "should I use", "vs", "compared to" | subskills/ask.md |
design, "multi-app", "how should I structure", "which patterns do I need", "project shape", "how do the pieces fit" | subskills/design.md |
init, "set up everything", "from scratch", "bootstrap", "start a new project" | subskills/init.md |
wizard, "new project" (without "set up everything"), "scaffold", "generate", "build me a" | subskills/wizard.md |
install-dep, "install dependencies", "go mod tidy", "pip install", "restore packages" | subskills/install-dep.md |
install-cli, "install ags cli", "install cli" | subskills/install-cli.md |
install-mcp, "mcp setup", "mcp server", "hook up ides", IDE name + "mcp" | subskills/install-mcp.md |
proto, "regen proto", "regenerate proto", "buf generate", "make proto", "proto contract changed" | subskills/proto.md |
debug, "run locally", "test locally", "local server", "localhost" | subskills/debug.md |
test, "unit test", "integration test", "run tests", "write a test", "coverage" | subskills/test.md |
deploy, "push", "ship", "release", "image-upload" | subskills/deploy.md |
ci, "github actions", "gitlab ci", "pipeline", "workflow file", "automate deploy" | subskills/ci.md |
observe, "logs", "live status", "health check", "monitor", "degraded", "why is it crashing" | subskills/observe.md |
doctor, "diagnose", "what's wrong", "something is off", "not sure what's broken", "help me narrow this down" | subskills/doctor.md |
upgrade, "bump sdk", "new sdk version", "upgrade sdk", "migrate to v2", "dependency upgrade" | subskills/upgrade.md |
Use verbatim when no cue matches and the user hasn't typed anything specific:
I can help with Extend across the full lifecycle: • ask — what is it, which pattern, how it works • design — shape a multi-app project before scaffolding • init — scaffold a new project from scratch • debug — run it locally • test — unit / integration / contract tests • deploy — ship to AGS • ci — wire deploys into GitHub Actions / GitLab CI • observe — logs and health for a deployed app • doctor — read-only diagnosis when something's off • upgrade — guided SDK or proto version bump
Which one? (Or describe the symptom / goal and I'll pick.)
Then wait for the user's reply. Do not guess.
When the user describes multiple phases in one message:
init (scaffold phase). After the subskill finishes, tell the user: "Run /xgs-extend deploy when you're ready to ship."debug first (investigate + fix locally), then point at deploy.observe first (diagnose), then point at deploy.design first (shape the system), then point at init.doctor first (read-only narrow-down), then point at whatever subskill owns the fix (debug, deploy, upgrade).upgrade first, then point at deploy once the bump is green.Never invoke a second subskill automatically. The user should see one subskill run per invocation so they can stop if something goes wrong mid-chain.
Use when the message isn't about Extend:
This skill covers AccelByte Extend specifically (Overrides, Event Handlers, Service Extensions). For general AGS admin, non-Extend SDK work, or other AccelByte products, check the AccelByte docs or Admin Portal. I won't route to a subskill for this.
If the user's follow-up inside a running subskill clearly belongs to a different subskill (e.g. during deploy, they ask "actually how do the three patterns differ?"), finish answering the narrow question if it's a 1-sentence sidebar, or stop the current subskill and say:
That's an
askquestion. Stop here and run/xgs-extend askto go deeper, or tell me to continuedeploy.
ags extendags extend command names, flags, and environment variables hallucinate easily. To prevent this, the skill enforces one rule that supersedes every subskill's local guidance:
references/deploy/cli-commands.md is the single authoritative source for CLI syntax. Every subskill that mentions a CLI command, flag, or env var must defer to that file — by linking to it ("see references/deploy/cli-commands.md") or by reading it before quoting any CLI invocation. Restating CLI flags from memory anywhere else in this skill is a defect, even if the restatement happens to be correct.
Subskills that touch the CLI (deploy, observe, ci, doctor) must include this in their <grounding_rules>:
Before writing any
ags extend <subcommand>invocation in a response or example, Readreferences/deploy/cli-commands.md. Do not restate flags from memory. Ifcli-commands.mddoesn't document the flag you want to use, the flag does not exist — use a documented alternative, surface the gap to the user, or stop and ask.
The "What the CLI does NOT have" section of cli-commands.md explicitly catalogues invented flags so they can be recognized as red flags during authoring or runtime.
There is no project-wide manifest file. Each Extend app is a standalone directory cloned from an AccelByte template (Go, C#, Python, Java — see references/init/templates.md) and carries its own:
Makefile — wraps Docker-based build + proto regenDockerfile — multi-stage build (proto-builder → builder → runtime).env.template (or .env — a copy for local use) — per-app credentials and config.devcontainer/ — optional VS Code devcontainer with the toolchain pre-installedIMPLEMENTATION_PLAN.md (after /xgs-extend wizard) — the agreed planMulti-app projects are just multiple of those directories side by side, typically inside one git repo. Subskills discover the active app by locating a Makefile + Dockerfile in the working directory or one level up — never by reading a project-level config file (skill-internal discovery heuristic, not an AGS contract).
references/init/manifest-schema.md documents a forward-looking proposal for a project-wide extend-project.yaml. No subskill should generate it today, and references in this skill bundle have been updated to reflect per-app discovery.
ask.deploy, debug, observe, install-cli./xgs-extend call is fresh; the only state is what's on disk (the app's Makefile, Dockerfile, .env, IMPLEMENTATION_PLAN.md, etc.), and the relevant subskill reads it.README.md (opens in a new tab)references/catalogs/events.md (opens in a new tab)references/catalogs/overridables.md (opens in a new tab)references/ci/github-actions.md (opens in a new tab)references/ci/gitlab.md (opens in a new tab)references/cli/help-output.md (opens in a new tab)references/cli/scripts/capture-cli-help.sh (opens in a new tab)references/cookbook/caching.md (opens in a new tab)references/cookbook/feature-flags.md (opens in a new tab)references/cookbook/idempotency.md (opens in a new tab)references/cookbook/rate-limiting.md (opens in a new tab)references/cookbook/retries.md (opens in a new tab)references/debug/local-run.md (opens in a new tab)references/debug/test-guide.md (opens in a new tab)references/deploy/cli-commands.md (opens in a new tab)references/deploy/common-errors.md (opens in a new tab)references/faq.md (opens in a new tab)references/glossary.md (opens in a new tab)references/init/manifest-schema.md (opens in a new tab)references/init/resource-defaults.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub xsolla/xsolla-accelbyte-services-ai-plugin --plugin xsolla-ai-plugins4 skills in this plugin
/teammateUse when the user wants an AI colleague for their AccelByte or Xsolla integration — a health check of an AGS-integrated repo (incomplete integrations, deprecated APIs, auth-token safety, error resilience, cross-referenced against the live namespace when credentials are present), what an engine SDK upgrade would break, whether one AMS fleet or Extend app is sized right ('check my AMS or Extend app CPU and memory usage and advise the optimal settings'), whether one named AMS fleet is configured and running well ('check my prod-eu fleet', 'are our fleets ready for launch'), whether one named Extend app is healthy ('is my matchmaking-override app healthy', 'check my Extend app before we go live'), why one dedicated server or one Extend deployment stopped ('why did server ds-01j2 die', 'my app went down after the last deploy'), wants a document kept in the studio's memory ('remember this technical design'), or asks what the teammate can do./xgsAccelByte Gaming Services (AGS) — managed game backend. Covers player auth (IAM), lobby, sessions, matchmaking, leaderboards, achievements, rewards, store, wallet, entitlements, analytics, social, and more. Default landing skill for any AccelByte question not pinned to xgs-extend. Use whenever the user mentions AccelByte, AGS, IAM, OAuth clients, PCCU, namespaces, or any AGS module — even without saying 'AGS' explicitly. Also use when a request mentions Xsolla or XGS (the former name of AGS)./xsollaUse before working with AccelByte skills or when a request mentions AccelByte, AGS, AMS, Extend, Matchmaking, ADT, IAM, namespaces, SDKs, AccelByte CLI, or AccelByte MCP servers. Establishes AccelByte skill routing, grounding rules, and host-native progress tracking across harnesses. Also use when a request mentions Xsolla or XGS (the former name of AGS).