/developer-workflows:make-prfrom developer-workflows
Open a pull request for the current branch using Breakroom's team conventions (Linear card link, What changed, Why, Screenshots/Videos). Use whenever the user asks to create, open, or raise a PR.
Ships in developer-workflows. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Follow these steps in order. Do not skip the information-gathering step — the template fields are short and benefit from accurate, specific content.
The base branch for this repo is main. Do not trust local origin/HEAD or the session's gitStatus header — both can claim master on machines cloned before the rename. Always diff against origin/main.
Run in parallel:
git status (no -uall)git fetch origin main --quiet — refresh origin/main so diffs aren't against stale stategit log --oneline origin/main..HEAD — every commit unique to this branch (not just the latest)git diff --stat origin/main...HEAD — overview of what changed, by filegit branch --show-currentgh pr view --json url,state 2>/dev/null || true — check if a PR already existsUse the --stat form for the overview — a full git diff on a long-lived branch can be megabytes and isn't needed to draft the body. Only read full hunks for a specific file when you need to verify a bullet's wording.
If a PR already exists for this branch, stop and tell the user. Do not silently update it.
The team usually links a Linear card. Look in this order:
BRK-1234 (e.g. BRK-2372 Reword health insurance...). The Linear URL is https://linear.app/breakroom/issue/BRK-1234.If you have a BRK-XXXX ID but not a title, you can fetch it via mcp__claude_ai_Linear__get_issue to make the link text meaningful (e.g. [BRK-2372 Reword health insurance affordability findings copy](url)). Keep it concise.
A short bulleted list (1–4 bullets) of the user-visible or behavioural changes, derived from the diff and commits. Not a commit log — group related commits into one bullet. Avoid restating file paths; describe the change.
Two sources, in order:
If neither yields a clear "why", ask the user with AskUserQuestion before opening the PR. Don't guess or write filler like "improves the user experience".
Look at the diff: does it touch user-facing UI? Heuristics:
assets/, lib/poplar_web/**/templates/, lib/poplar_web/**/components/, lib/poplar_web/**/live/, .heex, .sface, .scss, .css, React/TSX → yes, UI changed.*_job.ex), pure context modules, tests-only → no, omit the screenshots section entirely (delete the heading and table).If UI changed, ask the user via AskUserQuestion: "Add a Screenshots and Videos section?"
pull_request_template.md verbatim, including the | [Description] | [Paste here] | placeholder row. The user pastes images directly into the GitHub description editor after the PR is opened; keeping the scaffold saves them retyping the |-|-| separator.Don't paste image URLs yourself, and don't try to write descriptions for screenshots — that's the user's job post-open.
If there's a template at pull_request_template.md, use it verbatim as the structure. Final body should look like:
[BRK-1234 Card title](https://linear.app/breakroom/issue/BRK-1234)
**What changed?**
- Bullet one
- Bullet two
**Why?**
Short paragraph or 1–2 bullets.
**Screenshots and Videos**
| Description | Screenshot/video |
|-|-|
| [Description] | [Paste here] |
Omit the Screenshots section entirely for non-UI PRs (delete the heading and table).
Short, imperative, under 70 chars. If commits already follow a clear theme, summarise that — don't just copy the latest commit subject. Prefix with BRK-XXXX only if the team's recent merged PRs do (check git log origin/main --oneline -20). Otherwise leave the ticket link in the body.
git push -u origin <branch> # if not already pushed
gh pr create --title "..." --body "$(cat <<'EOF'
...
EOF
)"
Return the PR URL to the user.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub breakroom/claude-code-plugins --plugin developer-workflows