# Playspace SDK > Playspace is a place on the web where people play small interactive works from a link. These files say how to make a work for it: a folder of web files wired to the Playspace SDK, begun from one of three starters. Start with the starter you were given (or the plain one), then the topics in order. The SDK is put on the page by the Playspace player; a work never copies it in. With Playspace's connector (https://www.joinplayspace.com/mcp), the read-only tool `get_docs` returns the same topics and starter pages, for an assistant that cannot fetch an address. ## Publish From the work's folder, in a terminal or an AI coding tool: `npx playspace publish --json`. The first time it opens a Playspace page in the person's browser to sign in. Until it is done it answers with a `next` command (while the checks run, `npx playspace status --wait --json`): run the `next` command it gives until the state is `ready`, then give the person the review link. Publish is theirs, in the browser. The Publishing topic below has the rest. ## Skill - [SKILL.md](https://www.joinplayspace.com/sdk/skill/SKILL.md): the Playspace skill for an AI coding tool that reads skills (Claude Code, among others): build to the controls and the SDK, then publish. `npx playspace init` writes it and the two below into a project. - [playspace.mdc](https://www.joinplayspace.com/sdk/skill/playspace.mdc): the same skill as a Cursor rule, for .cursor/rules/. - [AGENTS.md](https://www.joinplayspace.com/sdk/skill/AGENTS.md): the same skill as a section of a project's AGENTS.md (Codex, among others). ## Docs - [Start here](https://www.joinplayspace.com/sdk/docs/start.md): what Playspace is, the three starters, and the rules every work's page keeps. - [The controller](https://www.joinplayspace.com/sdk/docs/controller.md): the Playspace set (the stick, A, B, the menu, the pointer) and the control manifest that maps a work's own keys onto it. - [Text entry](https://www.joinplayspace.com/sdk/docs/text.md): a name, a chat line or a search typed into the work's own field, on a computer and a phone, and what the player does meanwhile. - [Moments](https://www.joinplayspace.com/sdk/docs/analytics.md): one call, playspace.moment(), where something meaningful happens, counted on the creator's page. - [Autoplay](https://www.joinplayspace.com/sdk/docs/autoplay.md): Buddy plays a work for a visitor who has not touched it yet, from a small policy (playspace.autoplay()). - [Publishing](https://www.joinplayspace.com/sdk/docs/publishing.md): what happens when a work is published, and how to publish one: the page, the command-line tool, an assistant's connector. - [The SDK contract](https://www.joinplayspace.com/sdk/docs/contract.md): every name a work may call on window.playspace, what it means, the types, and which names stay. - [The cookbook](https://www.joinplayspace.com/sdk/docs/cookbook.md): how real works were wired onto the SDK, engine by engine and row by row, as Playspace's publishing agent reads it. ## Per starter - [The plain starter](https://www.joinplayspace.com/sdk/kit/plain.md): Wisp, a light you steer through a pond of motes: canvas 2D, no library. - [The Phaser starter](https://www.joinplayspace.com/sdk/kit/phaser.md): Marbles, a table of marbles you roll among: one Phaser scene with Arcade physics and textures drawn from shapes. - [The three.js starter](https://www.joinplayspace.com/sdk/kit/three.md): Garden, a small low garden you walk through and look around: three.js as a module page. - [The kit's guide](https://www.joinplayspace.com/sdk/kit/AGENTS.md): the AGENTS.md inside every starter's zip. ## Types and schema - [playspace.d.ts](https://www.joinplayspace.com/sdk/playspace.d.ts): the typed contract, window.playspace as a global declaration. - [playspace.schema.json](https://www.joinplayspace.com/sdk/playspace.schema.json): the JSON Schema of playspace.json.