What problem does it solve?
Manually managing stacked Git branches and dependent pull requests leads to broken PR relationships, inconsistent commit histories, and time-consuming interactive rebase operations, especially when working on multi-commit features that build on prior changes.
Core Features & Use Cases
- Stack-based PR Management: Automatically links dependent commits into a stack of pull requests, maintaining correct relationships between changes.
- Non-interactive Git Operations: Provides commands for rebasing, fixup, squashing, and reordering commits without spawning interactive editors, ideal for AI agent and automated workflows.
- Revision History Tracking: Automatically records amend notes in PR revision history so reviewers can understand changes without diffing old commit SHAs.
- Use Case: When developing a multi-part feature that requires 3 dependent commits, use this Skill to push all changes as a linked stack of PRs, automatically sync the stack when trunk updates, and ensure each PR passes CI independently.
Quick Start
Use the mergify-stack skill to create a new feature branch, make a series of dependent commits following conventional commits, and push them as a linked stack of pull requests with automatic CI and revision history tracking.