pr
Installation
SKILL.md
Use this skill when creating a GitHub pull request for changes to this repository, or when editing an existing PR's title or description.
gh CLI
This skill uses the gh CLI throughout. If a gh command fails because it is not installed or not authenticated, fall back to providing the PR title and body clearly so the user can copy-paste them, along with the relevant GitHub URL:
- New PR:
https://github.com/cloudflare/cloudflare-docs/compare/production...<branch>(get branch fromgit branch --show-current) - Edit existing PR:
https://github.com/cloudflare/cloudflare-docs/pull/<number>— instruct them to select Edit on the description.
Editing an existing PR
When asked to update or edit an existing PR description (or title), follow these rules strictly — then stop. Do not proceed to the "Creating a new PR" steps below.