pr-stack

Manage stacked pull requests with Graphite or GitHub stack operations.

1|Updated May 8, 2026
One-click install
npx skills add https://github.com/paulnsorensen/skillz-that-grillz --skill pr-stack-paulnsorensen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-stack
Source: https://github.com/paulnsorensen/skillz-that-grillz/tree/main/skills/pr-stack
Command: npx skills add https://github.com/paulnsorensen/skillz-that-grillz --skill pr-stack-paulnsorensen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Stacked-PR workflows break when rebase, submit, sync, or cleanup is done piecemeal, leaving PR base/parent wiring stale across the whole chain.

Core Features & Use Cases

  • Tool-aware stacked PR management: Detects whether Graphite (gt) or GitHub gh stack is available and drives the correct workflow for the repo.
  • Stack post-merge recovery: Supports the common “bottom PR merged, what now” scenario by syncing/restacking survivors and resubmitting them as a coherent stack.
  • Safe guardrails and handoffs: Refuses to fall back to ad-hoc git push chains, and explicitly routes commit/staging to /commit and PR/CI review traffic to /gh.

Quick Start

Ask the AI: manage my stacked PR chain after a merge and run the correct sync/restack commands for my installed tool, then confirm what to do next.

Frequently Asked Questions about pr-stack

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

FAQPage Schema
How do I restack and sync stacked pull requests after a bottom branch merge?

Stacked pull request recovery works by detecting your installed tool (Graphite or GitHub stack) and running stack-aware sync and restack commands to resubmit surviving branches as a coherent chain.

What is the best way to manage stacked PRs with Graphite or GitHub gh stack?

Managing stacked PRs requires tool-aware operations that detect whether Graphite or GitHub gh stack is available, then drive the correct workflow for creation, submission, synchronization, and cleanup.

Does this Skill fall back to plain git push for stacked branch creation?

No, the Skill refuses to fall back to ad-hoc git push chains for stacked branches, enforcing safe guardrails by routing commit and staging to companion skills instead.

How do I rebase a stack of pull requests without breaking parent branch wiring?

Rebasing a stack of pull requests safely means executing stack-aware rebase operations through Graphite or GitHub gh stack, preventing stale base and parent wiring across the chain.

Can I use plain git commands to submit and clean up stacked PRs?

No, submitting and cleaning up stacked PRs requires dedicated stack tools like Graphite or GitHub gh stack; the Skill explicitly refuses ad-hoc git push chains and routes PR review to companion skills.