Add AGENTS.md file for AI coding agent support #268
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 a comprehensive
AGENTS.mdfile to the repository root, following the open format specified at https://agents.md/. This file serves as a "README for agents" - providing AI coding agents with the detailed context and instructions they need to work effectively on this project.What is AGENTS.md?
AGENTS.mdis an emerging standard that provides a predictable location for agent-specific documentation. It complements the human-focusedREADME.mdby containing detailed technical instructions that coding agents need but might clutter the main README. The format is compatible with 20+ AI coding tools including Cursor, Aider, GitHub Copilot, and many others.What's Included
The
AGENTS.mdfile provides comprehensive coverage of the Contoso Chat project:Core Development Information
Testing and Quality
/docsendpointBuild and Deployment
azdwith expected infrastructure outcomesSecurity and Best Practices
Troubleshooting Support
Why This Matters
This file enables AI coding agents to:
Implementation Approach
The
AGENTS.mdfile was created by:All content is specific to this repository and based on actual analysis - no generic template content was copied.
Verification
AGENTS.mdCloses #[issue_number]
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.mdinto this repository. To do that, think through and analyze the following plan. After careful analysis, perform each step exactly as stated.AGENTS.mdfile 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.mdfile.RULES:
AGENTS.mdfile 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.mdat the root of this repository that follows the public guidance at https://agents.md/.AGENTS.mdis 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.mdis 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.mdby 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.mdin 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: