create-pr

create-pr is a skill for Claude Code, Codex from careerchain-ys/stdd. It costs 70 tokens per session (1,042 once invoked), scanned A, original, Apache-2.0.

A guide for creating a pull request from the current code branch to the repository's primary branch. A pull request is a proposal to merge reviewed changes into the main line of development.

In plain words
What is it for?
Use it to inspect commits and changed files, classify the changes, generate a pull-request title and description, and run the command that creates the pull request.
Why use it?
It removes the need to manually collect branch differences, identify affected areas, and write the request summary. It also checks for issue references that should be closed when the changes are merged.

Skill for Claude CodeCodex

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 skills/careerchain-ys/stdd/create-pr
Any agent
npx skills add careerchain-ys/stdd --skill create-pr
Clone the repo
git clone --depth 1 https://github.com/careerchain-ys/stdd

Made for: Claude Code, Codex.

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 create-pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/careerchain-ys/stdd/create-pr.svg)](https://agentmods.dev/skills/careerchain-ys/stdd/create-pr)
Your own site
<a href="https://agentmods.dev/skills/careerchain-ys/stdd/create-pr"><img src="https://agentmods.dev/badge/skills/careerchain-ys/stdd/create-pr.svg" alt="Measured on agentmods" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,042 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.00070 $0.01042
Opus 5 $0.00035 $0.00521
Sonnet 5 $0.00014 $0.00208
Haiku 4.5 $0.00007 $0.00104

Measured 4d ago against content hash 79c20461adb7, 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 4d 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.

.agents/skills/create-pr/SKILL.md · 113 lines

What it actually says

Pull Request 作成

現在のブランチから主ブランチ(.stdd.config.ymlproject.primary_branch)へのPRを作成する。差分を分析し、適切なtitle/descriptionを自動生成する。

以降のコマンド例では <primary_branch>.stdd.config.ymlproject.primary_branch の値に置き換えて実行する。

1. 差分情報の収集

# <primary_branch> は .stdd.config.yml の project.primary_branch
git fetch origin <primary_branch>

以下を並列で実行:

git log --oneline origin/<primary_branch>...HEAD
git diff origin/<primary_branch>...HEAD --name-only
git diff origin/<primary_branch>...HEAD --stat
git branch --show-current

必要に応じて変更内容の詳細も確認:

git diff origin/<primary_branch>...HEAD

2. 変更内容の分析

  1. 変更の種類を特定: feat / fix / refactor / docs / test / style / perf / chore
  2. 影響範囲を特定: .stdd.config.yml の各 apps[].id / supabase / e2e / docs(apps[] を読み、変更があったアプリを列挙する)
  3. 主要な変更点を抽出: 新規ファイル、削除ファイル、大幅変更ファイル

3. Issue情報の確認

引数やコミットメッセージからissue番号(#123形式)を検出した場合:

  • PR descriptionの末尾に Closes #123 を追記してissueを自動クローズする
  • 複数ある場合は Closes #123, Closes #456 のように列挙する

4. PRの作成

gh pr create を使ってPRを作成する。

タイトル

  • 70文字以内
  • 変更の種類をprefixに付ける(例: feat: ユーザー一覧のフィルター機能を追加

Description テンプレート

## 概要

[変更の目的・背景を1-2文で説明]

## 変更内容

- [変更点1]
- [変更点2]
- [変更点3]

## 影響範囲

- [ ] <apps[].id>   <!-- .stdd.config.yml の apps[] を読み、apps[] の数だけ列挙する -->
- [ ] supabase
- [ ] e2e
- [ ] docs

## 確認手順

1. [確認手順1]
2. [確認手順2]

## 備考

[レビュアーへの補足事項があれば記載。なければセクションごと削除]

Closes #[issue番号]

作成コマンド

bodyは一時ファイル経由で渡す(ヒアドキュメントは避ける):

# <primary_branch> は .stdd.config.yml の project.primary_branch
gh pr create --base <primary_branch> --title "タイトル" --body-file /tmp/pr-body.md

5. 完了

作成したPRのURLを表示する。

注意事項

  • 「何が変わったか」「なぜ変わったか」を日本語で端的に記述する
  • 技術的な詳細より変更の目的を重視する
  • 影響範囲のチェックボックスは該当するもののみチェックを入れる
  • 確認手順には実際にレビュアーが確認すべき操作を具体的に記載する
  • 機密情報(APIキー、パスワードなど)が含まれていないか確認する
  • リモートにpushされていない場合は先にpushする
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. 4d ago First seen · 113 lines · 70 tokens per session scan A 79c20461adb7

Subscribe to this mod's changes

create-pr is a skill published in the GitHub repository careerchain-ys/stdd (2 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 70 tokens to every session and 1,042 once invoked, about $0.0003 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-08-31.