sonarcloud-dotnet

Integrate .NET projects with SonarCloud via GitHub Actions for static analysis and coverage.

Updated Feb 1, 2026
One-click install
npx skills add https://github.com/diegoknsk/video-processing-engine-video-management-lambda --skill sonarcloud-dotnet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sonarcloud-dotnet
Source: https://github.com/diegoknsk/video-processing-engine-video-management-lambda/tree/main/.cursor/skills/sonarcloud-dotnet
Command: npx skills add https://github.com/diegoknsk/video-processing-engine-video-management-lambda --skill sonarcloud-dotnet

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the integration of .NET projects with SonarCloud via GitHub Actions to streamline static analysis, test coverage collection, and Quality Gate enforcement.

Core Features & Use Cases

  • CI/CD SonarCloud setup: configure a SonarCloud analysis job in GitHub Actions for .NET projects.
  • Coverage reporting: generate and publish test coverage via Coverlet/OpenCover.
  • Quality Gate and repo hygiene: apply project keys, organization, exclusions, and .gitignore practices.

Quick Start

Configure your GitHub Actions workflow to run SonarCloud analysis for a .NET project using dotnet-sonarscanner and generate coverage reports.

Frequently Asked Questions about sonarcloud-dotnet

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

FAQPage Schema
How do I integrate SonarCloud static analysis into a .NET GitHub Actions workflow?

SonarCloud integration for .NET in GitHub Actions uses dotnet-sonarscanner to automate static analysis. You configure a CI job with your SonarCloud project key and organization to run analysis on every push.

How do I collect and publish test coverage for .NET projects in SonarCloud?

Test coverage for .NET in SonarCloud is collected using Coverlet or OpenCover. You configure the GitHub Actions workflow to generate coverage reports and pass the correct coverage paths to the dotnet-sonarscanner.

Can I enforce SonarCloud Quality Gates on my .NET CI/CD pipeline?

Yes, SonarCloud Quality Gate enforcement is supported for .NET pipelines. The GitHub Actions workflow runs the analysis and checks the Quality Gate status, failing the CI job if your project does not pass.

What is dotnet-sonarscanner used for in GitHub Actions?

Dotnet-sonarscanner is the tool used to trigger SonarCloud static analysis for .NET projects. It manages the setup, execution, and upload of analysis data and test coverage to your SonarCloud organization.

Do I need to configure .gitignore and exclusions for SonarCloud analysis in .NET?

Yes, configuring .gitignore and exclusions is needed for repository hygiene. Proper exclusions prevent generated files and dependencies from skewing your SonarCloud static analysis and code coverage metrics.