pr

pr is a command for Claude Code from jujunjun110/product-starter. It costs 14 tokens per session (802 once invoked), scanned A, original, MIT.

フィーチャーブランチを作成してPRを出す.

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/jujunjun110/product-starter/pr
Clone the repo
git clone --depth 1 https://github.com/jujunjun110/product-starter

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pr

README.md
[![agentmods](https://agentmods.dev/badge/commands/jujunjun110/product-starter/pr.svg)](https://agentmods.dev/commands/jujunjun110/product-starter/pr)
Your own site
<a href="https://agentmods.dev/commands/jujunjun110/product-starter/pr"><img src="https://agentmods.dev/badge/commands/jujunjun110/product-starter/pr.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 802 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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.00014 $0.00802
Opus 5 $0.00007 $0.00401
Sonnet 5 $0.00003 $0.00160
Haiku 4.5 $0.00001 $0.00080

Measured today against content hash 2804e048fc23, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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 today.

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/pr.md · 50 lines

What it actually says

現在の状況

  • 現在のブランチ: !git branch --show-current
  • 変更ファイル: !git status --short
  • 追加の指示: $ARGUMENTS

タスク

以下の手順でPRを作成してください:

  1. 現在の状態を確認: git statusgit diff で変更内容を確認し、PRに含める変更を把握する。変更がない場合はユーザーに報告して終了する。

  2. 目的(Why)の明確化: このPRが必要な理由を明確にする。以下のいずれかの形式で言語化できるようにする:

    • 「(対象者)が(困っている状態)を解消するため」
    • 「(対象者)が(嬉しい状態)になるため」

    目的が明確でない場合は、必ずユーザーに質問して確認を取ること。PRのdescriptionに目的として記載する。

  3. ブランチ決定:

    • 現在のブランチがdevelopやmainの場合: 変更内容に基づいて適切なブランチ名を自分で決定し、新しいブランチを作成してチェックアウトする(例: feature/add-dark-mode, fix/login-error, refactor/auth-logic
    • 既にフィーチャーブランチにいる場合: 変更内容がブランチ名と合致していればそのまま使用する。合致していない場合はdevelopから新しいブランチを作成して変更を持ち越す
  4. 品質チェック: ソースコード(.ts.tsx.js.jsxファイル)への変更がある場合のみ、プロジェクトルートで以下を実行する。ドキュメントや設定ファイルのみの変更の場合はスキップ可。

    • pnpm typecheck
    • pnpm lint
    • pnpm test:unit
    • pnpm knip(未使用コード検出) エラーがあれば修正してから次に進む。
  5. コミット: 変更内容を確認し、適切なコミットメッセージでコミットする。コミットメッセージは変更内容を反映した簡潔なものにする。

  6. コンフリクト確認: git fetch origin して、developとのマージ可能性を確認する(bash -c 'git merge-tree $(git merge-base HEAD origin/develop) HEAD origin/develop' でコンフリクトの有無を確認)。コンフリクトがある場合はユーザーに報告し、続行するか確認を取る。

  7. プッシュ: リモートにプッシュする(git push -u origin <branch-name>

  8. PR作成: gh pr create でPRを作成する。--base オプションは付けない(デフォルトのベースブランチを使用)。

  9. 完了報告: 作成したPRのURLを報告する。

注意事項

  • developやmainへの直接pushは禁止。
  • Prismaのマイグレーションを含む場合は、PRを出す前にユーザーに確認を取る。
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. today First seen · 50 lines · 14 tokens per session scan A 2804e048fc23

Subscribe to this mod's changes

pr is a command published in the GitHub repository jujunjun110/product-starter (17 stars, last pushed 2mo ago), licensed MIT. It adds 14 tokens to every session and 802 once invoked, about $0.0001 per session on Opus 5. 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-09-03.