Ling: Skill for Claude Code

.agents/skills/game-development/3d-games/SKILL.md

3d-games is a skill for Claude Code from MisonL/Ling. It costs 32 tokens per session (970 once invoked), scanned A, original, MIT.

A guide to building 3D game systems, including how geometry becomes screen pixels, how shaders control appearance, how objects collide, and how cameras and lights work.

In plain words
What is it for?
Use it to plan rendering, write custom visual effects, choose collision shapes, design camera behavior, and structure lighting for a 3D game.
Why use it?
It helps explain the main technical choices behind a 3D game and ways to reduce unnecessary rendering work. It also separates simple collision shapes from detailed visual models.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: installed under .agents/ (shared by several agents).

This is MisonL/Ling's own configuration. It tells Claude Code how to work on Ling itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Ling configures →

Reuse

Borrowing it

Nothing to install: this file belongs to MisonL/Ling. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/MisonL/Ling/main/.agents/skills/game-development/3d-games/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/MisonL/Ling

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for 3d-games

README.md
[![agentmods](https://agentmods.dev/badge/skills/misonl/ling/3d-games/github.svg)](https://agentmods.dev/skills/misonl/ling/3d-games)
Your own site
<a href="https://agentmods.dev/skills/misonl/ling/3d-games"><img src="https://agentmods.dev/badge/skills/misonl/ling/3d-games/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for 3d-games

Your own site · 80×15
<a href="https://agentmods.dev/skills/misonl/ling/3d-games"><img src="https://agentmods.dev/badge/skills/misonl/ling/3d-games.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 970 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00032 $0.00970
Opus 5.5 $0.00013 $0.00388
Sonnet 5.5 $0.00006 $0.00194
Haiku 4.5 $0.00003 $0.00097

Measured 1mo ago against content hash 04e61f5a2e98, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

3d-games scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/game-development/3d-games/SKILL.md · 136 lines

What it actually says

3D 游戏开发

3D 游戏系统的原则。


1. 渲染管线(Rendering Pipeline)

阶段

1. Vertex Processing -> Transform geometry
2. Rasterization -> Convert to pixels
3. Fragment Processing -> Color pixels
4. Output -> To screen

优化原则

技术 用途
视锥裁剪(Frustum culling) 不渲染屏幕外区域
遮挡裁剪(Occlusion culling) 不渲染被遮挡部分
LOD(Level of Detail) 距离远时降低细节
批处理(Batching) 合并绘制调用

2. 着色器原则(Shader Principles)

着色器类型

类型 用途
顶点(Vertex) 位置、法线
片元/像素(Fragment/Pixel) 颜色、光照
计算(Compute) 通用计算

何时编写自定义着色器

  • 特效(水、火、传送门)
  • 风格化渲染(Toon、Sketch)
  • 性能优化
  • 独特视觉风格

3. 3D 物理(3D Physics)

碰撞体形状

形状 使用场景
盒体(Box) 建筑、箱体
球体(Sphere) 球、快速检测
胶囊体(Capsule) 角色
网格(Mesh) 地形(成本高)

原则

  • 碰撞体用简单形状,视觉用复杂模型
  • 分层过滤(Layer-based filtering)
  • 视线检测用射线(Raycasting)

4. 相机系统(Camera Systems)

相机类型

类型 用途
第三人称(Third-person) 动作、冒险
第一人称(First-person) 沉浸、FPS
等距(Isometric) 策略、RPG
轨道(Orbital) 检视、编辑器

相机手感

  • 平滑跟随(lerp)
  • 碰撞回避(Collision avoidance)
  • 运动前瞻(Look-ahead)
  • 用 FOV 变化体现速度

5. 光照(Lighting)

光源类型

类型 用途
方向光(Directional) 太阳、月亮
点光(Point) 灯、火把
聚光(Spot) 手电、舞台
环境光(Ambient) 基础照明

性能考量

  • 实时阴影开销大
  • 尽量烘焙(Bake)
  • 大场景用级联阴影(Shadow cascades)

6. 细节层级(LOD)

LOD 策略

距离 模型
近 全细节
中 50% 三角形
远 25% 或看板(billboard)

7. 反模式(Anti-Patterns)

[FAIL] 不要 [OK] 要做
到处使用网格碰撞体(Mesh colliders) 使用简单形状
移动端全开实时阴影 选择烘焙或投影(Blob)阴影
所有距离只用一个 LOD 按距离分级 LOD
未优化的着色器 性能分析(Profiling)后简化

提示: 3D 追求的是错觉,营造细节的印象,而非细节本身。

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 136 lines · 32 tokens per session scan A 04e61f5a2e98

Subscribe to this mod's changes

3d-games is a skill published in the GitHub repository MisonL/Ling (8 stars, last pushed 7mo ago), licensed MIT. It adds 32 tokens to every session and 970 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

playtest-report

Structured playtest report template, or turn existing playtest notes into structured feedback.

Donchitos/Claude-Code-Game-Studios · 20 tokens

godot-signals-groups

Build event-driven, decoupled Godot 4.7 gameplay with signals and node groups: declare and emit custom signals, connect with Callables (incl. bind/one-shot), and broadcast to many nodes via groups and callgroup. Use when wiring node communication in a Godot project, replacing tight references with signals…

gamedev-skills/awesome-gamedev-agent-skills · 95 tokens

motion

Reconstruct a skeleton from calibrated mesh projections and sequential VLM joint annotations, then fit joints and skin weights. Generate motion from joint-position trajectories, rhythm and contact constraints through IK; refine bone orientation against the action, then export, retarget and validate on the target mesh.

OpenDCAI/GameFactory-3A · 0 tokens

unity-addressables

Manage Addressables groups, entries, profiles and content builds (com.unity.addressables, reflection-based).

Besty0728/Unity-Skills · 25 tokens

unity-manual-component

Manually add, configure, reorder, and copy components on GameObjects using Unity Editor UI. For one-off Inspector workflows that do not need REST automation.

Besty0728/Unity-Skills · 36 tokens

threejs-exposure-color-grading

Build a measured exposure and grading path in Three.js. Use for a 64x36 encoded luminance meter, asynchronous readback, weighted log-average exposure, asymmetric adaptation, single tone-map ownership, and a generated 32-cube post-tone-map LUT.

scottstts/Threejs-Awesome-Graphics-Agent-Skills · 60 tokens