github

Automates GitHub PR creation, review, and stacked-PR merges via the gh CLI.

3|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/ravnhq/typescript-blueprint --skill github-ravnhq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github
Source: https://github.com/ravnhq/typescript-blueprint/tree/main/.agents/skills/github
Command: npx skills add https://github.com/ravnhq/typescript-blueprint --skill github-ravnhq

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

GitHub PR management often suffers from inconsistent merges and manual steps. This Skill provides a structured workflow using the gh CLI to automate PR creation, review, and stacked PR merges, reducing manual effort and errors.

Core Features & Use Cases

  • gh CLI driven PR operations: Create, review, and merge PRs with consistent titles and merge strategies.
  • Stacked PR workflow: Manage chains of dependent PRs by rebasing and squash-merging into main while preserving a clean history.
  • Guardrails and checks: Update PR bases, monitor status checks, and resolve conflicts with clear prompts and steps.

Quick Start

Automate GitHub PR workflows across repositories by following the stacked PR workflow and using the gh CLI.

Frequently Asked Questions about github

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

FAQPage Schema
How do I automate GitHub PR creation and merges using the gh CLI?

Automate GitHub PR creation and merges by using the gh CLI to enforce consistent titles, apply squash merges, and monitor status checks with structured prompts. This reduces manual effort and prevents inconsistent merge errors across repositories.

What is a stacked PR workflow and how does it manage dependent pull requests?

A stacked PR workflow manages chains of dependent pull requests by rebasing and squash-merging them sequentially into the main branch. This preserves a clean commit history while ensuring structured PR chains are resolved correctly.

How do I resolve conflicts and update PR bases in a stacked pull request chain?

To resolve conflicts and update PR bases in a stacked pull request chain, the workflow provides clear prompts and steps for rebasing. It automatically updates dependent PR bases and monitors status checks to ensure merge readiness.

Can I use this stacked PR workflow for repositories requiring squash merges and status checks?

Yes, this stacked PR workflow specifically applies to repositories requiring structured PR chains, squash merges, and status checks. It uses the gh CLI to enforce these merge strategies and verify check statuses before merging.

What's the best way to handle code reviews for stacked GitHub pull requests?

The best way to handle code reviews for stacked GitHub pull requests is to use the gh CLI to automate review operations across the dependent chain. This ensures consistent review tracking and structured merges while preserving dependency order.