Skip to main content
command CX Codex

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

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add gmickel/flow-next
/plugin install flow-next@flow-next
Open on GitHub

What 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 main from 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-next

2Manually: put the files in place

.claude/commands/make-pr.md

Call it with /make-pr. For all projects use ~/.claude/commands/

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

Similar slash commands

All slash commands for Git and GitHub →

From the same set70

The whole set →
strategy Generates and maintains the root STRATEGY.md file covering your project problem, approach, users, and metrics. CX Codex +1 ★ 730repo stars audit The audit command checks .flow/memory/ entries against the current code and assigns an action to each one. Use it when project notes may need revision. CX Codex +1 ★ 730repo stars map A slash command that hands off to the flow-next-map skill to build a semantic feature index of your repository with clawpatch, provider-free by default. CX Codex +1 ★ 730repo stars memory-migrate memory-migrate — a command for Claude Code and Codex that converts legacy flat memory files (pitfalls.md, conventions.md, decisions.md) into a structured YAML schema with automatic entry classification. CX Codex +1 ★ 730repo stars chart chart turns one oversized or fuzzy idea into a decision map. Each run settles a single decision and leaves a brief you can capture as a task. CX Codex +1 ★ 730repo stars capture capture synthesizes the active conversation into a flow-next spec at .flow/specs/<spec-id>.md with review checks and overwrite protection. CX Codex +1 ★ 730repo stars tracker-sync tracker-sync projects a flow spec into Linear, GitHub, GitLab, or Jira, then reconciles issue body, status, and comments in both directions. CX Codex +1 ★ 730repo stars flow-next-setup flow-next-setup links a repo to the flow-next plugin: adds versioned docs and config to CLAUDE.md or AGENTS.md. Other agents, such as Codex or Cursor, can then read the same instructions. CX Codex +1 ★ 730repo stars

Project sponsors

Companies that keep this analytics open