本文へ移動
cccskills
無料GitHub で公開

pr-create

PRを作る、または既存PRのbodyを直す。ユーザーが「PRを作る」「PR出して」「PRのbodyを直して」と言ったとき、ユーザーが `/pr-create` と打ったとき、または `gh pr create` や `gh pr edit --body` がhookにブロックされたときに使う。Creates or edits a pull request with a three-line body.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md2.4 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

PR Create

PRの作成とbodyの変更は ~/.claude/scripts/gh/pr-body.sh から実行する。

PR bodyの条件

やったことを書く。

  • 行数
    • 3行以内
    • 空行
      • 数えない
    • 箇条書き
      • 1項目を1行と数える

次は書かない。

  • 理由
  • 見出し
  • 動作確認
  • 変更ファイルの列挙
  • 定型句
    • Generated with

作成の手順

1. 変更の把握

git log と git diff でコミット済みの変更を見る。未コミットの変更が残っていればユーザーに確認する。

2. push

git push -u origin <branch>

3. bodyの作成

mktemp で一時ファイルを作り、mktemp が返したパスにWriteでbodyを書く。

mktemp

4. 作成

~/.claude/scripts/gh/pr-body.sh --title <title> --body-file <path> --base main

スクリプトが終わるまで待つ。

  • --title
    • 英語のconventional commit形式で書く
  • body
    • --body-file でだけ渡せる
  • --draft などの残りの引数
    • gh pr create にそのまま渡す

編集の手順

--edit を付ける。

~/.claude/scripts/gh/pr-body.sh --edit --body-file <path> [<PR番号>]
  • PR番号を省略した場合
    • 現在のブランチのPRを対象にする
  • --title
    • 編集では省略できる
  • gh pr edit を直接実行してよいもの
    • title
    • ラベル

スクリプトが拒否したときの対応

  • 行数超過
    • bodyを3行以内に削る
  • findings
    • stderrのJSONを読む
      • problem
      • fix
    • bodyを直す

直したら同じコマンドをそのまま実行する。

  • パス数
    • ブランチごとに数える
  • 拒否条件
    • mechanical
      • 毎回
    • llm
      • 1パス目だけ

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Use by any agent before writing specs, editing code, or changing workflow files when the change could add compatibility behavior, aliases, silent fallbacks, or default-value fallbacks.

日本語の概要は準備中です。原文の説明を表示しています。

ogadra/dotfiles32026年10月10日 更新

Cascade merge changes through a chain of dependent branches. Use when updating stacked/chained PRs, propagating changes from a parent branch to all downstream branches, or when the user mentions "cascade merge", "propagate changes", "update dependent branches", or "merge to downstream branches".

日本語の概要は準備中です。原文の説明を表示しています。

ogadra/dotfiles32026年10月10日 更新

grill-me

無料

Interview the user in rounds until no branch of the design tree stays open.

日本語の概要は準備中です。原文の説明を表示しています。

ogadra/dotfiles32026年10月10日 更新

import-skill

無料日本語概要

外部のスキルをこのリポジトリにコピーして自分のスキルにする。ユーザーがスキルのURLやリポジトリ名を渡して「入れたい」「導入したい」と言ったとき、「上流を参照せずコピーしたい」と言ったとき、またはユーザーが `/import-skill` と打ったときに使う。Vendors an external Claude skill into this repository.

ogadra/dotfiles32026年10月10日 更新

ponytail

無料

Forces the laziest solution that actually works, simplest, shortest, most minimal. Channels a senior dev who has been paged at 3am for a factory class that wrapped one function: question whether the task needs to exist at all, reach for the standard library before custom code, native platform features before dependencies, one line before fifty. Supports intensity levels: lite, full, ultra. The default is full. Use on ANY coding task: writing, adding, refactoring, fixing, reviewing, or designing code, and choosing libraries or dependencies. Also use whenever the user says "ponytail", "be lazy", "lazy mode", "simplest solution", "minimal solution", "yagni", "do less", or "shortest path", or complains about over-engineering, bloat, boilerplate, or unnecessary dependencies. Do NOT use for non-coding requests such as general knowledge, prose, translation, summaries, recipes.

日本語の概要は準備中です。原文の説明を表示しています。

ogadra/dotfiles32026年10月10日 更新

pr-review

無料日本語概要

Review a GitHub pull request from multiple perspectives in parallel, output only findings, then let the user pick which to fix in the same session. Use when the user asks to review a PR by number, mentions "PRレビュー" / "PR review" with a number, or invokes `/pr-review <number>`. Fans out subagents for absolute-rules, stop-slop, security, architecture, code-quality, testing, and ai-antipattern.

ogadra/dotfiles32026年10月10日 更新

ogadra のスキルをすべて見る

このスキルの問題を報告する