What problem does it solve?
Manually tracking code cyclomatic complexity across a codebase is time-consuming and error-prone, especially for teams enforcing consistent code quality standards in CI/CD pipelines and pull request workflows. This Skill automates the entire process, eliminating manual review overhead and ensuring consistent enforcement of complexity thresholds.
Core Features & Use Cases
- Configurable Threshold Enforcement: Automatically flags functions that exceed project-defined soft and hard complexity thresholds, with configurable behavior for CI gates and PR reviews.
- Tool-Agnostic MCP Integration: Works with any project-configured complexity analysis MCP without hardcoding specific tools, allowing teams to use their preferred analysis stack.
- Fail-Open Safety Logic: Never blocks development workflows due to infrastructure issues like missing MCP servers or misconfigured settings, only blocking for confirmed hard threshold violations when explicitly enabled.
- Use Case: A development team can configure this Skill to run automatically during PR reviews and CI build verification, catching overly complex functions before they are merged to reduce technical debt and maintain code maintainability.
Quick Start
Ask Claude to run a complexity check on all changed files in your current branch to identify functions that exceed your project's configured complexity thresholds.