Skip to main content

Command Palette

Search for a command to run...

How I Built an AI Tool to Refine Unclear PR Headings: Focus on "Added Console

Updated
β€’2 min read
A

System-level engineer building reliable backend systems with a focus on performance, correctness, and real-world constraints. I work across APIs, databases, networking, and infrastructure, enjoy understanding how systems behave under load and failure, and write to break down complex backend and distributed-systems concepts through practical, real-world learnings.

As a Full Stack Engineer, my time is limited. I maintain open-source projects, but I don't have hours to investigate vague Pull Requests.

A few days ago, a contributor opened a PR on my repository.
Title: "Added console".
Description: Empty.
Changes: 10+ files modified.

I looked at it and sighed. I didn't want to be rude, but I also didn't have the energy to read the entire code just to guess what they were trying to do. I needed a tool to check this for me.

I looked at the options:
❌ Claude Code/Devin: Too expensive for personal use.
❌ GitHub Copilot: Paid subscription.

I realized I just needed something simple, customizable, and nearly free.

So, over this long weekend (Jan 23 - Jan 26), I built "ReviewBuddy." πŸš€

I used Claude Code to help speed up the coding, and wrote the logic in Shell Scripting to keep it lightweight.

Here is how it works:

  1. You add a simple .yml file and a Gemini API key (which has a negligible cost/free tier).

  2. It grabs the changes from the PR.

  3. It rewrites the Title & Description automatically (No more "Added Console" nonsense!).

  4. It comments on the code quality.

The best part? It has personality. πŸ˜‚

  • Tone: Default is "Roasting" (it will make fun of your console.log), but you can switch it to "Professional."

  • Language: Default is "Hinglish" for that desi dev vibe, but fully customizable to English or others.

  • Interaction: I just added a feature where you can type /buddy in the comments to chat with the AI about the code.

It saves me time, costs almost nothing, and makes code reviews actually fun.

I built this with Shell Scripting and it's still an early version. If you have ideas on how to improve it (or just want to get roasted by an AI), check it out.

πŸ”— [GitHub Link to ReviewBuddy]

Contributions are welcome! Let me know if you’d use this. πŸ‘‡

More from this blog

A

AnkanHub

16 posts