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
SupabaseAGENTS.md

agent-skills

supabase/agent-skills/AGENTS.md

Guidance for AI coding agents working with this repository. Note: CLAUDE.md is a symlink to this file. This project uses pnpm for dependency management and task execution. Use the Node.js version declared in .node-version, then install dependencies with pnpm install. Run tasks with pnpm. Before completing any task, run pnpm test to ensure CI passes. This repository uses Release Please on main. If you change shipped skill contents under skills/, make sure the change is represented with an appropriate conventional…

2.7k6mo agoReviewMountCreate a free account to mount
MongoDBAGENTS.md

mongo-java-driver

mongodb/mongo-java-driver/AGENTS.md

All changes require human review. Breaking changes to public API require a major version bump — always warn if binary compatibility is affected. Also consult .AGENTS.md / ~/.AGENTS.md if present for local agent settings. Architecture: Multi-module Gradle project: bson → driver-core → driver-sync/driver-reactive-streams → language wrappers (driver-kotlin-sync, driver-kotlin-coroutine, driver-scala). See .agents/references/project-guide for module structure and dependency graph. Each module has its own AGENTS.md. The default branch is main (not master). Always use main when comparing, diffing, or creating branches. -…

2.7k7mo agoReviewMountCreate a free account to mount
MongoDBAGENTS.md

mongo-java-driver / bom

mongodb/mongo-java-driver/bom/AGENTS.md

Bill of Materials (BOM) for MongoDB Java Driver dependency management.

2.7k7mo agoReviewMountCreate a free account to mount
MongoDBAGENTS.md

mongo-java-driver / bson

mongodb/mongo-java-driver/bson/AGENTS.md

Core BSON (Binary JSON) library — the foundation module. All other modules depend on it. Depends on: None (foundation module)

2.7k7mo agoReviewMountCreate a free account to mount
MongoDBAGENTS.md

mongo-java-driver / bson-kotlin

mongodb/mongo-java-driver/bson-kotlin/AGENTS.md

Kotlin extensions for the BSON library, providing idiomatic Kotlin codec support. Depends on: bson

2.7k7mo agoReviewMountCreate a free account to mount
MongoDBAGENTS.md

mongo-java-driver / bson-kotlinx

mongodb/mongo-java-driver/bson-kotlinx/AGENTS.md

Kotlinx serialization integration for BSON, providing a pluggable serialization format. Depends on: bson

2.7k7mo agoReviewMountCreate a free account to mount
MongoDBAGENTS.md

mongo-java-driver / bson-record-codec

mongodb/mongo-java-driver/bson-record-codec/AGENTS.md

Java record codec support for BSON serialization. Requires Java 17+. Depends on: bson - Work here if: modifying Java record serialization support - This module targets Java 17 (sourceCompatibility = 17) — Java 17 features (records, sealed classes, text blocks, etc.) are permitted here, unlike most other modules which target Java 8

2.7k7mo agoReviewMountCreate a free account to mount
MongoDBAGENTS.md

mongo-java-driver / bson-scala

mongodb/mongo-java-driver/bson-scala/AGENTS.md

Scala extensions for the BSON library, providing Scala-idiomatic wrappers and macro-based codecs. Depends on: bson Supported Scala versions: 2.11, 2.12, 2.13, 3 (default: 2.13, configured in root gradle.properties). See README.md for directory layout details.

2.7k7mo agoReviewMountCreate a free account to mount
MongoDBAGENTS.md

mongo-java-driver / buildSrc

mongodb/mongo-java-driver/buildSrc/AGENTS.md

Gradle build infrastructure providing convention plugins and shared configuration for all modules. - src/main/kotlin/conventions/ — Convention plugins applied by modules (formatting, testing, publishing, static analysis) - src/main/kotlin/project/ — Base project plugins for Java, Kotlin, and Scala modules - src/main/kotlin/ProjectExtensions.kt — Shared Gradle extension utilities After modifying buildSrc, run the sync-agents-docs skill to update AGENTS.md files and skills that may be affected.

2.7k7mo agoReviewMountCreate a free account to mount
MongoDBAGENTS.md

mongo-java-driver / driver-benchmarks

mongodb/mongo-java-driver/driver-benchmarks/AGENTS.md

Performance benchmarks for the MongoDB Java Driver using JMH and a custom benchmark framework. Depends on: driver-sync, mongodb-crypt - com.mongodb.benchmark.benchmarks — Benchmark suite and individual benchmarks (BSON, single/multi-doc, bulk operations) - com.mongodb.benchmark.benchmarks.bulk — Bulk write benchmarks - com.mongodb.benchmark.benchmarks.netty — Netty transport benchmarks - com.mongodb.benchmark.framework — Custom benchmark harness - com.mongodb.benchmark.jmh — JMH microbenchmarks

2.7k7mo agoReviewMountCreate a free account to mount
MongoDBAGENTS.md

mongo-java-driver / driver-core

mongodb/mongo-java-driver/driver-core/AGENTS.md

