Find your next open-source project

Search by name, purpose, or keyword — or paste a GitHub repository URL
All skills

codebase-design

Redesign a module's interface around deep modules, clean seams, and testable surfaces.

When to use it

You have a module whose interface has grown wide and leaky, and you need to decide what to hide and where the seam belongs.

For example

You say

Use codebase-design to reshape my OrderService class: it has 12 public methods and tests reach into its internals. Propose a smaller interface and where the seam should go.

You get
  • Redesigned interface proposal
  • Seam placement decision
  • Test surface recommendation

How it works

  • Applies the deletion test to spot pass-through modules that add no value.
  • Uses depth-as-leverage rather than counting implementation lines against interface lines.