Architecture Patterns
KartikLabhshetwar/better-shot
Deep dive into software architecture for macOS. An agent skill from KartikLabhshetwar/better-shot.
Scans the code a spec touches for its shallowest module, then proposes a refactor that hides more behind a smaller interface without changing behavior.
$ npx skills add JuliusBrussee/cavekit --skill deepen -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install JuliusBrussee/cavekit deepen --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/JuliusBrussee/cavekit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/deepen .claude/skills/deepen && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "deepen" agent skill from https://github.com/JuliusBrussee/cavekit/tree/main/skills/deepen into .claude/skills/deepen/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "deepen", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/JuliusBrussee/cavekit/tree/main/skills/deepenType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add JuliusBrussee/cavekit --skill deepen -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install JuliusBrussee/cavekit deepen --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/JuliusBrussee/cavekit.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/deepen .agents/skills/deepen && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "deepen" agent skill from https://github.com/JuliusBrussee/cavekit/tree/main/skills/deepen into .agents/skills/deepen/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "deepen", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add JuliusBrussee/cavekit --skill deepen -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install JuliusBrussee/cavekit deepen --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/JuliusBrussee/cavekit.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/deepen .cursor/skills/deepen && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "deepen" agent skill from https://github.com/JuliusBrussee/cavekit/tree/main/skills/deepen into .cursor/skills/deepen/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "deepen", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/JuliusBrussee/cavekit.git --path skills/deepen--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add JuliusBrussee/cavekit --skill deepen -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install JuliusBrussee/cavekit deepen --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/JuliusBrussee/cavekit.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/deepen .gemini/skills/deepen && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "deepen" agent skill from https://github.com/JuliusBrussee/cavekit/tree/main/skills/deepen into .gemini/skills/deepen/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "deepen", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install JuliusBrussee/cavekit deepenInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add JuliusBrussee/cavekit --skill deepen -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/JuliusBrussee/cavekit.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/deepen .github/skills/deepen && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "deepen" agent skill from https://github.com/JuliusBrussee/cavekit/tree/main/skills/deepen into .github/skills/deepen/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "deepen", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add JuliusBrussee/cavekit --skill deepen -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install JuliusBrussee/cavekit deepen --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/JuliusBrussee/cavekit.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/deepen .opencode/skills/deepen && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "deepen" agent skill from https://github.com/JuliusBrussee/cavekit/tree/main/skills/deepen into .opencode/skills/deepen/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "deepen", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
deepenScans the code a spec touches for its shallowest module, then proposes a refactor that hides more behind a smaller interface without changing behavior.
This skill runs as an optional pass inside the cavekit plugin for Claude Code, meant for moments when a build is green and you have spare budget rather than a deadline. It scans the modules a spec touches, ranks them by how shallow their interface is compared to the work they do, and settles on the single worst offender to fix in that pass.
Once a target is picked, it names the design defect with a file and line citation, then researches a deeper version of the module by pulling a known pattern or looking at other modules already built well in the codebase. The proposal comes back as edits to the project's spec sections, not a silent rewrite, and the rule is that tests stay green both before and after the change.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 7421e87. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Deepen Module Design loads about 1k tokens when it runs. Until then it costs about 147 tokens; SKILL.md has 519 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from JuliusBrussee/cavekit at commit 7421e87, republished under its MIT licence (© JuliusBrussee). 519 words, ~1,005 tokens.
.claude/skills/deepen/SKILL.md (or your agent's skills folder).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. Moves that deepen:
Draft the change as spec edits, not a silent rewrite:
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.
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.
© JuliusBrussee, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/deepen of JuliusBrussee/cavekit.
Open the folder on GitHubat commit 7421e87
Deepen Module Design next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Deepen Module Design this skillJuliusBrussee/cavekit | 1.2k | — | ~1k | Automated safety check: Pass | MIT | |
| Architecture PatternsKartikLabhshetwar/better-shot | 2.4k | 2 repos | ~1.4k | Automated safety check: Pass | Custom licence | |
| Brooks Audithyhmrright/brooks-lint | 1.5k | 1 repos | ~537 | Automated safety check: Pass | MIT | |
| Birdview ReviewQiuner/birdview | 727 | — | ~580 | Automated safety check: Pass | MIT | |
| Py Rigmudrii/hermesd | 118 | — | ~6.3k | Automated safety check: Pass | MIT | |
| Vanity Engineering Reviewbencium/bencium-marketplace | 446 | — | ~2.4k | Automated safety check: Pass | MIT |
KartikLabhshetwar/better-shot
Deep dive into software architecture for macOS. An agent skill from KartikLabhshetwar/better-shot.
hyhmrright/brooks-lint
Architecture audit that maps module dependencies, checks layering integrity, and flags structural decay across a codebase, drawing on twelve classic engineering books.
Qiuner/birdview
Review and improve codebase architecture with source-backed current/proposed diagrams, tradeoffs and verification.
mudrii/hermesd
A skill your agent uses when building, reviewing, or refactoring Python code that requires strong maintainability discipline: SRP, DRY, OCP, explicit dependency injection, TDD/ATDD workflow, strict…
bencium/bencium-marketplace
Reviews codebases, architectures, PRs, and technical plans for vanity engineering — code and systems built for the developer's ego, resume, or intellectual pleasure rather than delivering user or…
ciembor/agent-rules-books
Apply John Ousterhout-inspired software design rules when reducing complexity, designing module boundaries, or reviewing APIs and abstractions.
JuliusBrussee/cavekit
After a bug is found, traces its root cause and feeds a new testable invariant back into the project spec so the bug class can't recur.
JuliusBrussee/cavekit
Compresses SPEC.md writes and spec-referencing prose into terse, symbol-heavy fragments that drop articles, filler and hedging while keeping facts intact.
JuliusBrussee/cavekit
Read-only detector that compares SPEC.md with the code and reports invariant, interface and task drift grouped by severity, without changing anything.
JuliusBrussee/cavekit
Builds a skeptical reviewer grounded in the codebase and research notes to try to refute a spec before any code is written, citing file:line evidence and ending in a go or no-go gate.
JuliusBrussee/cavekit
Interrogates a vague idea one question at a time, recommending an answer each round and recording results as goals and constraints before a spec is written.
JuliusBrussee/cavekit
Gather external knowledge the spec needs and distill it into §R — the durable research log — so build grounds in facts instead of hallucinating library behavior.
Categories
Scans the code a spec touches for its shallowest module, then proposes a refactor that hides more behind a smaller interface without changing behavior. This skill runs as an optional pass inside the cavekit plugin for Claude Code, meant for moments when a build is green and you have spare budget rather than a deadline. It scans the modules a spec touches, ranks them by how shallow their interface is compared to the work they do, and settles on the single worst offender to fix in that pass.
Deepen Module Design fits situations like: A build is green and there is spare token budget before a deadline; A module's interface feels as complex as writing the code yourself; the same kind of change keeps touching many files across the codebase; you want a design-improvement proposal instead of an unplanned rewrite.
Run `npx skills add JuliusBrussee/cavekit --skill deepen -a claude-code`. Or copy the skill folder (skills/deepen in JuliusBrussee/cavekit) into .claude/skills/deepen in your project. Claude Code loads it when a task matches its description.
Run `npx skills add JuliusBrussee/cavekit --skill deepen -a codex`. Or copy the skill folder (skills/deepen in JuliusBrussee/cavekit) into .agents/skills/deepen in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add JuliusBrussee/cavekit --skill deepen -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/deepen, .gemini/skills/deepen, .github/skills/deepen and .opencode/skills/deepen in your project.
SKILL.md names no scripts, command-line tools or credentials: Deepen Module Design is instructions for the agent only. Our summary lists: The cavekit plugin's spec-driven workflow for Claude Code.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Deepen Module Design is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1k tokens (SKILL.md is roughly 4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Deepen Module Design: Architecture Patterns (KartikLabhshetwar/better-shot, 2.4k stars), Brooks Audit (hyhmrright/brooks-lint, 1.5k stars), Birdview Review (Qiuner/birdview, 727 stars) and Py Rig (mudrii/hermesd, 118 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
JuliusBrussee (a GitHub user) maintains it in JuliusBrussee/cavekit, which has 1,152 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on August 14, 2026.
Source: JuliusBrussee/cavekit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.