What problem does it solve?
Split a large pull request into smaller ones so each resulting PR requires fewer CODEOWNERS reviewer groups, reducing review burden and speeding up merges.
Core Features & Use Cases
- CODEOWNERS-driven analysis: Computes which CODEOWNERS groups are needed for each changed file by parsing
.github/CODEOWNERS and the PR diff.
- Reviewer-minimizing split proposal: Clusters files by the groups they trigger, selects a largest first PR, and structures remaining PRs to minimize additional reviewer groups.
- Dependency-aware execution: Ensures follow-on PRs account for ordering when later PRs depend on symbols or refactors introduced earlier, and keeps all PRs independently mergeable.
- Safe GitHub workflow: Creates new branches from the correct base, generates draft PRs on the user’s fork, and avoids force-pushing without confirmation.
Quick Start
Ask the assistant: Split this PR into multiple draft PRs based on .github/CODEOWNERS to minimize the number of required reviewer groups, and wait for my approval before creating any PRs.