npx skills add ...
npx skills add openai/openai-agents-js --skill test-coverage-improver
npx skills add openai/openai-agents-js --skill test-coverage-improver
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.
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.