analyze-coverage

Analyze project test coverage with pytest-cov and istanbul/c8.

42|8|Updated Jan 25, 2026
One-click install
npx skills add https://github.com/sequenzia/agent-alchemy --skill analyze-coverage
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analyze-coverage
Source: https://github.com/sequenzia/agent-alchemy/tree/main/claude/tdd-tools/skills/analyze-coverage
Command: npx skills add https://github.com/sequenzia/agent-alchemy --skill analyze-coverage

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automatically analyzes your project's test coverage, identifies specific areas lacking tests, and provides actionable recommendations to improve code quality and reduce bugs.

Core Features & Use Cases

  • Automated Coverage Analysis: Runs standard coverage tools (pytest-cov, istanbul/c8) to get precise coverage metrics.
  • Gap Identification: Pinpoints uncovered lines, branches, and functions.
  • Spec Mapping: Optionally maps coverage against your acceptance criteria to ensure requirements are tested.
  • Actionable Recommendations: Suggests specific tests to write for each identified gap.
  • Use Case: After writing new code, run this Skill to ensure all new logic is covered by tests. If coverage drops below 80%, it will highlight exactly which files and lines need more tests.

Quick Start

Analyze the test coverage for the current project and report any gaps.

Frequently Asked Questions about analyze-coverage

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

FAQPage Schema
How do I identify uncovered lines and branches in my Python or TypeScript project?

To identify uncovered lines and branches in your project, this Skill runs standard coverage tools like pytest-cov and istanbul/c8 to pinpoint specific code gaps and provide actionable test suggestions.

How do I map test coverage against acceptance criteria to ensure all requirements are tested?

You can map test coverage against acceptance criteria by using the spec mapping feature, which optionally aligns your coverage results with provided specification requirements to ensure every acceptance criterion is properly tested.

Does this coverage analysis tool work with both Python and TypeScript codebases?

Yes, this coverage analysis tool works with both Python and TypeScript codebases by leveraging standard coverage tools like pytest-cov for Python and istanbul or c8 for TypeScript and JavaScript environments.

What is the best way to find out which files need more tests when coverage drops below 80%?

The best way to find files needing more tests when coverage drops below 80% is to run an automated coverage analysis that highlights exactly which files and lines lack sufficient test coverage.

Can I get specific test recommendations for each identified code coverage gap?

Yes, you can get specific test recommendations for each identified code coverage gap, as the analysis provides actionable recommendations suggesting exactly which tests to write to improve code quality.