Install any skill in seconds. Free to start, no credit card required.
Get Started Free →zebbern/deep-module-refactor
Explore a codebase to find opportunities for architectural improvement, focusing on making the codebase more testable by deepening shallow modules.
3 of 22 test cases passed with the skill.
Tokens, turns and time describe resource use, not a dollar price.
Lift withheld: 3 comparable cases; this report requires 8.
A test case the skill fixed. Same model, same prompt, with and without the skill.
Explain what happens to our existing unit tests when we merge five shallow utility files into a single deep user-authentication module.
| Checked | Without skill | With skill |
|---|---|---|
| The response specifies that internal function unit tests are replaced by module boundary integration tests. | Missed | Passed |
The instructions your model reads when the skill loads.
Explore a codebase like an AI would, surface architectural friction, discover opportunities for improving testability, and propose module-deepening refactors as GitHub issue RFCs.
A deep module (John Ousterhout, "A Philosophy of Software Design") has a small interface hiding a large implementation. Deep modules are more testable, more AI-navigable, and let you test at the boundary instead of inside.
Use the Agent tool with subagent_type=Explore to navigate the codebase naturally. Do NOT follow rigid heuristics — explore organically and note where you experience friction:
The friction you encounter IS the signal.
Present a numbered list of deepening opportunities. For each candidate, show:
Do NOT propose interfaces yet. Ask the user: "Which of these would you like to explore?"
Before spawning sub-agents, write a user-facing explanation of the problem space for the chosen candidate:
test cases passed with the skill
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.