Рефакторинг архитектуры по принципу глубоких модулей

★ 6.6 · engineering

deep-module-refactor is a Claude Code skill that explores a codebase to surface architectural friction and propose module-deepening refactors based on John Ousterhout's principle from "A Philosophy of Software Design": a small interface hiding a large implementation. Rather than following rigid heuristics, it navigates the project organically, identifying shallow modules, tightly-coupled clusters, and hard-to-test areas, then presents a numbered list of consolidation candidates. For the chosen candidate, it spawns 3+ parallel sub-agents, each designing a radically different interface — minimal, flexible, caller-optimized, or ports-and-adapters-based — compares the results in prose, and gives an opinionated recommendation. The skill finalizes by automatically filing a refactor RFC as a GitHub issue via `gh issue create`. Ideal for teams looking to improve testability, AI navigability, and reduce integration risk at module seams.