bakks / butterfish

A shell with AI superpowers
https://butterfi.sh
MIT License
294 stars 24 forks source link

Feature idea: Code review by GPT #9

Open philippgille opened 1 year ago

philippgille commented 1 year ago

Hi :wave: , I stumbled upon your repo on https://news.ycombinator.com/item?id=35994037, and liked how integrated it was and some advanced features that most other simple CLIs don't have, like the indexing + search. :+1:

Some existing tools do things like generating commit messages and having GPT review their code. This is entirely possible with the composable tools, or a common prompt + git diff etc., but I think the convenience of having an extra command that takes care of that "boilerplate" can bring some value.

So in this issue I'm proposing to add a PR review command.

Some inspiration could be taken from https://github.com/zackproser/automations/blob/310f5343a2a8a2506fe09ade972c71c367770141/autoreview/autoreview.sh