pr-staged-merge-plan

pr-staged-merge-plan is a skill for Claude Code, Codex from pekral/cursor-rules. It costs 97 tokens per session (3,059 once invoked), scanned A, original, MIT.

A read-only planning guide for splitting a large pull request into smaller changes that can be merged and deployed independently.

In plain words
What is it for?
Use it to analyze every commit in a pull request, group commits into shippable units, and propose safe squashes without changing the repository.
Why use it?
It reduces deployment risk by ordering changes around dependencies and rollback concerns while keeping the project history understandable.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to analyze every commit in a pull request, group commits into shippable units, and propose safe squashes without changing the repository.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pekral/cursor-rules/pr-staged-merge-plan
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.

Any agent
npx skills add pekral/cursor-rules --skill pr-staged-merge-plan
Clone the repo
git clone --depth 1 https://github.com/pekral/cursor-rules

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 pr-staged-merge-plan

README.md
[![agentmods](https://agentmods.dev/badge/skills/pekral/cursor-rules/pr-staged-merge-plan/github.svg)](https://agentmods.dev/skills/pekral/cursor-rules/pr-staged-merge-plan)
Your own site
<a href="https://agentmods.dev/skills/pekral/cursor-rules/pr-staged-merge-plan"><img src="https://agentmods.dev/badge/skills/pekral/cursor-rules/pr-staged-merge-plan/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pr-staged-merge-plan

Your own site · 80×15
<a href="https://agentmods.dev/skills/pekral/cursor-rules/pr-staged-merge-plan"><img src="https://agentmods.dev/badge/skills/pekral/cursor-rules/pr-staged-merge-plan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,059 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00097 $0.03059
Opus 5.5 $0.00039 $0.01224
Sonnet 5.5 $0.00019 $0.00612
Haiku 4.5 $0.00010 $0.00306

Measured 1mo ago against content hash 07035ac78bbf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pr-staged-merge-plan 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 1mo 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.

skills/pr-staged-merge-plan/SKILL.md · 113 lines

How it starts

The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Constraints

  • Apply @rules/git/general.mdc — every proposed commit subject follows Commit Messages (English, type(scope): short description, lowercase, allowed types only, no trailing period) and every proposed unit follows One phase = one commit.
  • Read-only. Never run git rebase, git commit --amend, git cherry-pick, git reset, git push, gh pr merge, or gh pr edit. This skill produces a plan; a human or a follow-up skill executes it.
  • Load PR context only through skills/code-review-github/scripts/load-issue.sh <NUMBER|URL>. Never call gh pr view / gh api /repos/.../pulls/... directly; fall back to the GitHub MCP server only when the loader is unavailable (exit code 2/3). Local git log / git diff reads against the loaded base and head refs are expected and allowed.
  • Merging a unit is owned by @skills/merge-github-pr/SKILL.md; interactive-rebase, conflict, and force-with-lease mechanics are owned by @skills/git-workflow/SKILL.md. Reference them — do not restate them.
  • Commit-level reshaping inside one PR is owned by @rules/git/general.mdc Git Rules, not by this skill. This skill is the on-demand deeper plan: it splits the work into several pull requests, each with its own review-and-merge gate — the answer for units that cannot ship inside one PR (destructive migration, consumer-contract change needing expand → migrate → contract across deploys).
  • Every unit is its own pull request and carries its own hard code-review gate (@rules/git/general.mdc Merging): the plan never proposes merging a unit whose own diff has not been reviewed to 0 Critical + 0 Moderate.
  • No work may be dropped or re-scoped. The union of the proposed units must equal the current PR's diff exactly — same files, same net content. State this reconciliation explicitly in the output.
  • Do not publish the plan anywhere unless the user asks for it. When asked, apply @rules/reports/general.mdc (assignment language) and post it via skills/code-review-github/scripts/upsert-comment.sh <NUMBER|URL> - — never a raw gh pr comment.

Read the full file on GitHub · 113 lines

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. 1mo ago First seen · 113 lines · 97 tokens per session scan A 07035ac78bbf

Subscribe to this mod's changes

pr-staged-merge-plan is a skill published in the GitHub repository pekral/cursor-rules (11 stars, last pushed 26d ago), licensed MIT. It adds 97 tokens to every session and 3,059 once invoked, about $0.0004 per session on Opus 5.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.

Related

Other skills, from other repositories

publish-package

Package registry publishing for npm, crates.io, PyPI, and Homebrew. Verifies prerequisites, runs the publish command, confirms success, and surfaces actionable error hints on failure.

danielvm-git/bigpowers · 39 tokens

release-branch

Make the merge/PR/keep/discard decision for a feature branch, verify coverage gates, create the PR with gh, and clean up the worktree. Use when a feature is done and ready to ship, or when user says "release", "merge", or "open a PR".

danielvm-git/bigpowers · 63 tokens

release-notes

Summarize a logical grouping of git commits into plain-language release notes for non-technical readers. Use when the user asks for release notes, what changed, a summary of commits, a plain-English changelog, or an easy-to-read bullet list of work at a specific reading level (default 8th grade). Ask which boundary to…

jcottam/agent-resources · 87 tokens

larapilot-release

Manages the versions of the product: semver releases, which story targets which version, progress and forecast per version, release notes, and Gitflow release branches. Requires releasemode=YES. Italian: release, versione, versioni, semver, note di rilascio.

andreapollastri/larapilot · 62 tokens

fable-release

Audit and certify repository merge and release readiness against required quality gates, clean git working trees, and verified distribution artifacts. Use when preparing a release tag, validating release checklist criteria, publishing npm/PyPI packages, or certifying a branch for merge — even if the user does not…

imMamdouhaboammar/get-fable · 113 tokens

cognitive-version-snapshot

A controlled process for saving a major new version of a system document as a dated snapshot.

TashanGKD/tashan-cursor-skills · 63 tokens