| name | playdate-docs |
| description | Look up Playdate SDK reference documentation. Use for any Playdate SDK API question — APIs and symbols (e.g. `playdate.graphics.*`, `pd_api.h`, `PlaydateAPI`), the Lua or C SDK, hardware specifics covered in the SDK reference, the Simulator, pdxinfo, build/packaging with `pdc`, deploying or running on hardware (`pdutil`, sideloading), and SDK CLI tools. |
Playdate SDK docs
Two official SDK reference documents, fetched from Panic's site on demand:
For project-specific debugging knowledge (crashlog format, watchdog quirks, USB CDC port-exclusivity, EventInit-async-call quirk, TLS cert-validation behavior, etc.), see docs/playdate_debugging.md in the repo — that lives with the project so collaborators see it too. This skill is scoped to SDK docs.
How to use
Use WebFetch against the relevant URL with a targeted prompt. WebFetch already does focused extraction (HTML → markdown → small-model query), so the returned excerpt is tight without needing a subagent. It also caches for 15 minutes, so repeat lookups on the same page are cheap.
Pick the URL by topic:
- C / Zig API symbols →
Inside Playdate with C
- Lua API →
Inside Playdate
- Hardware specs, button/crank semantics, pdxinfo, Simulator, distribution →
Inside Playdate regardless of language
If unsure which file covers the topic, fetch both.
Dispatch template
WebFetch https://sdk.play.date/3.0.6/Inside%20Playdate%20with%20C.html with prompt: "Find documentation on <symbol or topic>. Return the relevant section verbatim plus the surrounding paragraph for context, and the section heading it sits under. If the symbol is not present, say so explicitly."
Prefer one targeted query over a broad request — the page is large and a focused prompt keeps the returned excerpt tight.