Skip to content
openai avatar

Test Coverage Improver

Measures and improves Python SDK test coverage, gating new tests on current coverage evidence and caller-visible behavior.

CCM score
71 of 100
skills.sh installs
270
GitHub stars
30.9K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers coverage audits, metric regressions, and gap-finding from .coverage and coverage.xml artifacts, not routine test additions
  • Includes a five-step workflow: evidence check, gap identification, proposal, implementation with review, and final measurement
  • Enforces authorization limits, so assessment requests stay proposal-only and coverage work never permits live API calls
  • Designed for maintainers of the OpenAI Agents Python repository who need to audit coverage before adding tests

Install

$ npx -y skills add openai/openai-agents-python --skill test-coverage-improver -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Test Coverage Improver

Use current coverage evidence to identify missing caller-visible behavior tests. Select this workflow for coverage measurement, coverage-metric regressions, or finding gaps from coverage artifacts. When the user already specifies the behaviors to test, use the ordinary implementation/review workflow without coverage measurement unless measurement is also requested. Adding tests alone does not trigger this skill or its final make coverage step.

Scope and authorization

For assessment or proposal-only requests, report gaps and suggested tests without editing. When the user requests test improvements or has approved a plan, implement the scoped tests and complete review and verification without asking again. Ask only when a new contract decision, expanded scope, or additional authority is needed. Coverage work never authorizes live API calls or broader sandbox access.

Workflow

Details

Repository
github.com/openai/openai-agents-python
Categories
Testing & QA, Python
First seen
Jun 3, 2026

Questions

What does the test-coverage-improver skill do?

test-coverage-improver measures test coverage in the OpenAI Agents Python repository by running make coverage, then inspects coverage artifacts to find low-coverage files. It proposes high-impact tests and confirms with the user before writing them.

How do I install test-coverage-improver?

Run npx -y skills add openai/openai-agents-python --skill test-coverage-improver -y in a project to install it. Once installed, test-coverage-improver lets the agent identify uncovered caller-visible behavior and suggest tests for it.

Where does test-coverage-improver stand in the Testing & QA category?

test-coverage-improver is listed in the Testing & QA category alongside tdd, test-driven-development, webapp-testing and migrate-to-shoehorn. Its own focus is coverage gap analysis, which it does from coverage.xml and coverage report output.

Does test-coverage-improver write tests without asking?

test-coverage-improver only reports gaps and suggested tests when asked for an assessment. When the user requests improvements or approves a plan, it implements the scoped tests and runs review and verification.

More from openai/openai-agents-python

All 5

Similar to Test Coverage Improver

More Testing & QA