validate-merge-prs

Plan and validate the full PR merge lifecycle for open pull requests.

7|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/himattm/skills --skill validate-merge-prs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: validate-merge-prs
Source: https://github.com/himattm/skills/tree/main/plugins/review/skills/validate-merge-prs
Command: npx skills add https://github.com/himattm/skills --skill validate-merge-prs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Orchestrates the full PR-merge lifecycle for all open PRs in the current repo. Discovers PRs, builds a dependency graph, validates each in parallel via review-cycle, computes a safe merge order, and presents a merge plan for approval before executing.

Core Features & Use Cases

  • Discover open PRs
  • Build dependency graph
  • Parallel validation (sub-agent per PR)
  • Classify results and compute a safe merge order
  • Present a final merge plan for user approval
  • Handle batch processing of agent-created PRs for merging

Quick Start

Install the skill via the marketplace and then invoke it on a repository with open PRs to generate a ready-to-approve merge plan.

Frequently Asked Questions about validate-merge-prs

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

FAQPage Schema
How do I safely merge multiple pull requests with dependencies in GitHub?

To safely merge multiple pull requests, you can validate the full PR merge lifecycle by building a dependency graph, running parallel review-cycle validations, and computing a safe merge order before executing. This ensures dependent PRs merge in the correct sequence.

What is a dependency graph for PR merge planning?

A dependency graph for PR merge planning maps the relationships between open pull requests in a repository. It is used to compute a safe merge order, ensuring that base branches and dependent changes are merged sequentially without breaking the main branch.

How do I validate all open pull requests in a repository at once?

You can validate all open pull requests at once by discovering them via the gh pr list command and performing per-PR review-cycle validations in parallel. This classifies each PR's readiness and generates a final merge plan for your approval.

Does this PR merge validation require any external dependencies?

This pull request merge validation requires no external dependencies. It orchestrates the merge lifecycle directly by discovering open PRs, building a dependency graph, and presenting a merge plan using standard GitHub repository workflows.

What is the best way to coordinate batch merging of agent-created PRs?

The best way to coordinate batch merging of agent-created PRs is to compute a safe merge order based on a dependency graph and validate each PR in parallel. This presents a final merge plan for approval before executing the batch process.