Show HN: GitHub-CLI extension to generate PR title and body
What I noticed is that when submitting a PR, I would just send it with the default title and description so CI gets the pipeline rolling, and then would go back to edit some meaningful title and description of the work. We also use a PR template at work we have to follow which adds some burden to the task.
Doing that a few times a day is time consuming and surely can be automated.
LLMs got pretty good with reading and explaining the code so I figured they can be useful.
As github-cli allows extensions — me and my friend built a simple one, that feeds the diff to the prompt to generate PR title and body (following the template if any) using the LLM of choice based on available api keys.
So instead of `gh pr create` you now can run `gh aipr` to have the PR title and description populated automatically.
Hope you find it useful. Feel free to open issues or make contributions to the tool as well. I would appreciate any feedback too.
No comments yet