reuse-scripts

Installation
SKILL.md

Engine scripts

The installed playcanvas package ships production scripts under scripts/esm/**. Discover the current set rather than maintaining a stale list:

rg 'static scriptName =' node_modules/playcanvas/scripts/esm \
  | sed "s|.*/scripts/esm/||; s|:.*static scriptName = ['\"]|  ->  |; s|['\"].*||" \
  | sort

Read the selected file for its named export, @attribute properties, and defaults. Not every module is a Script; the parsers below scripts/esm/parsers are plain classes registered with a resource handler instead.

Only import from scripts/esm/**. Legacy sibling directories depend on the global Engine namespace. After selecting a script, use find-examples to locate its matching versioned Engine example.

Installs
5
GitHub Stars
7
First Seen
1 day ago
reuse-scripts — playcanvas/skills