Add AGENTS.md file for AI coding agent guidance #241
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
This PR adds an
AGENTS.md
file to the repository root to provide comprehensive documentation for AI coding agents working on this project. The file follows the agents.md open format standard, which is designed to give coding agents the context and instructions they need to work effectively.What is AGENTS.md?
AGENTS.md
serves as a "README for agents" - a standardized, predictable place to provide technical context and instructions that help AI coding tools understand and contribute to a project. It complements the human-focusedREADME.md
by containing detailed technical instructions specifically for automated tools.Contents
The
AGENTS.md
file includes comprehensive documentation across the following areas:Project Overview
Setup & Development
azd up
Testing
Code Style & Build
Deployment
Additional Context
Benefits
This file will help AI coding agents:
The file contains actionable, specific commands that agents can execute directly, making it easier for AI tools to contribute to the project without requiring additional human guidance.
Related
Fixes #[issue_number] (Add AGENTS.md file)
Original prompt
This section details on the original issue you should resolve
<issue_title>Add AGENTS.md file</issue_title>
<issue_description>Title: Add AGENTS.md file
Plan
We need to add a specific file named
AGENTS.md
into this repository. To do that, think through and analyze the following plan. After careful analysis, perform each step exactly as stated.AGENTS.md
file at the root of the repository if it does not exist. See "## AGENTS.md Instructions" below and follow that general template format based upon what you found in this repository. In addition to the provided template below, research the additional template available at https://github.com/gakeez/agents_md_collection/tree/main/examples so that you understand your options for creating theAGENTS.md
file.RULES:
AGENTS.md
file if it does not already exist. DO NOT modify any other files.AGENTS.md Instructions
Create high‑quality AGENTS.md file
You are a code agent. Your task is to create a complete, accurate
AGENTS.md
at the root of this repository that follows the public guidance at https://agents.md/.AGENTS.md
is an open format designed to provide coding agents with the context and instructions they need to work effectively on a project.What is AGENTS.md?
AGENTS.md
is a Markdown file that serves as a "README for agents" - a dedicated, predictable place to provide context and instructions to help AI coding agents work on your project. It complementsREADME.md
by containing detailed technical context that coding agents need but might clutter a human-focusedREADME
.Key Principles
File Structure and Content Guidelines
1. Required Setup
AGENTS.md
in the repository root2. Essential Sections to Include
Project Overview
Setup Commands
Development Workflow
Testing Instructions
Code Style Guidelines
Build and Deployment
3. Optional but Recommended Sections
Security Considerations
Monorepo Instructions (if applicable)
Pull Request Guidelines
Debugging and Troubleshooting
Example Template
Use this as a starting template and customize based on the specific project: