Borrowing it
Nothing to install: this file belongs to AmaniDawn/DGame. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/AmaniDawn/DGame/main/.agents/skills/dgame-dev/SKILL.mdgit clone --depth 1 https://github.com/AmaniDawn/DGameWrote 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.
[](https://agentmods.dev/skills/amanidawn/dgame/dgame-dev)<a href="https://agentmods.dev/skills/amanidawn/dgame/dgame-dev"><img src="https://agentmods.dev/badge/skills/amanidawn/dgame/dgame-dev/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.
<a href="https://agentmods.dev/skills/amanidawn/dgame/dgame-dev"><img src="https://agentmods.dev/badge/skills/amanidawn/dgame/dgame-dev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00092 | $0.01425 |
| Opus 5.5 | $0.00037 | $0.00570 |
| Sonnet 5.5 | $0.00018 | $0.00285 |
| Haiku 4.5 | $0.00009 | $0.00143 |
Grade A, and why
dgame-dev 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 18d 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.
How it starts
The opening of the file, as written. The whole thing — 54 lines — stays where its author put it; the contents beside it link to each section on GitHub.
DGame 开发指导
DGame 使用 HybridCLR + YooAsset + UniTask + Luban 构建。 本 skill 提供 DGame 专属的 AI 精炼说明,优先描述本仓库实际 API、目录和落位规则。
核心红线
- 分层落位:框架运行时放
GameUnity/Assets/DGame/Runtime,编辑器工具放GameUnity/Assets/DGame/Editor,热更玩法放GameUnity/Assets/Scripts/HotFix/GameLogic。热更边界:DGame.Runtime/DGame.AOT不热更,Scripts/HotFix/*全部热更。 - 模块访问:业务代码优先通过
GameLogic.GameModule.XXX访问模块,不在业务层散落ModuleSystem.GetModule<T>()。 - 异步优先:IO、资源、场景等耗时操作优先使用
UniTask,不要新增 Coroutine 工作流。 - 资源生命周期成对:非实例化资源用
LoadAssetAsync/LoadAsset后按持有关系UnloadAsset;GameObject 实例用LoadGameObjectAsync/LoadGameObject,销毁实例时资源模块自动回收引用。 - 事件解耦:UI 内部监听用
UIBase.AddUIEvent自动清理;跨模块事件用[EventInterface(EEventGroup...)]、GameEvent.Get<T>()或GameEvent.AddEventListener。 - 配置表边界:配置表结构、Excel、导表脚本优先使用
luban-dev;本 skill 只补充 DGame 业务代码如何消费配置。
防止误用的例外与优先级
- 模块访问分层:
GameLogic业务代码优先通过GameModule.XXX;DGame.Runtime框架内部、编辑器代码、GameModule的初始化桥接代码允许直接使用ModuleSystem.GetModule<T>(),不要为了机械遵守规则改动这些底层代码。 - 事件监听:UIWindow/UIWidget 在
RegisterEvent中使用AddUIEvent;非 UI 模块对带[EventInterface]的接口优先使用生成的GameEventHelper.AddEvent.Xxx.Xxx/GameEventHelper.RemoveEvent.Xxx.Xxx。只有没有生成门面或框架底层场景才直接调用GameEvent.AddEventListener/RemoveEventListener。IUIController不是UIBase,也必须按非 UI 生命周期处理,成对注册和移除。 - 资源例外:业务热更资源优先走
GameModule.ResourceModule;UIWindow.FromResources、AOT 的 Obfuz 密钥、框架音频混音器等已存在的Resources.Load路径属于框架例外,修改前先核对调用层,不要全局替换。 - 生成产物:Luban 的
GameProto/LubanConfig、事件/模块/输入等 Source Generator 产物不要手改;先修改 schema、接口或生成器源码,再重新生成并检查 Unity 编译。
文档路由
根据任务类型,读取对应的 reference 文档:
| 任务类型 | 必读文档 | 进阶文档 | 优先级 |
|---|---|---|---|
| UI 开发 | ui-lifecycle.md | ui-patterns.md | P0 |
| 事件系统 | event-system.md | event-antipatterns.md | P0 |
| 资源加载 | resource-api.md | resource-patterns.md | P0 |
| 热更资源包 | hotpatch-workflow.md | resource-api.md | P0 |
| 构建打包 | build-pipeline.md | hotfix-workflow.md | P1 |
| 模块使用 | modules.md | — | P0 |
| 热更代码 | hotfix-workflow.md | — | P1 |
| 代码规范 | naming-rules.md | — | P1 |
| Luban 配置 | luban-config.md | luban-dev |
P1 |
| Unity CLI / MCP | unity-cli | - | P1 |
| 红点系统 | reddot-system.md | ui-patterns.md | P1 |
| 项目结构 | architecture.md | — | P2 |
| 问题排查 | troubleshooting.md | — | P2 |
What ships with it
18 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- agents/openai.yaml 243 B
- evals/evals.json 9.7 KB
- evals/README.md 2.3 KB
- references/architecture.md 9.0 KB
- references/build-pipeline.md 9.0 KB
- references/event-antipatterns.md 8.3 KB
- references/event-system.md 10 KB
- references/hotfix-workflow.md 7.8 KB
- references/hotpatch-workflow.md 4.6 KB
- references/luban-config.md 5.0 KB
- references/modules.md 12 KB
- references/naming-rules.md 11 KB
- references/reddot-system.md 2.9 KB
- references/resource-api.md 11 KB
- references/resource-patterns.md 11 KB
- references/troubleshooting.md 12 KB
- references/ui-lifecycle.md 8.2 KB
- references/ui-patterns.md 8.2 KB
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.
- 18d ago Changed 21fae16823b1
- 1mo ago Changed · -1 lines · -9 tokens per session 5adf183f239c
- 1mo ago Changed · +7 lines bf3d30f179ae
- 2mo ago First seen · 48 lines · 101 tokens per session scan A 2b7bd96c9616
dgame-dev is a skill published in the GitHub repository AmaniDawn/DGame (177 stars, last pushed 3d ago), licensed MIT. It adds 92 tokens to every session and 1,425 once invoked, about $0.0004 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-30.
Other skills, from other repositories
playtest-report
Structured playtest report template, or turn existing playtest notes into structured feedback.
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…
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.
unity-addressables
Manage Addressables groups, entries, profiles and content builds (com.unity.addressables, reflection-based).
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.
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.