Skip to content
mentoor

Instructing a coding agent

For engineers

Goals, constraints, files, examples and runnable done criteria that a coding agent can act on

See where you stand

110 questions across four stages: Understand, Apply, Solve and Judge.

Try 5 questions

Practice items, not counted towards your mastery. No account needed.

Check yourself · 1 of 5

Which instruction gives a coding agent the clearest goal?

Choose one answer

Check yourself · 2 of 5

What is the main benefit of linking an existing implementation in your instruction?

Choose one answer

Check yourself · 3 of 5

What is the purpose of asking an agent for its assumptions before it codes?

Choose one answer

Check yourself · 4 of 5

Which done criterion can an agent not fake easily?

Choose one answer

Check yourself · 5 of 5

Which instruction is a kitchen-sink request?

Choose one answer

Topics

  1. Stating goals and constraints for agents3 min read · The outcome, why it matters, what must not change and which libraries, patterns and files are off limits
  2. Pointing the agent at files and examples3 min read · Naming entry points, linking a similar existing implementation and limiting where the agent may edit
  3. Letting the agent interview you first3 min read · Asking the agent to list its assumptions and questions before it writes code, then answering them in the task
  4. Making the agent prove it is done4 min read · Giving exact test, lint and type-check commands and asking for their output, so done means passing, not claimed
  5. Coding instruction anti-patterns3 min read · Vague asks, kitchen-sink requests, contradictory rules and key instructions buried deep in a long chat

Start here

110 questions · last verified 2026-12