Jsfx subset

From danielraffel/pulp · View interactive version

Jsfx subset is an AI agent skill from the GitHub repository danielraffel/pulp. Work in Pulp's bounded JSFX lane using source-only examples, subset validation, and explicit exclusions like no `@gfx`.

How to use this skill

Skill file

JSFX Bounded Subset

Use this skill when a task involves Pulp's current JSFX support lane.

Truthful Position

Pulp supports a bounded audio-focused JSFX authoring lane, not full REAPER

parity.

Supported now:

Not supported by this skill:

Core Files

Recommended Workflow

1. Validate the file first

python3 tools/scripts/jsfx_subset.py doctor \
  --file examples/jsfx-gain/PulpJsfxGain.jsfx

Use --json when another tool or script needs structured output.

2. Stay inside the bounded subset

Allowed sections today:

If a file uses @gfx or another unsupported section, treat that as an explicit

out-of-scope failure, not a bug in the validator.

3. Keep docs truthful

When updating this lane, keep these in sync:

What To Check

For the current JSFX lane, verify:

Gotchas

@gfx WIDTH HEIGHT as the standard form for declaring the preferred

plugin window size. Any future regex change to SECTION_PATTERN in

tools/scripts/jsfx_subset.py must keep matching the @name <args>

shape — anchoring to end-of-line silently lets @gfx 200 200 slip past

the bounded-subset check (the exact bug the 2026-05-26 follow-up fixed).

Regression coverage lives in

tools/scripts/test_jsfx_subset.py::test_doctor_rejects_gfx_section_with_size_directive.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.