AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Reuse Scripts

skill-playcanvas-skills-reuse-scripts · by playcanvas

Use before implementing non-core PlayCanvas behavior to discover and reuse production scripts shipped with the installed Engine, reproduce their official example integration, and verify the result against the installed version.

No reviews yet
0 installs
20 views
0.0% view→install

Install

$ agentstack add skill-playcanvas-skills-reuse-scripts

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-playcanvas-skills-reuse-scripts)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
1mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Reuse Scripts? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

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.

Use a relevant shipped script as the default implementation. If it cannot own the whole feature, preserve its input signs, angular damping, bounds, and lifecycle invariants in the custom portion instead of replacing them from memory.

Reproduce the reference integration

Treat the selected script source and its closest official example as complementary references:

  1. Read the source for exports, properties, defaults, fallbacks, required components, and lifecycle.
  2. Read the example for assets, entity references, mesh requirements, layer ordering, scene settings,

and render-pipeline setup.

  1. Reproduce the smallest working baseline before customizing it. Preserve defaults that are not

deliberately changed, and tune one property group at a time.

  1. After a rendered frame, fail on console, shader, or missing-asset diagnostics. Exercise the

behavior with real input where applicable and inspect returned screenshots from representative views at the final backbuffer density.

  1. Compare the result with the official example when visual quality matters. Keep iterating or

report the gap; a running fallback is not proof of correct integration.

If no matching example exists, state that and derive the integration from installed source instead of inventing it from memory.

For an outdoor water scene, start from graphics/water.example.mjs as one integration recipe. It combines Water, ProceduralSky, CameraControls, CameraFrame, a dedicated water layer, scene depth, normal and caustics textures, and conservative rendering defaults. Establish that complete baseline before adapting its camera, assets, time of day, or water tuning.

Preserve grouped defaults

Grouped property updates differ by authoring surface. Read the selected reference and preserve defaults that are not being changed.

Read exactly one reference matching the code being edited: [direct Engine](references/direct-engine.md), [React](references/react.md), or [Web Components](references/web-components.md). Choose from imports and markup, not installed dependencies alone.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.