This skill provides expertise for the physics module.
Location: cocos/physics
Language: typescript
Files: 10 files
Domain Expertise
Patterns
physics-integration
component-based
Key Concepts
RigidBody
Collider
PhysicsWorld
Joint
Key APIs
Classes
RigidBody
Collider
PhysicsWorld
Joint
Functions
raycast()
sweepTest()
overlapTest()
Public API
RigidBody
Collider
PhysicsWorld
Common Patterns
physics-integration: Common pattern in this module
component-based: Common pattern in this module
Usage Examples
// Pattern usage examples would go here
// Analyze actual code for specific implementations
Code Examples
Basic Usage
# Import from physics
import { RigidBody, Collider } from 'physics';
Usage Guide
When to Use This Skill
Working with physics module
Implementing features related to this domain
Refactoring code in this module
Debugging issues in this area
Best Practices
Understand the domain: Review the module's purpose and patterns
Follow conventions: Use the naming and structure patterns found in the codebase
Check dependencies: Be aware of module dependencies
Test changes: Ensure changes don't break existing functionality
Common Tasks
Adding new functionality to the module
Refactoring existing code
Fixing bugs
Adding tests
1---2name: physics3description: Physics4---56# Physics78## Overview910This skill provides expertise for the **physics** module.1112**Location**: `cocos/physics`1314**Language**: typescript1516**Files**: 10 files1718## Domain Expertise1920### Patterns21- physics-integration22- component-based2324### Key Concepts25- `RigidBody`26- `Collider`27- `PhysicsWorld`28- `Joint`2930## Key APIs3132### Classes33- `RigidBody`34- `Collider`35- `PhysicsWorld`36- `Joint`3738### Functions39- `raycast()`40- `sweepTest()`41- `overlapTest()`4243### Public API44- `RigidBody`45- `Collider`46- `PhysicsWorld`4748## Common Patterns4950- **physics-integration**: Common pattern in this module51- **component-based**: Common pattern in this module5253### Usage Examples5455```typescript56// Pattern usage examples would go here57// Analyze actual code for specific implementations58```5960## Code Examples6162### Basic Usage6364```typescript65# Import from physics6667import { RigidBody, Collider } from 'physics';68```69## Usage Guide7071### When to Use This Skill7273- Working with physics module74- Implementing features related to this domain75- Refactoring code in this module76- Debugging issues in this area7778### Best Practices79801. **Understand the domain**: Review the module's purpose and patterns812. **Follow conventions**: Use the naming and structure patterns found in the codebase823. **Check dependencies**: Be aware of module dependencies834. **Test changes**: Ensure changes don't break existing functionality8485### Common Tasks8687- Adding new functionality to the module88- Refactoring existing code89- Fixing bugs90- Adding tests91
Run npx skillmds@latest add kongshan001/physics in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Physics It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
kongshan001 (@kongshan001) published this skill. Their other Agent Skills are listed on their SkillMD profile.