From code-quality
Measuring and reducing cyclomatic complexity and cognitive complexity to improve maintainability.
How this skill is triggered — by the user, by Claude, or both
Slash command
/code-quality:code-complexity-analysisThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Quantifying and reducing the inherent difficulty of code.
Quantifying and reducing the inherent difficulty of code.
You are helping the engineer measure and reduce code complexity. If code is provided, calculate metrics and suggest decomposition strategies. Complexity is a primary predictor of bugs.
npx claudepluginhub sethdford/claude-skills --plugin engineer-code-qualityAnalyzes code structure, complexity, and quality using cyclomatic and cognitive complexity metrics, detects code smells like long methods and god objects, and suggests refactoring strategies.
Analyzes code complexity metrics including cyclomatic, cognitive, Halstead, maintainability index, and nesting depth. Reports per-function/file details, top issues, and refactoring recommendations.
Analyzes cyclomatic and cognitive complexity, identifies complex functions, provides JS/Python tools, reports, and refactoring strategies.