dgame-dev SKILL.md skillA

dgame-dev from amanidawn/dgame is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add amanidawn/dgame/dgame-dev@git:20261011.7d175a8

Pins git:20261011.7d175a8 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
amanidawn/dgame
Path
.agents/skills/dgame-dev/SKILL.md
Versions recorded
2
Latest version
git:20261011.7d175a8, committed Oct 11, 2026
First version recorded
Sep 25, 2026
Size
5,043 bytes
Repository stars
178
License
MIT

DGame Unity 项目开发指导。触发词:DGame, GameModule, UIWindow, UIWidget, UIModule, AddUIEvent, GameEvent, GameEventDriver, EEventGroup, LoadAssetAsync, LoadGameObjectAsync, SetSprite, ConfigSystem, HybridCLR, YooAsset, Luban, RedDotModule, 热更, 资源加载, UI开发, 事件系统, 模块架构.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# DGame 开发指导

DGame 使用 HybridCLR + YooAsset + UniTask + Luban 构建。
本 skill 提供 DGame 专属的 AI 精炼说明,优先描述本仓库实际 API、目录和落位规则。

## 核心红线

1. **分层落位**:框架运行时放 `GameUnity/Assets/DGame/Runtime`,编辑器工具放 `GameUnity/Assets/DGame/Editor`,热更玩法放 `GameUnity/Assets/Scripts/HotFix/GameLogic`。热更边界:`DGame.Runtime`/`DGame.AOT` 不热更,`Scripts/HotFix/*` 全部热更。
2. **模块访问**:业务代码优先通过 `GameLogic.GameModule.XXX` 访问模块,不在业务层散落 `ModuleSystem.GetModule<T>()`。
3. **异步优先**:IO、资源、场景等耗时操作优先使用 `UniTask`,不要新增 Coroutine 工作流。
4. **资源生命周期成对**:非实例化资源用 `LoadAssetAsync/LoadAsset` 后按持有关系 `UnloadAsset`;GameObject 实例用 `LoadGameObjectAsync/LoadGameObject`,销毁实例时资源模块自动回收引用。
5. **事件解耦**:UI 内部监听用 `UIBase.AddUIEvent` 自动清理;跨模块事件用 `[EventInterface(EEventGroup...)]`、`GameEvent.Get<T>()` 或 `GameEvent.AddEventListener`。
6. **配置表边界**:配置表结构、Excel、导表脚本优先使用 `luban-dev`;本 skill 只补充 DGame 业务代码如何消费配置。

## 防止误用的例外与优先级

- **模块访问分层**:`GameLogic` 业务代码优先通过 `GameModule.XXX`;`DGame.Runtime` 框架内部、编辑器代码、`GameModule` 的初始化桥接代码允许直接使用 `ModuleSystem.GetModule<T>()`,不要为了机械遵守规则改动这些底层代码。
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add amanidawn/dgame/dgame-dev@sha256:21fae16823b1856d

The line at the top of this page pins the label git:20261011.7d175a8, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_w35cshvfzr4ojx32.svg)](https://markdownregistry.com/a/art_w35cshvfzr4ojx32)

0 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Sep 25, 2026 and Oct 11, 2026, about one every 16 days.

versioncommittedcommitsizeaudit
git:20261011.7d175a8 latest2026-10-11 7d175a8 5,043 BA view · diff
git:20260925.da519a12026-09-25 da519a1 5,048 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (5043 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

amanidawn/dgame · 178 stars · license MIT · pushed 2026-11-08 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_w35cshvfzr4ojx32
GET https://markdownregistry.com/api/v1/resolve?ref=amanidawn/dgame/dgame-dev
GET https://markdownregistry.com/api/v1/blob/21fae16823b1856d353037a0a9feb74d4a226917ab5ecb80e0355f9622a2ecef

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from amanidawn/dgame

luban-dev SKILL.md skill
amanidawn/dgame · .agents/skills/luban-dev/SKILL.md · DGame Luban 配置开发与排错。用于 GameConfig 数据、表结构、Bean/Enum、校验规则、自定义模板、导表脚本及 ConfigSystem/ConfigMgr 消费链路,也用于本项目官方 Agent CLI 和…
git:20261107.f1eeee0 · audit A · 178 stars
skill-creator SKILL.md skill
amanidawn/dgame · .agents/skills/skill-creator/SKILL.md · Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an…
git:20260925.da519a1 · audit A · 178 stars
unity-cli SKILL.md skill
amanidawn/dgame · .agents/skills/unity-cli/SKILL.md · 使用本项目 Unity CLI 查询和验证 Editor/Development Player,操作场景、Prefab、组件和资源数据库,执行编译、测试和构建预检。涉及实际 Unity 状态、CLI…
git:20261105.055f7fb · audit A · 178 stars
AGENTS.md AGENTS.md file
amanidawn/dgame · AGENTS.md
git:20261026.2bd68ee · audit A · 178 stars
CLAUDE.md CLAUDE.md file
amanidawn/dgame · CLAUDE.md
git:20260925.da519a1 · audit A · 178 stars
AGENTS.md@GameUnity AGENTS.md file
amanidawn/dgame · GameUnity/AGENTS.md
git:20261105.055f7fb · audit A · 178 stars
CLAUDE.md@GameUnity CLAUDE.md file
amanidawn/dgame · GameUnity/CLAUDE.md
git:20260925.da519a1 · audit A · 178 stars

Every file in amanidawn/dgame

Browse by kind, by grade A, or by owner.