cocos-ui-schema-generator

Installation
SKILL.md

cocos-ui-schema-generator

Generate UI as WebUINodeSchema-based TypeScript for the bundled Cocos WebUI runtime.

This skill includes a reusable runtime in assets/webui-runtime/. If the target Cocos project does not already contain these runtime files, copy them into the target project before generating schema or controller code.

Bundled assets

The bundled runtime lives here:

  • assets/webui-runtime/types.ts
  • assets/webui-runtime/style.ts
  • assets/webui-runtime/layout.ts
  • assets/webui-runtime/WebUIBackground.ts
  • assets/webui-runtime/WebUIRenderer.ts
  • assets/webui-runtime/WebUIExample.ts
  • assets/webui-runtime/uiMeta.ts
  • assets/webui-runtime/examples/withdrawExample.ts
  • assets/webui-runtime/examples/withdrawExample1.ts
Related skills
Installs
2
First Seen
Apr 7, 2026