merge-queue

Manage GitHub merge queues by enqueuing pull requests and checking status via GraphQL API.

Updated May 31, 2026
One-click install
npx skills add https://github.com/ascerra-fullsend-rehearsal/fullsend --skill merge-queue-ascerra-fullsend-rehearsal
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: merge-queue
Source: https://github.com/ascerra-fullsend-rehearsal/fullsend/tree/main/skills/merge-queue
Command: npx skills add https://github.com/ascerra-fullsend-rehearsal/fullsend --skill merge-queue-ascerra-fullsend-rehearsal

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh, jq, and includes scripts (resource) components.

What problem does it solve?

Manages GitHub merge queues by adding pull requests, checking the queue status, and investigating dequeue reasons, with scripts that utilize the GitHub GraphQL API.

Core Features & Use Cases

  • Enqueue a PR: Add a pull request to a merge queue, either by PR number or URL.
  • Check Queue Status: List PRs currently in the merge queue for a specified branch or the current branch.
  • Investigate Dequeue Reasons: Find out why a PR was removed from the merge queue.
  • Await and Enqueue: Poll a PR until all required checks pass and the PR is approved, then enqueue it.

Quick Start

To enqueue a PR, run bash skills/merge-queue/scripts/enqueue-pr.sh [PR_NUMBER_OR_URL].

Frequently Asked Questions about merge-queue

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate adding a pull request to a GitHub merge queue?

To automate adding a pull request to a GitHub merge queue, you can use a custom script that directly calls the GitHub GraphQL API to enqueue the PR by its number or URL.

How can I check the status of a GitHub merge queue from the command line?

You can check the status of a GitHub merge queue from the command line by running a script that uses the gh CLI and jq to list PRs currently queued for a specified branch.

Why was my pull request removed from the GitHub merge queue?

To find out why your pull request was removed from the GitHub merge queue, you can investigate the dequeue reasons using a script that queries the GitHub GraphQL API for the specific PR.

Do I need the gh CLI and jq installed to manage GitHub merge queues with scripts?

Yes, you need both the gh CLI for GitHub API operations and jq for JSON processing to run the scripts that manage merge queue status and investigate dequeue reasons.

Can I automatically wait for required checks to pass before enqueuing a PR?

Yes, you can automatically wait for required checks to pass and approval before enqueuing a PR by using a script that polls the PR status until all requirements are met.

What is the best way to streamline GitHub PR queue management for multiple branches?

The best way to streamline GitHub PR queue management is by using automated scripts that leverage the GitHub GraphQL API to handle enqueue, status checking, and dequeue investigation across branches.