Agent Skills: python-complexity

Two censuses of Python complexity, no project install: per function (ruff's C901 cyclomatic and complexipy cognitive, read as a pair) and per call path — hops entered per public call, pass-through layers, a selector parameter compared in many places, intermediate types — for code where every function scores low and the path is still hard to follow. Use when asking which functions to refactor first, whether a function or a call path is too complex, over-layered, or too indirect, where the worst code in a package is, when every function is small but the code is hard to follow, when triaging a legacy codebase, when comparing an implementation against the path it replaces, when verifying a refactor reduced complexity rather than relocating it, or when reading C901 / mccabe / complexipy / cognitive-complexity scores. Teaches the two metrics as a pair — the gap between them is the signal — the silent-failure modes that make a clean run a lie, and layer-golf, the third golf a per-function threshold never flags.

ID: dashed/claude-marketplace/python-complexity

Install this agent skill to your local

npx skills add dashed/claude-marketplace --skill python-complexity

Skill Files

The files that make up python-complexity.

Download Skill

More agent skills