This skill serves as a sophisticated code review lens focused on the philosophy of 'pulling complexity down.' Based on the principle that complexity in an implementation is paid once while complexity in an interface is paid by every caller, it helps developers identify when modules are pushing decisions upward unnecessarily. By analyzing configuration parameters, error handling requirements, and initialization logic, the skill provides actionable recommendations to create cleaner, more intuitive APIs that handle difficult tasks internally rather than delegating them to the user.
主要功能
01Detects shallow wrapper patterns and unnecessary decorator complexity
02Applies the 'Three AND' test to identify and eliminate redundant configuration parameters
033 GitHub stars
04Analyzes interface-to-implementation complexity flow to reduce caller overhead
05Audits error handling to ensure modules resolve internal edge cases autonomously
06Recommends dynamic computation over static configuration for smarter module behavior
使用场景
01Refactoring a library's public API to improve developer experience and reduce boilerplate
02Simplifying complex initialization sequences that require deep domain knowledge from callers
03Conducting architectural reviews to prevent 'leaky abstractions' in new feature development