AGENTS.md
The AGENTS.md
file is a special document within this repository designed to
be a direct line of communication between you (the user) and any AI agent or
assistant working on your project.
Think of it as a set of permanent instructions or a “cheat sheet” for the AI.
While you can give an AI instructions in a prompt, those instructions are
temporary and specific to that one conversation.
The AGENTS.md
file provides a persistent set of rules and guidelines that
the AI can refer to at any time.
This is particularly useful for establishing:
api/
directory is
auto-generated, do not edit it directly.”The AGENTS.md
file is written in simple Markdown.
You can edit it just like any other text file.
AGENTS.md
file.
If you change your architecture or coding standards, update the file to
reflect those changes.AGENTS.md
file as part of your
initial prompt.
The prompting-ai-agents.md
guide provides examples of how to do this.By maintaining a well-structured AGENTS.md
file, you can significantly
improve the quality and consistency of the work done by AI agents on your
project, reducing the need for corrections and rework.