Maintenance in progress: we are indexing a large batch of new skills. Some pages may load slowly or briefly show no results. Nothing is lost, and everything is back to normal within the hour.

Refactor Method Complexity Reduce

Refactor given method `${input:methodName}` to reduce its cognitive complexity to `${input:complexityThreshold}` or below, by extracting helper methods.

thedixitjain 393ec3b 4.6 KB Updated 2 repo stars

File contents

thedixitjain/the-mega-skill-library/tree/main/library/engineering-core/refactor-method-complexity-reduce commit 393ec3ba5d

Frequently asked questions

npx skillmds add thedixitjain/refactor-method-complexity-reduce