.agents/skills/integration-tests/SKILL.md
Run the integration-tests pipeline that depends on a local npm registry (Verdaccio). Use when asked to execute integration tests or local publish workflows in this repo.
npx skillsauth add openai/openai-agents-js integration-testsInstall 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.
Run integration tests that require a local npm registry by starting pnpm local-npm:start in a background subprocess, executing the build/reset/publish/test pipeline in the main process, then cleanly shutting down the registry process and returning results.
pnpm local-npm:start and keep its session id so it can be stopped later.http://localhost:4873 line). If no explicit ready line appears, wait a few seconds and proceed.Run this exact sequence in the main process and capture the output:
pnpm i && pnpm build:ci && pnpm local-npm:reset && pnpm local-npm:publish && pnpm test:integration
Use pnpm build:ci here so the skill validates the same serialized build path that GitHub Actions now uses, while still running the normal prebuild and postbuild lifecycle steps.
Return the full success/failure outcome and a concise summary of the results.
Always capture the stdout/stderr from pnpm test:integration and include it in the final response (trim obvious noise if extremely long) inside a fenced code block.
Do not use watch mode.
pnpm local-npm:publish failsTroubleshoot using integration-tests/README.md, which lists the canonical recovery steps. If time is short, prioritize the fixes in the order given there and surface the exact error text in your response.
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.
testing
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.