📱

Read on Your E-Reader

Thousands of readers get articles like this delivered straight to their Kindle or Boox. New articles arrive automatically.

Learn More

This is a preview. The full article is published at news.ycombinator.com.

Get an AI code review in 10 seconds

Get an AI code review in 10 seconds

By oldmanrahulHacker News: Front Page

Here’s a trick I don’t see enough people using: Add .diff to the end of any PR URL and copy&paste into a LLM You can get an instant feedback on any GitHub PR. No Copilot Enterprise. No browser extensions. No special tooling. That’s it. Example PR Link: https://github.com/RahulPrabha/oldmanrahul.com/pull/11 Add .diff to the end: https://github.com/RahulPrabha/oldmanrahul.com/pull/11.diff Copy the raw diff Paste it into Claude, ChatGPT, or any LLM (Maybe add a short instuction like: please review. ) So no more human reviewers? This isn’t a replacement for a real code review by a peer. But it’s a great way to get a first pass in short order. Before you ping a teammate, run your PR through an LLM. You’ll catch obvious issues, get suggestions for edge cases you missed, and show up to the real review with cleaner code. It’ll shorten your cycle times and be a courtesy to others.

Preview: ~148 words

Continue reading at Hacker News

Read Full Article

More from Hacker News: Front Page

Subscribe to get new articles from this feed on your e-reader.

View feed

This preview is provided for discovery purposes. Read the full article at news.ycombinator.com. LibSpace is not affiliated with Hacker News.

Get an AI code review in 10 seconds | Read on Kindle | LibSpace