Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Find deepening opportunities in a codebase, informed by the domain language in CONTEXT.md and the decisions in docs/adr/. Use when the user wants to improve architecture, find refactoring opportunities, consolidate tightly-coupled modules, or make a codebase more testable and AI-navigable.
.claude/skills/stevesolun-improve-codebase-architecture/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-22 | ✗→✓ | ▲ Improved | -51% | 0% |
| case-04 | ✓→✗ | ▼ Worse | -13% | 0% |
| case-05 | ✓→✗ | ▼ Worse | -48% | 0% |
| case-20 | ✓→✗ | ▼ Worse | -68% | 0% |
| case-14 | ✓→✗ | ▼ Worse | -67% | 0% |
Look for architectural friction that a focused structural change could reduce. Favor improvements that shrink interfaces, concentrate related complexity, and make important behavior easier to test and understand.
Follow the user's named subsystem or pain point. Otherwise use recent changes, repeated maintenance friction, test difficulty, or dependency structure to select a useful area. Read relevant domain language and ADRs when present so recommendations respect intentional boundaries.
Use the codebase-design skill when its deep-module vocabulary will sharpen the analysis. Explore independently in parallel only when the repository is large enough to benefit and the lanes do not duplicate work.
Consider:
Treat these as prompts for investigation, not violations. Apply the deletion test where useful: would removing a layer concentrate complexity behind a better interface, or merely move it elsewhere?
For each material candidate, cite the affected code and explain:
Rank recommendations by evidence and likely leverage. Keep speculative ideas clearly labeled and avoid proposing a wide refactor solely for aesthetic consistency.
Use prose, a compact table, or diagrams according to what best communicates the relationships. When a visual HTML artifact is useful and authorized, load the HTML report guide.
Explore a selected candidate further only when the user requests it or the current task includes design. Update domain records or ADRs only when those artifacts are in scope and the decision is durable enough to justify them.
Other measured skills in the registry, with their headline benchmark lift.