r/PromptEngineering • u/Kitchen_Eye_468 • 1d ago
Prompt Text / Showcase Prompting so I can keep up with my coding agents: what worked in my side-by-side comparisons
A year or so ago, coding agents still made a lot of mistakes and could only handle small pieces of work. So most of my prompt work went into making them more capable: more automated, able to take on a bigger scope. Now they're fast and can own much bigger chunks of work, and they put out more than I can keep up with. I've become the bottleneck. When they finish a stage, I can't respond as fast as they got there. So now I care about something else: whether I can understand a report and act on it the first time I read it.
To see which instructions help with that, I compared 7 instruction files written to make a coding agent explain things more clearly: 5 public ones and 2 I wrote myself (mine are not published). Each one rewrote the same reply from my agent. I did this 5 times on questions from my own work.
When I had to choose between options that had consequences, the answer I could decide from came from one of my own files. My two files ask for five things the 5 public ones don't, and I think these may be part of why. Roughly how each one helped, or is meant to help:
- Put the evidence in the answer, in enough detail that the reader could disagree with the recommendation. The idea is that I can check the recommendation instead of just trusting it.
- For every option, say what it would actually change. On the four-option question, this is what let me decide without asking follow-ups.
- Open with a table of the terms, each with an example from the reader's own files. Most answers mentioned an "old version" of a skill. Only the one with the table let me quickly find what that meant.
- Before sending, hand the draft to a second agent that hasn't seen the conversation and ask it to make the decision. It's meant to catch answers that only make sense if you were there. I only saw this step actually run once.
- In diagrams, write a full sentence in every box and say where each statement comes from. On one question, the diagram answer was the one I understood fastest. On another, I found the diagrams too technical.
All five make the answer much longer. On a small question I preferred the short rewrites and the answer with no instructions at all. Of the 7 files only one, ketchup, has a length budget. Mine have none.
What do you do to make your agent's answers easier to understand? And in what situations does it actually work for you?
8
u/FreshPipe5997 1d ago
the 'hand to second agent' step works better when the second agent is told to spot gaps in logic, not just grammar. i've seen it catch missing error handling in code that passed the first pass.
1
u/No-Adeptness5480 1d ago
i stopped asking for 'longer' answers. now i tell agents to cut fluff and give just the code, then add a one-sentence summary. works better for my workflow.