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.
Install this agent skill to your local
Skill Files
Browse the full folder contents for domain-restructure.
Loading file tree…
Select a file to preview its contents.