What problem does it solve? Teams struggle to identify overly complex methods and enforce maintainability standards in .NET codebases without paid tooling. This Skill configures the free built-in .NET analyzers (CA1502, CA1505, CA1506, CA1501) with versioned thresholds so complexity issues surface in builds and CI. ## Core Features & Use Cases - Complexity Detection: Uses CA1502 for cyclomatic complexity, CA1505 for maintainability index, CA1506 for class coupling, and CA1501 for inheritance depth. - Versioned Thresholds: Keeps rule severities in the root .editorconfig and numeric limits in a checked-in CodeMetricsConfig.txt wired as AdditionalFiles. - CI Enforcement: Integrates with dotnet build and WarningsAsErrors so complexity gates run in pipelines. - Use Case: A team wants a cyclomatic complexity gate in CI. The Skill detects current analyzer state, adds severity entries and thresholds, runs dotnet build, and reports status with verification evidence. ## Quick Start Ask the agent to add a cyclomatic complexity gate with checked-in thresholds to your .NET solution and verify it with a build.