How do I write a project brief the AI can follow across sessions?
Writing a project brief
Start with a few plain sentences about what the app does and who uses it. List the main technologies you chose, such as the framework, database and styling approach. Explain any choices the AI might otherwise change without asking, like a required database or a naming convention.
Add a short section on the folder layout and the commands to run tests and start the app. Assistants work better when they know where things live and how to check their own work.
Keeping the brief current
Update the brief when the project changes, not only at the start. An outdated brief can send the AI in the wrong direction faster than no brief at all. Note decisions you have already made so they do not get reopened every session.
Keep the file focused. A long document full of old notes can bury the rules that matter, so trim it as the project matures.
- State the goal and target users in two or three sentences.
- List the stack and the reasons for it.
- Describe the folder layout briefly.
- Include the commands for tests and local runs.
Common mistakes
- Letting the brief fall behind as the project changes.
- Writing a huge file that hides the few rules that matter most.

Related questions
- How do I write good prompts for AI coding assistants?
- What is the best way to describe my app idea to an AI?
- How do I get the AI to write code that actually works?
- Should I use one big prompt or break it into smaller steps?
- How can I make the AI follow my coding style and conventions?
- What should I include in a prompt to build a CRUD app?