Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By ahmadatallahv0.1.2MITIn 1 marketplace
Breaks a feature into a stack of small, dependent pull requests and submits them to GitHub with correct base branches. Works with plain git and the gh CLI, with no external service or account needed.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Git, GitHub, TypeScript, Bun
stacked-prs, stacked-diffs, pull-request, gh-cli, gh, claude-code, agent-skill
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
jabr (Arabic, جَبْر — "the reunion of broken parts"; the root of al-jabr → algebra). Reunite a feature's broken-down pieces into one clean, reviewable whole.
A Claude-native stacked pull request workflow — implemented entirely with plain git
and the GitHub gh CLI. No external service, no account, no daemon. It ships as a
Claude Code agent skill plus a self-contained TypeScript
engine you can also drive by hand.
Instead of one giant pull request, you break a feature into a stack of small, dependent
PRs — each one reviewable on its own, each branched off the one below it. jabr tracks the
parent/child graph, restacks (rebases) descendants when a lower branch changes, and submits
the whole stack to GitHub with correct base branches and a navigation comment.
A 30-second walkthrough of the whole flow — decompose → stack → restack → submit → sync —
animated from the jabr logo. The preview below plays silently; click it to watch the
full video with audio.
Claude is the operator. It plans the decomposition, writes the code on each branch,
and authors the PR descriptions — while this engine handles the deterministic git/gh
mechanics (parent tracking, rebase --onto, force-push ordering, PR base wiring) reliably.
gh authenticated (gh auth login) — only needed for
submit/sync; all local stack operations work without itjabr is distributed as a Claude Code plugin. Add this repo as a marketplace and
install it — Claude Code then loads the skill automatically (and it also auto-activates
from its description):
/plugin marketplace add ahmadatallah/jabr
/plugin install jabr@ahmadatallah
The marketplace is named ahmadatallah, so the plugin installs as jabr@ahmadatallah.
Pin a tagged version if you prefer: /plugin marketplace add ahmadatallah/[email protected].
Bun and (for submit/sync) an authenticated gh
are still required on your machine — the plugin can't install them for you.
To run the engine by hand for development, clone the repo and alias the script directly:
git clone https://github.com/ahmadatallah/jabr.git
alias jabr='bun /path/to/jabr/scripts/jabr.ts'
jabr init # detect/record the trunk (main)
jabr create api-schema -a -m "Add user schema + migration"
# ...edit code...
jabr create api-endpoints -a -m "Add /users endpoints on the schema"
# ...edit code...
jabr create api-ui -a -m "Wire the users list UI to the endpoints"
jabr log # see the stack
jabr submit --stack # push + open a PR per branch, bases wired, nav comment added
Address review feedback on a lower branch, then realign everything above it:
jabr down # move to the parent branch
# ...fix code...
jabr modify -a # amend + auto-restack all descendants
jabr submit --stack # update all PRs
After a branch merges:
jabr sync # ff trunk, drop merged commits, restack the rest, prompt-delete
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub ahmadatallah/jabr --plugin jabrPlugins from other owners that cover similar ground