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

workerd / crypto

cloudflare/workerd/src/workerd/api/crypto/AGENTS.md

WebCrypto API + Node.js crypto C++ implementations over BoringSSL. crypto.h defines public JSG types (CryptoKey, SubtleCrypto, CryptoKeyUsageSet). impl.h defines internal CryptoKey::Impl base class with per-algorithm static ImportFunc/GenerateFunc dispatch. Algorithm files implement Impl subclasses. OSSLCALL() macro wraps all BoringSSL calls with error translation.

8.8k9mo agoReviewMountCreate a free account to mount
CloudflareAGENTS.md

workerd / node

cloudflare/workerd/src/workerd/api/node/AGENTS.md

C++ implementations of Node.js built-in modules. Each module = JSG-bound class registered via NODEJS_MODULES(V) macro in node.h. TypeScript counterpart lives in src/node/. Tests in tests/. Naming: <module>-test.js + <module>-test.wd-test; -nodejs- infix when needing compat flags. All tests set compatibilityFlags = ["nodejs_compat", "nodejs_compat_v2", "experimental"]. Network tests (net, tls, http) use sidecar js_binary targets. fixtures/ has 46 PEM files for crypto. process-stdio tests use sh_test with .expected_stdout/.expected_stderr. C++ unit test: buffer-test.c++ via kj_test.

8.8k9mo agoReviewMountCreate a free account to mount
CloudflareAGENTS.md

workerd / streams

cloudflare/workerd/src/workerd/api/streams/AGENTS.md

Web Streams API: ReadableStream, WritableStream, TransformStream. See README.md for terse reference (classification, state machines, safety patterns). See docs/streams.md for narrative tutorial. NOTE: C++ code outside this directory does not use jsg::Ref<ReadableStream> or jsg::Ref<WritableStream> directly; it goes through the JsReadableStream / JsWritableStream abstractions in src/workerd/api/js-{readable,writable}-stream.{h,c++}, which hide which stream implementation backs a given stream (and provide JsReadableWritablePair + pipeTo/pipeThrough for abstraction-level pipelines). New C++ consumers of streams should use those abstractions, not the types defined here. Allocating the types defined here…

8.8k9mo agoReviewMountCreate a free account to mount
CloudflareAGENTS.md

workerd / io

cloudflare/workerd/src/workerd/io/AGENTS.md

I/O lifecycle, per-request context, worker/isolate management, actor storage, consistency gates, and compatibility flags.

8.8k9mo agoReviewMountCreate a free account to mount
CloudflareAGENTS.md

workerd / jsg

cloudflare/workerd/src/workerd/jsg/AGENTS.md

See README.md for terse reference (type mappings, macro catalog, error catalog). See docs/jsg.md for narrative tutorial. Macro-driven C++/V8 binding layer: declares C++ types as JS-visible resources/structs with automatic type conversion.

8.8k9mo agoReviewMountCreate a free account to mount
CloudflareAGENTS.md

workerd / server

cloudflare/workerd/src/workerd/server/AGENTS.md

Binary + orchestration layer. :workerd is a Rust binary: the :workerd-cli crate (cli/) parses the command line (clap), produces the encoded config (schema files via config-compiler.c++), handles --watch and compile, and runs each serving subcommand (serve, compile, test, fuzzilli, pyodide-lock, make-pyodide-baseline-snapshot) through a run_* function in cli-main.c++. Server (server.c++, ~6K lines) is the god object: parses workerd.capnp config, constructs all service types as nested inner classes, wires sockets/bindings/actors, runs the event loop.

8.8k9mo agoReviewMountCreate a free account to mount
CloudflareAGENTS.md

workerd / util

cloudflare/workerd/src/workerd/util/AGENTS.md

Shared utility library: data structures, SQLite wrapper, feature gating, logging, thread-local scopes. No workerd-specific API dependencies — consumed across api/, io/, server/.

8.8k9mo agoReviewMountCreate a free account to mount
CloudflareAGENTS.md

workerd / types

cloudflare/workerd/types/AGENTS.md

