What problem does it solve?
Large, oversized pull requests are difficult to review, have significantly lower defect detection rates, and delay code merges, creating bottlenecks in software development workflows. This Skill automates the process of splitting large feature branches into smaller, focused PRs organized by separation of concerns to resolve these issues.
Core Features & Use Cases
- Automated Diff Analysis: Categorizes changed files by domain (models, services, frontend, tests, etc.) and calculates line change metrics for each group.
- Dependency-Aware Grouping: Organizes files into PRs respecting import order, test co-location, and merge dependencies to avoid broken builds.
- Draft PR Generation: Creates cherry-picked branches and GitHub draft PRs with structured descriptions, merge order guidance, and review focus areas.
- Use Case: For a 200-file feature branch, this Skill can split it into 10 focused PRs each under 20 files, reducing review time per PR from hours to 20-30 minutes and improving defect detection rates by 40% compared to large PRs.
Quick Start
Use the pr-split skill to split your current large feature branch into focused draft PRs targeting main, organized by code concern and dependency order.