agentleFS

AGENTS.md examples from real projects

How real projects brief Codex, Cursor and every other agent that reads AGENTS.md.

Worked for most · soon
SentryAGENTS.md

sentry

getsentry/sentry/AGENTS.md

IMPORTANT: AGENTS.md files are the source of truth for AI agent instructions. Always update the relevant AGENTS.md file when adding or modifying agent guidance. Do not add to CLAUDE.md or…

No other project uses it yet

45k5mo agoReviewMountCreate a free account to mount
SentryAGENTS.md

sentry / src

getsentry/sentry/src/AGENTS.md

For critical commands, see the "Command Execution Guide" section in /AGENTS.md in the repository root. Multi-tenant queries MUST be scoped — never trust user-supplied IDs alone. - Always filter by…

No other project uses it yet

45k5mo agoReviewMountCreate a free account to mount
SentryAGENTS.md

sentry / derived

getsentry/sentry/src/sentry/issues/derived/AGENTS.md

Follow README.md in this directory when changing Features or aggregators here.

45k5mo agoReviewMountCreate a free account to mount
SentryAGENTS.md

sentry / static

getsentry/sentry/static/AGENTS.md

For critical commands and testing rules, see the "Command Execution Guide" section in /AGENTS.md in the repository root. Use apiOptions with useQuery from TanStack Query; never use the deprecated useApiQuery/getApiQueryData/setApiQueryData.…

No other project uses it yet

45k5mo agoReviewMountCreate a free account to mount
SentryAGENTS.md

sentry / tests

getsentry/sentry/tests/AGENTS.md

For test commands (make test-selective, pytest), see the "Command Execution Guide" section in /AGENTS.md in the repository root. This guide covers Python tests. For frontend React/TypeScript tests (*.spec.tsx, RTL, MockApiClient),…

45k5mo agoReviewMountCreate a free account to mount
SentryAGENTS.md

sentry-javascript / browser

getsentry/sentry-javascript/packages/browser/AGENTS.md

Bundle size is critical. Be mindful of imports and tree-shaking. Use /add-cdn-bundle skill to create new CDN bundles.

8.8k2mo agoReviewMountCreate a free account to mount
SentryAGENTS.md

MobileBuildMCP

getsentry/MobileBuildMCP/AGENTS.md

No summary in the file. Open it to read it.

6.5k2mo agoReviewMountCreate a free account to mount
SentryAGENTS.md

sentry-python

getsentry/sentry-python/AGENTS.md

