本文へ移動
cccskills
無料GitHub で公開日本語紹介

merge-batch

指定した複数のプルリクエストをまとめて調査・準備し、競合や貢献者の記録を確認しながら、実際に統合する変更ごとに必要な検証と承認を確かめるスキルです。

原文原文の説明を見る

Prepare and merge an owner-selected PR batch with contributor credit and exact-candidate admission. Use for a pasted PR list; combined focused validation is diagnostic, and every actual landing still requires its applicable checks and authorization.

インストール方法を見る

こんなときに便利

  • 指定したPR群の統合を準備したいとき
  • 変更同士の競合を調べたいとき
  • 統合前の検証と承認を確認したいとき
  • 統合結果と貢献者の記録を残したいとき

日本語での紹介

できること

指定した複数のプルリクエスト(コード変更の提案)を調査し、統合の準備からマージ後の確認まで進めます。変更の重複や競合、担当中の作業、貢献者の記録を確認し、まとめて検証するための専用ブランチを用意します。実際の統合では、その時点の変更内容に必要なチェック結果と承認を個別に確かめます。

こんなときに便利

複数の変更を取り込む前に、相互の影響や対応順を整理したい開発担当者に向いています。準備済み、統合済み、現在も検証が有効な状態を分けて報告するため、一部だけ統合した場合も残作業を把握できます。

使い方の例

  • 「このPR一覧を調査し、重複・競合・保留理由を整理して」
  • 「承認済みのPRを、必要な検証と貢献者の記録を確認して順に統合して」

注意点

共有ルールファイルと実際に導入されたスキルの契約チェックに依存します。一覧の分析・準備の依頼は、マージやクローズの許可にはなりません。まとめたブランチでの検証成功だけでは統合できず、各変更の必須チェックと権限確認が必要です。検証した内容を保てない場合は保留します。

この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。

含まれるファイル(1)

  • SKILL.md5.6 KB

SKILL.md(原文)

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

Merge batch: shared preparation, exact admission

Read ../_shared/base-green.md, ../_shared/validation-gate.md and ../_shared/merge-gates.md. Their current-candidate, authority, protected-surface and credit rules govern this workflow. Historical throughput, administrative merge and blanket rebaseline exceptions are superseded by that protocol.

Batching shares discovery and conflict diagnosis. It does not make a combined board's PASS evidence valid for different intermediate squash candidates.

1. Intake and authority

Resolve each selected PR's open/draft state, current head/base, target, contributor and write authority. Read the diff and current freeze state, and check active worktree ownership. Hold any item another session is working. A request to analyze or prepare a list is not authority to merge or close it.

Run scripts/quality/check-skill-contract.mjs against the actual installed skills root before admission. Missing or drifted modeled instructions mean HOLD; a template-only check does not verify the installation being used.

Show a 1–5 star table with rationale, overlaps and holds. Stars prioritize work; they do not waive required checks or protected-surface approval. Ask the owner before acting on low-star items or dispatching rework not already authorized. For a subsumed item, prove the current behavior and obtain the separate per-item closure decision; preserve the original PR when its work is being used.

Completion: selected scope, target, ownership and permitted actions are explicit.

2. Build the diagnostic board

Pin the approved live base and record the ordered PR heads. Use one owned branch and worktree under .claude/worktrees/, with active hooks and dependencies matching the candidate lockfile. Verify dependency identity instead of assuming a copy from the shared checkout is current. Do not install over shared hard links.

Board the selected refs and verify each is an ancestor of the combined head. Resolve overlaps without dropping sibling behavior or contributor attribution. Keep unrelated worktrees and the shared checkout untouched; never use git stash. Parallel preparation needs authorized delegation and disjoint write ownership.

Completion: the board has a recorded base, ordered heads, final SHA/tree and a scoped diff that contains every intended change and reconciliation.

3. Diagnose and repair

Run the applicable static profile and focused tests with their actual collectors. Keep stdout/stderr, exits, signals, versions and identities. These are PARTIAL evidence, not merge acceptance. Full workflow evidence can be supplied by the approved server queue; it need not be redundantly simulated for every local probe.

Compare a failed requirement on the exact pinned base under comparable runtime and installation before attributing it. Record resource/setup interruptions separately. Controlled repetitions may diagnose instability; a later PASS does not erase an earlier required FAIL. Preserve assertions, thresholds and baselines.

