Refactor Method Complexity Reduce

Refactor a specified method to reduce cognitive complexity to a requested threshold or below by extracting focused helper methods while preserving behavior. Use when the user asks to reduce method complexity, simplify nested conditionals, split large if-else or switch chains, extract validation or type-specific handlers, and verify tests show failed=0.

paulasilvatech bdbab05 6.2 KB Updated

File contents

paulasilvatech/awesome-harness-primitives/tree/main/harness/claude-code/skills/refactor-method-complexity-reduce commit bdbab05ea7

Frequently asked questions

npx skillmds@latest add paulasilvatech/refactor-method-complexity-reduce