Get an AI code review in 10 seconds
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