Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code Review Feature #25

Open
sestinj opened this issue Mar 6, 2024 · 1 comment
Open

Code Review Feature #25

sestinj opened this issue Mar 6, 2024 · 1 comment

Comments

@sestinj
Copy link
Contributor

sestinj commented Mar 6, 2024

We have the @ codebase feature for asking high-level questions about a codebase, but this doesn't cover the cases where you want the LLM to see literally every file (e.g. code review).

Probably every programmer could benefit from at least being able to specify a custom prompt and having the LLM watch over their git diff periodically to look for improvements.

An MVP of this feature might look like:
a) configuration in config.json to set the review prompt
b) a file save listener, polling loop, or button to automatically trigger a review
c) the actual reviewing logic: probably loops through each file or portion being reviewed, applies the prompt, and gets feedback from the LLM
d) display for this feedback. Perhaps makes sense as another page in the sidebar (gui/src/pages)

@bra1nDump
Copy link

https://github.com/lintrule/lintrule
Could be looked at for inspiration. License not explicitly open source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Larger Features
Development

No branches or pull requests

2 participants