arcade / site
AGENTS.md21 starsChanged 3 months agoMITView on GitHub
Use these instructions when modifying Arcade source, importing its browser-safe modules, rendering snapshots, or running telemetry-disabled match-lab tests. If you only want to play the browser demo, use the controls on the home page instead. Arcade does not expose a remote endpoint for agents to play games on a user's behalf. Useful commands: The site's existing HTTP surfaces are described at /openapi.json. Use /api/v1/status to inspect the public capability boundary before assuming a remote action exists.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,337 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- apps/site/AGENTS.mdAGENTS.md
- apps/site/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- apps/site/public/llms-full.txtllms.txt
- apps/site/public/llms.txtllms.txt
- product-designSkill
The file
We split this agents.md into the rules it gives an agent
5 rules. About 1 is common, 2 are distinctive, and 2 are very specific to this project.
≈1
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 7
Read /llms.txt, then the specific /docs/* page for the layer you will change.
- Distinctive: line 10
Prefer existing materials, components, commands, and examples over one-off replicas.
- Distinctive: line 11
Keep browser imports on explicit browser-safe package subpaths.
- Common: line 12
Never read or expose credentials.
- Very specific: line 26
Use /api/v1/status to inspect the public capability boundary before assuming a remote action exists.
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Working with Arcade as an agent
When this guidance applies
Use these instructions when modifying Arcade source, importing its browser-safe modules, rendering snapshots, or running telemetry-disabled match-lab tests. If you only want to play the browser demo, use the controls on the home page instead. Arcade does not expose a remote endpoint for agents to play games on a user's behalf.
- Read
/llms.txt, then the specific/docs/*page for the layer you will change. - Preserve the import direction:
arcademay consume libraries; libraries must not importarcade. - Render visual output with snapshot tooling rather than starting the infinite raw-mode TTY.
- Prefer existing materials, components, commands, and examples over one-off replicas.
- Keep browser imports on explicit browser-safe package subpaths.
- Never read or expose credentials. Keep telemetry disabled for local self-play unless the user explicitly asks otherwise.
- Validate with focused tests,
pnpm test,pnpm type-check, andgit diff --check.
Useful commands:
pnpm snapshot:png 140 50 0.7
ARCADE_TELEMETRY=0 pnpm match:run -- --help
pnpm models:game-audit -- --help
pnpm test
pnpm type-checkThe site's existing HTTP surfaces are described at /openapi.json.
Use /api/v1/status to inspect the public capability boundary before assuming a remote action exists.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

