Install any skill in seconds. Free to start, no credit card required.
Get Started Free →juliusbrussee/deepen
Optional design-improvement pass for when you have spare usage to drain. Finds the shallowest modules in the code the spec touches, researches a deeper design, and proposes refactors that shrink interfaces and hide decisions — behavior held constant, tests green before and after. Proposes §I/§V/§T edits, never silent rewrites.
Passed 22 of 25 test cases with the skill, and 10 of 25 without it.
and 15 more in the full report
12 fixed10 passed either way3 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 12 test cases the skill fixed. Same model, same prompt, with and without the skill.
In `src/queue/worker.go`, the task queue interface is shallow and exposes internal worker thread pool counts. We are unsure how to reshape it. What step should be taken before drafting spec edit proposals?
| Checked | Without skill | With skill |
|---|---|---|
| Recommends researching deep interface patterns before drafting spec edits. | Missed | Passed |
The instructions your model reads when the skill loads.
Behavior is sacred: tests green before AND after. Every change shrinks an interface or hides a decision — deepen, don't churn.
A deep module hides a lot behind a small interface; a shallow one's interface costs as much to use as writing the code yourself. Complexity = dependencies + obscurity, and it compounds. Deepen spends spare usage paying that down before it becomes a §B. Run it when the build is green & you have budget to drain — not under deadline.
⊥ run mid-feature or under pressure. Deepen is the deliberate pass, not the reflex.
Scan the modules the spec touches. Rank by shallowness — interface surface vs work done. Pick the one worst offender. Tells:
? or §B that traces back to a confusing interface.One module per pass. Deepening is surgical, ⊥ a codebase sweep.
Name the design defect in caveman, citing file:line:
src/auth/token.go: 6-arg ctor leaks rotation policy to every caller. shallow. Complexity is real only if it shows: change amplification, high cognitive load, or an unknown-unknown (caller must know a hidden fact to call it right).
What does a deeper version look like? Pull a known pattern (hand to research for the external case → §R) or derive from the codebase's own better modules.
test cases passed, vs 10 / 25 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.