# AGENTS.md This file helps AI coding agents work effectively in the Cloudflare Workers SDK monorepo. Prefer authoritative configuration and documentation over copying details into this file: copied versions, rule lists, and counts become stale. ## Start Here - Use `pnpm`, not npm or yarn. - Use the Node.js and pnpm versions declared in `package.json`. - Install dependencies with `pnpm install`. - Run commands from the workspace root unless package documentation says otherwise. - Before changing a package, read its `AGENTS.md` if it has one. - Do not edit generated files directly. Change their source or generator and regenerate them. ## Common Commands The root `package.json` is authoritative for available scripts. - `pnpm build` — build the workspace with Turbo. - `pnpm test:ci` — run tests in CI mode. - `pnpm test:e2e` — run end-to-end tests; many require Cloudflare credentials. - `pnpm check` — run the repository's validation, lint, type, and format checks. - `pnpm fix` — apply supported lint and formatting fixes. - `pnpm prettify` — format files with oxfmt. - `pnpm run