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.
npx agentmods add skills/eaglesakura/agent-skills/split-pull-request-rulenpx skills add eaglesakura/agent-skills --skill split-pull-request-rulegit clone --depth 1 https://github.com/eaglesakura/agent-skillsWrote 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.
[](https://agentmods.dev/skills/eaglesakura/agent-skills/split-pull-request-rule)<a href="https://agentmods.dev/skills/eaglesakura/agent-skills/split-pull-request-rule"><img src="https://agentmods.dev/badge/skills/eaglesakura/agent-skills/split-pull-request-rule.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00183 | $0.02756 |
| Opus 5 | $0.00092 | $0.01378 |
| Sonnet 5 | $0.00037 | $0.00551 |
| Haiku 4.5 | $0.00018 | $0.00276 |
Grade A, and why
split-pull-request-rule 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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 187 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Split Pull Request Rule
大きな変更を、ジュニアエンジニアでも 10 分以内に確認できる Pull Request 群へ分ける。
本 SKILL は分割方針・ブランチ名・依存関係の提案までを担う。実際のブランチ作成・コミット・gh pr create は行わない。
いつ使うか
- ユーザーが PR 分割を指示したとき
- 差分・計画・実装が 1 PR ではレビュー負荷が高そうで、分割を検討すべきとき
- Stacked PR(依存する一連の PR)として出す前提で、順序とブロッキングを整理したいとき
/split-to-prsなど実行系と組み合わせ、先に「どう分けるか」を固めるとき
いつ使わないか
- 単純に 1 本の PR を作成・更新するだけのとき(本文起草・
gh pr createのみ) - ブランチ命名規則だけが論点のとき(分割が不要な場合)
- コード実装・バグ修正そのもので、PR 境界の設計が不要なとき
役割分担
| 役割 | 担当 |
|---|---|
| 分割方針・PR 一覧・依存グラフ・ブランチ名案 | 本 SKILL |
| ブランチ作成・コミット分割・PR 作成の実行 | /split-to-prs 等の実行系(ユーザー承認後) |
分割により元ブランチのコミット履歴が失われてもよい。履歴保全よりレビュー粒度を優先する。
分割方針(優先度順)
- 確認時間: 1 PR は、想定レビュアー(ジュニアエンジニア)が 10 分以内 に確認できる粒度にする(最優先)
- 低レイヤー → 高レイヤー: 独立した関連機能ごとに PR を切り、下位からマージできる順にする
- 完全独立機能: 本実装の本筋と論理的に独立している変更は別 PR にする(先行または並行。blocking が無ければ non-blocking)
- 例: 共通モジュールへの特定の共通 UI 追加、新しい共通モジュールの追加、実装に先立つ既存テストのカバレッジ増加
- インターフェースと実装: 分離しているなら別 PR。順序はインターフェース → 実装(+その Unit Test)
- 実装と Unit Test: 紐づく実装と Unit Test は同一 PR
- 単一関心への紐付け: ある機能(クラス・関数など)にだけ属する変更は同一 PR でよい
- 限定スコープ: private 等、呼び出し範囲が狭いものは呼び出し元と同一 PR
- UI 境界: 画面実装があり MVVM 等で境界がある場合は、Model+ViewModel → View のように境界で分割する(同等の分離があれば同じ考え方)
- アーキテクチャレイヤー: レイヤーが分かれているならレイヤーごとに分割する
- テスト前提データ: テスト用・ダミーデータの追加など、「あるテストの前提」かつ独立レビューすべきものは別 PR
- 前提整備: 「本実装の前提として既存コードを先に直す」類は先行 PR に切り出す
言語・フレームワーク固有の用語に依存せず、リポジトリの実際の境界(パッケージ、モジュール、レイヤー、公開 API)に当てはめて判断する。
ブランチ名
分割後の各ブランチは次の形式にする。
{元のブランチ名}-{通し番号}-{内容}
{元のブランチ名}: 分割元の作業ブランチ名をそのまま使う{通し番号}:01,02, … のようにゼロ埋め 2 桁を推奨(推奨マージ順と揃える){内容}: その PR の関心が分かる短い英数字・ハイフン(例:add-auth-interface,impl-auth,ui-login)
例: 元ブランチが feature/id/42/add-login のとき
feature/id/42/add-login-01-auth-interfacefeature/id/42/add-login-02-auth-implfeature/id/42/add-login-03-login-view
依存関係(Stacked PR 前提)
Stacked PR が有効であることを前提に、PR 間の依存を次で区別する。
- blocking(ブロッキング): 後続 PR のレビュー・マージ前に、先行 PR のマージ(または同等の取り込み)が必要
- non-blocking(非ブロッキング): 並行レビュー可能。マージ順の好みやコンフリクト回避のための順序付けはあるが、論理的には独立
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 3d ago First seen · 187 lines · 183 tokens per session scan A 832e12a5374e
split-pull-request-rule is a skill published in the GitHub repository eaglesakura/agent-skills (2 stars, last pushed 9d ago), licensed MIT. It adds 183 tokens to every session and 2,756 once invoked, about $0.0009 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.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
auto-perf-optimize
Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.
chat-perf
Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…