dart-collect-coverage

Automate Dart and Flutter test coverage collection and LCOV report generation.

Updated May 2, 2026
One-click install
npx skills add https://github.com/Qunnnn/agents --skill dart-collect-coverage-qunnnn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dart-collect-coverage
Source: https://github.com/Qunnnn/agents/tree/main/skills/dart/dart-collect-coverage
Command: npx skills add https://github.com/Qunnnn/agents --skill dart-collect-coverage-qunnnn

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps Dart and Flutter developers automate the process of collecting test coverage data and generating LCOV reports instead of manually managing coverage tooling workflows.

Core Features & Use Cases

  • Coverage Collection Workflow: Guides setup of the coverage package, test execution, and LCOV report generation for Dart and Flutter projects.
  • Coverage Validation: Helps verify generated coverage artifacts and troubleshoot missing coverage data using practical checks.
  • Advanced Coverage Control: Supports manual VM service based collection and coverage ignore directives for granular reporting scenarios.

Quick Start

Use the dart-collect-coverage skill to generate an LCOV coverage report for my Dart project and validate the output files.

Frequently Asked Questions about dart-collect-coverage

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

FAQPage Schema
How do I generate an LCOV coverage report for a Dart project?

To generate an LCOV coverage report, you need to integrate the coverage package, execute your automated tests, and format the collected Dart VM coverage data into LCOV output for code quality analysis.

What is the best way to collect Flutter test coverage data automatically?

Collecting Flutter test coverage data automatically involves setting up the coverage package, running your test suite, and converting the VM service coverage data into an LCOV report to validate code quality.

Can I exclude specific files or lines from Dart coverage validation?

Yes, you can exclude specific files or lines from Dart coverage validation by applying coverage ignore directives, which provide granular control over the generated LCOV report output.

Why does my Dart LCOV report show missing coverage data?

Missing coverage data in a Dart LCOV report often results from incomplete package configuration or incorrect VM service collection, requiring practical checks to verify generated coverage artifacts and troubleshoot the workflow.

Does manual VM service based coverage collection work with Flutter testing workflows?

Yes, manual VM service based coverage collection works with Flutter testing workflows, offering advanced control for granular reporting scenarios when automated test coverage collection is insufficient.