3d-games – skill Khác cho agent AI
Nguyên tắc phát triển game 3D. Kết xuất, shader, vật lý, camera.
Cài skill 3d-games bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/3d-games-72e5b.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /3d-games – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/3d-games-72e5b.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $3d-games – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/3d-games-72e5b.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /3d-games – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/3d-games-72e5b.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /3d-games – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
3D Game Development
> Principles for 3D game systems.
---
1. Rendering Pipeline
Stages
1. Vertex Processing → Transform geometry
2. Rasterization → Convert to pixels
3. Fragment Processing → Color pixels
4. Output → To screenOptimization Principles
| Technique | Purpose |
|-----------|---------|
| Frustum culling | Don't render off-screen |
| Occlusion culling | Don't render hidden |
| LOD | Less detail at distance |
| Batching | Combine draw calls |
---
2. Shader Principles
Shader Types
| Type | Purpose |
|------|---------|
| Vertex | Position, normals |
| Fragment/Pixel | Color, lighting |
| Compute | General computation |
When to Write Custom Shaders
- Special effects (water, fire, portals)
- Stylized rendering (toon, sketch)
- Performance optimization
- Unique visual identity
---
3. 3D Physics
Collision Shapes
| Shape | Use Case |
|-------|----------|
| Box | Buildings, crates |
| Sphere | Balls, quick checks |
| Capsule | Characters |
| Mesh | Terrain (expensive) |
Principles
- Simple colliders, complex visuals
- Layer-based filtering
- Raycasting for line-of-sight
---
4. Camera Systems
Camera Types
| Type | Use |
|------|-----|
| Third-person | Action, adventure |
| First-person | Immersive, FPS |
| Isometric | Strategy, RPG |
| Orbital | Inspection, editors |
Camera Feel
- Frame-rate-independent smoothing; test camera collision and teleports
- Collision avoidance
- Look-ahead for movement
- FOV changes for speed
---
5. Lighting
Light Types
| Type | Use |
|------|-----|
| Directional | Sun, moon |
| Point | Lamps, torches |
| Spot | Flashlight, stage |
| Ambient | Base illumination |
Performance Consideration
- Real-time shadows are expensive
- Bake when possible
- Shadow cascades for large worlds
---
6. Level of Detail (LOD)
LOD Strategy
| Distance | Model |
|----------|-------|
| Near | Full detail |
| Medium | Reduced detail based on measured visual error |
| Far | Low-detail mesh or billboard when visually appropriate |
---
7. Anti-Patterns
| ❌ Don't | ✅ Do |
|----------|-------|
| Mesh colliders everywhere | Simple shapes |
| Real-time shadows on mobile | Baked or blob shadows |
| One LOD for all distances | Distance-based LOD |
| Unoptimized shaders | Profile and simplify |
---
> Remember: 3D is about illusion. Create the impression of detail, not the detail itself.
When to Use
Use when implementing or profiling a 3D rendering pipeline, shaders, colliders, cameras, lighting or level-of-detail transitions.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Verification
Treat tables as design starting points, not guarantees. Prototype the selected mechanic, test accessibility and recovery paths, and measure frame timing, memory and behavior on target hardware before claiming completion. Store submission and licensing requirements must be checked against current official platform documentation.
Skill liên quan
- alphagenome – Tra cứu hiệu ứng AlphaGenome Atlas được tính sẵn cho bất kỳ biến thể đơn nucleotide…
- aas-discover – Khám phá kỹ năng AAS cho một tác vụ rõ ràng và so sánh toàn bộ hướng dẫn của chúng mà…
- antinet-four-color-cards – Khi kế toán tài chính và nhà phân tích đầu tư, trợ lý luật sư và trợ lý pháp lý soạn báo…
- apk-redteam-pipeline – Pipeline red-team APK Android đầu cuối — tự động lấy APK (Play Store + apkpure +…
- analytical-method-validation – Lập kế hoạch, thực hiện và ghi chép việc xác nhận, kiểm chứng và chuyển giao các phương…
- accint-commitments – Phân loại các cam kết đang mở của acc và đóng chúng với kết luận thực tế trung thực qua…
- accint-frames – Xử lý hàng đợi suy nghiệm của acc — các brain_frames đang mở/chờ được các lần chạy…
- antinet-provenance – Khi kỹ sư phát triển phần mềm và chuyên viên phân tích an ninh thông tin xây dựng hệ…