Show HN: I built a CLI tool to automatically break up large PRs
github.com·3h·
Discuss: Hacker News
Flag this post

pr-splitter

Automatically break up large pull requests

Install

npm install -g pr-splitter

Usage

Run pr-splitter without arguments to launch the interactive UI that guides you through breaking up a pull request.

Configuration

To send requests to an LLM, pr-splitter asks for the LLM provider, API key, and optionally a custom LLM endpoint.

To perform git operations, pr-splitter asks for a GitHub personal access token.

These config values are stored in your system keychain, and requests are sent directy to these services.

FAQ

Why?

Large pull requests are overwhelming and often receive a rubber stamp approval rather than a thorough review. Small pull requests are easier to review and lead to safer deployments. We often open large pull reque…

Similar Posts

Loading similar posts...