Use tox for testing (not pytest directly): - Test matrix configuration is in tox.ini - Integration tests: uv run tox -e py3.14-{integration}-v{version} - Common tests: uv run tox -e py3.14-common - Run specific test file: TESTPATH=tests/integrations/logging/test_logging.py uv run tox -e py3.14-common - Run single test: TESTPATH=tests/path/to/test_file.py uv run tox -e py3.14-common -- -k "test_name" Mypy and its type stubs live in the opt-in typing dependency group: - Run uv run --group typing mypy sentry_sdk before committing (must pass with zero…

2.2k9mo agoReviewMountCreate a free account to mount
SentryAGENTS.md

sentry-php

getsentry/sentry-php/AGENTS.md

- sentry/sentry is the core PHP SDK, not an application or framework bundle. - Public entry points include the autoloaded global helpers in src/functions.php and the public classes and interfaces under src/. - Use this file for repo-specific constraints that are easy to miss, and explore the codebase for current implementation details. - The minimum supported PHP version for shipped code is 7.2. composer.json requires ^7.2|^8.0, so shipped code must remain valid on PHP 7.2 unless support policy is intentionally…

1.9k5mo agoReviewMountCreate a free account to mount
SentryAGENTS.md

sentry-react-native / core

getsentry/sentry-react-native/packages/core/AGENTS.md

Depth lives in the skills. The code-guidelines and test-guidelines skills (.agents/skills/) hold the authoritative, current guidance on code style, API/integration design, the bridge, and tests — load them before non-trivial work. This file covers the package's build/test commands, quick-reference conventions, and the TurboModule subsystem, which is documented nowhere else. Where a convention here overlaps a skill, the skill wins. Use describe/it blocks (preferred) or flat test() calls: Arrange-Act-Assert pattern — always structure tests with clear sections. Use specific Jest matchers:

1.8k3mo agoReviewMountCreate a free account to mount
SentryAGENTS.md

sentry-react-native / android

getsentry/sentry-react-native/packages/core/android/AGENTS.md

Depth lives in the skills. code-guidelines (.agents/skills/, esp. references/native-bridge.md) is authoritative for bridge and native conventions — load it before non-trivial work. This file is the quick reference for the Android surface; where a convention here overlaps a skill, the skill wins. Android native code supports both React Native architectures — a bridge-method change usually has to land in both: Catch Throwable at the boundary — not just Exception, so an Error can't crash the app either (the module code…

1.8k3mo agoReviewMountCreate a free account to mount
SentryAGENTS.md

sentry-react-native / ios

getsentry/sentry-react-native/packages/core/ios/AGENTS.md

Depth lives in the skills. code-guidelines (.agents/skills/, esp. references/native-bridge.md) is authoritative for bridge and native conventions — load it before non-trivial work. This file is the quick reference for the iOS surface; where a convention here overlaps a skill, the skill wins. Catch everything at the boundary and reject — never let an exception reach the app. The reject error code is the shared @"SentryReactNative", not a per-method code: ✅ Always - Resolve or reject every exported method — a…

1.8k3mo agoReviewMountCreate a free account to mount
SentryAGENTS.md

sentry-react-native / expo

getsentry/sentry-react-native/samples/expo/AGENTS.md

The test bed for the SDK under Expo (config plugin, Metro integration, EAS). Use it to verify a change behaves in an Expo-managed app, not just a bare RN one. yarn start then follows the Expo CLI prompts to open on an iOS simulator, Android emulator, or a physical device. Because the SDK ships native code, plain Expo Go isn't enough — the run:* scripts build a dev client that includes it.

1.8k3mo agoReviewMountCreate a free account to mount
SentryAGENTS.md

sentry-java

getsentry/sentry-java/AGENTS.md

This file covers the whole repository. Before working on a specific area, read the matching rule file in .cursor/rules/: Rules can be combined — a tracing scope issue may need both scopes and opentelemetry. There is no rule for Android profiling yet; read the sentry-android-core profiling code directly and fetch related rules such as options, offline, or api as needed. This is the Sentry Java/Android SDK - a comprehensive error monitoring and performance tracking SDK for Java and Android applications.…

1.4k7mo agoReviewMountCreate a free account to mount
SentryAGENTS.md

sentry-laravel

getsentry/sentry-laravel/AGENTS.md

- sentry/sentry-laravel is a Composer library, not a runnable Laravel app. - It adapts sentry/sentry to Laravel and Lumen. - Use this file for repo-specific constraints that are easy to miss, and explore the codebase for current implementation details. - Shipped code must remain valid on PHP 7.2 unless the package minimum is intentionally being raised. composer.json still allows ^7.2 | ^8.0. - This package supports illuminate/support ^6 through ^13. Keep cross-version behavior intact. - For Laravel 11+, unhandled exception…

1.4k9mo agoReviewMountCreate a free account to mount
SentryAGENTS.md

sentry-cocoa

getsentry/sentry-cocoa/AGENTS.md

Sentry Cocoa SDK for iOS, macOS, tvOS, watchOS, and visionOS.

1.1k3mo agoReviewMountCreate a free account to mount
SentryAGENTS.md

sentry-cocoa / develop-docs

getsentry/sentry-cocoa/develop-docs/AGENTS.md

Scope: develop-docs/**. Also follow root instructions.

1.1k3mo agoReviewMountCreate a free account to mount
SentryAGENTS.md

sentry-cocoa

getsentry/sentry-cocoa/.github/AGENTS.md

Scope: .github/**. Also follow root instructions. Use conditional cancellation unless the workflow is pull-request-only:

1.1k3mo agoReviewMountCreate a free account to mount
SentryAGENTS.md

sentry-cocoa / scripts

getsentry/sentry-cocoa/scripts/AGENTS.md

Scope: scripts/**. Also follow root instructions.

1.1k3mo agoReviewMountCreate a free account to mount
CLAUDE.md vs AGENTS.md

About AGENTS.md

What is AGENTS.md?

An open format for instructions to coding agents, read by Codex, Cursor and others. Think of it as a README written for agents.

Where does it go?

At the repository root, with more specific files in subdirectories. Agents read the one closest to the file they're editing.

What should it contain?

Setup and test commands, code style, and the rules a new contributor would need to know.

Does Claude Code read it?

Claude Code reads CLAUDE.md. A one-line CLAUDE.md that points at AGENTS.md covers both.