What problem does it solves?
This skill simplifies managing complex stacked pull requests using Graphite (gt), automating rebasing, branch management, and PR submission. It frees you from Git gymnastics, allowing you to focus on coding and accelerate your development cycle.
Core Features & Use Cases:
- Stack Management: Guides on creating, modifying, and submitting linear chains of dependent branches for easier review.
- Auto-Restacking: Explains how
gt modify automatically rebases upstack branches, keeping your stack in sync effortlessly.
- PR Workflows: Provides patterns for creating new stacks, responding to review feedback, and syncing after merges, reducing manual overhead.
- Use Case: When developing a large feature that requires multiple dependent PRs, use this skill to create and manage your stack, automatically keeping branches in sync and updating PRs on GitHub with minimal manual intervention, saving hours of tedious work.
Quick Start:
I need to create a new feature in three dependent PRs. Use the graphite skill to guide me through creating a new stack, from the trunk branch to submitting all three PRs.