static-analysis

Configure .NET analyzers and enforce code quality rules via editor config.

4|1|Updated Dec 29, 2025
One-click install
npx skills add https://github.com/DoubleslashSE/claude-marketplace --skill static-analysis-doubleslashse
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: static-analysis
Source: https://github.com/DoubleslashSE/claude-marketplace/tree/main/Plugins/dotnet-developer/skills/static-analysis
Command: npx skills add https://github.com/DoubleslashSE/claude-marketplace --skill static-analysis-doubleslashse

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams enforce and standardize code quality in .NET projects by simplifying the setup and enforcement of static analysis and code quality tools.

Core Features & Use Cases

  • Configuring Analyzers: Guidance to enable and configure the built-in .NET analyzers across projects.
  • Enforcing Standards: Apply analysis rules to promote consistent naming, security checks, and reliability.
  • Use Case: Imagine a large solution with dozens of projects; this Skill helps you initialize analyzers, set rules, and run checks to ensure code quality across the codebase.

Quick Start

Create or enable a global or per-project analyzer configuration in your .csproj and run the analysis with dotnet build and dotnet format.

Frequently Asked Questions about static-analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure .NET analyzers across multiple projects in a solution?

To configure .NET static analysis across multiple projects, you create a global analyzer configuration in your .csproj and run checks with standard .NET CLI commands like dotnet build and dotnet format.

What is .NET static analysis and how does it enforce coding standards?

.NET static analysis enforces coding standards by applying built-in analyzers to automatically check C# code for naming conventions, security vulnerabilities, and reliability issues during the build process.

Can I run static analysis checks using the standard dotnet CLI commands?

Yes, you can run static analysis checks using standard .NET CLI commands. The setup integrates directly with dotnet build to execute analysis rules and dotnet format to apply fixes.

How do I enforce naming conventions and security checks in C# projects?

You enforce naming conventions and security checks in C# projects by enabling and configuring the built-in .NET analyzers through editor config integration, which standardizes code quality across the solution.

What is the best way to set up code quality rules for a large C# solution?

The best way to set up code quality rules for a large C# solution is initializing project-wide analyzer configurations that apply analysis rules consistently, ensuring code quality across the entire codebase.