---
title: "Give coding agents files and reference links"
description: "Improve LLM code quality"
canonical: "https://ian.is/coding-prompt-context"
language: "en"
---

[Ian Nuttall](https://ian.is/)

# Give coding agents files and reference links

September 22, 2025

my llm-generated code has been much better since i switched from:

"what the fuck?? fix it NOW"

to:

"check {link} for details on another approach we can try and double check {file1} {file2} {file3} to understand the flow better. refactor this in the most concise way possible."

[![](https://ian.is/media/tweets/1970094026323005753/14763/9497114e0be4ce34bb900908fb09eca0b076ef2ca072fbdc7a15abc5c8f60c4f.jpg)**Ryan Carson**@ryancarson](https://x.com/ryancarson)

> I think there are two types of people:
>
> 1\. Those that swear at LLMs
> 2\. Those that don't
>
> Which one are you?

## Newsletter

Join 9.2k subscribers
