Skip to main content
Run any Skill in Manus
with one click

due-framework

Stars75
Forks5
UpdatedMay 19, 2026 at 07:29

本项目基于 `github.com/dobyte/due/v2` 分布式游戏服务器框架(v2.5.x)。 **使用场景:** - 编写或修改 Gate(网关)、Node(节点)、Mesh(微服务)相关代码 - 处理 WebSocket 连接管理、消息路由、会话绑定 - 实现 Actor 模型状态机、牌桌逻辑、游戏模块 - 配置服务发现(etcd/Consul/Nacos)、事件总线(NATS/Redis) - 使用 due 内置组件(日志、缓存、配置中心、分布式锁、传输器) - 处理 Protobuf 消息序列化、自定义路由、心跳机制 - 管理 Container 生命周期、组件组装与服务注册 **必须调用本技能的情况:** 任何涉及 due 框架 API(`due.NewContainer`、`gate.NewGate`、`node.NewNode`、`mesh.NewMesh`、`node.Context`、`proxy.Router()`、`AddRouteHandler`、`AddServiceProvider`、`GetServiceClient` 等)的开发、调试或重构任务。

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
7 files
SKILL.md
readonly