What problem does it solve?
Merging multiple individually green pull requests sequentially to main pollutes the branch with intermediate broken states, risks semantic conflicts between PRs, and fails to auto-close referenced GitHub issues when PRs are merged via an integration branch instead of directly to main.
Core Features & Use Cases
- Batch PR merging: Combines multiple ready, individually validated PRs onto a temporary integration branch to test the combined state before merging to main.
- Conflict-aware handling: Automatically excludes PRs that cause merge conflicts from the batch for separate owner handling, with no manual conflict resolution required in the integration branch.
- Issue closing fix: Explicitly handles the GitHub "Closes #N" gotcha where closing keywords do not fire for PRs merged via integration branches, with post-merge sweep steps to close all referenced issues.
- Use case: Use this after a parallel development wave produces 4–7 ready PRs, or before a release, to avoid broken main states and ensure all related issues are properly closed.
Quick Start
Use the consolidate skill to merge the batch of ready feature PRs from the current development wave into main via a single integration branch, verify the combined build passes CI, and ensure all referenced issues are closed.