Skip to main content
plugin CX Codex

stacked-prs — Claude Code plugin: what it does, how to install

stacked-prs turns one oversized branch into small reviewable PRs, sends review fixes up the chain and merges the stack in dependency order.

MIT ★ 1,596 updated 2026-10-29

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add hashgraph-online/awesome-codex-plugins
/plugin install stacked-prs@awesome-codex-plugins
Open on GitHub

What stacked-prs does

The plugin ships a skill that turns one oversized branch into a series of smaller pull requests. When a reviewer asks for changes, the fix travels up through every dependent branch. At the end the stack lands in dependency order, with Git checks run along the way.

Inside there is SKILL.md with the workflow, a references/ folder and shell scripts under scripts/ that need to stay executable if you copy files by hand. Hosts covered are GitHub, GitLab and Bitbucket; agents include Claude, Codex and Cursor. In Claude the skill answers to /stacked-prs:stacked-prs.

You need Git, Bash 3.2+, Python 3.9+ and an authenticated session to your Git host. Without that session the agent cannot push a branch or open a pull request. Tests run with python3 -m unittest discover -s tests -v against disposable local repositories.

What it helps with

  • split an oversized branch into reviewable pull requests
  • carry a review fix through every dependent branch
  • land a stack without breaking dependency order
  • run Git checks before the PRs merge
  • see which pull request depends on which

Example prompts for the agent

  • /stacked-prs:stacked-prs break the current branch into a few small PRs
  • Apply this review comment and push the change up through the branches above it
  • Merge the stack in dependency order

How to install stacked-prs

Plugin marketplace

/plugin marketplace add hashgraph-online/awesome-codex-plugins
/plugin install stacked-prs@awesome-codex-plugins

Step by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own

Questions about stacked-prs

How do I install stacked-prs in Claude Code?

Run /plugin marketplace add hashgraph-online/awesome-codex-plugins, then /plugin install stacked-prs@awesome-codex-plugins.

What does stacked-prs do?

It splits a large change into focused PRs, carries review fixes through the stack and lands the PRs in dependency order with automated Git checks.

What do I need before using stacked-prs?

Git, Bash 3.2+, Python 3.9+ and authenticated access to GitHub, GitLab or Bitbucket. In Claude the skill is invoked as /stacked-prs:stacked-prs.

Source text

stacked-prs-skill · MIT
# Stacked PRs

An open agent skill for splitting large changes into focused PRs, carrying review fixes through the stack, and landing changes in order.

Works with GitHub, GitLab, Bitbucket, and skills-compatible coding agents such as Codex, Claude Code, and Cursor.

## Install

**Claude Code plugin**

```sh
claude plugin marketplace add Qabbout/stacked-prs-skill
claude plugin install stacked-prs@qabbout-stacked-prs
```

**Codex plugin**

```sh
codex plugin marketplace add Qabbout/stacked-prs-skill
codex plugin add stacked-prs@qabbout-stacked-prs
```

**Standalone skill (skills.sh)**

```sh
npx skills add https://github.com/Qabbout/stacked-prs-skill --skill stacked-prs
```

Choose your agent in the installer. Also available on [skills.sh](https://skills.sh/qabbout/stacked-prs-skill/stacked-prs).

The command leaves the installer version unpinned and installs from this repository's default branch. npm is used only for installation. For a versioned manual installation without npm, download the [v1.1.2 source](https://github.com/Qabbout/stacked-prs-skill/archive/refs/tags/v1.1.2.zip), review it, and copy `SKILL.md`, `references/`, and `scripts/` into your agent's skills directory under `stacked-prs/`, preserving executable permissions on the shell scripts.

## Use

Ask your agent:

- “Use stacked-prs to split this branch into reviewable PRs.”
- “Fix this review comment and carry the fix up the stack.”
- “Help land this PR stack in dependency order.”

Requires Git, Bash 3.2+, Python 3.9+, and authenticated access to your Git host. See [SKILL.md](SKILL.md) for the workflow and bundled helpers.

Native plugins namespace the skill: use `/stacked-prs:stacked-prs` in Claude Code, or select it from `/skills` in Codex.

## Updates

```sh
claude plugin update stacked-prs@qabbout-stacked-prs
codex plugin marketplace upgrade qabbout-stacked-prs
```

Claude Code uses the plugin manifest version; automatic updates are opt-in in `/plugin`. The Codex command refreshes the marketplace catalog. Both marketplaces and the skills.sh install command track the default branch. To update an older standalone installation, rerun the install command above.

## Test locally

```sh
python3 -m unittest discover -s tests -v
```

Tests use disposable local Git repositories. GitHub Actions is disabled.

## License

[MIT](LICENSE) © 2026 Abdulrahman Qabbout.

© Abdulrahman Qabbout · MIT · hashgraph-online/awesome-codex-plugins

Similar plugins

All plugins for Git and GitHub →

From the same set391

The whole set →

Project sponsors

Companies that keep this analytics open