Skip to content

Cocos contributor guide

Use server/.venv/bin/cbiome after setup. It runs the same CLI as cocos-mcp.

The Python CLI and MCP stdio server call the Creator extension over loopback. Creator owns the live scene and asset database. Use a disposable project when testing writes.

Start tool changes in the DSL definitions, not generated bindings or the generated catalog. The manifest pins the compiler and shared constructs. The verification guide explains the sibling checkouts and generation check.

Run the locked Python and extension Node tests for adapter changes. Editor IPC, undo, and save/reopen need native Creator acceptance. The browser lane only covers native Cocos objects and the compiled read handler. Read the Creator workflows before testing paging or recovery after a lost write response.

Build the public docs

From the repository root, install the docs requirements in an isolated Python environment and run the same build as CI.

python3 -m venv .venv-docs
. .venv-docs/bin/activate
python -m pip install -r requirements-docs.txt
bash .github/scripts/build-pages.sh /tmp/biome-engine-docs

The build stages the README as Get started, publishes this page as the developer guide, and verifies the generated links under the GitHub Pages project prefix.