← All guides
Prompting••6 min read

Write Better Prompts for Agent Workflows

How to give agents enough context to move quickly while keeping decisions easy to review.

01

State the outcome

Describe the artifact that should exist at the end, who it is for, and what good looks like. Avoid turning the prompt into a list of implementation guesses.

02

Name the constraints

Include the existing patterns, files, accessibility requirements, and boundaries the agent must preserve. Constraints reduce rework when they are concrete.

03

Ask for evidence

Request a preview, test result, or concise change summary. Evidence keeps the workflow grounded in what actually changed.