PYTHON-5768 mv .github/copilot-instructions.md AGENTS.md#2783
Open
aclark4life wants to merge 2 commits intomongodb:masterfrom
Open
PYTHON-5768 mv .github/copilot-instructions.md AGENTS.md#2783aclark4life wants to merge 2 commits intomongodb:masterfrom
aclark4life wants to merge 2 commits intomongodb:masterfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR migrates repository guidance for AI coding assistants from .github/copilot-instructions.md into a new top-level AGENTS.md, aiming to centralize agent/development rules for this repo.
Changes:
- Added
AGENTS.mdwith AI-agent development guidelines (security, performance, code quality, testing). - Removed
.github/copilot-instructions.mdfrom.github/.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
AGENTS.md |
New centralized agent/development guidance document for the repo. |
.github/copilot-instructions.md |
Removed prior GitHub Copilot instruction file (migration implied). |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.
PYTHON-5768
Changes in this PR
Moves
.github/copilot-instructions.mdtoAGENTS.mdat the repo root and rewrites the content as general AI agent development guidance rather than Copilot-specific code review instructions.Key changes from the original file:
pymongo/synchronous/or generated test files directly) to the top as the most critical thing for any agent to knowtest/vstest/asynchronous/structure and thepython tools/synchro.pyregeneration stepRelated: #2746 (INTPYTHON-939 Add CLAUDE.md)
#2746 adds a
.claude/CLAUDE.mdthat importsAGENTS.mdvia@../AGENTS.md, so Claude Code picks up this file as its project instructions. This PR (PYTHON-5768) provides the actual content; #2746 wires it into Claude Code. They are independent but complementary — this one should land first so the content exists before the import is merged.Test Plan
No code changes. Verified the file renders correctly and the synchro pre-commit hook still passes.
Checklist
Checklist for Author
Checklist for Reviewer