test-coverage-improver
Identifies and addresses gaps in JavaScript SDK test coverage using coverage artifacts and metrics.
Identity proven by GitHub's verified organisation badge (openai)
- Agents
- Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode, claude.ai and API
- License
- MIT (permissive)
- Pin
- 05241c7pinned Oct 9, 2026
- Context cost
- about 680 tokenswhen the skill loads
- GitHub stars
- 3,899on openai/openai-agents-js
- Scripts
- None found
What it does
“Measure JS SDK coverage or address measured coverage gaps. Use for coverage audits and metric regressions, not routine test additions.”
Generated summary from the skill's own text
Identifies and addresses gaps in JavaScript SDK test coverage using coverage artifacts and metrics. The agent inspects coverage reports, implements targeted tests for uncovered caller-visible behavior, and runs verification to measure coverage improvements.
When to use it
- Coverage audits to find untested public behavior and error paths
- Addressing coverage metric regressions from code changes
- Validating test gaps identified in coverage reports
- Measuring coverage before and after test implementation
When not to
- Adding routine tests without coverage measurement needs
- Live API testing or broader sandbox access requests
- When only coverage percentages matter, not actual behavior gaps
Install
These commands install from the publisher's repository and need no account.
skills CLI
npx skills add openai/openai-agents-js --skill test-coverage-improverInstalls from the repository's default branch, which may have changed since the commit we checked.
GitHub CLI 2.90 or later
gh skill install openai/openai-agents-js test-coverage-improver@05241c7aa3d5629acc7407dd8ee1105637fe0369Installs the commit we checked (05241c7).
Copy by hand
Download the folder at 05241c7 and put it in .claude/skills/test-coverage-improver for Claude Code and in .agents/skills/test-coverage-improver for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode.
Copy for your agent
A prompt for any coding agent. It installs this skill from GitHub at the pinned commit, copies the files as they are, and runs nothing unless you ask.
Prompt
Install the agent skill "test-coverage-improver" by OpenAI. Source, pinned to commit 05241c7aa3d5629acc7407dd8ee1105637fe0369: https://github.com/openai/openai-agents-js/tree/05241c7aa3d5629acc7407dd8ee1105637fe0369/.agents/skills/test-coverage-improver 1. Download that folder at exactly this commit. Do not use the default branch. 2. Copy every file unchanged, keeping the folder structure, into .claude/skills/test-coverage-improver/ for Claude Code and .agents/skills/test-coverage-improver/ for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode. Create the folders if they do not exist. 3. Do not edit the files, and do not run any script in the folder unless I ask you to. 4. When you are done, list the files you copied and where you put them. Listing and checks: https://www.agentnative.dev/skills/openai/test-coverage-improver
SKILL.md at the pin
--- name: test-coverage-improver description: Measure JS SDK coverage or address measured coverage gaps. Use for coverage audits and metric regressions, not routine test additions. --- # 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 `pnpm test: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 1. Inspect current `coverage/coverage-summary.json` or `coverage/coverage-final.json`, `coverage/lcov.info`, and any recorded command/environment evidence. Reuse them only when they represent the relevant source and test state. If missing or stale, run `pnpm test:coverage` under the repository's verification sandbox and credential policy; this initial measurement precedes implementation review. Respect host-capacity guidance before broad measurement. 2. Identify uncovered behavior within the requested scope. Prioritize public behavior and meaningful error, cancellation, and lifecycle paths over percentage-only targets. Use the JSON report, `coverage/lcov.info`, or `coverage/lcov-report/index.html` to locate gaps. Place tests under the relevant `packages/<pkg>/test/` directory. 3. For an assessment, report evidence and proposed scenarios. For authorized implementation, choose tests with independent expected results at the highest controllable caller boundary. Do not add tests that merely reproduce helper logic or enumerate unsupported permutations. 4. Implement tests, run affected checks, and complete `$implementation-final-review`. Keep iterative verification focused; do not repeatedly run full coverage while review is incomplete. 5. After clean review, run `pnpm test:coverage` for the final measurement and `$code-change-verification` for the required SDK gates. These have different purposes; reuse an already valid final measurement rather than repeating it. Report coverage changes, verified behaviors, and material gaps that remain. ## Reporting State the scope and age of coverage evidence, the behavior each new test protects, validation results, and unresolved gaps. Keep comments and code in English. Do not treat coverage percentages alone as proof of correctness.
From openai/openai-agents-js at 05241c7, shown as plain text under its license: MIT (permissive). The license text is in LICENSE.
View SKILL.md on GitHub at 05241c7Files
- SKILL.md2.9 KB · 37c048e70301
- agents/
- openai.yaml264 B · eac460e12a86
2 files, 3.2 KB in total. Each file has a sha256 in the pin's manifest; the first 12 characters are shown.
Skill folder on GitHub at 05241c7More from OpenAI
code-change-verification
Runs formatting, linting, type checking, and test verification for SDK code changes after review.
Contains scripts
Codex · about 1.3K tokens · pinned 6 days ago
docs-sync
This skill audits English SDK documentation by comparing features and configuration options in the codebase against the current docs, then proposes or…
Claude Code, Codex, Cursor +4 · about 1.2K tokens · pinned 6 days ago
examples-run-analysis
Analyzes logs and artifacts from manual examples runs to validate example behaviors, identify failures, and classify issues.
Claude Code, Codex, Cursor +4 · about 1K tokens · pinned 6 days ago
final-release-review
Audits Python SDK release candidates or plans against the previous release, comparing diffs for regressions, API changes, and version compatibility.
Contains scripts
Claude Code, Codex, Cursor +3 · about 5.4K tokens · pinned 6 days ago
implementation-final-review
This skill guides agents through a structured review process for completed implementation changes before final verification.
Contains scripts
Claude Code, Codex, Cursor +3 · about 1.9K tokens · pinned 6 days ago
implementation-kickoff
This skill manages an isolated implementation workflow using a dedicated git worktree, keeping the user's original checkout unchanged while building a…
Contains scripts
Codex · about 2.9K tokens · pinned 6 days ago
Related in Testing and QA
next-partial-prefetching-optimizer
This skill optimizes Next.js client-side navigation under Partial Prefetching by defining what UI loads before and after a click.
by VercelOfficial publisher
Claude Code, Codex, Cursor +4 · about 2.8K tokens · pinned 6 days ago
Invalid--Name
This skill cannot be described because its name format is invalid and no functional description or instructions are provided in the skill metadata.
by CrewAIOfficial publisher
Claude Code, Codex, Cursor +4 · about 0 tokens · pinned 6 days ago
chrome-devtools-cli
This skill enables agents to automate browser interactions and inspect web pages using Chrome DevTools via command-line interface.
by GoogleOfficial publisher
Claude Code, Codex, Cursor +4 · about 2.9K tokens · pinned 6 days ago
triaging-visual-review-runs
Inspects PostHog Visual Review screenshot regression runs that gate pull requests, helping engineers triage diff results, identify flaky stories, and decide…
by PostHogOfficial publisher
Claude Code, Codex, Cursor +4 · about 8.9K tokens · pinned 6 days ago
runtime-behavior-probe
This skill guides agents to plan and execute controlled runtime investigations with explicit user approval before each probe runs.
by OpenAIOfficial publisher
Contains scripts
Claude Code, Codex, Cursor +3 · about 3.8K tokens · pinned 6 days ago
test-coverage-improver
This skill measures Python SDK test coverage using coverage artifacts and identifies gaps in caller-visible behavior testing.
by OpenAIOfficial publisher
Claude Code, Codex, Cursor +4 · about 640 tokens · pinned 6 days ago
Open roles at OpenAI
5 of 242 open roles on the jobs board
- Software Engineer, Productivity - Networking
San Francisco, California, United States
- Networking Operating System Firmware Engineer
San Francisco, CA, United States (Hybrid)
- Software Engineer, Private Computing
San Francisco, California, United States (Hybrid)
- Data Center Hardware Quality & Reliability Engineer
San Francisco, California, United States (Remote)
- Software Engineer, Habitat (Online Data)
Seattle