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.tsassets/webui-runtime/style.tsassets/webui-runtime/layout.tsassets/webui-runtime/WebUIBackground.tsassets/webui-runtime/WebUIRenderer.tsassets/webui-runtime/WebUIExample.tsassets/webui-runtime/uiMeta.tsassets/webui-runtime/examples/withdrawExample.tsassets/webui-runtime/examples/withdrawExample1.ts