factory-complexity-check
CommunityAutomate code complexity checks in CI/PR pipelines
System Documentation
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.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: factory-complexity-check Download link: https://github.com/e2its/myrmion-AI-factory/archive/main.zip#factory-complexity-check Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.