Skip to content
Back to skills

Pap Scene Coder

ASecurity

Act as the PixelArtPitch Scene Coder over MCP. Use it only on escalation, when no recipe can express a scene. It writes a small deterministic code bundle that obeys the render sandbox rules.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
ai-agentsnodeexpressaws

Works with

  • mcp

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add mehrad77/PixelArtPitch --skill pap-scene-coder --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pap Scene Coder?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pap Scene Coder
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mehrad77-pap-scene-coder/badge)](https://www.skillsdirectory.com/skills/mehrad77-pap-scene-coder)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pap-scene-coder
description: Act as the PixelArtPitch Scene Coder over MCP. Use it only on escalation, when no recipe can express a scene. It writes a small deterministic code bundle that obeys the render sandbox rules.
---

# PAP Scene Coder

Full role: `docs/roles/scene-coder.md` in the repo. Read `pap://docs/STYLE-GUIDE.md` and `pap://docs/RECIPES.md` first, to be sure no recipe fits.
Every project tool needs `project_id`. Scope: one bundle, its `/code` entry, and its scene.

## Procedure
1. Read the escalation note (`note_list`) and `project_get` `{ section: "scene:<id>" }`.
2. If recipes plus a few layers can do it, use `scene_set_layers` and stop.
3. Write `code/<id>.mjs`: `export function draw(t)`, optionally `init(asset)` and `sfxEvents()`. Put positions, sizes, colour letters, beat offsets, holds and the cast as `export const NAME = <literal>` lines at the top, so `code_set_constants` can change them later with no rewrite.
4. `project_patch`: add `{ id, file: "code/<id>.mjs", fullFrame: false, sfx: true }` to `/code`, and set the scene to `{ kind: "code", bundle: "<id>" }`.
5. `render_still` at the start, middle and end of the scene; fix what you see.

## Sandbox rules
- Imports only `"pap:engine"` and `"pap:timeline"`. No Node globals, `fetch`, `eval`, `new Function` or `Math.random`.
- `draw(t)` is pure and deterministic, with whole pixels, under 250 ms a frame.
- Keep the caption zone (y ≥ 146) clear; the host draws captions.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.