Generates @cloudflare/workers-types .d.ts files from C++ RTTI (via jsg/rtti.capnp) + hand-written defines/*.d.ts. A workerd-hosted Worker extracts RTTI at runtime per compat-date; TypeScript transforms post-process into ambient and importable outputs. CI validates generated-snapshot/ matches. Types in this project come from three layers. Changes must be made in the correct layer: Do not edit files in generated-snapshot/ directly — they are overwritten by just generate-types. If the generated output looks wrong, fix the source layer (C++ RTTI, JSG_TS_OVERRIDE, or defines/). Types in…

8.8k9mo agoReviewMountCreate a free account to mount
SentryReads credentialsAGENTS.md

sentry-javascript

getsentry/sentry-javascript/AGENTS.md

Monorepo with 40+ packages in @sentry/*, managed with Yarn workspaces and Nx. Prefer LSP over Grep/Read for code navigation — it's faster, precise, and avoids reading entire files: Use Grep…

8.8k2mo 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
SentryReads credentialsAGENTS.md

sentry-javascript / nextjs

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

Next.js apps use either webpack or turbopack as their bundler. This fundamentally changes how Sentry instruments the application. Detection: process.env.TURBOPACK or --turbo CLI flag (see src/config/util.ts:detectActiveBundler). Webpack builds use loaders…

8.8k2mo agoReviewMountCreate a free account to mount
PydanticAGENTS.md

monty

pydantic/monty/AGENTS.md

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

177 projects use a version of this

8.6k3mo agoReviewMountCreate a free account to mount
PydanticAGENTS.md

monty / limitations

pydantic/monty/docs/limitations/AGENTS.md

This file is for contributors and agents editing this directory. It is excluded from the docs build (exclude_docs in mkdocs.yml, exclude in the unified-docs sync), so nothing here is published. Every pull request that changes a CPython divergence MUST update its topic page here. Docstrings and inline comments do not count: the divergence has to be written down here. Host-API contracts belong in the relevant docs/ topic and binding reference; implementation rationale belongs in crate READMEs or code comments, not…

8.6k3mo agoReviewMountCreate a free account to mount
MongoDBAGENTS.md

mongo-go-driver

mongodb/mongo-go-driver/AGENTS.md

Official MongoDB Go Driver (go.mongodb.org/mongo-driver/v2). Correctness, backward compatibility, and conformance to MongoDB Driver Specifications are top priorities. Uses Task, not make. Tests require a running mongod on localhost:27017 (or MONGODB_URI). The full test suite is serial (-p 1) — integration tests share server state. Do not parallelize. Evergreen's project configuration lives in .evergreen/config.yml, where every task, variant, and expansion is declared; supporting CI scripts live alongside it. Validate any change with evergreen validate -p mongo-go-driver -f .evergreen/config.yml (authenticate with evergreen…

8.5k7mo agoReviewMountCreate a free account to mount
MicrosoftAGENTS.md

microsoft-ui-xaml / TableViewSampleApp

microsoft/microsoft-ui-xaml/Samples/TableViewSampleApp/AGENTS.md

The end-user quick start is in README.md. This file records how the sample is wired and why, for anyone maintaining it. The sample used to hand-wire around the product, because TableView's type information was withheld from the public winmd and its theme resources did not resolve in a consuming app. It linked raw build output, regenerated its own CsWinRT projection, injected a XAML metadata provider, seeded an internal template part into XamlTypeInfo, compiled the control's theme resources out of the…

8.5k2mo agoReviewMountCreate a free account to mount
MicrosoftAGENTS.md

Mastering-GitHub-Copilot-for-Paired-Programming

microsoft/Mastering-GitHub-Copilot-for-Paired-Programming/AGENTS.md

This is Mastering GitHub Copilot for Paired Programming, an open-source educational repository maintained by Microsoft. It is a multi-module, 10-hour course that teaches developers how to use GitHub Copilot as an AI coding partner — from beginner to advanced topics including Agent Mode. The repository is documentation-centric: most content is Markdown-based lesson guides. A small number of code samples exist within specific lessons. Each lesson module follows a consistent structure: Most exercises reference external Codespaces template repos (e.g., github/dotnet-codespaces) rather…

8.1k17mo agoReviewMountCreate a free account to mount
VercelAGENTS.md

deepsec

vercel-labs/deepsec/.deepsec/AGENTS.md

This is a deepsec scanning workspace. Each registered project has its own setup prompt at data/<id>/SETUP.md — open the relevant one when asked to set a project up. - Set up a project for scanning: read data/<id>/SETUP.md and follow it (read node_modules/deepsec/SKILL.md, then fill data/<id>/INFO.md from the target codebase). - Add a new project: run deepsec init-project <root> — it scaffolds data/<id>/ and prints/writes the setup prompt for the new project. - Write a custom matcher (only after a real…

8.1k2mo agoReviewMountCreate a free account to mount
VercelAGENTS.md

native

vercel-labs/native/AGENTS.md

Guidance for agents (and humans) working on this repository. Native SDK itself is implemented in Zig, but Native SDK apps are authored in TypeScript + Native markup by default. Do not infer the app-authoring language from this repository's implementation language or from older Zig-core examples. Run scripts/gate.sh fast before finishing any change; it maps your diff to the suites that cover it. The docs site checks with pnpm --dir docs check (the gate runs it only when docs/ changed). This…

7.7k3mo agoReviewMountCreate a free account to mount
VercelAGENTS.md

native

vercel-labs/native/docs/AGENTS.md

Always use HTML <table> syntax in MDX pages, never markdown pipe tables. This ensures consistent styling and avoids MDX parsing edge cases. The site uses the public @vercel/geistdocs package with Labs branding. Write pages in content/docs with a frontmatter title and no duplicate H1. Order pages and groups with content/docs/meta.json and folder metadata. Keep /docs/<slug> URLs and the permanent legacy redirects in next.config.mjs stable. Shared navigation, search, page actions, Markdown routes, MDX rendering, and theme behavior belong to Geistdocs. Local…

7.7k3mo agoReviewMountCreate a free account to mount
VercelDeletes or force-pushesAGENTS.md

native / guest-mac

vercel-labs/native/tools/guest-mac/agents.md

You are an agent whose live-GUI phase must not fight over the desktop of the host Mac. Run those phases inside a guest VM this tool manages: each guest has its own display, its own window server, and the repo mounted over virtio-fs. Everything below is headless; the windowed app exists for the human provisioning pass. Guests are named. Every verb takes --name VM (default default); bundles live at ~/.native/guest-mac/vms/<name>/. A provisioned guest clones in milliseconds (clone), and at most…

7.7k3mo 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.