apply-conventions

Installation
SKILL.md

Engine conventions

Check version-sensitive APIs against installed playcanvas declarations.

Coordinates

  • Right-handed, +Y up, metres. entity.forward, cameras, and lookAt use -Z.
  • Directional and spot lights shine along local -Y, straight down by default. Aim them with setEulerAngles, not lookAt.
  • glTF models usually face +Z; record per-model yaw with calibrate-model.
  • Angle APIs take degrees in XYZ order. Keep pitch, yaw, and roll as app state; never feed getEulerAngles() back into setEulerAngles(). Interpolate with math.lerpAngle or Quat.slerp.
  • Use world setters on semantic roots and setLocal* below a parent. Never scale rigid-body roots or skinned bones.

Current APIs

Installs
250
GitHub Stars
25
First Seen
Aug 20, 2026