Skip to content

alipsidikp/reviewer-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 Reviewer Bot

A CLI tool to review Golang code or RFC documents using your preferred LLM: Claude, OpenAI, Groq, or local models.

📦 Setup

git clone https://github.com/alipsidikp/reviewer-bot.git
cd reviewer-bot
python3 -m venv venv && source venv/bin/activate
pip install -r requirements.txt
cp .env.example .env

Edit .env and insert your API keys.

🚀 Usage

Review a Go file:

python cli.py samples/mycode.go --style styles/alip.yaml --provider claude

Review an RFC:

python cli.py samples/proposal.md --type rfc --style styles/alip.yaml --provider openai

Use local LLM:

python cli.py samples/mycode.go --provider local --local_url http://localhost:11434

✍️ Add Your Style

Create a YAML in styles/yourname.yaml with a format like:

reviewer: "Your Name"
language: "Golang"
style_guide: |
  - Keep PRs small
  - Use clear names
  - Avoid magic constants
  - Write and explain tests

🧠 Features

  • Multi-provider support (Claude, OpenAI, Groq, Local)
  • Supports code and RFC review styles
  • Personalized and default style guides
  • Clean prompt separation for portability

PRs welcome! 🚀

About

reviewer bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages