This skill guides developers through a systematic process of identifying and eliminating 'just in case' code, such as single-implementation interfaces and pass-through wrappers. It provides a structured workflow to measure abstraction costs, inline logic, and remove dead code while ensuring 100% behavioral parity through rigorous pre- and post-change test verification. Ideal for technical debt reduction and improving maintainability in maturing projects.
主な機能
01Identification of abstraction costs and redundant interfaces
02Systematic removal of dead code and pass-through layers
03Prevention of speculative retention and YAGNI violations
04Safe inlining of logic from unnecessary wrappers and factories
057 GitHub stars
06Test-driven verification to ensure behavioral consistency
ユースケース
01Eliminating boilerplate interfaces that only have a single production implementation
02Refactoring a codebase that has become too complex due to 'just in case' abstractions
03Consolidating redundant code paths that perform identical tasks