merging-when-approved
Use when asked to review a pull request and merge it only if approved, or before merging a pull request you wrote or changed
Skill by basnijholt
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/basnijholt-merging-when-approved
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/merging-when-approved
What's inside
- Skill name
merging-when-approved- Description
- Use when asked to review a pull request and merge it only if approved, or before merging a pull request you wrote or changed
- License
- MIT
- Instructions
- 24 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Merging When Approved An approval belongs to one head SHA and one reviewer who did not write the code. If you wrote or changed any commit in the PR, your own read is not a review, and neither is CI. 1. Pin the head: `HEAD_SHA=$(gh pr view <N> --json headRefOid -q .headRefOid)`. 2. In parallel, dispatch a fresh-context subagent (baspowers:requesting-code-review) and the opposite model family via baspowers:consulting-cross-model in review mode. Tell both: review the full diff at HEAD_SHA, report only real defects with file:line and a failing scenario, report over-engineering and scope creep, edit nothing, end with `VERDICT: APPROVE` or `VERDICT: CHANGES REQUIRED`. 3. Validate findings (baspowers:receiving-code-review), fix valid ones minimally, decline scope creep with a reason on the PR. 4. Any push is a new head: go back to step 1. 5. Merge only when every reviewer approved the current head: `gh pr merge <N> --squash --match-head-commit "$HEAD_SHA"`, never `--admin`. 6. Report each verdict with its SHA, and the findings fixed and declined. After three rounds with new defects, use baspowers:stopping-runaway-prs. ## Red Flags | Thought | Reality | |---|---| | "One reviewer only, both won't fit in the time" | Both run in parallel; if they are not done in time, the PR waits. | | "If you'd rather I merge on the old approval, say so" | Keep the gate and report its status instead of offering to lower it. | | "Review just the delta since the last approval" | Review the full diff at the current head. |
From basnijholt/baspowers, MIT.
More from basnijholt/baspowers
- 0.592score
executing-plans
basnijholt
Use when executing an implementation plan in the current session as the implementer yourself — Native (inline) execution was selected for the plan, or no…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
diagnosing-baspowers
basnijholt
Use when a baspowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't…
SkillAFreshness: A★ 1Claude Code +9 - 0.591score
using-baspowers
basnijholt
Use when starting a new conversation or task, or when the task changes enough that different skills may apply
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
stopping-runaway-prs
basnijholt
Use when a pull request has grown well past its estimate, review rounds keep finding new defects, fixes keep spawning more fixes, or a change that claims to…
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
consulting-cross-model
basnijholt
Use when a hard technical decision remains ambiguous after inspecting relevant evidence and choosing incorrectly would cause meaningful rework
SkillAFreshness: A★ 1Claude Code +9 - 0.586score
triaging-pr-backlogs
basnijholt
Use when asked to clean up, triage, or prune a backlog of open pull requests or issues
SkillAFreshness: A★ 1Claude Code +9 - 0.586score
scoring-pull-requests
basnijholt
Use when asked whether a pull request or change is good, clean, big, risky, over-engineered, or worth merging
SkillAFreshness: A★ 1Claude Code +9 - 0.582score
reporting-status
basnijholt
Use when asked where things stand, what is left, or whether work is done or stuck, and when ending a turn after work on several items
SkillAFreshness: A★ 1Claude Code +9 - 0.581score
wait-what
basnijholt
Use when the last message did not land and needs a simpler re-pitch with the missing context
SkillAFreshness: A★ 1Claude Code +9 - 0.564score
brainstorming
basnijholt
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior.
SkillAFreshness: A★ 1Claude Code +9 - 0.562score
receiving-code-review
basnijholt
Use when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires…
SkillAFreshness: A★ 1Claude Code +9 - 0.562score
using-git-worktrees
basnijholt
Use when starting feature work that needs isolation from the current workspace, or before executing implementation plans
SkillAFreshness: A★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 8, 2026 (20 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/basnijholt/baspowers
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from basnijholt
- 0.592score
diagnosing-baspowers
basnijholt
Use when a baspowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
executing-plans
basnijholt
Use when executing an implementation plan in the current session as the implementer yourself — Native (inline) execution was selected for the plan, or no…
SkillAFreshness: A★ 1Claude Code +9 - 0.591score
using-baspowers
basnijholt
Use when starting a new conversation or task, or when the task changes enough that different skills may apply
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
consulting-cross-model
basnijholt
Use when a hard technical decision remains ambiguous after inspecting relevant evidence and choosing incorrectly would cause meaningful rework
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
stopping-runaway-prs
basnijholt
Use when a pull request has grown well past its estimate, review rounds keep finding new defects, fixes keep spawning more fixes, or a change that claims to…
SkillAFreshness: A★ 1Claude Code +9 - 0.586score
scoring-pull-requests
basnijholt
Use when asked whether a pull request or change is good, clean, big, risky, over-engineered, or worth merging
SkillAFreshness: A★ 1Claude Code +9
Cite this page
merging-when-approved skill. Agent Mart. https://agentmart.dev/skills/basnijholt-merging-when-approved (last updated 2026-10-24)