skills/clawhub.ai/cocos-game-dev

cocos-game-dev

Installation
SKILL.md

Cocos Game Development

Overview

This skill defines the standard operating procedure for creating and developing games using the Cocos engine. It strictly enforces the use of the Cocos CLI and the Cocos MCP (Model Context Protocol) server for game logic and scene modifications.

Execution Steps

1. Environment Verification

  • Action: Run cocos --help using the exec tool.
  • Goal: Confirm that the Cocos CLI is successfully installed and accessible in the current environment.

2. Project Creation & Templating

  • Action: Ask the user for the desired project name and whether the game should be 2D or 3D (if not provided).
  • Execution:
    • First, run cocos create --help to identify the correct flags for templates.
    • Run cocos create <project_name> <template_flags> to generate the project structure.
Installs
1
First Seen
14 days ago
cocos-game-dev from clawhub.ai