garethpaul/poe-games-procedural-dungeons / .claude/skills/tile-creator
tile-creator
VerifiedScaffold, implement, test, and deploy a new Poe tile from a prompt.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 39.1 KB |
| references/assets.md | markdown | 2.5 KB |
| references/backend-api.md | markdown | 9.6 KB |
| references/cli-limitations.md | markdown | 90 B |
| references/cli.md | markdown | 15.5 KB |
| references/client-api.md | markdown | 101.8 KB |
| references/composing-apps.md | markdown | 12.6 KB |
| references/e2e-tests.md | markdown | 13.3 KB |
| references/game-ux-best-practices.md | markdown | 17.1 KB |
| references/migrating-pre-rename-tiles.md | markdown | 2.3 KB |
| references/running-the-client-api-on-a-server-owned-by-the-user.md | markdown | 4.0 KB |
| references/safe-area-insets.md | markdown | 4.6 KB |
| references/sandbox-limitations.md | markdown | 1.0 KB |
| references/scaffolding-a-new-app.md | markdown | 15.4 KB |
| references/synced-store-client-reference.md | markdown | 3.9 KB |
| references/troubleshooting.md | markdown | 4.2 KB |
| references/unit-tests.md | markdown | 21.0 KB |
| references/vite-plugin.md | markdown | 2.7 KB |
references/sandbox-limitations.md
View on GitHub<!-- owner: jyoung-q -->
# Sandbox restrictions
Apps run in a blob-URL iframe sandboxed with `allow-scripts allow-forms` only. Same-origin and top-navigation are off, so several browser APIs throw or silently fail:
- **Storage APIs blocked.** `localStorage`, `sessionStorage`, `IndexedDB`, and cookies all throw — there is no `allow-same-origin`. Don't reach for `localStorage` to survive refresh; it won't work. Persist per-user state in a `privateOfUser(self)` table and shared state in a public table.
- **No top-level URL navigation.** `window.location.href = …`, `location.assign`, top-level `window.open`, `target="_top"`, and cross-origin `history.pushState` all fail. To switch apps, call `Poe.open({ typeId, instanceId, openProps? })` from `poe-tiles-sdk`. Outbound links work via `<a target="_blank" rel="noopener">`.
- **`window.location.origin` is `"null"`.** Use `Poe.topOrigin` for an absolute host URL.
- **No cross-frame DOM access.** Reading the parent document or any other frame is blocked. Talk to the host via the SDK's `postMessage` wrappers.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |