Agent Skills: domain-restructure

Use this skill when the user asks to "restructure by domain", "group by feature", "apply screaming architecture", "reorganize the architecture", "move everything into modules per domain", "domain-driven folder structure", "my project is organized by layers and I want it by features", or mentions that their code is layer-first (controllers/, services/, models/ at the top) and wants the structure to scream the business. Also use it with the ultracode trigger for architectural restructuring. It runs a PURE STRUCTURAL refactor (zero functional change): it discovers domains via strategic DDD, classifies them core/supporting/generic, moves files into modules/<domain>/<layer>, and rewrites imports — all inside a dedicated worktree, closing with a single green commit. It is NOT for tactical modeling (entities, aggregates, events) — it only reorganizes where files live.

UncategorizedID: DieGopherLT/claude-kit/domain-restructure

Install this agent skill to your local

pnpm dlx add-skill https://github.com/DieGopherLT/claude-kit/domain-restructure

Skill Files

Browse the full folder contents for domain-restructure.

Download Skill

Loading file tree…

Select a file to preview its contents.