Loading...
Loading...
Create a PR title and draft description after substantive code changes are finished. Trigger when wrapping up a moderate-or-larger change (runtime code, tests, build config, docs with behavior impact) and you need the PR-ready summary block with change summary plus PR draft text.
npx skill4agent add openai/openai-agents-js pr-draft-summarygit rev-parse --abbrev-ref HEADgit status -sbgit ls-files --others --exclude-standardgit status -sb--statgit diff --name-onlygit diff --name-only --cachedgit diff --statgit diff --stat --cachedorigin/mainBASE_REF=$(git rev-parse --abbrev-ref --symbolic-full-name @{upstream} 2>/dev/null || echo origin/main)BASE_COMMIT=$(git merge-base --fork-point "$BASE_REF" HEAD || git merge-base "$BASE_REF" HEAD || echo "$BASE_REF")git log --oneline --no-merges ${BASE_COMMIT}..HEADpackages/examples/helpers/scripts/packages/**/testintegration-tests/docs/README.mdAGENTS.md.github/package.jsonpnpm-lock.yamlpnpm-workspace.yamltsconfig*.jsontsc-multi.jsoneslint.config.*vitest*.tsBASE_REFBASE_COMMIT${BASE_COMMIT}git diff --statgit status -sbgit ls-files --others --exclude-standard--stat${BASE_COMMIT}addsfixesimprovesupdatesupdatesmainfeat/<slug>fix/<slug>docs/<slug>docs/pr-draft-summary-guidanceissue-<number>https://github.com/openai/openai-agents-js/issues/<number>This pull request resolves #<number>.# Pull Request Draft
## Branch name suggestion
git checkout -b <kebab-case suggestion, e.g., feat/pr-draft-summary-skill>
## Title
<single-line imperative title, which can be a commit message; if a common prefix like chore: or feat: etc., having them is preferred>
## Description
<include what you changed plus a draft pull request title and description for your local changes; start the description with prose such as "This pull request resolves/updates/adds ..." using a verb that matches the change (you can use bullets later), explain the change background (for bugs, clearly describe the bug, symptoms, or repro; for features, what is needed and why), any behavior changes or considerations to be aware of, and you do not need to mention any tests you ran.>Changes