feat: add agents.md with compiled best practices (MVP)#485
Merged
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds a comprehensive Ansible coding guidelines document for AI agents. The primary purpose is to create a centralized resource containing best practices for AI agents working with Ansible code, ensuring consistency and quality.
- Creates a detailed guidelines document with best practices for Ansible development workflows, coding standards, and project structures
- Adds supporting instructions for AI agents to generate and maintain the guidelines document
- Updates configuration files to support the new documentation
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| tools/AGENTS.md | Instructions for AI agents to analyze and update the main guidelines document |
| docs/agents.md | Comprehensive Ansible coding guidelines covering workflows, standards, and best practices |
| cspell.config.yaml | Adds technical terms to spell check ignore list |
| AGENTS.md | Updates testing instructions to use tox instead of pre-commit |
| .config/dictionary.txt | Adds FQCN-related terms to dictionary |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
cidrblock
approved these changes
Oct 10, 2025
Collaborator
cidrblock
left a comment
There was a problem hiding this comment.
I'm approving b/c a think it is a great start. Let's see if we can get some reviews from outside the team as well.
Contributor
|
I think this document is a great start, and we can continue to iterate. |
alisonlhart
reviewed
Oct 11, 2025
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This is an initial MVP agents.md file and the main goal while reviewing it is to spot anything that we do not want to recommend. Missing practices is ok as we can always improve it.
Fixes: AAP-55525