merge-pr
Skill0 starsChanged 2 months agoApache-2.0View on GitHub
Merge an approved, validated GitHub Pull Request through the repository's protected-branch policy, resolving rebase conflicts when explicitly authorized and safe. Use when asked to merge a Pull Request after review and required checks pass; do not use it to create, perform substantive feature fixes, or release a Pull Request.
17 other projects use a version of this.
Adopted by
Most recently taken up by
- mihai-dinculescu/tapotheir own version, first seen Nov 9, 2026
- ddnexus/pagytheir own version, first seen Nov 9, 2026
- ShareX/ShareXtheir own version, first seen Nov 8, 2026
- kdy1/kdy1-scriptstheir own version, first seen Nov 1, 2026
- r3bl-org/r3bl-open-coretheir own version, first seen Oct 17, 2026
- jsirish/workflow-skillstheir own version, first seen Oct 13, 2026
Used with
Projects with it also use commit.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
SentrySkillcommit
Create commit messages following Sentry conventions. Use when committing code changes, writing commit messages, or formatting git history. Follows conventional commits with Sentry-specific issue references.
Also in 3 projects that use this
Other versions17 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 17
- ShareX/ShareX★ 41ksame name
- cube-js/cube★ 21ksame name
- ddnexus/pagy★ 5ksame name
- mihai-dinculescu/tapo★ 870same name
- bazel-contrib/rules_python★ 692same name
- kkokosa/dotLLM★ 528same name
- r3bl-org/r3bl-open-core★ 486same name
- tbhb/vale-ai-tells★ 118same name
- TermiX-official/cryptoclaw★ 100same name
- kdy1/kdy1-scripts★ 33same name
7 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository37 other files it gives its agents.
- AGENTS.mdAGENTS.md
- analyze-codebaseSkill
- analyze-projectSkill
- propose-improvementsSkill
- retrospect-workSkill
- triage-issuesSkill
- write-docsSkill
- debug-codeSkill
- refactor-codeSkill
- resolve-defectSkill
- write-testsSkill
- develop-minecraft-fabricSkill
- develop-minecraft-forgeSkill
- audit-workflow-enforcementSkill
- bootstrap-projectSkill
- develop-dartSkill
- develop-goSkill
- develop-javaSkill
- develop-kotlinSkill
- develop-swiftSkill
- develop-typescriptSkill
- update-dependenciesSkill
- develop-android-composeSkill
- develop-compose-multiplatformSkill
- develop-flutterSkill
- develop-iosSkill
- develop-kotlin-multiplatformSkill
- develop-react-nativeSkill
- create-issueSkill
- create-prSkill
- deliver-changeSkill
- fix-prSkill
- implement-issueSkill
- improve-projectSkill
- plan-issueSkill
- review-prSkill
- develop-reactSkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 9 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 17 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Verify the Pull Request is merge-ready: the repository's review mode, required review evidence or approval, no blocking or unresolved …
- Distinctive: line 13
If the Pull Request conflicts, obtain or confirm explicit authorization for a branch rewrite, resolve only integration conflicts, …
- Distinctive: line 18
Keep exactly one item in progress.
- Distinctive: line 22
Read repository instructions, branch-policy configuration, Pull Request templates, and the Pull Request's linked Issue before mutating …
- Distinctive: line 26
Do not infer solo mode merely because no reviewer is available.
- Distinctive: line 36
Check for unresolved conversations, blocking labels, merge freezes, required deployment or environment approvals, and repository-specific …
- Distinctive: line 41
When the Pull Request conflicts, read integration and post-merge rules.
- Distinctive: line 45
After the merge gate passes, read integration and post-merge rules.
- Very specific: line 49
After merging, follow the linked-work and fallback-close rules in integration and post-merge rules.
- Distinctive: line 57
Use plain, active, evidence-backed prose in the final handoff.
“Common” is measured: kept by at least 6 in 10 of the 17 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Merge Pull Request
Todo List
- in progress: Resolve the repository, target Pull Request, linked Issues, head and base branches, and the requested merge authority.
- Verify the Pull Request is merge-ready: the repository's review mode, required review evidence or approval, no blocking or unresolved findings, required checks, branch freshness, permissions, and repository merge policy.
- If the Pull Request conflicts, obtain or confirm explicit authorization for a branch rewrite, resolve only integration conflicts, revalidate the changed Pull Request, and obtain a fresh review when the diff changed.
- Merge the Pull Request using the repository-approved method and verify the resulting merged state and commit.
- Reconcile linked Issue and Project outcomes, including the different handling of change and release Issues.
- Complete the list only when the merge result, commit, linked Issue effects, and any remaining release follow-up are observable; hand off all evidence.
Keep exactly one item in progress. Mark an item complete only after its stated evidence exists. Use the host-native Todo List when available; otherwise maintain this list as a Markdown checklist in the conversation.
Resolve and Guard
- Read repository instructions, branch-policy configuration, Pull Request templates, and the Pull Request's linked Issue before mutating GitHub state. Resolve the exact repository and Pull Request from user input or unambiguous local context; never guess a Pull Request.
- Confirm the target is an open, non-draft Pull Request with the expected head and base branches. Require an allowed branch-policy route and do not merge into a protected branch except through the repository's approved Pull Request mechanism.
- Confirm the Pull Request is linked to the governing Issue. For human change work, require the Issue number encoded in the
issue/<number>branch and the openingCloses #<number>reference. A release Pull Request merged before publication usesTracks #<number>and must not close the Release Issue. A release Pull Request merged after publication, such as one that records the release evidence, usesCloses #<number>. - Resolve the repository's review mode from explicit requester input, repository review policy, or the live Ruleset before applying the approval gate. In team mode, require approval from an eligible reviewer other than the PR author. In solo mode, require a completed self-review artifact while continuing to enforce the live Ruleset and every required check.
- Do not infer solo mode merely because no reviewer is available. If the live Ruleset requires an approval that cannot be satisfied, stop and report the exact blocker; never use an administrative bypass.
- Do not merge a Pull Request that is missing its governing Issue, has scope drift, has unresolved review findings, lacks the required review evidence or approval for its mode, or is still awaiting required checks. Route unresolved review findings to
fix-pr, and missing implementation or review work toimplement-issue,create-pr, orreview-pr, instead of compensating here. - Preserve unrelated work. Do not modify unrelated files, create substantive feature fixes, close Issues by hand except through the fallback close in integration and post-merge rules, or delete branches. Conflict resolution is allowed only after the requester explicitly authorizes it for this merge; if authorization is absent, stop and ask before rewriting the Pull Request branch.
Merge Gate
- Inspect the complete Pull Request metadata, commits, diff, linked Issues, review threads, and latest check runs. Check the current head SHA immediately before merging and use it as the expected revision where the host supports that guard.
- Apply the resolved review mode: team mode requires explicit approval from a permitted reviewer other than the PR author; solo mode requires a completed self-review artifact identifying the reviewed head SHA, applied criteria, validation evidence, and findings result. A comment, a dismissed approval, an approval from an insufficiently privileged reviewer, or an approval that became stale after synchronization is not sufficient.
- Require all repository-mandated checks to pass on the current head. This includes branch-policy, title, commit convention, signature, repository validation, lint, tests, FSL, and workflow-security checks when the repository declares them. Do not treat skipped, pending, cancelled, stale, or unavailable checks as passing.
- Confirm the Pull Request is mergeable and up to date with its base when the repository requires that condition. If it conflicts, follow
Conflict Resolutioninstead of bypassing the gate. If the head changes during inspection, restart the gate from the metadata and check verification steps; never merge a stale inspection result. - Check for unresolved conversations, blocking labels, merge freezes, required deployment or environment approvals, and repository-specific release gates. When policy or permissions are ambiguous, stop and report the exact blocker rather than guessing.
- Record each inspected source, command, current head SHA, and result. Never claim a check, approval, or policy condition was satisfied without observable evidence.
Conflict Resolution
When the Pull Request conflicts, read integration and post-merge rules.
Merge
After the merge gate passes, read integration and post-merge rules.
Linked Work and Project State
After merging, follow the linked-work and fallback-close rules in integration and post-merge rules. Close a Closes Issue only when GitHub left it open, and never close a Release Issue linked with Tracks.
Handoff
Report the Pull Request URL and number. Report the repository, head and base branches, and resolved review mode. Report whether conflict resolution was performed. Report the pre-rewrite and pre-merge head SHAs and the resulting merge commit SHA. Report conflict files and resolution evidence. Report self-review or external approval evidence, required-check evidence, linked Issue outcomes with each Closes Issue reported as closed automatically or closed by merge-pr fallback, Project Status evidence, and any release publication or automation follow-up. State clearly whether the merge completed, was blocked, or has an ambiguous result. The next owner for a merged change is the repository's post-merge verification or release workflow. The next owner for a tracked release Pull Request is the release publication process. Do not apply substantive review fixes or publish a release in this skill.
Writing quality
Use plain, active, evidence-backed prose in the final handoff. Keep headings in sentence case and name the file, command, or output behind each repository claim.
Choose the plain word over an inflated or Latinate one: write use rather
than utilize and is rather than serves as.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