Apply every required conflict, i18n, documentation and code reconciliation to the candidate before its acceptance. Do not deliberately land a red tip and promise a follow-up after distributing the batch.

Completion: proven defects have scoped RED/GREEN evidence, and remaining failures or incomplete lanes have explicit dispositions without green-by-bypass.

4. Admit each actual landing

Use the shared merge gates for every selected PR/group. Resolve its current base, head, tested candidate and policy again. Require all applicable required lanes, including Gate / CI, Gate / Quality and requirements outside those aggregates. Draft skips, MERGEABLE, a green board, an old head and inherited failures are not acceptance. A changed identity returns the item to validation.

Use an approved server-enforced queue or reviewed identity-preserving protocol for each actual landing. gh pr merge --match-head-commit guards the head only; it does not atomically guard the base or replace missing required checks. If the tool cannot preserve the tested candidate or exclude a race, HOLD.

Merge only the owner-authorized item after protected-surface approval where applicable. Keep contributor fixes in their authorized branch; a locked fork needs the shared credit-preserving fallback, not a direct protected-branch push. Administrative bypass, trust approval and release/deploy authority are separate exceptional decisions, never inferred from a batch request or star rating.

Completion: the actual landed identity has current required evidence and the specific authority for that mutation, or the item remains prepared/HOLD.

5. Readback and handoff

Verify merged state, actual SHA/tree and contributor credit. Refresh and validate the resulting base before admitting the next landing. Report prepared, integrated and currently validated separately; a partially landed batch is not a full PASS.

Retain an ordered ledger of PRs, base/head/candidate/landing identities, checks, receipts, contributor attribution and holds in the owned private task artifacts. Close only separately authorized items and use the shared credit rules. Preserve evidence before safe teardown of worktrees created for this batch; never remove another session's work or leave the shared checkout on a different branch.

レビュー

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

同じリポジトリのスキル

概要と使いどころ

cli-a2a

無料日本語概要

コマンドラインからOmniRouteのA2Aサーバーへタスクを送り、実行履歴やログの確認、進行状況の監視、エージェント間通信のテストを行うスキル。

  • サーバー状態とスキルを確認したいとき
  • JSON入力でスキルを呼び出したいとき
  • タスクの実行履歴やログの確認
diegosouzapw/OmniRoute7.8万2026年10月18日 更新

cli-backup-sync

無料日本語概要

OmniRouteのデータをコマンドラインでバックアップ・復元し、定期保存や暗号化、クラウド同期、同期前の差分確認とデータの取り込みを管理するスキル。

  • 復元前にバックアップを作りたいとき
  • 定期バックアップを設定したいとき
  • クラウド同期前の差分確認
diegosouzapw/OmniRoute7.8万2026年10月18日 更新

cli-batches

無料日本語概要

AIへの推論リクエストをまとめてコマンドから投入し、進行状況の確認から結果・エラーの保存まで扱います。処理用ファイルの管理やCI/CDへの組み込みにも使えます。

  • JSONLからAIリクエストを一括投入
  • バッチの進行確認と完了待ち
  • 処理結果とエラーの保存
diegosouzapw/OmniRoute7.8万2026年10月18日 更新

cli-chat

無料日本語概要

端末からLLMに質問を送り、回答の逐次表示や対話を行うスキルです。ファイル入力、モデル選択、システムプロンプトの指定にも対応します。

  • 端末からAIに質問したいとき
  • ファイルの内容を質問に使いたいとき
  • 回答を逐次表示して保存したいとき
diegosouzapw/OmniRoute7.8万2026年10月18日 更新

cli-compression

無料日本語概要

プロンプトを短くする圧縮設定をコマンドラインで管理し、RTKやCavemanのルール、複数方式の組み合わせを調整して、実際の入力で結果を確認するスキル。

  • 実際の入力で圧縮結果を確認したいとき
  • RTKやCavemanのルール調整
  • 複数の圧縮方式を比較したいとき
diegosouzapw/OmniRoute7.8万2026年10月18日 更新

cli-contexts

無料日本語概要

コマンドラインでAIに渡す情報の処理設定やフィルターを調整し、OmniRouteの接続先の切り替えと会話セッションの確認・管理を行うスキル。

  • トークン予算やフィルターを調整したいとき
  • 登録済みの接続先を切り替えたいとき
  • 接続設定をJSONで入出力したいとき
diegosouzapw/OmniRoute7.8万2026年10月18日 更新

diegosouzapw のスキルをすべて見る

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