Lightlines
By jssblck

gh-stack

jssblck1.6k installs

Keep dependent changes in reviewable PR layers.

What it does

Manage dependent branches and pull requests so reviewers can review each layer's changes separately.

When to use it

Use when working in a checked-out PR stack, handling dependent PRs or branch layers, or planning stacked PRs.

How to use it

Give it multi-part project work or an existing stack; it organizes dependent branch layers and publishes stacked pull requests.

What you provide

  • An existing project

Uses

Good to know

  • cannot be undone: GitHub

Latest review

What you need · 3

Requires the GitHub CLI to install and invoke its gh stack extension.

Publishing the stack requires stacked PRs to be enabled on the repository; non-interactive submission fails otherwise.


Access · 2

This skill

GitHub

Write

Publishes and updates stacked PRs (irreversible)

github/gh-stack

Execute

Installs the gh-stack extension