.agents/skills/test-coverage-improver/SKILL.md
Improve test coverage in the OpenAI Agents JS monorepo: run `pnpm test:coverage`, inspect coverage artifacts, identify low-coverage files and branches, propose high-impact tests, and confirm with the user before writing tests.
npx skillsauth add openai/openai-agents-js test-coverage-improverInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill whenever coverage needs assessment or improvement (coverage regressions, failing thresholds, or user requests for stronger tests). It runs the coverage suite, analyzes results, highlights the biggest gaps, and prepares test additions while confirming with the user before changing code.
pnpm test:coverage (set CI=1 if needed) to regenerate coverage/.coverage/coverage-summary.json (preferred) or coverage/coverage-final.json, plus coverage/lcov.info and coverage/lcov-report/index.html for drill-downs.pnpm test:coverage, and then run $code-change-verification before marking work complete.CI=1 pnpm test:coverage at repo root. Avoid watch flags and keep prior coverage artifacts only if comparing trends.coverage/coverage-summary.json for file-level totals; fallback to coverage/coverage-final.json if the summary file is absent.coverage/lcov.info or coverage/lcov-report/index.html to spot branch- and line-level holes.packages/*/src before examples or docs.packages/<pkg>/test/*.test.ts) and avoid flaky async timing.scripts/, references/, or assets/ unless needed later.pnpm test:coverage instead of guessing.business
Use when fixing invoice total calculations in the sandbox quickstart repository.
development
Fix the tiny credit-note formatting bug and rerun the exact targeted test command.
testing
Analyze CSV files in /mnt/data and return concise numeric summaries.
development
Plan and execute runtime-behavior investigations with temporary TypeScript probe scripts, validation matrices, state controls, and findings-first reports. Use only when the user explicitly invokes this skill to verify actual runtime behavior beyond normal code-level checks, especially to uncover edge cases, undocumented behavior, or common failure modes in local or live integrations. A baseline smoke check is fine as an entry point, but do not stop at happy-path confirmation.