pr-merge-readiness

pr-merge-readiness is a skill for Claude Code from LucasSantana-Dev/sharekit. It costs 78 tokens per session (2,499 once invoked), scanned A, original, MIT.

A single readiness check for a pull request, which is a proposed code change awaiting review. It combines CI results, approvals, conflicts, branch freshness, security scans, and automated reviewer feedback into a MERGE, WAIT, or FIX verdict.

In plain words
What is it for?
It helps decide whether one pull request—or a batch of pull requests—is ready to merge into the main codebase.
Why use it?
It replaces a scattered pre-merge checklist with one view of the conditions that could block merging.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: reads .claude/ paths; positional $N argument.

Good fit It helps decide whether one pull request—or a batch of pull requests—is ready to merge into the main codebase.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lucassantana-dev/sharekit/pr-merge-readiness
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 LucasSantana-Dev/sharekit --skill pr-merge-readiness
Clone the repo
git clone --depth 1 https://github.com/LucasSantana-Dev/sharekit

Made for: Claude Code.

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-merge-readiness

README.md
[![agentmods](https://agentmods.dev/badge/skills/lucassantana-dev/sharekit/pr-merge-readiness/github.svg)](https://agentmods.dev/skills/lucassantana-dev/sharekit/pr-merge-readiness)
Your own site
<a href="https://agentmods.dev/skills/lucassantana-dev/sharekit/pr-merge-readiness"><img src="https://agentmods.dev/badge/skills/lucassantana-dev/sharekit/pr-merge-readiness/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-merge-readiness

Your own site · 80×15
<a href="https://agentmods.dev/skills/lucassantana-dev/sharekit/pr-merge-readiness"><img src="https://agentmods.dev/badge/skills/lucassantana-dev/sharekit/pr-merge-readiness.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,499 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.00078 $0.02499
Opus 5.5 $0.00031 $0.01000
Sonnet 5.5 $0.00016 $0.00500
Haiku 4.5 $0.00008 $0.00250

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

Security

Grade A, and why

pr-merge-readiness 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 2mo 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.

sharekit-profile/.claude/skills/pr-merge-readiness/SKILL.md · 259 lines

How it starts

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

PR Merge Readiness

Replaces the manual checklist of "is CI green? are reviews approved? does it conflict? did Sonar/CodeRabbit/Greptile finish? is the branch stale?" with a single skill that collects every signal and outputs one verdict.

Use When

  • About to merge a PR and want one combined "ready / not ready" answer
  • Reviewing many PRs in a batch and need a triage table
  • Reviewing PRs from PR-Agent, CodeRabbit, or Greptile that already have third-party comments to reconcile

Do Not Use When

  • The PR is still WIP and you know it isn't done — use ship later
  • Only one signal matters (e.g., just need CI status) — use ci-watch directly
  • The work is on a branch with no PR yet — use pr-flow to create one first

Inputs / Prereqs

  • gh CLI authenticated for the repo
  • PR number, URL, or current branch (defaults to current branch's open PR)
  • --strict flag: fail on any non-passing signal, even informational ones

Workflow

1. Identify the PR

# Default to current branch's PR
PR=$(gh pr view --json number -q .number 2>/dev/null)
[ -z "$PR" ] && { echo "No open PR for current branch"; exit 1; }

# Or use explicit arg
[ -n "$1" ] && PR="$1"

gh pr view "$PR" --json title,headRefName,baseRefName,mergeable,mergeStateStatus,\
isDraft,reviewDecision,statusCheckRollup,labels,additions,deletions,changedFiles,\
updatedAt,author,url

2. Collect signals

Run all checks in parallel where possible. Each produces a status: PASS, WARN, FAIL, or SKIP (signal not applicable to this repo).

Signal 1: Draft state
gh pr view "$PR" --json isDraft -q .isDraft

Draft → FAIL (cannot merge a draft).

Signal 2: Mergeability and conflicts
gh pr view "$PR" --json mergeable,mergeStateStatus

mergeable: CONFLICTING → FAIL with the list of conflicting files. mergeStateStatus: BLOCKED → FAIL (required reviews missing or branch protection). mergeStateStatus: BEHIND → WARN (rebase/merge main needed). mergeStateStatus: CLEAN → PASS.

Read the full file on GitHub · 259 lines

Files

What ships with it

3 files 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.

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. 2mo ago First seen · 259 lines · 78 tokens per session scan A 74dfbee01ae8

Subscribe to this mod's changes

pr-merge-readiness is a skill published in the GitHub repository LucasSantana-Dev/sharekit (2 stars, last pushed today), licensed MIT. It adds 78 tokens to every session and 2,499 once invoked, about $0.0003 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-09-03.

Related

pr-merge-readiness compared with skills from other repositories

pr-merge-readiness next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pr-merge-readinessLucasSantana-Dev/sharekitSkill2todayMITA78Claude Code
autofix-prQwenLM/qwen-codeSkill31ktodayApache-2.0A142Claude Code
gh-find-prsHmbown/CodeWhaleSkill41kyesterdayMITA27Claude Code, Codex
hunk-releasemodem-dev/hunkSkill9.9ktodayMITA38Claude Code, Codex
pr-stewardagent-of-empires/agent-of-empiresSkill5.2ktodayMITA130Claude Code, Codex
agent-debug-ciNVIDIA/elementsSkill122yesterdayApache-2.0A80Claude Code, Codex
pr-workflowdimetron/pi-goSkill2327d agoMITA65Claude Code, Codex