mcpbeat

Code Change Verification

openai/code-change-verification

Run the mandatory verification stack when changes affect runtime code, tests, or build/test behavior in the OpenAI Agents JS monorepo.

1k tokens
context cost
the whole folder, loaded on every use
5
files
ships runnable scripts
0
copies elsewhere
how many repositories repackaged it
3526
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/openai/openai-agents-python --skill code-change-verification

What comes with it

3 230 bytes besides the instruction
agents/openai.yaml
scripts/run.mjs
scripts/run.ps1
scripts/run.sh

The instruction itself

7 sections, as written by the author

Code Change Verification

Overview

Ensure work is only marked complete after installing dependencies, building, linting, type checking (including generated declarations), and tests pass. Use this skill when changes affect runtime code, tests, or build/test configuration.

Quick start

  • Keep this skill at ./.agents/skills/code-change-verification so it loads automatically for the repository.
  • Run the skill in the user's selected checkout without changing worktrees or branches.
  • macOS/Linux: bash .agents/skills/code-change-verification/scripts/run.sh.
  • Windows: powershell -ExecutionPolicy Bypass -File .agents/skills/code-change-verification/scripts/run.ps1.
  • If any command fails, fix the issue, rerun the script, and report the failing output.
  • Confirm completion only when all commands succeed with no remaining issues.

Manual workflow

  • Run from the repository root in these phases: pnpm i --frozen-lockfile, pnpm build, then pnpm -r build-check, pnpm -r -F "@openai/*" dist:check, pnpm lint, pnpm test, and pnpm format:check:changed.
  • The skill may execute the final validation phase in parallel, but every step above must still pass.
  • Do not skip steps; stop and fix issues immediately when any step fails.
  • Re-run the full stack after applying fixes so the commands execute with the same barriers and coverage.
  • The install intentionally runs without forcing CI or prompt-confirmation settings. If pnpm reports incompatible node_modules, stop and diagnose the configuration mismatch instead of silently recreating dependencies.

Resources

scripts/run.sh

  • Executes the full verification sequence (including declaration checks) with fail-fast semantics.
  • Keeps pnpm i --frozen-lockfile and pnpm build as barriers, then delegates independent validation steps to concurrently.
  • Prefer this entry point to ensure the commands always run from the repo root with the expected fail-fast behavior.

scripts/run.ps1

  • Windows-friendly wrapper that runs the same verification sequence with fail-fast semantics.
  • Use from PowerShell with execution policy bypass if required by your environment.

How to use it

Copy the folder

Take openai/code-change-verification from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.

Install what it needs

The instructions reference npm. Without those the skill loads but fails at the first command.