docs: Migrate AGENTS.md to nested structure with agents.toml#5758
Merged
docs: Migrate AGENTS.md to nested structure with agents.toml#5758
Conversation
Split the monolithic AGENTS.md into directory-scoped files following the agents.md standard (as in sentry-javascript). The root file becomes a lightweight index with pointers to nested files. New files: - packages/core/AGENTS.md — TS/JS code style, testing, patterns - packages/core/android/AGENTS.md — Java/Kotlin conventions - packages/core/ios/AGENTS.md — ObjC/Swift conventions - samples/react-native/AGENTS.md — sample app usage - samples/expo/AGENTS.md — Expo sample usage - agents.toml — agents.md standard config - .agents/skills/.gitkeep — skills directory placeholder Refs #5745 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
Semver Impact of This PR⚪ None (no version bump detected) 📋 Changelog PreviewThis is how your changes will appear in the changelog. This PR will not appear in the changelog. 🤖 This preview updates automatically when you update the PR. |
Contributor
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.
📢 Type of change
📜 Description
AGENTS.mdinto directory-scoped nested files following the agents.md standard (as established insentry-javascript)AGENTS.mdbecomes a lightweight index (~100 lines) with quick-reference tables and pointers to nested filesagents.tomlconfig and.agents/skills/directory placeholderNew files
packages/core/AGENTS.mdpackages/core/android/AGENTS.mdpackages/core/ios/AGENTS.mdsamples/react-native/AGENTS.mdsamples/expo/AGENTS.mdagents.toml.agents/skills/.gitkeepNotes
CLAUDE.mdsymlink still resolves (points to rootAGENTS.md)💡 Motivation and Context
Fixes #5745
💚 How did you test it?
CLAUDE.mdsymlink resolves correctlyagents.tomlis valid TOML📝 Checklist
sendDefaultPIIis enabled🔮 Next steps
#skip-changelog
🤖 Generated with Claude Code