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 $0.00048 $0.01529
Sonnet 5 $0.00019 $0.00612
Haiku 4.5 $0.00010 $0.00306

Measured 9d ago against content hash 07035ac78bbf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 9d 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. 9d 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 (7 stars, last pushed 9d ago), licensed MIT. It adds 97 tokens to every session and 3,059 once invoked, about $0.0005 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.

Related

Other skills, from other repositories

git-workflow-and-versioning

Structures git workflow practices. Use when making any code change. Use when committing, branching, resolving conflicts, splitting uncommitted work in a messy working tree into clean atomic commits, opening or reviewing a pull request (PR), pushing to a remote, or when you need to organize work across multiple…

addyosmani/agent-skills · 89 tokens

finishing-a-development-branch

A process for finishing a completed development branch. A branch is a separate line of code changes that can later be merged or submitted as a pull request.

jnMetaCode/superpowers-zh · 25 tokens

skillshare-changelog

Generate CHANGELOG.md entry from recent commits in conventional format. Also syncs the website changelog page. Use this skill whenever the user asks to: generate a changelog, document what changed between tags, or create a new CHANGELOG entry. If you see requests like "write the changelog for v0.17", "what changed…

runkids/skillshare · 134 tokens

skillshare-release

End-to-end release workflow for skillshare. Runs tests, generates changelog (via /changelog), optionally writes local RELEASENOTES, updates version numbers, commits, and drafts announcements. Use when the user says "release", "prepare release", "cut a release", "release v0.19", or any request to publish a new version.…

runkids/skillshare · 87 tokens

github-release-briefing-skill

Create a source-linked briefing for the latest published GitHub release of a public repository. Use for engineering teams tracking a dependency release; do not use it to publish releases or change repositories.

FrancyJGLisboa/agent-skill-creator · 45 tokens

devops/changelog-generation

A method for creating a CHANGELOG, a document that records what changed in each software release. It reads Git commit history and release-pipeline reports, then groups changes using common commit and changelog conventions.

echoVic/boss-skill · 36 tokens