npx skills add ...
npx skills add freshtechbro/claudedesignskills --skill playcanvas-engine
Lightweight WebGL/WebGPU game engine with entity-component architecture and visual editor integration. Use this skill when building browser-based games, interactive 3D applications, or performance-critical web experiences. Triggers on tasks involving PlayCanvas, entity-component systems, game engine development, WebGL games, 3D browser applications, editor-first workflows, or real-time 3D rendering. Alternative to Three.js with game-specific features and integrated development environment.
npx skills add freshtechbro/claudedesignskills --skill playcanvas-engine
Lightweight WebGL/WebGPU game engine with entity-component architecture, visual editor integration, and performance-focused design.
Trigger this skill when you see:
Compare with:
The root PlayCanvas application manages the rendering loop.
PlayCanvas uses ECS architecture: Entities contain Components.
The application fires events during the update loop.
Core components extend entity functionality:
Model Component:
Camera Component:
Light Component:
Rigidbody Component (requires physics):
Create a complete scene with camera, light, and models.
Load external 3D models with asset management.
With error handling:
Create custom materials with PBR workflow.
Use Ammo.js for physics simulation.
Create reusable script components.
Script lifecycle methods:
Handle keyboard, mouse, and touch input.
Play skeletal animations and tweens.
Skeletal animation:
Property tweening:
Wrap PlayCanvas in React components.
Work with PlayCanvas Editor projects.
Reuse entities instead of creating/destroying.
Reduce geometry for distant objects.
Combine static meshes to reduce draw calls.
Use compressed texture formats.
Problem: Scene renders but nothing happens.
Problem: Modifying scene graph during iteration.
Problem: Not cleaning up loaded assets.
Problem: Transforms not propagating correctly.
Problem: Physics components don't work.
Problem: Canvas doesn't fill container or respond to resize.
Related Skills: For lower-level WebGL control, reference threejs-webgl. For React integration patterns, see react-three-fiber. For physics-heavy simulations, reference babylonjs-engine.