Beginner 5 min

Write a clear coding brief

A good brief tells a coding assistant what outcome you want and how you will recognize it.

How it works

A useful brief has an observable result and a few boundaries. For the task list, describe what should appear before and after a task completes. Add one example with two tasks and a state transition. This gives the reviewer a concrete check to repeat.

Walk through an example

For a task list, ask for one visible behavior such as keeping completed tasks in a separate group. Include an example list and describe its expected order.

What to watch for

Avoid asking for a broad improvement in one pass. Define the smallest result you can review and expand from there.

Check your understanding

What example would make the brief easier to follow?

See the example and explanation
Worked example
Given Ask an assistant to fix a search page.
Answer Give a query, matching results, and an expected empty state.

A concrete input and outcome define what fixed means without prescribing the design details.

Open practice problem
Next lessonGive an assistant useful context