A CLI tool to review Golang code or RFC documents using your preferred LLM: Claude, OpenAI, Groq, or local models.
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 .envEdit .env and insert your API keys.
python cli.py samples/mycode.go --style styles/alip.yaml --provider claudepython cli.py samples/proposal.md --type rfc --style styles/alip.yaml --provider openaipython cli.py samples/mycode.go --provider local --local_url http://localhost:11434Create 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- 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! 🚀