cocos-ts-compile-check-sop
Use when running TypeScript compile check on Cocos Creator 3.x project.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use when running TypeScript compile check on Cocos Creator 3.x project.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use when installing Cocos Creator 3.x and setting up a headless test bootstrap.
Use when setting up a GUI-free CLI build pipeline for Cocos Creator 3.x.
Use when building code-driven scrollable UI panels in Cocos Creator 3.x.
Use when code-driven UI nodes in Cocos Creator 3.x fail to render text or colors.
Use when Cocos Creator 3.x CLI build fails with scene or library errors.
Use when installing Cocos Creator 3.x and debugging scene import errors.
| name | cocos-ts-compile-check-sop |
| description | Use when running TypeScript compile check on Cocos Creator 3.x project. |
Mandatory TypeScript compile check before committing code to a Cocos Creator 3.x project.
npx tsc --noEmit
Must pass with zero errors before any commit.
| Error | Fix |
|---|---|
Cannot find module 'cc' | Add @cocos/creator-types to tsconfig |
Property 'xxx' does not exist | Check Cocos API version compatibility |
Type 'X' is not assignable | Check Cocos 3.x type differences from 2.x |
compilerOptions.target: "ES2015" or highercompilerOptions.module: "commonjs" or "ES2015"compilerOptions.strict: true recommendedcompilerOptions.skipLibCheck: true for faster checksinclude: covers all assets/**/*.tsSee references/tsconfig-template.md for a complete working tsconfig.json.