Rust Decompose

Structure Rust code into cohesive modules and functions. Use when writing new Rust feature code, adding a module or a non-trivial function, deciding how to organize a file, splitting a god-file into a directory module, breaking a long function into an orchestrator plus phase functions, keeping an owned resource (transaction, lock, accumulator) from leaking across boundaries, or reviewing module/function structure. Apply while writing, not only when refactoring. Architecture-agnostic — any Rust code, hexagonal or not.

jrollin Updated 1 repo stars

File contents

jrollin/claudio commit a62520c3a7

Frequently asked questions

npx get-skill add jrollin/rust-decompose