docs: create comprehensive AGENTS.md and enhance AI agent guidance #155
+739
−7
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 improves AI agent guidance by creating a comprehensive AGENTS.md file and enhancing existing documentation. After thorough exploration of the repository (including running the CLI and tests), I've created documentation that will help AI coding agents (GitHub Copilot, Claude Code, Cursor, etc.) better understand the codebase and generate code that follows project patterns.
What's New
AGENTS.md (713 lines)
A comprehensive guide specifically designed for AI coding agents, covering:
uv
,nox
, andpytest
sequential
,long_running
,scheduled
,docker
), coverage requirements, and fixture patternsact
Enhanced Existing Documentation
CODE_STYLE.md
Expanded the "Guidance for AI Pair Programming" section from 5 to 8 points:
uv
notpip
)CONTRIBUTING.md
Added prominent note at the top directing AI agents to read AGENTS.md before contributing.
.github/copilot-instructions.md
Added reference to AGENTS.md as the primary resource for AI agents working with this repository.
CLAUDE.md
Added note explaining that AGENTS.md provides concise, task-oriented guidance for all AI agents, while CLAUDE.md provides detailed architectural guidance specifically for Claude Code.
Validation
All documentation has been validated by:
uv run aignostics system health
)Key Benefits
Example Usage
AI agents can now:
locate_subclasses(BaseService)
for finding servicesuv
instead ofpip
for package managementFiles Changed
AGENTS.md
(713 lines)CODE_STYLE.md
(+17 lines)CONTRIBUTING.md
(+2 lines).github/copilot-instructions.md
(+5 lines)CLAUDE.md
(+2 lines)Total: +739 lines, -7 lines across 5 files
This comprehensive documentation ensures AI agents have all the context needed to generate high-quality code that follows project standards and patterns.
Original prompt
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.