npx skills add ...
npx skills add openai/openai-agents-js --skill pr-draft-summary
npx skills add openai/openai-agents-js --skill pr-draft-summary
Create the required PR-ready summary block, branch suggestion, title, and draft description for openai-agents-js. Must be used before the final response whenever the actual task diff includes runtime code, tests, examples, build/test configuration, or docs with behavior impact, regardless of perceived change size. Skip only when no eligible files changed, every change is repo-meta or docs-only without behavior impact, the task is conversation-only, or the user explicitly opts out.
Produce the PR-ready summary required in this repository after eligible work is complete: a concise change summary plus a PR-ready title and draft description for openai-agents-js.
git rev-parse --abbrev-ref HEAD.git status -sb.git ls-files --others --exclude-standard (use with git status -sb; --stat omits them).git diff --name-only (unstaged) and git diff --name-only --cached (staged); sizes via git diff --stat and git diff --stat --cached.origin/main; never use a feature branch's upstream as the PR base):
BASE_REF=origin/main; if it does not exist locally, use main.BASE_COMMIT=$(git merge-base "$BASE_REF" HEAD).git diff --name-only "${BASE_COMMIT}..HEAD" and git diff --stat "${BASE_COMMIT}..HEAD".git log --oneline --no-merges ${BASE_COMMIT}..HEAD.packages/, examples/, helpers/, scripts/), tests (packages/**/test, integration-tests/), docs (docs/, README.md, AGENTS.md, .github/), build/test config (package.json, pnpm-lock.yaml, pnpm-workspace.yaml, tsconfig*.json, tsc-multi.json, eslint.config.*, vitest*.ts).BASE_REF/BASE_COMMIT first so later commands reuse them. Compare against origin/main or main, not the current branch's upstream.--stat does not include them. Use commit messages as supporting context, not as a substitute for inspecting the committed diff.adds, bug fix → fixes, refactor/perf → improves or updates, docs-only → updates.main, keep it; otherwise propose feat/<slug>, fix/<slug>, or docs/<slug> based on the primary area (for example docs/pr-draft-summary-guidance).issue-<number> (digits only), keep that branch suggestion. When an issue number is present, reference https://github.com/openai/openai-agents-js/issues/<number> and include an auto-closing line such as This pull request resolves #<number>. Do not block if the issue cannot be fetched.When closing out a task, add this concise Markdown block (English only) after any brief status note unless the task falls under the documented skip cases or the user says they do not want it.
Keep it tight—no redundant prose around the block, and avoid repeating details between Changes and the description. Tests do not need to be listed unless specifically requested.