agentleFS

AGENTS.md examples from real projects

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

Best matches · from page 21Worked for most · soon
MongoDBAGENTS.md

mongo-csharp-driver

mongodb/mongo-csharp-driver/AGENTS.md

rejecting something the driver doesn't support). Only the exception type of a supported, documented operation is part of the contract. ## Async conventions - **Paired sync/async public surface.** Public methods that

3.2k4mo agoReviewMountCreate a free account to mount
MongoDBAGENTS.md

mongo-csharp-driver / MongoDB.Bson

mongodb/mongo-csharp-driver/src/MongoDB.Bson/AGENTS.md

over a raw byte buffer — prefer them for read-heavy paths where allocation matters. - **Document structure.** `BsonDocument` keeps an ordered `List ` and lazily builds a name → index dictionary once

3.2k4mo agoReviewMountCreate a free account to mount
MongoDBAGENTS.md

mongo-csharp-driver / MongoDB.Driver

mongodb/mongo-csharp-driver/src/MongoDB.Driver/AGENTS.md

methods. **Render is where bugs hide.** `Render` receives `RenderArgs ` carrying the active serializer registry, document serializer, and translation options. A definition rendered with the wrong document serializer produces silently-wrong

3.2k4mo agoReviewMountCreate a free account to mount
MongoDBAGENTS.md

mongo-csharp-driver / Core

mongodb/mongo-csharp-driver/src/MongoDB.Driver/Core/AGENTS.md

bits, opcode, message length, request ID. - Payload sections: - Body section (type 0): the command document itself. - Document sections (type 1): bulk write payloads (insert/update/delete). - Compressed payloads: if compression is negotiated

3.2k4mo agoReviewMountCreate a free account to mount
MongoDBAGENTS.md

mongo-csharp-driver / Events

mongodb/mongo-csharp-driver/src/MongoDB.Driver/Core/Events/AGENTS.md

try/catch. ## Event categories - **Command monitoring** — `CommandStartedEvent`, `CommandSucceededEvent`, `CommandFailedEvent`. Carry command name, BSON document (potentially truncated), database, operation/request IDs, connection ID, duration, timestamp. - **Connection pool (CMAP)** — grouped by phase: - *Pool lifecycle

3.2k4mo agoReviewMountCreate a free account to mount
MongoDBAGENTS.md

mongo-csharp-driver / Logging

mongodb/mongo-csharp-driver/src/MongoDB.Driver/Core/Logging/AGENTS.md

