create-prlisted
Install: claude install-skill D3OXY/skills
# create-pr
This is an **agent skill** (discovered from `SKILL.md`). It is **not** a Cursor slash command. Apply it whenever the user wants a **real PR opened** or **PR copy drafted** with the workflows below.
Guidance for turning work into a **merge-ready pull request** and, when requested, executing **`gh pr create`** with the right branches and safeguards.
## When to use this skill
- The user asks to **open a PR**, **create a pull request**, **run create-pr**, or **draft a PR description**
- A feature or fix is **done locally** and needs to be **packaged** for review
- Work should be **split** into smaller PRs for safer review
## Mapping from legacy `/create-pr` behavior
If the user previously used a **`/create-pr`** command with arguments, interpret the same intent in **natural language**:
| User intent | Behavior |
| --- | --- |
| No branch named | PR from **current branch** → **default base** (infer `dev`, `main`, or repo default; ask if unclear) |
| One branch name | PR from **current branch** → that branch as **base** |
| Two branches, or `A -> B` / `A to B` | PR from **first** (head) → **second** (base) |
| Skip checks / `--skip-check` | Skip the **Run tests and checks** step |
| Yes / no prompts / `-y` / `--yes` | Skip the **confirmation** step before `gh pr create` |
Do **not** tell the user to type `/create-pr`; describe what you will do or ask for missing details in plain language.
---
## GitHub CLI workflow (when opening the PR)
Use this when the user