dotnet-coverlet

Configure Coverlet code coverage for .NET projects and CI/CD pipelines.

466|35|Updated Mar 15, 2026
One-click install
npx skills add https://github.com/managedcode/dotnet-skills --skill dotnet-coverlet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dotnet-coverlet
Source: https://github.com/managedcode/dotnet-skills/tree/main/skills/dotnet-coverlet
Command: npx skills add https://github.com/managedcode/dotnet-skills --skill dotnet-coverlet

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of integrating and configuring Coverlet, a popular .NET code coverage tool, ensuring accurate and reliable test coverage reporting for your projects.

Core Features & Use Cases

  • Automated Driver Selection: Intelligently chooses the appropriate Coverlet driver (Collector, MSBuild, Console) based on your project setup and CI environment.
  • Configuration Assistance: Provides guidance and commands for installing Coverlet packages and configuring coverage collection in your .NET projects.
  • Use Case: You need to ensure your .NET project has comprehensive code coverage for your CI/CD pipeline. This Skill will help you set up Coverlet to collect and report coverage data automatically.

Quick Start

Use the dotnet-coverlet skill to add coverlet.collector to your test project and configure it for VSTest.

Frequently Asked Questions about dotnet-coverlet

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

FAQPage Schema
How do I set up .NET code coverage with Coverlet for my CI/CD pipeline?

To set up .NET code coverage, this Skill automates Coverlet integration by guiding you through driver selection, package installation, and command generation for your CI/CD pipelines.

Which Coverlet driver should I use for my .NET project?

Choosing the right Coverlet driver depends on your project setup. The Skill intelligently selects the appropriate driver—Collector, MSBuild, or Console—based on your specific .NET environment.

Can I collect line and branch coverage metrics in .NET Core automatically?

Yes, you can collect line and branch coverage metrics automatically. The Skill configures Coverlet to gather accurate coverage data during your local development and testing processes.

What is the best way to add Coverlet to a test project?

The best way to add Coverlet is by using the Skill to automatically install the coverlet.collector package and configure it seamlessly for VSTest integration in your .NET projects.

Does this work with both local development and CI environments?

Yes, it works with both. The Skill facilitates the setup of coverage collection specifically for local development workflows as well as automated CI/CD pipelines.