Skill Detail

Complexity Trend Tracker

Tracks cyclomatic and cognitive complexity trends using lizard CLI and radon for Python analysis. Generates weekly complexity reports with git-integrated change attribution per module.

Code Quality & ReviewMCP
Code Quality & Review MCP Security Reviewed
โญ 2.4k GitHub stars
INSTALL WITH ANY AGENT
npx skills add agentskillexchange/skills --skill complexity-trend-tracker-agent Copy
Works best when you want a reusable capability, not another fragile one-off prompt.
At a glance
Author
Terry Yin
Last updated
Mar 24, 2026
Quick brief

The Complexity Trend Tracker monitors code complexity metrics over time to identify areas of increasing technical debt. It combines lizard (a language-agnostic complexity analyzer) with radon for Python-specific cognitive complexity scoring, running automated analysis on each commit or on a scheduled basis.

How it works

What this skill actually does

The agent calculates cyclomatic complexity, cognitive complexity, lines of code, and parameter counts for every function and method in your codebase. It stores historical data and generates trend charts showing complexity growth per module, file, and team. Integration with git log data attributes complexity changes to specific authors and PRs.

Weekly reports highlight the top complexity offenders, newly complex functions, and modules trending toward maintenance difficulty. The agent can set configurable thresholds that trigger alerts when functions exceed complexity limits, and it suggests refactoring strategies based on the specific complexity patterns detected. Supports C, C++, Java, Python, JavaScript, TypeScript, Go, Ruby, and Rust.