make-pr — Claude Code command: what it does, how to install
This command hands PR preparation to the flow-next-make-pr skill, which renders a PR body and opens it through gh. Choose a draft, base ref, or dry run with flags.
MIT ★ 730 updated 2026-10-29
/plugin marketplace add gmickel/flow-next
/plugin install flow-next@flow-nextWhat make-pr does
make-pr passes its arguments to flow-next-make-pr. The skill parses flags, resolves a spec from the positional argument or current branch, and checks gh, the base, tasks, and existing PRs before gathering input and rendering the body. It can then push changes and create the PR.
Use --draft or --ready to choose the PR state, --base <ref> to set the base, --memory to include memory, or --dry-run to try the process without creating the PR. gh is part of the pre-flight checks, so that stage cannot pass without it.
What it helps with
- render a PR body from flow-next state
- resolve a spec from its ID or the current branch
- check branch readiness and look for an existing PR
- open a draft PR or a PR for ready work
Example prompts for the agent
- Open a draft PR for spec
spec-42:/make-pr spec-42 --draft - Prepare a PR against
mainfrom the current branch:/make-pr --base main - Show the result without creating a PR:
/make-pr --dry-run
How to install make-pr
1Plugin marketplace
/plugin marketplace add gmickel/flow-next/plugin install flow-next@flow-next2Manually: put the files in place
.claude/commands/make-pr.mdCall it with /make-pr. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/make-pr.mdCall it with /prompts:make-pr. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/make-pr.prompt.mdManually: put the files in place
.gemini/commands/make-pr.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about make-pr
How do I install make-pr in Claude Code?
Add the marketplace with /plugin marketplace add gmickel/flow-next, then install the plugin with /plugin install flow-next@flow-next.
What does make-pr do?
It invokes flow-next-make-pr to resolve a spec, check the branch and PR state, render a PR body, then handle pushing and PR creation.
Does make-pr require gh?
Yes. The skill checks for gh during pre-flight, before gathering input and creating a PR.
Source text
make-pr.md · MIT
--- name: make-pr description: Render a cognitive-aid PR body from flow-next state and open via gh argument-hint: "[spec-id] [--draft|--ready] [--base <ref>] [--memory] [--dry-run]" disable-model-invocation: true --- # IMPORTANT: This command MUST invoke the skill `flow-next-make-pr` The ONLY purpose of this command is to call the `flow-next-make-pr` skill. You MUST use that skill now. **Arguments:** $ARGUMENTS Pass the arguments to the skill verbatim. The skill handles flag parsing (`--draft`, `--ready`, `--base <ref>`, `--memory`, `--dry-run`), spec resolution (positional arg or current-branch match), pre-flight (gh / base / branch / tasks / existing-PR), input gathering, body rendering, push, PR creation, and footer.
© Gordon Mickel · MIT · gmickel/flow-next