What problem does it solve? Complex methods with weak test coverage are the highest-risk code in a codebase, but teams lack an objective rule for when a method must be split or better covered. This Skill applies the CRAP (Change Risk Anti-Patterns) formula to give a single numeric risk score and a hard quality gate. ## Core Features & Use Cases - CRAP Score Calculation: Computes risk from cyclomatic complexity and coverage ratio using the standard formula comp(m)^2 x (1 - cov(m))^3 + comp(m). - Quality Gate Enforcement: Flags every method with a CRAP score of 6 or higher, with concrete coverage thresholds per complexity level. - Refactoring Guidance: Prescribes actions per scenario, such as extracting branches into smaller methods when complexity reaches 6 or more. - Use Case: During a code review or PURE_REFACTOR pass, evaluate each changed method's complexity and coverage to decide whether it must be split before merging. ## Quick Start Review the changed methods in this pull request and report each method's CRAP score with any required refactoring actions.