Master PlayCanvas Code with AI: Apply Conventions Skill
Regular price
£11.99
Regular price
£11.99
Sale price
Unit price/ per
SAVE
Sold out
Master PlayCanvas Code with AI: Apply Conventions Skill
This AI agent skill assists developers in writing and reviewing PlayCanvas Engine code by consistently applying the engine's coordinate systems and API conventions. It ensures that entity transforms, cameras, physics, materials, model orientation, and imports comply with established guidelines, enhancing code consistency and reliability.
What this skill does
Applies the right-handed coordinate system where +Y is up, and XZ is the gameplay ground plane.
Adjusts entity orientations so that `entity.forward` and camera viewpoints align with -Z, `entity.right` is +X, and `entity.up` is +Y.
Assists in calibrating glTF models correctly with potential yaw adjustments as needed.
Enforces passing degrees in XYZ order to angle APIs while maintaining pitch, yaw, and roll within application state without redundant angle decomposition.
Facilitates interpolation of angles and rotations using `math.lerpAngle()` and `Quat.slerp()` respectively, avoiding scalar interpolation across transitions like 0/360 degrees.
Guides the use of appropriate transform methods such as `setPosition`, `setRotation`, and `setEulerAngles` along with their local variants, while maintaining unit consistency in meters and recommended physics gravity settings.
Discourages scaling of rigid-body roots and skinned bones to maintain transformation integrity.
Who it is for
This skill is designed for developers and development teams utilizing AI coding agents like Claude Code, Cursor, and Codex, particularly those working within the PlayCanvas environment.
Use cases
Ensuring cohesive and correct application of PlayCanvas conventions across a project, reducing errors and inconsistencies in game development.
Streamlining the integration of new AI team members by automating adherence to established coding conventions.
Facilitating code reviews by ensuring compliance with PlayCanvas standards, aiding both junior and senior developers.
Technical details
The skill uses AI agent capabilities, including agent-skills and aiapplication, to automate and enforce PlayCanvas conventions. It reads from `package.json` and installed `playcanvas` source files to interpret and apply stable API details. This ensures a high level of accuracy and consistency across various development tasks.
Source & Licence
This package is built on open-source work published by playcanvas (playcanvas/skills) and distributed under MIT. The original licence text and copyright notice are included in your download.
Personal and commercial use, modification and redistribution are permitted, provided the original copyright and licence notice are retained.
Your purchase covers curation, licence verification, packaging, documentation and instant delivery. It does not grant exclusive rights to the underlying open-source code, which remains available under its original licence.
Delivery & Support
Delivery: instant — a secure download link is emailed to you as soon as payment is confirmed.
Format: ZIP archive containing the skill files, documentation and the original licence.
Updates: updates are included only where stated on this page.
Refunds
This is a digital product delivered immediately after purchase. By completing your order you request immediate delivery and acknowledge that, once the download has been accessed, the statutory right to cancel no longer applies to the extent permitted by law. Refund requests are handled in accordance with our published Refund Policy.
Claude, Codex, Gemini and Cursor are trademarks of their respective owners. MCP Cart is an independent marketplace and is not affiliated with, endorsed by, or sponsored by any of them. Compatibility references describe interoperability only.