coverage-kaizen

Analyze Rust workspace coverage gaps and generate property-based tests.

1|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/paiml/apr-model-qa-playbook --skill coverage-kaizen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coverage-kaizen
Source: https://github.com/paiml/apr-model-qa-playbook/tree/main/.claude/skills/coverage-kaizen
Command: npx skills add https://github.com/paiml/apr-model-qa-playbook --skill coverage-kaizen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the challenge of maintaining high test coverage in software projects, ensuring that code is thoroughly tested and potential bugs are caught early.

Core Features & Use Cases

  • Coverage Gap Analysis: Identifies areas of the codebase with low test coverage using pmat query --coverage-gaps.
  • Test Writing Guidance: Provides crate-specific patterns and examples for writing effective unit and integration tests using proptest and Evidence assertions.
  • CI/CD Integration: Facilitates automated coverage checks and reporting to maintain quality standards.
  • Use Case: A developer needs to increase the test coverage of the apr-qa-runner crate to meet the project's 95% goal. They use this Skill to find the functions with the lowest coverage and highest impact, then follow the provided patterns to write new tests.

Quick Start

Use the coverage-kaizen skill to find the top 10 coverage gaps in the apr-qa-runner crate.

Frequently Asked Questions about coverage-kaizen

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

FAQPage Schema
How do I find high-ROI code coverage gaps in a Rust workspace?

To find code coverage gaps in a Rust workspace, run `pmat query --coverage-gaps` to systematically identify functions with the lowest test coverage and highest impact for targeted test writing.

What is the best way to increase Rust code coverage using proptest?

The best way to increase Rust code coverage is to combine `pmat query --coverage-gaps` to locate untested code with writing property-based tests using `proptest` and `Evidence` assertions to validate edge cases.

Can I use clippy to enforce testing standards while improving code coverage?

Yes, you can use `clippy` to enforce project linting standards and ensure that newly written tests adhering to your 95% library coverage goals meet required Rust code quality checks.

How do I automate Rust code coverage checks in CI/CD pipelines?

You can automate Rust code coverage checks in CI/CD pipelines by integrating coverage gap analysis and reporting tools to maintain quality standards and verify that library coverage targets are met.

Does property-based testing work well for targeting specific Rust coverage gaps?

Property-based testing works well for targeting Rust coverage gaps because `proptest` generates diverse inputs that expose edge cases, complementing the `pmat query --coverage-gaps` analysis for targeted test writing.