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

dcgm-exporter / pkg

NVIDIA/dcgm-exporter/internal/pkg/AGENTS.md

internal/pkg/ contains private implementation packages for metric collection, device discovery, rendering, server behavior, reload support, wrappers, and test helpers. The Go compiler enforces that these packages are not external API. - Keep public surfaces small and package-owned. Prefer package-local helpers over new cross-package abstractions unless multiple production packages need the same behavior. - Return errors with useful context. Do not hide operational failures with _ =, .ok-style patterns, or default values when the failure changes metric correctness. - Use log/slog…

1.9k5mo agoReviewMountCreate a free account to mount
NVIDIAAGENTS.md

dcgm-exporter / cmd

NVIDIA/dcgm-exporter/pkg/cmd/AGENTS.md

pkg/cmd/app.go owns the executable contract: CLI flags, environment variables, defaults, startup validation, logging configuration, web configuration, runtime reload wiring, and optional pprof endpoints. - Add or change flags only in NewApp, and keep names, aliases, defaults, usage text, and environment variables aligned. - Reflect user-visible flag changes in README, Helm values/templates when applicable, and tests. - Keep remote hostengine formats aligned with supported DCGM connection strings: <HOST>:<PORT>, tcp://<HOST>:<PORT>, unix:///<SOCKET_PATH>, vsock://<CID>:<PORT>, and bracketed IPv6 host:port values. - Treat startup validation and…

1.9k5mo agoReviewMountCreate a free account to mount
NVIDIAAGENTS.md

dcgm-exporter / tests

NVIDIA/dcgm-exporter/tests/AGENTS.md

The test tree contains multiple layers with different prerequisites. Pick the lowest layer that proves the behavior. - Package/unit tests: normal go test packages, no GPU expected. - tests/static: rendered chart, source, package, and Dockerfile checks with no live infrastructure. - tests/host: GPU/DCGM-backed exporter behavior on the host. - tests/container: container startup, metrics, health, and runtime checks; requires local images or pullable images plus Docker/GPU access. - tests/k8s: Kubernetes/Helm deployment flows; requires a GPU-capable Kubernetes cluster or the local e2e…

1.9k5mo agoReviewMountCreate a free account to mount
MicrosoftAGENTS.md

msphpsql

microsoft/msphpsql/AGENTS.md

This document provides guidance for AI coding agents working with the msphpsql GitHub repository — the open-source home of the sqlsrv and **pdo_sqlsrv** PHP extensions for Microsoft SQL Server. The drivers ship as two separate PHP extensions that share a common C++ core layer:

1.9k8mo agoReviewMountCreate a free account to mount
CloudflareAGENTS.md

workers-oauth-provider

cloudflare/workers-oauth-provider/AGENTS.md

@cloudflare/workers-oauth-provider is a production-grade OAuth 2.1 provider library for Cloudflare Workers. It implements authorization code flow with PKCE, OAuth discovery, client registration, token exchange, audience validation, and encryption of sensitive data stored in KV. Primary use case: This library powers authorization for MCP (Model Context Protocol) servers. MCP servers are OAuth Resource Servers, and this library provides both protected-resource middleware and the authorization server functionality needed to secure them. This library was largely written with Claude AI assistance, with all…

1.9k2mo agoReviewMountCreate a free account to mount
VercelAGENTS.md

emulate

vercel-labs/emulate/AGENTS.md

Use pnpm for all package management commands (not npm or yarn). Exception: End-user install instructions should use npm (e.g. npx emulate, npm install emulate) since npm is universal. emulate is a zsh built-in command (it sets shell emulation mode). Running bare emulate in zsh invokes the shell built-in, not the npm binary. Always use npx emulate in user-facing CLI examples, docs, skills, help output, and post-command messages. The only exception is when emulate appears as a subprocess argument to another…

1.9k7mo agoReviewMountCreate a free account to mount
VercelAGENTS.md

emulate / web

vercel-labs/emulate/apps/web/AGENTS.md

This version has breaking changes. APIs, conventions, and file structure may all differ from your training data. Read the relevant guide in node_modules/next/dist/docs/ before writing any code. Heed deprecation notices. <!-- END:nextjs-agent-rules -->

1.9k7mo 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
MicrosoftAGENTS.md

BotFramework-WebChat

microsoft/BotFramework-WebChat/AGENTS.md

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

1.8k6mo agoReviewMountCreate a free account to mount
MicrosoftAGENTS.md

BotFramework-WebChat / api

microsoft/BotFramework-WebChat/packages/api/AGENTS.md

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

1.8k6mo agoReviewMountCreate a free account to mount
MicrosoftAGENTS.md

BotFramework-WebChat / base

microsoft/BotFramework-WebChat/packages/base/AGENTS.md

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

1.8k6mo agoReviewMountCreate a free account to mount
GoogleAGENTS.md

adk-java

google/adk-java/AGENTS.md

Placeholder - guidance for AI coding agents working in this repository is coming soon.

1.7k2mo agoReviewMountCreate a free account to mount
MicrosoftAGENTS.md

rnx-kit

microsoft/rnx-kit/AGENTS.md

This file provides guidance to agents when working with code in this repository. rnx-kit is a monorepo of React Native tooling created by Microsoft. It provides battle-tested tools for dependency management, Metro bundling enhancements, TypeScript integration, and cross-platform development (iOS, Android, macOS, Windows). - packages/ - Stable, published packages (e.g., @rnx-kit/cli, @rnx-kit/align-deps, @rnx-kit/metro-*) - incubator/ - Experimental packages (marked with "experimental": true in package.json) - scripts/ - Internal build tooling (rnx-kit-scripts CLI) - docsite/ - Documentation website (separate Yarn workspace…

1.7k9mo agoReviewMountCreate a free account to mount
Google CloudAGENTS.md

scion

GoogleCloudPlatform/scion/AGENTS.md

Terminology note: The concept now called "project" was formerly called "grove". You may still encounter "grove" in historical issues, commit history, or older documentation, and in the compatibility code described under the terminology guardrail below; treat it as a synonym for "project". See docs-site/src/content/docs/reference/grove-removal.md for what changed. scion is a container-based orchestration platform designed to manage concurrent LLM-based code agents. It supports both a standalone local CLI mode and a distributed "Hosted" architecture where state is centralized in a Hub…

1.7k5mo agoReviewMountCreate a free account to mount
Google CloudAGENTS.md

scion / docs-site

GoogleCloudPlatform/scion/docs-site/AGENTS.md

This guide outlines the organizational philosophy, architecture, and curation standards for the Scion documentation project. It serves as a blueprint for both human and AI contributors to ensure a consistent and navigable documentation experience. Scion documentation is organized on the operational-mode spine defined in the root GLOSSARY.md — the single source of truth for terminology. The site is not organized by persona. Instead, readers self-select by the deployment target they are running: Local → Workstation → Single-node hosted → HA…

1.7k5mo 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.