Project Instructions File Writer

Write the instructions file a coding agent reads at the start of every session: build commands, conventions, and the traps a newcomer would fall into.

The prompt

Write a concise project instructions file for AI coding agents working in the repository described below. Include: what the project is, how to build, test and run it, the directory layout, coding conventions, things that must never be done, and the non-obvious traps. Keep it under 150 lines and prefer exact commands over prose:

{{project_notes}}

Works in ChatGPT, Claude, Gemini and other assistants. Replace the highlighted placeholders with your own content.

How to use it

Put rough notes about your repository at {{project_notes}}: the stack, the commands you run, the folder layout and anything that has tripped you or a teammate up. The output is a short instructions file to keep at the repository root, where your coding agent reads it.

Tips for better results

  • Exact commands beat descriptions: “npm test” is more useful than “run the tests”.
  • Add a line every time an agent makes the same mistake twice.
  • Keep it short. A long file gets skimmed by agents and people alike.

Save this prompt in Promta

Keep it in your library and paste it from the menu bar, a hotkey or your iPhone keyboard, without leaving the app you're in.

Download Free on App Store

Free to start · iPhone & Mac

Related prompts

Browse all 80 prompts