Anything outside that allowlist is **not** scrubbed by the logging layer; it only truncates document payloads via `MaxDocumentSize`. Do not embed application-level secrets (KMS material, X.509 cert bytes

3.2k4mo agoReviewMountCreate a free account to mount
MongoDBAGENTS.md

mongo-csharp-driver / GeoJsonObjectModel

mongodb/mongo-csharp-driver/src/MongoDB.Driver/GeoJsonObjectModel/AGENTS.md

2dsphere` index when `(x, y)` happen to be `(lon, lat)`, but `GeoJson2DGeographicCoordinates` is the documented choice so the lon/lat semantics are explicit at the type level. Note

3.2k4mo agoReviewMountCreate a free account to mount
MongoDBAGENTS.md

mongo-csharp-driver / GridFS

mongodb/mongo-csharp-driver/src/MongoDB.Driver/GridFS/AGENTS.md

GridFS — AGENTS.md GridFS stores binary files in two collections per bucket: ` .files` (metadata, one document per file) and ` .chunks` (binary data, many documents per file). Chunk size is configurable; default

3.2k4mo agoReviewMountCreate a free account to mount
MongoDBAGENTS.md

mongo-csharp-driver / Linq

mongodb/mongo-csharp-driver/src/MongoDB.Driver/Linq/AGENTS.md

needing: `MongoQueryableMethod` / `MongoEnumerableMethod` host the driver-only LINQ-operator method infos (e.g. `Documents` / `$documents`, `Densify*` / `$densify`, `Lookup*` overloads); `LinqExtensionsMethod` hosts the `LinqExtensions` helpers; `MqlMethod` is the narrow

3.2k4mo agoReviewMountCreate a free account to mount
MongoDBAGENTS.md

mongo-csharp-driver / Search

mongodb/mongo-csharp-driver/src/MongoDB.Driver/Search/AGENTS.md

expressions). Apply via `score: …` on most operators. - `SearchHighlight`, `SearchHighlightOptions` for hit highlighting in returned documents. - `SearchMetaResult` (non-generic) carries facet counts (returned as the result of `$searchMeta`). - `SearchSpanDefinition ` (built

3.2k4mo agoReviewMountCreate a free account to mount
TanStackAGENTS.md

ai

TanStack/ai/AGENTS.md

packages on the branch against their merge-base with `main`. See **Coverage** in `CONTRIBUTING.md`. ## Documentation Load the `docs` skill first (see **Docs skill** above). Then also obey these TanStack-specific

3.2k2mo agoReviewMountCreate a free account to mount
Chachamaru127AGENTS.md

claude-code-harness

Chachamaru127/claude-code-harness/.cursor/AGENTS.md

Cursor adapter **`supported`**. Harness-side containment applies — see `docs/CURSOR_INTEGRATION.md#containment-disclosure`. PM handoff remains documented in `docs/CURSOR_INTEGRATION.md`. ## Support Tier Cursor is `supported` after live

3.1k4mo agoReviewMountCreate a free account to mount
KhazPAGENTS.md

vibe-coding-prompt-template / templates

KhazP/vibe-coding-prompt-template/templates/AGENTS.md

Stack-specific setup: `agent_docs/tech_stack.md`. - Choosing or troubleshooting checks: `agent_docs/testing.md`. Use the actual document paths, as recorded in `vibe.project.json` when present. Read only the documents needed for the task

3.1k3mo agoReviewMountCreate a free account to mount
coderAGENTS.md

claudecode.nvim

coder/claudecode.nvim/AGENTS.md

uses `luajit+busted` std). - Modules/files: lower_snake_case; return a module table `M` with documented functions (EmmyLua annotations encouraged). - Avoid one-letter names; prefer explicit, testable functions. ## Testing Guidelines - Frameworks

3.1k6mo agoReviewMountCreate a free account to mount
MicrosoftAGENTS.md

skills

microsoft/skills/Agents.md

first 1. Search Microsoft Learn for current docs 2. Check Context7 for indexed Foundry documentation (updated daily) 3. Verify against actual installed package version ``` **If you skip this step

3.1k9mo agoReviewMountCreate a free account to mount
MicrosoftAGENTS.md

skills / commands

microsoft/skills/.github/plugins/deep-wiki/commands/agents.md

Generate AGENTS.md files for pertinent repository folders — only where missing. Provides coding agents with build commands, testing instructions, code style, project structure, and boundaries.

3.1k9mo agoReviewMountCreate a free account to mount
MicrosoftAGENTS.md

skills / tests

microsoft/skills/tests/AGENTS.md

Incorrect \`\`\`python # Anti-pattern with explanation from wrong.module import Client # Wrong import path \`\`\` ``` **Critical:** Document import distinctions carefully. Many Azure SDKs have models in different locations (e.g., `azure.ai.agents.models` vs `azure.ai.projects.models

3.1k9mo agoReviewMountCreate a free account to mount
MemMachineAGENTS.md

MemMachine

MemMachine/MemMachine/AGENTS.md

slow`. ### Docker Image Build - Build/push container images: `./build-docker.sh` (interactive) or use the flags documented in `build-docker.sh`. ### TypeScript REST Client (per package) Paths with package.json: - `packages/ts-client/` Common commands (run from

3.1k11mo agoReviewMountCreate a free account to mount
VercelAGENTS.md

opensrc

vercel-labs/opensrc/AGENTS.md

Turborepo** monorepo with pnpm workspaces: - `packages/opensrc/` — Rust CLI distributed via npm - `apps/docs/` — Next.js documentation site ## CLI (packages/opensrc) The CLI is a **Rust** binary with an npm shim. The Rust crate

3k8mo agoReviewMountCreate a free account to mount
deedy5AGENTS.md

ddgs

deedy5/ddgs/AGENTS.md

property` for expensive lazy computations. - Suppress ruff rules inline with `# noqa: RULE` when justified (document why implicitly by context). ### Adding a New Search Engine 1. Create `ddgs/engines/ .py`. 2. Subclass

3k17mo 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.