# Animation

> Animation

- Skill: `kongshan001/animation` (Agent Skill)
- Install (CLI): `npx skillmds@latest add kongshan001/animation`
- Raw SKILL.md: https://api.skillmd.com/api/skills/kongshan001/animation/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/animation

---


# Animation

## Overview

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

**Location**: `cocos/animation`

**Language**: typescript

**Files**: 10 files

## Domain Expertise

### Patterns
- event-driven
- state-machine
- component-based

### Key Concepts
- `AnimationClip`
- `AnimationState`
- `Animation`
- `SkeletonAnimation`

## Key APIs

### Classes
- `AnimationClip`
- `AnimationState`
- `Animation`
- `SkeletonAnimation`

### Functions
- `playAnimation()`
- `stopAnimation()`
- `crossFade()`

### Public API
- `AnimationClip`
- `AnimationState`
- `SkeletonAnimation`

## Common Patterns

- **event-driven**: Common pattern in this module
- **state-machine**: Common pattern in this module
- **component-based**: 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 animation

import { AnimationClip, AnimationState } from 'animation';
```
## Usage Guide

### When to Use This Skill

- Working with animation 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


