Applies John Ousterhout's software design principles to evaluate module depth, identify information leakage, and reduce architectural complexity.
This skill empowers Claude to act as a high-level software architect by applying the core tenets of John Ousterhout’s 'A Philosophy of Software Design.' It helps developers identify 'shallow' modules that add unnecessary overhead, detect information leakage where implementation details break encapsulation, and flag common design anti-patterns like generic naming or temporal decomposition. By focusing on the formula that Module Value equals Functionality minus Interface Complexity, this skill ensures your codebase remains maintainable and robust during code reviews, architectural planning, and refactoring phases.
Key Features
01Detects information leakage patterns that expose internal data structures or database schemas.
02Provides actionable refactoring advice to hide design decisions and improve encapsulation.
03Identifies architectural 'Red Flags' such as generic naming (Manager/Util) and temporal decomposition.
04Analyzes code for 'pass-through' methods that add indirection without adding semantic value.
05Evaluates module 'depth' by comparing interface simplicity against implementation power.
062 GitHub stars
Use Cases
01Automating the detection of design anti-patterns during the code review process.
02Refactoring legacy systems to consolidate shallow modules and improve encapsulation.
03Conducting high-level architectural reviews of new features to prevent technical debt.