create-prlisted
Install: claude install-skill janmarkuslanger/skills
# Create Pull Request
When this skill is activated, analyze the current branch against its base and produce a ready-to-use pull request title and description. The skill **drafts** the PR; it never pushes or opens it without explicit confirmation.
**When to use this skill vs. related ones:**
- `diff-commit` — validates a single uncommitted diff and suggests one commit title. Use it per commit.
- **this skill (`create-pr`)** — summarizes a whole branch (all commits since it diverged) into a PR description. Use it once the branch is ready.
## Steps
1. Determine the base branch (usually `main` or `master`) and confirm it if ambiguous.
2. Run, in parallel:
- `git status` — uncommitted changes and tracking state
- `git log <base>..HEAD --oneline` — every commit on this branch
- `git diff <base>...HEAD` — the full branch diff (note the three-dot range)
3. Read **all** commits and the full diff — not just the latest commit. The PR summary must reflect the entire branch.
4. Identify the single primary concern. If the branch mixes unrelated concerns, say so explicitly and recommend splitting before opening the PR.
5. Detect anything that needs calling out: breaking changes, migrations, new dependencies, config or deployment steps.
6. Draft the title and body using the format below.
7. Present the draft. Then ask whether to push (if needed) and open the PR. **Wait for a clear yes before running any `git push` or `gh pr create`.**
## Output
First print the draft for review