DEV Community

Bogdan Stanga
Bogdan Stanga

Posted on

⏳ How I save 10 swe days/year with LLMs

Over the last year, I’ve reviewed more than 1000 code changes. Most of the time was spent catching obvious mistakes rather than debating complex design decisions. If we estimate ~10 minutes per review, that’s 160+ hours spent reviewing code in just one year.

So I thought: could I get some of that time back using LLMs?

That's why I spent the last few weekends building Presubmit.ai, an open-source AI reviewer that runs as a Github Action right when you open a Pull Request. The results so far are promising: I estimate it can reduce the review time by 50%, which in my case would mean I save 80hours (~10 working days) per year.

Unlike similar SaaS solutions, the goal is not to replace the human reviewer but to highlight obvious mistakes early, spot security vulnerabilities and give more context about the change. I like to think of it as a “pre-reviewer”.

Some of its features are:

  • Line-by-line comments
  • PR summarization
  • Title generation on request
  • Responds to review comments

It supports all major LLMs, but I’ve found Anthropic's Claude works best for this use case.

Check out the code here:
GitHub Card

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay