These same people complain that the model just doesn’t understand, that it’s not very clever, or that the iteration process is making them questio

Teaching LLMs to Code Review Like Senior Developers: A Context-First Approach | Sebastian Gutierrez

submited by
Style Pass
2025-01-06 00:00:05

These same people complain that the model just doesn’t understand, that it’s not very clever, or that the iteration process is making them question whether it’s worth continuing to invest in learning how to use this new technology.

In this article, the way Namanyay Goel figured out how to better work with the coding assistant was to provide “context-aware grouping”:

By grouping the files, you are not only giving the LLM context that they should be looked at and compared together but also providing many examples.

This article serves as a great reminder that while LLMs have seen massive amounts of data, it’s helpful to overcommunicate what you are trying to do, what you expect them to do, and how what you are sharing with them interlinks with what you’re trying to do.

Context Before Details Traditional approach: “Here’s a file. Analyze it” Improved approach: “This is part of the auth system, here are the related components.”

Leave a Comment