Skip to main content

cgw-module-structure

Use when creating a new module in safe-client-gateway, moving or renaming files, naming a file or a class, versioning a controller, or wiring Symbol-based DI. Covers the canonical module skeleton (module file plus domain/ mandatory, routes/ only with endpoints, datasources/ only with an owned API), the naming table, the one sanctioned controller-versioning style, the Symbol-DI recipe, the import-other-modules-via-domain-only rule, the frozen legacy trees (src/routes/, src/domain/, src/datasources/), the deviant modules not to imitate, and the new-module checklist. Triggers on "new module", "where do I put this file", "rename", "move", "naming convention", "controller version", "v2 endpoint", "Symbol DI".

跳到安装

来源信息

仓库
safe-global/safe-client-gateway
最近来源活动
2026年8月7日 12:46
检测到的 SKILL.md 语言
英语
星标
50
分支
102

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。