Improve Codebase Architecture analyzes a repository to locate shallow modules and surface opportunities to “deepen” them into small, stable interfaces that…
Improve Codebase Architecture analyzes a repository to locate shallow modules and surface opportunities to “deepen” them into small, stable interfaces that hide large implementations. It uses subagents to explore the codebase organically, applying friction heuristics (excess file-hopping, interfaces as complex as implementations, pure-function façade issues, and tight seam coupling). The skill presents 3–5 candidate clusters of coupled files (without proposing interfaces) so the user can pick a focus. For a selected candidate it spawns parallel subagents to produce three radically different interface designs that trade off complexity, testability, and caller convenience, then recommends a strongest design or hybrid. After approval it generates a GitHub issue RFC describing current state, proposed interface, migration path, and affected files. Includes a handoff protocol to persist progress to working/ for high-context transfers.
Esta página faz parte do hub OpenClaw Skills com guias de instalação, navegação por categorias e links práticos.