jessetsai1024

Cocos Creator Files — Development skill for Claude Code

Development community

Claude Code skill: read, edit and generate Cocos Creator 3.x project files (.prefab/.scene/.meta/.anim/.mtl/.effect/.

How to install Cocos Creator Files

This entry records only its repository, not the path inside it, so there is no exact command to give. Open jessetsai1024/cocos-creator-files and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Cocos Creator Files does

Claude Code skill: read, edit and generate Cocos Creator 3.x project files (.prefab/.scene/.meta/.anim/.mtl/.effect/...) without silently breaking them. Rules verified against the 3.8.7 engine source. 繁體中文.

Alternatives in Development

  • Skill Creator — Create new skills, modify existing skills, and measure skill performance 94.1k ★
  • Pi Reserved Keybindings — Extensions cannot override these shortcuts — they are silently skipped by registerShortcut() 526 ★
  • Migrations — Versioned breaking change migrations for Turbo 263 ★

README

cocos-creator-files

A [Claude Code skill](https://docs.anthropic.com/en/docs/claude-code/skills) that teaches Claude how to read, edit and generate files inside a **Cocos Creator 3.x** project without silently breaking them: `.prefab`, `.scene`, `.meta`, `.anim`, `.mtl`, `.effect`, Marionette `.animgraph`, 3D and physics assets, atlases, bitmap fonts, TiledMap, AssetBundle configuration, and the generated directories (`library/`, `temp/`, `build/`, `profiles/`, `settings/`, `native/`).

The rules were checked against the **3.8.7 engine source**; anything that could not be verified is marked `[未驗證]` or `[社群]` in the text. The documentation is written in Traditional Chinese.

Why

The most common way an agent damages a Cocos project is by being confident: changing an `__id__` without updating every reference to it, editing the `uuid` in a `.meta` file and breaking every link in the project, or filling in the wrong `fileId` so an override fails silently and only shows up at runtime. This skill front-loads three golden rules, a can-I-touch-this table for every file type, step-by-step procedures for the six most common tasks, and a checklist of the twelve mistakes Claude makes most often.

Install

git clone https://github.com/jessetsai1024/cocos-creator-files ~/.claude/skills/cocos-creator-files

Start a new Claude Code session. The skill triggers whenever you mention Cocos Creator, a prefab, scene, material, shader, atlas, AssetBundle, `.meta`, UUID or fileId, or ask to add a node, change a material, tweak a shader uniform, insert keyframes, or write a `.gitignore` for a Cocos project.

What is inside

file what it covers
SKILL.md the three golden rules, file-type identification, the quick can-I-touch-this table, six task SOPs, twelve common mistakes, 3.8.x version-sensitive behaviour, the pre-edit checklist
references/decision-matrix.md the full editable / careful / locked / forbidden table for every file pattern