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 20Worked for most · soon
CloudflareAGENTS.md

workerd / htmlrewriter

cloudflare/workerd/src/tests/streams/htmlrewriter/AGENTS.md

producing a stream body, and reading streamed replacement content — under both stream implementations. **The tests are the normative artifact.** The general rewriter surface (selectors, handler types, comments/doctype/text tokens, async handlers

8.8k9mo agoReviewMountCreate a free account to mount
CloudflareAGENTS.md

workerd / identity

cloudflare/workerd/src/tests/streams/identity/AGENTS.md

workerd-specific identity stream surfaces, derived from — and kept in lockstep with — the test suite in this directory. **The tests are the normative artifact**; this document is the index that

8.8k9mo agoReviewMountCreate a free account to mount
CloudflareAGENTS.md

workerd / inspect

cloudflare/workerd/src/tests/streams/inspect/AGENTS.md

every stream surface, derived from — and kept in lockstep with — this suite. **The tests are the normative artifact.** ## The one divergence (it is the whole suite) The C++ implementation installs

8.8k9mo agoReviewMountCreate a free account to mount
CloudflareAGENTS.md

workerd / iocontext

cloudflare/workerd/src/tests/streams/iocontext/AGENTS.md

later used inside requests. Migrated wholesale from streams-iocontext-test.js (itself ported from the edgeworker streams-iocontext.ew-test), plus the module-scope WritableStream pin from streams-test.js and new byte-stream and TransformStream coverage

8.8k9mo agoReviewMountCreate a free account to mount
CloudflareAGENTS.md

workerd / piping

cloudflare/workerd/src/tests/streams/piping/AGENTS.md

implemented in workerd, derived from — and kept in lockstep with — this suite. **The tests are the normative artifact.** Endpoint behaviors belong to the sibling suites (writable/, transform/, readable/, readable-byte

8.8k9mo agoReviewMountCreate a free account to mount
CloudflareAGENTS.md

workerd / r2-patterns

cloudflare/workerd/src/tests/streams/r2-patterns/AGENTS.md

suite pins those real-world shapes against both implementations, migrated wholesale from streams-r2-patterns-test.js. **The tests are the normative artifact.** ## Divergence ledger (C++ vs TypeScript) The readAtLeast tail rows all follow

8.8k9mo agoReviewMountCreate a free account to mount
CloudflareAGENTS.md

workerd / readable

cloudflare/workerd/src/tests/streams/readable/AGENTS.md

implemented in workerd, derived from — and kept in lockstep with — this suite. **The tests are the normative artifact.** Byte streams (type:'bytes', BYOB) belong to the readable-byte suite

8.8k9mo agoReviewMountCreate a free account to mount
CloudflareAGENTS.md

workerd / readable-byte

cloudflare/workerd/src/tests/streams/readable-byte/AGENTS.md

implemented in workerd, derived from — and kept in lockstep with — this suite. **The tests are the normative artifact.** Value streams live in readable/; the pipeTo/pipeThrough matrix belongs to piping

8.8k9mo agoReviewMountCreate a free account to mount
CloudflareAGENTS.md

workerd / scaling

cloudflare/workerd/src/tests/streams/scaling/AGENTS.md

writable controller's chunk queue, and the identity stream's write snapshots. Each test drives one queue to 80k-160k entries (identity: 80k, over a 16x range) and asserts, through

8.8k9mo agoReviewMountCreate a free account to mount
CloudflareAGENTS.md

workerd / sockets

cloudflare/workerd/src/tests/streams/sockets/AGENTS.md

streams The readable/writable stream halves of `connect()` TCP sockets under both stream implementations. **The tests are the normative artifact.** The general Socket surface (startTls, secureTransport, DNS overrides, the connect-handler

8.8k9mo agoReviewMountCreate a free account to mount
CloudflareAGENTS.md

workerd / strategies

cloudflare/workerd/src/tests/streams/strategies/AGENTS.md

strategy classes as implemented in workerd, derived from — and kept in lockstep with — the test suite in this directory. **The tests are the normative artifact.** Both the C++ implementation (`src/workerd/api/streams/readable.h

8.8k9mo agoReviewMountCreate a free account to mount
CloudflareAGENTS.md

workerd / transform

cloudflare/workerd/src/tests/streams/transform/AGENTS.md

backed TransformStream as implemented in workerd, derived from — and kept in lockstep with — the test suite in this directory. **The tests are the normative artifact.** Both the C++ implementation (`src/workerd/api/streams/transform.c

8.8k9mo agoReviewMountCreate a free account to mount
CloudflareAGENTS.md

workerd / writable

cloudflare/workerd/src/tests/streams/writable/AGENTS.md

stream classes as implemented in workerd, derived from — and kept in lockstep with — the test suite in this directory. **The tests are the normative artifact.** Both the C++ implementation (`src/workerd/api/streams/writable

8.8k9mo agoReviewMountCreate a free account to mount
CloudflareAGENTS.md

workerd / api

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

modules in NODEJS_MODULES macro in node.h pyodide/ # Python Workers Pyodide/Emscripten bridge (7 files) tests/ # JS integration tests (238 entries); each test = .js + .wd-test pair ``` ## WHERE TO LOOK | Task

8.8k9mo agoReviewMountCreate a free account to mount
CloudflareAGENTS.md

workerd / crypto

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

Node.js compat) | | `crc-impl.h/c++` | CRC32/CRC32C (non-crypto checksum) | | `endianness.h/c++` | Byte-swap utilities | | `impl-test.c++`, `aes-test.c++` | C++ unit tests

8.8k9mo agoReviewMountCreate a free account to mount
CloudflareAGENTS.md

workerd / node

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

lists or the two registries will expose different module sets for the same flags ## TESTING Tests in `tests/`. Naming: ` -test.js` + ` -test.wd-test`; `-nodejs-` infix when needing compat flags. All tests

8.8k9mo agoReviewMountCreate a free account to mount
CloudflareAGENTS.md

workerd / streams

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

produce legacy streams (`tee()`, `detach()`, the legacy JS constructors, the `deserialize()` legacy fallbacks) and tests that exercise this implementation directly carry `NOLINT(workerd-legacy-stream-alloc)` with a comment saying

8.8k9mo agoReviewMountCreate a free account to mount
CloudflareAGENTS.md

workerd / server

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

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

8.8k9mo agoReviewMountCreate a free account to mount
CloudflareAGENTS.md

workerd / types

cloudflare/workerd/types/AGENTS.md

latest/` + `experimental/` output; CI diff-checked | | `scripts/` | `build-types.ts` (full generation), `build-worker.ts` (worker bundle) | | `test/` | Vitest specs for generator, transforms, print; type-check tests in `test/types/` | ## ADDING OR UPDATING TYPES ### Where

8.8k9mo agoReviewMountCreate a free account to mount
freecodexyzAGENTS.md

free-code

freecodexyz/free-code/AGENTS.md

helper`, and `util` when a domain name exists. - **MUST** keep terminology consistent across code, tests, logs, documentation, wire formats, and user-facing concepts. - **MUST** write comments for rationale, invariants, ownership/lifetime

8.8k6mo 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.