cli-graphite

Create, manage, and submit stacked pull requests with Git and GitHub.

7|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/hashintel/brunch --skill cli-graphite
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: cli-graphite
Source: https://github.com/hashintel/brunch/tree/main/.agents/skills/cli-graphite
Command: npx skills add https://github.com/hashintel/brunch --skill cli-graphite

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill simplifies the process of creating and managing stacked pull requests, reducing manual overhead and coordination in collaborative software development.

Core Features & Use Cases

  • Creating PR stacks: Automates the creation of multiple dependent branches with meaningful messages.
  • Navigating stacks: Provides commands to move up, down, or view the structure of PR stacks.
  • Updating and reordering PRs: Supports amending commits, renaming branches, and reordering PRs within a stack for better organization.
  • Use Case: A developer working on a large feature splits work into multiple small PRs; this Skill helps orchestrate, reorder, and submit them efficiently.

Quick Start

Use the cli-graphite skill to create a new branch stack, navigate between PRs, and submit them as a coordinated set.

Frequently Asked Questions about cli-graphite

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

FAQPage Schema
What are stacked pull requests and when do I need them for git branch management?▼

Stacked pull requests are dependent branches built sequentially on top of each other. You need them in git when splitting a large feature into small, atomic, reviewable units, ensuring each PR builds on the previous branch's commits.

How do I create and submit stacked pull requests in Git and GitHub?▼

Create and submit stacked pull requests by automating multiple dependent git branch creations with meaningful messages, navigating the stack structure, and submitting them as a coordinated set to GitHub for incremental review workflows.

Can I reorder or amend commits within a git pull request stack?▼

Yes, you can reorder and amend commits within a pull request stack. The workflow supports amending existing commits, renaming branches, and reordering pull requests within the stack to maintain better organization before submission.

How do I handle git rebase conflicts when updating a stacked branch?▼

Handling git rebase conflicts in a stacked branch involves applying best practices in branch organization and rebase strategies. This ensures incremental PR submission updates dependent branches seamlessly during collaborative development.

Does this stacked PR workflow require any external dependencies or graphical interfaces?▼

No external dependencies are required. The stacked PR workflow operates via scripts, automating branch management and rebase strategies directly through the command line without needing a graphical interface.