Vibeleaderboard
← All Intel
Intel / article

The Worst Instructions You Can Give An Ai Coding Agent

Source
cline.bot
Publisher
Cline
Author
Cline evaluation and engineering blog
Date
Why it matters

Vague instructions like 'make it better' make agents guess and burn on reverted output. Concrete scoping of the change and its reason cuts wasted runs.

Key takeaways · AI-distilled
  • Prompts that pair conflicting constraints, such as "add OAuth but keep it simple," lead the to pick one side rather than weigh the tradeoff. The author recommends stating which priority wins and any hard limits, such as no new dependencies.
  • Citing Laban et al., the post says LLMs lose 39% of performance on average when instructions arrive across turns rather than up front, so it recommends restoring a checkpoint and editing the where things went wrong instead of piling on corrections.
  • A useful bug request names the symptom, the fixes already tried and why they failed, what was ruled out, and the suspected location. Without that history, the post says, the agent tends to propose fixes the developer already tried.
  • Terse, commit-style prompts get literal execution: asking only to convert a method to async/await yields a behavior-identical rewrite. The post says adding the reason, such as uncaught database errors, lets the agent handle unstated edge cases.
Terms in this piece · Glossary
  • Token — A piece of text, such as a word, part of a word or a punctuation mark, that a language model represents as numbers and handles as a unit.
  • Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.
  • Agent — A system in which a model repeatedly chooses operations, a harness carries them out, and the results return to the model to inform its next choice.
  • Prompt — Information or instructions supplied to a model; in a chat, the request you type is often called your prompt.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

More from Cline evaluation and engineering blog
Recommended reads