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".

Jump to install

Source facts

Repository
safe-global/safe-client-gateway
Last source activity
August 7, 2026 at 12:46
Detected SKILL.md language
English
Stars
50
Forks
102

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.