# 📚 Docs for Your Assistant

Every official site publishes its documentation as Markdown too, so you can hand it to an AI assistant instead of pasting pages one by one. This page covers where the Markdown is, how to point an assistant at it, and how an assistant converts a project. To tell an assistant about SpriteStudio before you pick a player, install the [plugin](<https://cri-middleware.github.io/SpriteStudio-Docs/ai/index.md>).

## 🔗 What each site serves

Every site serves two files at its root, and a Markdown copy of every page:

- `llms.txt` is an index of the site's pages, written for an AI assistant to read first and pick pages from.
- `llms-full.txt` is every page in one file. It can be large, so prefer `llms.txt` and let the assistant fetch the pages it needs.
- Each page also has a Markdown copy next to its HTML: `index.md` inside the page's folder, or `<page>.md` on the Web and React Native sites. A button beside the page title copies that page's Markdown to the clipboard.

| Site | `llms.txt` |
| --- | --- |
| [Unity](<https://cri-middleware.github.io/SpriteStudio-Docs/players/unity/index.md>) | [`https://cri-middleware.github.io/SSPlayerForUnity/llms.txt`](<https://cri-middleware.github.io/SSPlayerForUnity/llms.txt>) |
| [Web (Player Collection)](<https://cri-middleware.github.io/SpriteStudio-Docs/players/web/index.md>) | [`https://cri-middleware.github.io/SSPlayerForWeb/llms.txt`](<https://cri-middleware.github.io/SSPlayerForWeb/llms.txt>) |
| [Godot](<https://cri-middleware.github.io/SpriteStudio-Docs/players/godot/index.md>) | [`https://cri-middleware.github.io/SSPlayerForGodot/llms.txt`](<https://cri-middleware.github.io/SSPlayerForGodot/llms.txt>) |
| [Flutter](<https://cri-middleware.github.io/SpriteStudio-Docs/players/flutter/index.md>) | [`https://cri-middleware.github.io/SSPlayerForFlutter/llms.txt`](<https://cri-middleware.github.io/SSPlayerForFlutter/llms.txt>) |
| [Ren'Py](<https://cri-middleware.github.io/SpriteStudio-Docs/players/renpy/index.md>) | [`https://cri-middleware.github.io/SSPlayerForRenPy/llms.txt`](<https://cri-middleware.github.io/SSPlayerForRenPy/llms.txt>) |
| [wgpu (Rust, C / C++)](<https://cri-middleware.github.io/SpriteStudio-Docs/players/wgpu/index.md>) | [`https://cri-middleware.github.io/SSPlayerForWgpu/llms.txt`](<https://cri-middleware.github.io/SSPlayerForWgpu/llms.txt>) |
| [React Native](<https://cri-middleware.github.io/SpriteStudio-Docs/players/react-native/index.md>) | [`https://cri-middleware.github.io/SSPlayerForReactNative/llms.txt`](<https://cri-middleware.github.io/SSPlayerForReactNative/llms.txt>) |
| [SSConverter GUI](<https://cri-middleware.github.io/SpriteStudio-Docs/players/converter/index.md>) | [`https://cri-middleware.github.io/SSConverterGUI/llms.txt`](<https://cri-middleware.github.io/SSConverterGUI/llms.txt>) |
| [SDK - the Player Porting Guide](<https://cri-middleware.github.io/SpriteStudio-Docs/sdk/porting/index.md>) | [`https://cri-middleware.github.io/SpriteStudio-SDK/llms.txt`](<https://cri-middleware.github.io/SpriteStudio-SDK/llms.txt>) |
| This portal | [`https://cri-middleware.github.io/SpriteStudio-Docs/llms.txt`](<https://cri-middleware.github.io/SpriteStudio-Docs/llms.txt>) |

### 🌐 Languages

For the sites other than Web and React Native, add `ja/` after the repository name to get the Japanese files, for example `https://cri-middleware.github.io/SSPlayerForUnity/ja/llms.txt`. The Web and React Native sites have English `llms.txt` / `llms-full.txt` only; each of their Japanese pages has a Markdown copy at the same path under `ja/` with `.md` appended.

## 📦 Docs inside the package

Every player's package carries its documentation for the version you installed, as Markdown: in English, and for Unity in Japanese too. It reads without a network and always matches the installed version.

| Player | Where | Agent Skill |
| --- | --- | --- |
| Unity | `Library/PackageCache/jp.co.cri-mw.spritestudio.ssplayer-unity@<hash>/Documentation~/`, starting at `en/index.md` (Japanese: `ja/index.md`) | — |
| Web (npm packages) | `node_modules/@spritestudio/<package>/docs/`, starting at `README.md` | `skills/<package>/` |
| Godot | `addons/spritestudio/`, starting at `README.md` | — |
| Flutter | `doc/` in `ssplayer_flutter` and in `ssplayer_flame`, in the pub cache (`~/.pub-cache/hosted/pub.dev/<package>-<version>/`), starting at `doc/index.md` | `skills/ssplayer-flutter-docs/`, `skills/ssplayer-flame-docs/` |
| Ren'Py | `game/spritestudio/`, starting at `README.md` | — |
| wgpu | npm: `node_modules/@spritestudio/ssplayer-wgpu/docs/`, starting at `README.md`. C / C++: the zip's `README.md` and `docs/`. Rust: the crate's `docs/`, starting at `docs/index.md` | npm: `skills/ssplayer-wgpu/` |
| React Native | `node_modules/react-native-spritestudio/docs/`, starting at `README.md` | `skills/react-native-spritestudio/` |

`Library/` and `node_modules/` are normally gitignored, so a search that respects `.gitignore` skips them; ripgrep needs `--no-ignore`.

### 🧩 As an Agent Skill

The npm and Flutter packages also carry those pages as an [Agent Skill](<https://agentskills.io>): a folder whose `SKILL.md` tells an assistant what the pages are for. Once it is in your project's skill directory (`.claude/skills/`, `.agents/skills/`, and so on), the assistant finds the docs without being told where they are. Your package manager puts it there:

- **pnpm 12.18 or later**: run `pnpm approve` and pick the package. The first time, it also asks which skill directories to link into and records them as `skills.dirs` in `pnpm-workspace.yaml`. Every install then links the skills of your direct dependencies into those directories, creating them; commit `pnpm-workspace.yaml` so that installs elsewhere, CI included, do the same. Run from a coding agent pnpm recognizes, such as Claude Code, `pnpm approve <package>` asks nothing and installs link into that agent's directory. Without a directory to link into, an install still succeeds and links nothing.
- **npm, or yarn with `nodeLinker: node-modules`**: `npx skills experimental_sync` links them the same way, after asking which agents to link them for (`-a claude-code -y` answers without a prompt). Under yarn's default Plug'n'Play there is no `node_modules` for it to read.
- **Flutter**: `dart run skills@ get --all` copies them into the skill directory of the coding agent it finds in the project (`.claude/` and so on). When the project has none yet, name one with `--agent claude` (or `codex`, `copilot`, `cursor` and others). Without `--all` it only lists them. Run it again after upgrading.

## ⌨️ Converting a project

An assistant can run commands but cannot use a window, so it converts with `ssconverter-cli`. Each SDK release has one zip per platform at a fixed URL, `https://github.com/cri-middleware/SpriteStudio-SDK/releases/latest/download/ssconverter-cli-<platform>.zip`; the platforms are listed in the [CLI README](<https://github.com/cri-middleware/SpriteStudio-SDK/blob/HEAD/cli/README.md>). Its output names every `.ssab` it wrote with the animations inside, which are the names to pass to the player.
