create-pr

A guided command for pushing the current Git branch to GitHub and opening a pull request, a request for others to review and merge changes.

In plain words
What is it for?
Use it when your changes are ready for review and you need to choose a destination branch, summarize the work, follow a pull-request template, and create the request.
Why use it?
It structures the checks, questions, change summary, and project-specific pull-request description before anything is submitted.

Command for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/kickflow/kickflow-mcp-server/create-pr
Clone the repo
git clone --depth 1 https://github.com/kickflow/kickflow-mcp-server

Made for: Claude Code.

Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 494 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00494
Opus 5 $0.00000 $0.00247
Sonnet 5 $0.00000 $0.00099
Haiku 4.5 $0.00000 $0.00049

Measured 2d ago against content hash ecf03f8a435e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

create-pr scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/create-pr.md · 25 lines

What it actually says

現在のブランチをGitHubにプッシュし、プルリクエストを作成します。 ユーザーに質問がある場合は、1つずつ必ず尋ねてください。 以下の手順を必ず遵守してください。勝手に手順を飛ばしたりコミットすることは禁止です。

手順

  1. 現在のブランチを確認し、GitHubにプッシュします。

    • git branch --show-current で現在の[ブランチ名]を確認します。
    • git push origin [ブランチ名] を実行します。
  2. Pull Requestの[マージ先ブランチ]をユーザーに尋ねてください。その際、以下のコマンドでRemoteのbranchをすべて表示して「どのブランチにマージしますか?」と質問してください。

    • git fetch origin && git branch --remotes | grep origin | grep -v -- '->' | grep -v 'renovate/' | sed 's| *origin/||'
  3. 現在のブランチで発生した差分を以下のコマンドで確認して、実装内容を把握して[やったこと]として簡潔に要約してください。

    • git diff origin/[マージ先ブランチ]...[ブランチ名]
  4. 次に[PRの説明]を[プロジェクトフォルダ]/.github/pull_request_template.mdのテンプレートに従って作成します。

    • テンプレートにあるコメントに従って、必要な情報を記入してください。
    • テンプレート内の[やったこと]は、3.で確認した内容をコメントの指示に従って記入してください
  5. Pull Requestを作成します。

    • gh pr create --base [マージ先ブランチ] --title "[PRのタイトル]" --body "[PRの説明]" を実行します。
    • [PRのタイトル]は、実装内容を簡潔に表現した日本語のタイトルを作成してください。
    • [PRの説明]は、4.で作成した内容をそのまま貼り付けてください。
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 25 lines · 0 tokens per session scan A ecf03f8a435e

Subscribe to this mod's changes

create-pr is a command published in the GitHub repository kickflow/kickflow-mcp-server (5 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 494 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.