test-coverage

Automate unit and integration test coverage to 90% for specified code zones.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Ledger-Wallet-LLC/ledgerwallet --skill test-coverage-ledger-wallet-llc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-coverage
Source: https://github.com/Ledger-Wallet-LLC/ledgerwallet/tree/main/.cursor/skills/test-coverage
Command: npx skills add https://github.com/Ledger-Wallet-LLC/ledgerwallet --skill test-coverage-ledger-wallet-llc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Increase test coverage to 90% on a target code zone by guiding iterative writing and refactoring to uncover and cover untested paths, ensuring more reliable software through structured test expansion.

Core Features & Use Cases

  • Guided, iterative test generation to reach coverage targets in a chosen code zone.
  • Automated analysis of the target zone to identify untested paths, branches, and edge cases.
  • Delegation of test execution to the test-runner subagent to ensure deterministic results across runs.
  • Supports scope inputs from Jira tickets or local paths for flexible work items.
  • Continuous improvement loop: measure, refactor, and extend tests until the 90% threshold is achieved.

Quick Start

Target a code zone and initiate the automated testing loop to reach 90% coverage.

Frequently Asked Questions about test-coverage

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

FAQPage Schema
How do I increase test coverage to 90% in a specific code zone?

To increase test coverage to 90%, this Skill automates iterative test generation and refactoring by analyzing a target code zone to identify untested paths, continuously generating and executing tests until the threshold is achieved.

What is the best way to automate writing unit tests for untested branches?

Automating unit test generation for untested branches is best handled by analyzing the target area and delegating execution to a test-runner subagent. This approach iteratively generates, runs, and refactors tests to ensure deterministic results and expand coverage.

Can I use Jest to reach a 90% coverage threshold through automated refactoring?

Yes, you can use Jest to reach a 90% coverage threshold. This Skill requires coverage measurement tooling like Jest or PNPM to orchestrate test creation, measure results, and guide the iterative refactoring needed to cover edge cases.

How do I generate tests from a Jira ticket for a local code zone?

You can generate tests from a Jira ticket by providing the ticket or local path as scope input. The Skill analyzes the specified work item, targets the relevant local code zone, and initiates the automated testing loop to cover untested paths.

Do I need a deterministic test runner to automate code coverage expansion?

Yes, a deterministic test runner is required to automate code coverage expansion. The Skill delegates test execution to this subagent to ensure consistent, deterministic results across multiple iterative test runs during the refactoring loop.

Why does iterative test generation stop before reaching the 90% coverage target?

Iterative test generation stops before reaching the 90% coverage target when untested paths cannot be resolved without further code refactoring. The loop measures, refactors, and extends tests, but complex edge cases may require manual intervention to achieve deterministic results.