AGENTS.md templates
AGENTS.md templates, one per stack
Each template is a complete file you can commit today: the commands, the project layout, the conventions, and the rules that stop the mistakes coding agents make most in that stack. One file, read by Claude Code, Cursor, Codex and Copilot.
Next.jsA Next.js (App Router) web app written in TypeScript and styled with Tailwind CSS.
ReactA React single-page app built with Vite and TypeScript, tested with Vitest.
Node.js and TypeScriptA Node.js service written in TypeScript (ES modules), tested with Vitest.
ExpressAn HTTP API built on Express and TypeScript.
PythonA Python 3.12 project managed with uv, linted with Ruff and tested with pytest.
FastAPIAn HTTP API built with FastAPI and Pydantic v2 on Python 3.12.
DjangoA Django web application on Python 3.12 with PostgreSQL.
GoA Go service using the standard library where it can, with modules for dependency management.
Ruby on RailsA Ruby on Rails application with PostgreSQL.
LaravelA Laravel application on PHP 8.3.
VueA Vue 3 single-page app built with Vite and TypeScript, with Pinia for state and Vitest for tests.
SvelteKitA SvelteKit app on Svelte 5 (runes) written in TypeScript and styled with Tailwind CSS.
AstroAn Astro site written in TypeScript and styled with Tailwind CSS. Static by default, with interactive islands only where needed.
NestJSA NestJS API written in TypeScript, organised as one module per feature and tested with Jest.
FastifyA Fastify API written in TypeScript, built from plugins with a JSON schema on every route.
HonoA Hono API written in TypeScript and deployed to Cloudflare Workers.
FlaskA Flask web application on Python 3.12, built with an application factory and blueprints, tested with pytest.
RustA Rust application built with Cargo on the stable toolchain.
ElectronAn Electron desktop app written in TypeScript, with separate main, preload and renderer code.
SupabaseA Next.js (App Router) app in TypeScript using Supabase for the Postgres database and auth.
Your stack is not here?
The free generator covers 32 stacks and tools, including Vue, SvelteKit, Astro, NestJS, Rust, Prisma, Supabase and Docker, and lets you combine them into one file.
Not sure your files are being read?
Most repos that have instruction files have at least one that a tool is not loading. Context Doctor finds them.