Provides DGame Unity project development guidance. Covers architecture, UI, events, and asset workflows.

Install

mkdir -p .claude/skills/dgame-dev && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/18308" && unzip -o skill.zip -d .claude/skills/dgame-dev && rm skill.zip

Installs to .claude/skills/dgame-dev

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

DGame Unity 项目开发指导。触发词:DGame, GameModule, UIWindow, UIWidget, UIModule, AddUIEvent, GameEvent, GameEventDriver, EEventGroup, LoadAssetAsync, LoadGameObjectAsync, SetSprite, ConfigSystem, HybridCLR, YooAsset, Luban, RedDotModule, CoplayDev unity-mcp, MCP, 热更, 资源加载, UI开发, 事件系统, 模块架构
281 charsno explicit “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Intermediate

Key capabilities

  • Provide DGame specific AI refined reference documentation
  • Describe actual API, directory, and placement rules
  • Enforce layered placement for runtime, editor tools, and hotfix gameplay
  • Guide module access through GameLogic.GameModule.XXX
  • Prioritize UniTask for time-consuming operations

How it works

The skill provides AI-refined documentation for DGame development, focusing on specific API usage, directory structures, and rules for layering, module access, asynchronous operations, resource lifecycles, and event decoupling.

Inputs & outputs

You give it
a DGame development task
You get back
guidance based on DGame's specific API, directory, and rules

When to use dgame-dev

  • Building UI systems
  • Implementing game events
  • Loading game assets

About this skill

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 业务代码如何消费配置。

文档路由

根据任务类型,读取对应的 reference 文档:

任务类型必读文档进阶文档优先级
UI 开发ui-lifecycle.mdui-patterns.mdP0
事件系统event-system.mdevent-antipatterns.mdP0
资源加载resource-api.mdresource-patterns.mdP0
热更资源包hotpatch-workflow.mdresource-api.mdP0
构建打包build-pipeline.mdhotfix-workflow.mdP1
模块使用modules.mdP0
热更代码hotfix-workflow.mdP1
代码规范naming-rules.mdP1
Luban 配置luban-config.mdluban-devP1
红点系统reddot-system.mdui-patterns.mdP1
项目结构architecture.mdP2
问题排查troubleshooting.mdP2
MCP 场景/GO/UI/脚本/Editormcp-tools.mdP1
MCP 材质/Shader/动画/VFXmcp-visual.mdP2

使用原则

  • 先读与任务直接相关的 reference,不要一次性加载全部文档。
  • 如果 reference 与源码冲突,使用 rg 搜索实际签名,优先信任源码,并在回复中标注冲突点。
  • 修改配置表、__tables__.xlsx__beans__.xlsx__enums__.xlsx、导表脚本或 GameConfig/ 数据时,先使用 luban-dev
  • 生成 UI 代码时匹配本仓库实际生命周期:ScriptGeneratorBindMemberPropertyRegisterEventOnCreateOnRefreshOnDestroy
  • 资源地址通常等于 GameUnity/Assets/BundleAssets 下资源文件名,不含路径和扩展名;改动前用实际资源和 YooAsset 设置验证。

When not to use it

  • When the task involves modifying configuration tables, Excel files, or export scripts, which should use `luban-dev`
  • When the reference documentation conflicts with source code, in which case source code is preferred
  • When the task is not directly related to DGame development

Limitations

  • The skill only supplements DGame business code for consuming configurations, not modifying them.
  • The skill prioritizes source code over reference documentation in case of conflict.
  • The skill does not generate UI code but matches existing lifecycle methods.

How it compares

This skill offers specialized, AI-refined documentation tailored to DGame's specific architecture and tools like HybridCLR, YooAsset, and UniTask, unlike generic Unity development guides.

Compared to similar skills

dgame-dev side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
dgame-dev (this skill)020dNo flagsIntermediate
unity-developer1423moNo flagsAdvanced
tauri7617dReviewAdvanced
telegram-mini-app626moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

unity-developer

sickn33

Build Unity games with optimized C# scripts, efficient rendering, and proper asset management. Masters Unity 6 LTS, URP/HDRP pipelines, and cross-platform deployment. Handles gameplay systems, UI implementation, and platform optimization. Use PROACTIVELY for Unity performance issues, game mechanics, or cross-platform builds.

142357

tauri

EpicenterHQ

Tauri path handling, cross-platform file operations, and API usage. Use when working with file paths in Tauri frontend code, accessing filesystem APIs, or handling platform differences in desktop apps.

76185

telegram-mini-app

davila7

Expert in building Telegram Mini Apps (TWA) - web apps that run inside Telegram with native-like experience. Covers the TON ecosystem, Telegram Web App API, payments, user authentication, and building viral mini apps that monetize. Use when: telegram mini app, TWA, telegram web app, TON app, mini app.

62163

shopify-development

davila7

Build Shopify apps, extensions, themes using GraphQL Admin API, Shopify CLI, Polaris UI, and Liquid. TRIGGER: "shopify", "shopify app", "checkout extension", "admin extension", "POS extension", "shopify theme", "liquid template", "polaris", "shopify graphql", "shopify webhook", "shopify billing", "app subscription", "metafields", "shopify functions"

1299

nextjs-supabase-auth

davila7

Expert integration of Supabase Auth with Next.js App Router Use when: supabase auth next, authentication next.js, login supabase, auth middleware, protected route.

1259

nuxt

antfu

Nuxt full-stack Vue framework with SSR, auto-imports, and file-based routing. Use when working with Nuxt apps, server routes, useFetch, middleware, or hybrid rendering.

1950

Search skills

Search the agent skills registry