agentsclimarketplace

Cocos creator headless install scene patch

Skill ChrisLamDev/cocos-creator-debug-skills/skills/cocos-creator-headless-install-scene-patch

17 executable AI agent skills for Cocos Creator 3.x debugging

Install
npx -y skills add ChrisLamDev/cocos-creator-debug-skills --skill cocos-creator-headless-install-scene-patch

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Use when installing Cocos Creator 3.x and setting up a headless test bootstrap.

SKILL.md

1.6 KB, 343 tokens by cl100k_base, as published. Nobody here has run it

Cocos Creator Headless Install + Scene Patch

Install Cocos Creator 3.x without GUI, then set up a runtime test bootstrap scene.

Headless Install

# Download latest Cocos Creator from official site:
# https://www.cocos.com/en/creator-download
# (Download link changes with each version, use the official page)
curl -L "$(curl -s https://www.cocos.com/creator-download 2>/dev/null | grep -oP 'https://download\.cocos\.com/CocosCreator/v[0-9.]+\.[0-9]+/CocosCreator-v[0-9.]+\.dmg' | head -1 || echo 'https://www.cocos.com/en/creator-download')" -o /tmp/Cocos.dmg || echo "Please download manually from https://www.cocos.com/en/creator-download"
# Mount and copy
hdiutil attach /tmp/Cocos.dmg
cp -R "/Volumes/CocosCreator/CocosCreator.app" /Applications/
hdiutil detach /Volumes/CocosCreator

Bootstrap Scene Setup

Create assets/scenes/BootScene.scene with minimum nodes:

  1. Canvas node (UI root)
  2. Camera as child of Canvas (for UI rendering)
  3. BootEntry component on Canvas node

See references/scene-template.md for the minimal BootScene JSON template.

CLI Build

/Applications/CocosCreator.app/Contents/MacOS/CocosCreator --project . --build "platform=web-mobile;debug=true"

The --headless flag may be needed for CI environments.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.