How to use this prompt
- Describe what you want and how you'll know it works. Clear "done when" checks are the biggest reason agent tasks succeed.
- Add your tech stack and the files involved, even roughly. Context stops the agent guessing.
- Click Generate prompt, then Copy prompt or open it in ChatGPT, Claude, Gemini, Copilot, Perplexity, Grok or any AI app.
- Paste the task brief into Claude Code, Codex, Cursor, Copilot, Windsurf, Lovable or Bolt.
- Review the agent's changes with the checklist before you accept them, then use the follow-up prompts if needed.
AI coding agent tips
- One task at a time. Small, focused tasks give far better results than "build my whole app".
- Always say what the agent must not change, like your database, URLs or design.
- Never paste passwords or API keys into a prompt. Keep them in environment variables.
- Read the changes and run the app yourself before you ship anything.
- Plan the whole project first with the Website & App Builder Planner, and fix errors with the Bug Finder & Fixer.
Example: how to fill it in
Here is how a developer might fill in the form to brief an AI coding agent.
| Field | Example answer |
|---|---|
| What you want built or changed | Add a contact form that saves messages to the database and sends an email |
| Project and tech stack | Next.js app with Supabase |
| Relevant files, folders or pages | app/contact/page.tsx and lib/actions |
| AI coding tool | Claude Code |
| What the agent must not change | The design system, the database schema of other tables |
| How to check it works | Submit the form locally and see the row in the database |
Common mistakes and how to fix them
- A vague task. Describe the result you want and how you will check it. Vague tasks get vague code.
- Not setting limits. List what the agent must not change, such as design, other features or config.
- Too big a task. Split large features into smaller tasks the agent can finish and test.
- Not reviewing the changes. Always read the diff and test it before you merge or deploy.
Follow-up prompts to try
After the first result, keep the same chat open and send one of these:
- "Split this task into 3 smaller tasks in the right order."
- "Add acceptance tests the agent should write first."
- "Write the brief again for Cursor instead of Claude Code."
- "What questions might the agent ask me before starting?"
Frequently asked questions
Which AI coding tools does it support?
Claude Code, OpenAI Codex, Cursor, GitHub Copilot, Windsurf and similar tools.
Why write a brief instead of just asking?
A clear brief with files, limits and checks gives better code and fewer surprises.
Can non-developers use it?
Yes, to describe what they want clearly. Someone should still review and test the result.
Is my code safe?
Follow your company's rules for AI tools and never share secrets in a brief.
