Skip to content

improve-codebase-architecture

Analyze codebases for architectural friction and propose module-deepening refactors as testability improvements.

— (0 ratings) 1.3M downloads mattpocock
$ npx skills add https://github.com/mattpocock/skills --skill improve-codebase-architecture

Skills can run code on your computer. Review the source before installing. This listing is community-made and isn't affiliated with Anthropic.

About this skill

Summary

Analyze codebases for architectural friction and propose module-deepening refactors as testability improvements.

  • Explores codebases organically to surface shallow modules, tightly-coupled components, and untested seams rather than following rigid heuristics
  • Applies John Ousterhout's "deep module" principle: small interfaces hiding large implementations for better testability and AI navigability
  • Generates multiple radically different interface designs (minimalist, flexible, caller-optimized, ports & adapters) via parallel sub-agents, then recommends the strongest approach
  • Creates GitHub issue RFCs documenting the problem space, design trade-offs, and refactoring rationale

$3d


Installs: 1.3M | GitHub stars: 334.7K | First seen: Mar 13, 2026

Related skills

New

Coding & dev tools

hyperframes-cli

CLI toolkit for scaffolding, validating, previewing, and rendering HyperFrames video compositions.

New • 1.8M
New

Coding & dev tools

tdd

Test-driven development with vertical slices, behavior-focused tests, and incremental red-green-refactor cycles.

New • 1.3M
New

Coding & dev tools

prototype

Throwaway code that answers a single design or logic question through an interactive prototype.

New • 1.1M