Skip to content
Back to skills

Onex Merge Planner

ASecurity

Use this skill when multiple PRs target the same branch and you need to decide merge order, or when a PR has complex dependencies that affect merge safety. The goal is to classify PRs and produce a priority-ordered merge plan.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 1, 2026
code-qualitygo

Works with

  • cli

Security analysis

A100/100

Scanned September 1, 2026

npx -y skills add Julian0444/omnicursor --skill onex-merge-planner --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Onex Merge Planner?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Onex Merge Planner
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/julian0444-onex-merge-planner/badge)](https://www.skillsdirectory.com/skills/julian0444-onex-merge-planner)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "onex-merge-planner"
description: >-
  Use this skill when multiple PRs target the same branch and you need to decide merge order, or when a PR has complex dependencies that affect merge safety. The goal is to classify PRs and produce a priority-ordered merge plan.
disable-model-invocation: true
---

# onex-merge-planner

Use this skill when multiple PRs target the same branch and you need to decide merge order, or when a PR has complex dependencies that affect merge safety. The goal is to classify PRs and produce a priority-ordered merge plan.

## Purpose

Merging PRs in the wrong order causes unnecessary conflicts, broken CI, and wasted rebase cycles. This skill provides a structured approach to classifying PRs by type, scoring their priority, and determining a safe merge sequence.

## Prerequisites

- Two or more open PRs targeting the same branch, or a single PR with dependency concerns
- Access to `gh` CLI for fetching PR metadata and CI status

## Workflow

1. **Classify each PR by type.**
   Read the diff summary and labels for each PR. Assign one type:
   - **Accelerator** — Small, self-contained changes (docs, config, typo fixes, dependency bumps) that cannot conflict with other PRs.
   - **Normal** — Feature work, bug fixes, or refactors that touch shared code.
   - **Blocked** — PRs with failing CI, unresolved review comments, or explicit dependency on another PR.

2. **Score priority across dimensions.**
   For each non-blocked PR, assess these dimensions:
   - **Size** — Smaller PRs merge first (less conflict surface).
   - **Age** — Older PRs get slight priority to prevent staleness.
   - **CI status** — Green CI scores higher than pending.
   - **Review status** — Approved PRs score higher than awaiting review.
   - **Conflict risk** — PRs touching fewer shared files score higher.

3. **Determine merge order.**
   Sort PRs by: accelerators first (they clear the queue), then normal PRs by priority score descending. For ties, prefer the older PR. List blocked PRs last with their blocking reason.

4. **Check for base branch conflicts.**
   For the top-priority PR, verify it can merge cleanly into the target branch. If conflicts exist, note which files conflict and whether a rebase is needed before merge.

5. **Output the merge plan.**
   Present the ordered list with: PR number, title, type, priority score, and any action required (merge, rebase first, or blocked — fix X).

## Expected Output Format

A merge plan containing:
- PR classification table (number, title, type, CI status, review status)
- Priority-ordered merge sequence with scores
- Blocked PRs with blocking reasons
- Conflict warnings for the next PR to merge

## Quality Checklist

- [ ] Every PR is classified as accelerator, normal, or blocked
- [ ] Priority scoring considers size, age, CI, review, and conflict risk
- [ ] Merge order lists accelerators before normal PRs
- [ ] Blocked PRs include a specific blocking reason
- [ ] Conflict check performed for the top-priority PR

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.