Playcanvas editor api realtime

From teknokomo/universo-platformo-react · View interactive version

Playcanvas editor api realtime is an AI agent skill from the GitHub repository teknokomo/universo-platformo-react. Use when working with the PlayCanvas Editor API, realtime sync protocols, WebSocket endpoints, ShareDB, Operational Transformation (OT), or document collections.

How to use this skill

Skill file

PlayCanvas Editor API and Realtime Sync

Use this skill when developing editor extensions via the Editor API, setting up WebSocket connections, or working with ShareDB/OT synchronization.

Version Guard

Required Output

Before modifying realtime sync behaviors or API endpoints:

Workflow

  1. Realtime collaboration uses ShareDB documents for entity and asset properties.
  2. The frontend client sends JSON-encoded operations (ops) using OT.
  3. Programmatic manipulation of entities must use the Editor API (editor.call(...) pattern).
  4. Synchronize snapshots with the persistence adapter asynchronously.

Blocking Rules

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.