react-three-game
Installation
SKILL.md
React Three Game
React Three Game is a game creation toolbox for the web. A prefab is a JSON scene document: nodes describe objects, and components give them settings and behavior. Agents can work through the running editor, edit those documents directly, or add components in application source. Choose the path that fits the task and available files.
Choose how to work
| Task or context | Approach |
|---|---|
| Adjust a visible scene and inspect placement | Use the editor API |
| Change a saved scene, generate content, or review a file diff | Edit prefab JSON directly |
| Add reusable behavior, hooks, or a new rendering feature | Add custom components in source |
| Store a small script with the scene | Use a Runtime component |
| Render JSON alongside the app's own canvas content | Embed PrefabRoot |
| Connect gameplay, physics, lighting, or loading | State and resources and Focused references |
These approaches can be combined: add a component in source, configure instances in JSON, then inspect them in the editor or viewer. Use the existing schemas and nearby application code to discover conventions before inventing new ones.