show-coverage

Run PowerShell code coverage analysis and generate HTML coverage reports.

Updated Jul 3, 2025
One-click install
npx skills add https://github.com/HiveSpaceTeam/hivespace.microservice --skill show-coverage
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: show-coverage
Source: https://github.com/HiveSpaceTeam/hivespace.microservice/tree/main/.agent-source/skills/show-coverage
Command: npx skills add https://github.com/HiveSpaceTeam/hivespace.microservice --skill show-coverage

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires dotnet-reportgenerator-globaltool, and includes scripts (resource) components.

What problem does it solve?

This Skill addresses the need for users to easily check the coverage of their code, identify untested areas, and generate comprehensive coverage reports.

Core Features & Use Cases

  • Run Code Coverage: Execute code coverage analysis on the specified services or all services.
  • Generate Reports: Automatically generate and display coverage reports in the browser.
  • Quick Summary: Provides a summary of the coverage percentages directly inline.
  • Use Case: For a developer who wants to ensure that their code is thoroughly tested and to identify gaps in test coverage.

Quick Start

Run the show-coverage skill to analyze code coverage for all services.

Frequently Asked Questions about show-coverage

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

FAQPage Schema
How do I generate HTML code coverage reports for specific services?

To generate HTML code coverage reports, the Skill executes PowerShell scripts to run coverage analysis on specified or all services, automatically displaying the results in your browser. It provides a comprehensive view of tested and untested code areas.

Do I need dotnet-reportgenerator-globaltool to run code coverage analysis?

Yes, the dotnet-reportgenerator-globaltool dependency is required to run code coverage analysis. This Skill relies on it to process coverage data and generate the HTML coverage reports for your software development environment.

Can I get a quick summary of test coverage percentages without opening a browser?

Yes, you can get a quick summary of test coverage percentages inline. While the full HTML coverage reports open in a browser, the Skill also displays a concise summary of coverage percentages directly in your console output.

What is the best way to identify untested code areas in my project?

The best way to identify untested code areas is to run code coverage analysis on all services. This Skill analyzes your code, highlights gaps in test coverage, and generates comprehensive reports to ensure your code is thoroughly tested.

Does this code coverage tool work with PowerShell scripts?

Yes, this code coverage tool works by executing PowerShell scripts to run coverage analysis on your specified services. It leverages PowerShell to automate the generation and display of your HTML coverage reports.