# Core

> Core

- Skill: `kongshan001/core` (Agent Skill)
- Install (CLI): `npx skillmds@latest add kongshan001/core`
- Raw SKILL.md: https://api.skillmd.com/api/skills/kongshan001/core/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: kongshan001 (https://skillmd.com/u/kongshan001)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/kongshan001/core

---


# Core

## Overview

This skill provides expertise for the **core** module.

**Location**: `cocos/core`

**Language**: typescript

**Files**: 10 files

## Domain Expertise

### Patterns
- event-emitter
- object-pool
- ecs-pattern

### Key Concepts
- `Component`
- `Node`
- `Director`
- `Game`
- `Scene`

## Key APIs

### Classes
- `Component`
- `Node`
- `Director`
- `Game`
- `Scene`

### Functions
- `find()`
- `isValid()`
- `destroy()`

### Public API
- `Component`
- `Node`
- `Director`
- `Game`

## Common Patterns

- **event-emitter**: Common pattern in this module
- **object-pool**: Common pattern in this module
- **ecs-pattern**: Common pattern in this module

### Usage Examples

```typescript
// Pattern usage examples would go here
// Analyze actual code for specific implementations
```

## Code Examples

### Basic Usage

```typescript
# Import from core

import { Component, Node } from 'core';
```
## Usage Guide

### When to Use This Skill

- Working with core module
- Implementing features related to this domain
- Refactoring code in this module
- Debugging issues in this area

### Best Practices

1. **Understand the domain**: Review the module's purpose and patterns
2. **Follow conventions**: Use the naming and structure patterns found in the codebase
3. **Check dependencies**: Be aware of module dependencies
4. **Test changes**: Ensure changes don't break existing functionality

### Common Tasks

- Adding new functionality to the module
- Refactoring existing code
- Fixing bugs
- Adding tests


