deepen
Optional design-improvement pass for when you have spare usage to drain.
Skill by JuliusBrussee
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/juliusbrussee-deepen
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, finance
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/deepen
What's inside
- Skill name
deepen- Description
- 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. Triggers when the user says "deepen this", "improve the design", "this module feels shallow", "pull complexity down", "use spare budget on the codebase", or invokes /ck:deepen. Leans on the codebase-design skill's deep-module vocabulary when present.
- License
- MIT
- Instructions
- 73 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# deepen — make modules deep **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. ## WHEN TO DEEPEN - Build is green, tests pass, & you have token budget spare. - A module's interface feels as complex as its implementation (shallow smell). - The same change keeps touching many files (change amplification). - User explicitly asks to improve design quality. ⊥ run mid-feature or under pressure. Deepen is the deliberate pass, not the reflex. ## FIVE STEPS ### 1. PICK THE SHALLOW Scan the modules the spec touches. Rank by shallowness — interface surface vs work done. Pick the **one** worst offender. Tells: - Pass-through method that only forwards to one other (shallow layer). - Caller must set 5 flags right to use it (config leakage). - Same abstraction repeated at two layers (no information hiding). - A `?` or §B that traces back to a confusing interface. One module per pass. Deepening is surgical, ⊥ a codebase sweep. ### 2. DIAGNOSE 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). ### 3. RESEARCH THE DEEPENING 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. Moves that deepen: - **Pull complexity down** — hide the hard part inside, give callers the simple path. - **Define errors out of existence** — design the interface so the edge can't occur. - **Information hiding** — one decision, one module; callers don't learn it. - **General-purpose interface** over a pile of special-case methods. ### 4. PROPOSE Draft the change as spec edits, not a silent rewrite: - New/simpler §I shape for the module. - §V that locks the deepened invariant so a future build can't re-shallow it. - §T refactor row(s), each citing the §V/§I it serves. Hand to **spec** to write. Show the before/after interface so the user sees the shrink. ### 5. VERIFY BEHAVIOR HELD Refactor ≠ rewrite. Full suite green before you start AND after. A deepening that changes behavior is a feature in disguise — stop, route through `/spec` + `/build`. New interface gets a test proving the old callers still work. ## WHEN TO STOP Done when the chosen module's interface is strictly smaller, its hidden decision no longer leaks, tests are green, and §I/§V record the new shape. One module deepened beats five churned. Budget left → pick the next shallowest, fresh pass. ## BOUNDARIES - ⊥ change behavior. Green before, green after. Pure structure. - ⊥ write SPEC.md. Propose §I/§V/§T; spec writes. - ⊥ deepen more than one module per pass. - ⊥ run under deadline or mid-feature. This is the spare-budget pass. - ⊥ add abstraction for single-use code. A deep module earns its hiding; a speculative one is just more surface.
From JuliusBrussee/cavekit, MIT.
More from JuliusBrussee/cavekit
- 0.719score
spec
JuliusBrussee
Create, amend, or backprop bugs into SPEC.md at repo root.
SkillCFreshness: C★ 1.2KClaude Code +9 - 0.719score
review
JuliusBrussee
Adversarial senior review of the spec before any code is written.
SkillCFreshness: C★ 1.2KClaude Code +9 - 0.719score
grill
JuliusBrussee
Calibrated interrogation of a fuzzy idea before it becomes a spec.
SkillCFreshness: C★ 1.2KClaude Code +9 - 0.719score
build
JuliusBrussee
Plan-then-execute implementation against SPEC.md.
SkillCFreshness: C★ 1.2KClaude Code +9 - 0.719score
check
JuliusBrussee
Read-only drift detector.
SkillCFreshness: C★ 1.2KClaude Code +9 - 0.719score
research
JuliusBrussee
Gather external knowledge the spec needs and distill it into §R — the durable research log — so build grounds in facts instead of hallucinating library…
SkillCFreshness: C★ 1.2KClaude Code +9 - 0.644score
backprop
JuliusBrussee
Bug → spec protocol.
SkillDFreshness: D★ 1.2KClaude Code +9 - 0.644score
caveman
JuliusBrussee
Caveman encoding for SPEC.md and spec-adjacent writes.
SkillDFreshness: D★ 1.2KClaude Code +9
Signals
- Stars
- 1,157
- Forks
- 89
- Open issues
- 12
- Last commit (this folder)
- Jun 18, 2026 (4 months ago)
- Last release
- Apr 18, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/JuliusBrussee/cavekit
- Website
- caveman.so/
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from JuliusBrussee
- 0.888score
caveman-compress
JuliusBrussee
Compress a memory file such as CLAUDE.md or a todo list into caveman format to save input tokens, keeping a readable backup.
SkillAFreshness: A★ 114.8KClaude Code +9 - 0.885score
caveman-learn
JuliusBrussee
Act on a Caveman learn report - review the ranked token sinks, apply cost-lowering fixes with per-edit consent, and report what those fixes returned.
SkillAFreshness: A★ 114.8KClaude Code +9 - 0.885score
caveman-optimize
JuliusBrussee
Turn a Caveman optimization observation into an operator-chosen candidate with a paired baseline evaluation.
SkillAFreshness: A★ 114.8KClaude Code +9 - 0.885score
caveman-evidence-review
JuliusBrussee
Read-only review of Caveman Cloud evidence: cost, Cave Score, workflows, traces, latency, errors, routing, savings.
SkillAFreshness: A★ 114.8KClaude Code +9 - 0.885score
caveman-manage
JuliusBrussee
Inspect Caveman Cloud's experiment lifecycle and block unsafe execution.
SkillAFreshness: A★ 114.8KClaude Code +9 - 0.882score
caveman-review
JuliusBrussee
Compressed code review - one line per finding with location, problem and fix.
SkillAFreshness: A★ 114.8KClaude Code +9
Cite this page
deepen skill. Agent Mart. https://agentmart.dev/skills/juliusbrussee-deepen (last updated 2026-10-24)