← 返回 Skills 市场
59
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install playcanvas
功能描述
Comprehensive guide for PlayCanvas, the web-first 3D graphics platform including the Engine API, Editor, React wrapper, and Web Components. Use when building...
使用说明 (SKILL.md)
PlayCanvas
PlayCanvas is an open-source, web-first 3D graphics platform with an MIT-licensed JavaScript engine, a real-time collaborative Editor, a React wrapper, and Web Components.
Covers
- Engine API and standalone usage
- Editor visual development
- PlayCanvas React declarative components
- Web Components HTML-based 3D
- Scripting and ECS architecture
- Graphics, materials, shaders
- Physics simulation
- Animation system
- Asset pipeline
- 2D and UI systems
- Performance optimization
- Publishing to web/mobile/desktop
- Gaussian Splatting
- PCUI framework
Reference Files (30 files)
Docs in references/ — load on demand:
| File | Covers |
|---|---|
getting-started |
Overview, community, OSS |
editor |
Overview + press |
editor-interface |
Toolbar, Hierarchy, Inspector, Viewport, Launch, Settings |
editor-assets |
Assets panel |
editor-scenes |
Scenes, entities, components, templates/prefabs |
editor-scripting |
Editor scripting tools |
editor-publishing-web |
Web, mobile, ads |
editor-version-control |
Branches, checkpoints, merging |
editor-realtime-collaboration |
Collaboration |
editor-editor-api |
Editor extension API |
editor-engine-compatibility |
V1 vs V2 |
editor-faq |
FAQ |
editor-troubleshooting |
Brightness/darkness fixes |
editor-getting-started |
Tutorial |
engine-standalone |
Engine API, standalone, Node.js, migrations, browser support |
graphics |
Cameras, lighting, materials, shaders, particles, layers, batching |
physics |
Rigid body, collision, compound shapes, ammo.js API |
animation |
Anim component, state graphs, events, layer masking |
scripting |
ESM/Classic, lifecycle, attributes, events, debugging, migration |
ecs |
Entity-Component-System |
react |
React installation, scenes, assets, materials, physics, interactivity |
web-components |
HTML tags, installation, tag reference |
2D |
Sprites, 9-slicing, sprite editor, texture packing |
user-interface |
Screen/Element components, localization |
assets |
Asset registry, loading, preloading, formats |
optimization |
GPU profiling, load time, texture compression, device pixel ratio |
api |
REST API endpoints |
account-management |
Organizations, billing |
pcui |
PCUI UI framework |
gaussian-splatting |
3D Gaussian Splatting |
glossary |
Terminology |
security |
Vulnerability reporting |
Key APIs
Core Engine
import * as pc from 'playcanvas';
const app = new pc.Application(canvas);
app.start();
Entity & Component
const entity = new pc.Entity('myEntity');
entity.addComponent('camera', { fov: 60 });
entity.addComponent('script');
entity.script.create('myScript', { attributes: { speed: 10 } });
app.root.addChild(entity);
Asset Loading
app.assets.loadFromUrl('model.glb', 'container', (err, asset) => {
const entity = asset.resource.instantiateRenderEntity();
app.root.addChild(entity);
});
Input
if (app.keyboard.isPressed(pc.KEY_SPACE)) { /* jump */ }
if (app.mouse.isPressed(pc.MOUSEBUTTON_LEFT)) { /* click */ }
安全使用建议
Review before installing if agents may operate on real PlayCanvas projects. Replace or remove the bearer token example, require explicit approval before delete/force/overwrite/merge/publish API calls, use least-privilege PlayCanvas tokens, revoke any exposed token, and pin CDN or package versions for production projects.
能力标签
能力评估
Purpose & Capability
The PlayCanvas reference purpose is coherent, and API mutation/delete coverage fits that purpose, but references/api.md includes a concrete bearer-token-looking string in an Authorization example and documents asset deletion/replacement operations.
Instruction Scope
The skill tells agents to load documentation on demand, but the REST API reference does not add agent-facing guardrails such as explicit user confirmation before delete, force, overwrite, merge, or publish actions.
Install Mechanism
The artifact is markdown documentation only; no executable install hooks, declared dependencies, binaries, or non-markdown payloads were present.
Credentials
Use of PlayCanvas access tokens, PlayCanvas APIs, and CDN-hosted JavaScript is proportionate for this subject, but users should scope credentials carefully and pin CDN/package versions in production.
Persistence & Privilege
No local persistence, background process, privilege escalation, or local credential-store access was found, but user-supplied PlayCanvas tokens could authorize persistent changes to hosted projects.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install playcanvas - 安装完成后,直接呼叫该 Skill 的名称或使用
/playcanvas触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release — introduces a comprehensive PlayCanvas reference.
- Full guide covering Engine API, Editor, React, and Web Components.
- 30 reference files for all platform features: scripting, physics, animation, assets, UI, optimization, and more.
- Examples included for key APIs: core engine, entity/component, asset loading, and input.
- Covers advanced topics like Gaussian Splatting and PCUI framework support.
元数据
常见问题
PlayCanvas 是什么?
Comprehensive guide for PlayCanvas, the web-first 3D graphics platform including the Engine API, Editor, React wrapper, and Web Components. Use when building... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 59 次。
如何安装 PlayCanvas?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install playcanvas」即可一键安装,无需额外配置。
PlayCanvas 是免费的吗?
是的,PlayCanvas 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
PlayCanvas 支持哪些平台?
PlayCanvas 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 PlayCanvas?
由 OpenLark(@openlark)开发并维护,当前版本 v1.0.0。
推荐 Skills