deep-module-refactor
Developer ToolsWalks an agent through collapsing a sprawl of thin, hard-to-test code into a few modules that hand callers a large amount of behaviour for a short list of learned facts. Covers a fact-counting audit before judging any code shallow, a four-way dependency triage that settles where swap points and adapters belong, testing that observes the module exactly as a caller would, diagnosis of tests broken by internal refactors, a human confirmation gate before deleting code or tests, and a parallel exploration pattern for weighing rival interface shapes. Use when the user wants to deepen or redesign a module's interface, place a seam, improve a cluster's testability, or compare candidate designs. Not for UI and visual work, performance tuning, build and CI tooling, dependency upgrades, or framework selection.
- Version
- v1.0.0
- Size
- 16 KB
- Updated
- 2026-10-02
$ skilvault read --manual deep-module-refactorYour client verifies the signature before reading. This explicit manual read is available on every plan. Free automatically loads five chosen skills; paid plans automatically load relevant skills across the library.