kivgraph: Skill for Claude Code

.claude/skills/merging-pull-requests/SKILL.md

merging-pull-requests is a skill for Claude Code from Luqueee/kivgraph. It costs 39 tokens per session (1,711 once invoked), scanned A, original, Apache-2.0.

A controlled workflow for merging a specific Kivgraph pull request after current CI checks and CodeRabbit review are clean. CI is automated checking that runs against proposed code changes.

In plain words
What is it for?
Use it to verify merge prerequisites, merge one identified pull request, and delete its exact source branch.
Why use it?
It prevents a pull request from being merged while tests, review findings, conflicts, or other required checks remain unresolved.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is Luqueee/kivgraph's own configuration. It tells Claude Code how to work on kivgraph itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything kivgraph configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Luqueee/kivgraph. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Luqueee/kivgraph/main/.claude/skills/merging-pull-requests/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Luqueee/kivgraph

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 merging-pull-requests

README.md
[![agentmods](https://agentmods.dev/badge/skills/luqueee/kivgraph/merging-pull-requests/github.svg)](https://agentmods.dev/skills/luqueee/kivgraph/merging-pull-requests)
Your own site
<a href="https://agentmods.dev/skills/luqueee/kivgraph/merging-pull-requests"><img src="https://agentmods.dev/badge/skills/luqueee/kivgraph/merging-pull-requests/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 merging-pull-requests

Your own site · 80×15
<a href="https://agentmods.dev/skills/luqueee/kivgraph/merging-pull-requests"><img src="https://agentmods.dev/badge/skills/luqueee/kivgraph/merging-pull-requests.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,711 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00039 $0.01711
Opus 5.5 $0.00016 $0.00684
Sonnet 5.5 $0.00008 $0.00342
Haiku 4.5 $0.00004 $0.00171

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

Security

Grade A, and why

merging-pull-requests 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.

.claude/skills/merging-pull-requests/SKILL.md · 139 lines

How it starts

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

Merging a Kivgraph pull request

This skill performs the final, destructive PR operation. A request to merge a specific PR authorizes both the merge and deletion of that PR's head branch. Do not use this skill for requests to prepare a PR, check whether it is ready, or enable auto-merge. The workflow below is self-contained and must not load another skill's SKILL.md at runtime.

Preconditions

  1. Treat the PR as review-ready only when the intended changes are committed and pushed, relevant local gates have passed, required GitHub checks have completed successfully, CodeRabbit has reviewed the latest head, every actionable finding is addressed or explained, and GitHub reports no merge conflict or other known blocker. Stop if any condition is missing; do not merge around an unresolved finding.
  2. Resolve exactly one PR. Use the PR number or URL supplied by the user; if it is absent, use the current branch's PR only when there is exactly one. Stop if the target is ambiguous.
  3. Fetch live PR metadata from GitHub. Confirm that the PR is open, not a draft, mergeable, and has a concrete headRefOid, headRefName, headRepository.nameWithOwner, base branch, and repository. Never infer these values from a stale local checkout.
  4. Check required status checks and review state. Wait for pending checks and CodeRabbit; stop on a failure, conflict, missing required check, or a review decision that still requests changes.

CodeRabbit final gate

The final gate is about the current head SHA, not merely whether CodeRabbit has reviewed the PR at some point.

  1. Before waiting, record the current head SHA and a snapshot of all existing CodeRabbit reviews, inline comments, issue comments, and thread states. Keep each artifact's ID, commit or timestamp fields, body digest, and resolution state where available. Set reviewCycleStartedAt immediately after this snapshot. Identify the bot by its GitHub account/login returned by the API, not by a string in the comment body. The usual login is coderabbitai[bot], but do not assume it.
  2. Wait until the CodeRabbit check or review for that exact SHA has completed. A queued, in-progress, absent, or API-inaccessible review is a blocker.
  3. Fetch all three surfaces again:
    • pull-request reviews;
    • pull-request review comments, including replies and threads;
    • issue comments on the PR, which cover comments outside the diff.
  4. Compare the second snapshot with the first and save the second as the postReviewSnapshot. Any new CodeRabbit finding that requests a change blocks the merge, even if CI is green. A new clean summary is not a finding, but it must be reported.
  5. Check existing findings as well. Every CodeRabbit comment concerning the current head must be resolved, obsolete with an evidence-based explanation, or already fixed. Do not treat an old comment as harmless just because it was posted on an earlier SHA. Unresolved review threads or a CHANGES_REQUESTED review block the merge.
  6. Issue comments do not expose commit_id. Treat an issue comment as part of the current review cycle when its ID is new after reviewCycleStartedAt, or its body or updated_at changed after that checkpoint. Evaluate its body and ID even without a commit field. Pre-existing unchanged issue comments remain historical, but their unresolved actionable content still blocks the merge; missing commit_id alone is not uncertainty. If identity, timing, or status cannot otherwise be established, stop and report the uncertainty instead of guessing. After any fix and push, restart this gate from the new head SHA.

Read the full file on GitHub · 139 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 · 139 lines · 39 tokens per session scan A f2e18fb93924

Subscribe to this mod's changes

merging-pull-requests is a skill published in the GitHub repository Luqueee/kivgraph (23 stars, last pushed yesterday), licensed Apache-2.0. It adds 39 tokens to every session and 1,711 once invoked, about $0.0002 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-04.

Related

Other skills, from other repositories

gen-release-notes

Generate professional release notes following the Keep a Changelog standard.

existential-birds/beagle · 14 tokens

release-pr-review

Review pass on an open release PR (release/ → main) — the step between git-wrapup and release-and-publish when a project releases in gated release PR mode. Reads the PR's commit range through the code-simplifier lens plus a correctness review, verifies whatever an automated reviewer left on the PR, lands fixes as…

cyanheads/wikidata-mcp-server · 136 tokens

understand-diff

Use when you need to analyze git diffs or pull requests to understand what changed, affected components, and risks.

Egonex-AI/Understand-Anything · 27 tokens

github-automation

GitHub workflow automation, PR management, issue tracking, and code review coordination. Integrates with GitHub Actions and repository management. Use when: PR creation, code review, issue management, release automation, workflow setup. Skip when: local-only changes, non-GitHub repositories.

ruvnet/ruflo · 61 tokens

release

Cut a brooks-lint release: set the version in package.json, propagate it across all four plugin manifests and every version-bearing text file (README badges, docs site metadata), write the CHANGELOG entry, validate, then commit, push, tag, and publish the GitHub release. Triggers when the maintainer asks to "release"…

hyhmrright/brooks-lint · 135 tokens

release-pr-review

Review pass on an open release PR (release/ → main) — the step between git-wrapup and release-and-publish when a project releases in gated release PR mode. Reads the PR's commit range through the code-simplifier lens plus a correctness review, verifies whatever an automated reviewer left on the PR, lands fixes as…

cyanheads/obsidian-mcp-server · 136 tokens