theone-cocos-standards

Installation
SKILL.md

TheOne Studio Cocos Creator Development Standards

⚠️ Cocos Creator 3.x (TypeScript 4.1+): All patterns and examples are compatible with Cocos Creator 3.x playable ads development.

Skill Purpose

This skill enforces TheOne Studio's comprehensive Cocos Creator development standards with CODE QUALITY FIRST:

Priority 1: Code Quality & Hygiene (MOST IMPORTANT)

  • TypeScript strict mode, ESLint configuration, access modifiers (public/private/protected)
  • Throw exceptions (never silent errors)
  • console.log for development, remove in production builds
  • readonly for immutable fields, const for constants
  • No inline comments (use descriptive names)
  • Proper error handling and type safety

Priority 2: Modern TypeScript Patterns

  • Array methods (map/filter/reduce) over loops
  • Arrow functions, destructuring, spread operators
Related skills

More from the1studio/theone-training-skills

Installs
175
GitHub Stars
74
First Seen
Jan 22, 2026