mergify-stack
OfficialStreamline Git branch, commit, and pull request workflows with Mergify stacks.
System Documentation
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.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: mergify-stack Download link: https://github.com/FlatbreadLabs/flatbread/archive/main.zip#mergify-stack Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 537,000+ vetted skills library on demand.