What problem does it solve?
This skill addresses the common issue of shallow, tightly coupled code structures that are difficult to test, maintain, and extend. It provides a standardized vocabulary and set of principles to ensure that modules are designed with high leverage and clear seams.
Core Features & Use Cases
- Deep Module Design: Provides a framework to hide complexity behind simple interfaces, ensuring high leverage for callers.
- Seam Identification: Guides the placement of architectural boundaries to allow for behavior changes without invasive edits.
- Testability Assessment: Offers heuristics to evaluate if a module is testable through its interface or if it requires refactoring.
- Use Case: When refactoring a legacy service, use this skill to identify where to place seams and how to simplify interfaces to make the system more navigable and testable.
Quick Start
Apply the pelizzai-codebase-design skill to evaluate the current module interface and suggest improvements for better testability and depth.