Core driver internals shared by all driver variants (sync, reactive, Kotlin, Scala). Largest and most complex module. Depends on: bson, bson-record-codec, optionally bson-kotlin, bson-kotlinx, mongodb-crypt - Work here if: modifying query builders (Filters, Updates, Aggregates), connection handling, wire protocol, server selection, or operation execution - Do not: block in async code paths, modify wire protocol or auth without human approval - Most extensive test suite — JUnit 5 + Spock + Mockito. Match surrounding patterns carefully. - MongoDriverVersion is auto-generated…

2.7k7mo agoReviewMountCreate a free account to mount
MongoDBAGENTS.md

mongo-java-driver / driver-kotlin-coroutine

mongodb/mongo-java-driver/driver-kotlin-coroutine/AGENTS.md

Kotlin Coroutines driver providing suspend function-based async API. Depends on: bson, driver-reactive-streams, bson-kotlin

2.7k7mo agoReviewMountCreate a free account to mount
MongoDBAGENTS.md

mongo-java-driver / driver-kotlin-extensions

mongodb/mongo-java-driver/driver-kotlin-extensions/AGENTS.md

Kotlin extensions providing type-safe DSLs for query and update construction. Depends on: driver-core, optionally driver-kotlin-sync, driver-kotlin-coroutine

2.7k7mo agoReviewMountCreate a free account to mount
MongoDBAGENTS.md

mongo-java-driver / driver-kotlin-sync

mongodb/mongo-java-driver/driver-kotlin-sync/AGENTS.md

Kotlin synchronous (blocking) driver — idiomatic Kotlin wrapper over driver-sync. Depends on: bson, driver-sync, bson-kotlin

2.7k7mo agoReviewMountCreate a free account to mount
MongoDBAGENTS.md

mongo-java-driver / driver-legacy

mongodb/mongo-java-driver/driver-legacy/AGENTS.md

Legacy MongoDB Java driver API — backwards compatibility facade for the 3.x API. Depends on: bson, driver-core, driver-sync - com.mongodb — Legacy API (MongoClient, DB, DBCollection, DBCursor) — distinct from driver-core classes in the same namespace - com.mongodb.gridfs — Legacy GridFS

2.7k7mo agoReviewMountCreate a free account to mount
MongoDBAGENTS.md

mongo-java-driver / driver-reactive-streams

mongodb/mongo-java-driver/driver-reactive-streams/AGENTS.md

Reactive Streams driver implementing the Reactive Streams specification. Depends on: bson, driver-core

2.7k7mo agoReviewMountCreate a free account to mount
MongoDBAGENTS.md

mongo-java-driver / driver-scala

mongodb/mongo-java-driver/driver-scala/AGENTS.md

Scala async driver providing Observable-based API wrapping driver-reactive-streams. Depends on: bson-scala, driver-reactive-streams Supported Scala versions: 2.11, 2.12, 2.13, 3 (default: 2.13, configured in root gradle.properties). See README.md for directory layout details. - Mirror new public Java types in Scala. Adding a public type or enum under a wrapped package (com.mongodb, com.mongodb.client.model and its subpackages, com.mongodb.connection, com.mongodb.client.result, …) requires a matching wrapper in the corresponding org.mongodb.scala.* package — this is enforced by ApiAliasAndCompanionSpec (the build fails if a mirror is missing):…

2.7k7mo agoReviewMountCreate a free account to mount
MongoDBAGENTS.md

mongo-java-driver / driver-sync

mongodb/mongo-java-driver/driver-sync/AGENTS.md

Synchronous (blocking) Java driver — the most commonly used entry point for Java applications. Depends on: bson, driver-core - Work here if: modifying the blocking Java API surface (MongoClient, MongoDatabase, MongoCollection), GridFS, or CSFLE vault client - Do not: add new Spock tests (legacy only), add internal connection/protocol code (that belongs in driver-core) Primary entry point: MongoClients.create() or MongoClients.create(MongoClientSettings).

2.7k7mo agoReviewMountCreate a free account to mount
MongoDBAGENTS.md

mongo-java-driver / gradle

mongodb/mongo-java-driver/gradle/AGENTS.md

Gradle configuration and infrastructure for the build system. - libs.versions.toml — Central version catalog defining all dependency versions, library coordinates, bundles, and plugin versions - wrapper/ — Gradle wrapper JAR and properties (do not modify manually — use ./gradlew wrapper --gradle-version=<version>) - scala/lib/ — Bundled Scala Ant JAR for Scala compilation support - All dependency versions are managed in libs.versions.toml — never declare versions inline in build.gradle.kts files - Never add dependencies without justification - The version catalog defines [versions],…

2.7k7mo agoReviewMountCreate a free account to mount
MongoDBAGENTS.md

mongo-java-driver / mongodb-crypt

mongodb/mongo-java-driver/mongodb-crypt/AGENTS.md

Client-side field-level encryption (CSFLE) support via JNA bindings to libmongocrypt. Depends on: bson - Work here if: modifying CSFLE encryption/decryption logic or JNA bindings - Do not: move, re-expose, or refactor JNA/libmongocrypt bindings without human approval — this is security-critical code - Do not: modify the C API binding layer without understanding the libmongocrypt contract - com.mongodb.crypt.capi — mongocryptd C API bindings (JNA) — security-critical, do not modify without human review - com.mongodb.internal.crypt.capi — Internal encryption state management Tests are…

2.7k7mo 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.