Updated
AGENTS.md · Fastify

AGENTS.md and CLAUDE.md examples for Fastify

Of 59 actively developed open-source products built with Fastify, 40 (68%) keep instruction files for coding agents: AGENTS.md in 35, CLAUDE.md in 22. The typical file is 936 words, and most cover commands to build, run and test (79%) and pointers to other docs (71%).

Real files to read

From the best-known open-source Fastify products whose file is a real one (not a pointer to another), 200 to 4,000 words, covering at least three of the usual topics and naming Fastify. Each opens on GitHub.

ProjectFileStarsWordsCovers
tsedio/tsedAGENTS.md3,089783CommandsTestingDoc pointersGit
Draculabo/AntigravityManagerAGENTS.md2,4101,409CommandsDoc pointersStructureGit
platformatic/platformaticCLAUDE.md2,132455CommandsTestingStructureGit
getnao/naoAGENTS.md1,962394CommandsTestingStructureCode style
ViewTube/viewtubeCLAUDE.md1,4751,389CommandsTestingDoc pointersStructureCode styleGit
namecheap/ilcAGENTS.md7761,479CommandsTestingDoc pointersStructureCode styleGit
loglayer/loglayerAGENTS.md5492,059CommandsTestingDoc pointersStructureCode style

What Fastify projects put in them

Share of the 38 files that cover each topic, against all 731 files we read.

Commands to build, run and test79% vs 79%
Pointers to other docs71% vs 69%
Testing61% vs 67%
Git, commits and pull requests55% vs 46%
Project structure53% vs 57%
Code style47% vs 49%

How they talk to the agent: 79% say “never” or “do not” somewhere (all files: 80%), 13% shout a rule in capitals like IMPORTANT or MUST (23%), and 18% tell it to ask before some changes (20%).

The tools they name

Package managerspnpm (15 files), npm (9 files), yarn (4 files)

Tests and lintersESLint (9), Prettier (6), Vitest (4), Biome (4), Jest (2), Playwright (1)

Named more than in files generallypnpm (17), ESLint (9), SQLite (7), Anything (6), Electron (6), Yarn (6), GraphQL (5), Biome (4)

What they tell the agent

Instructions that recur across files, in our words; open one for the Fastify projects whose file says it.

About pnpm

About ESLint

About SQLite

About Electron

  • Named as the desktop app or wrapper, living in its own directory such as desktop or electron.2 files
  • Treat Electron as a thin desktop shell; keep shared logic and UI in common packages or the web app.1 files

About Yarn

About GraphQL

About Biome

A starting AGENTS.md for Fastify

The sections these files cover most, the package manager and checks Fastify projects name most, and the stack Fastify makers' products chose most often. Fill in the <placeholders>.

# AGENTS.md

<What this product does and who it is for, in a sentence or two.>

## Stack

- Backend Framework: Fastify

## Commands

- Install: `pnpm install`
- Run locally: `<command>`
- Test: `pnpm exec vitest run`
- End-to-end tests: `pnpm exec playwright test`
- Lint: `pnpm exec eslint .`

## Testing

Run `pnpm exec vitest run` and `pnpm exec playwright test` before calling a change done, and add a test with each fix or feature.

## Project structure

- `<folder>/`: <what lives there>
- More in <docs/…>

## Conventions

- <Naming, patterns and style the code does not show>
- Commits and pull requests: <your rules>

## Boundaries

- Ask before: <changes you want to approve first>
- Never: <files or actions that are off-limits>

<!-- Started from https://howmakersbuild.com/agents-md/fastify — point CLAUDE.md here with a line: @AGENTS.md -->
  • pnpm: named in 15 of 38 instruction files from open-source projects built with Fastify.
  • Vitest: named in 4 of 38 instruction files from open-source projects built with Fastify.
  • Playwright: named in 1 of 38 instruction files from open-source projects built with Fastify.
  • ESLint: named in 9 of 38 instruction files from open-source projects built with Fastify.

Make one for your own stack →

Questions

What should an AGENTS.md for a Fastify project include?

In 38 files from open-source Fastify products: commands to build, run and test (79%), pointers to other docs (71%), testing (61%), git, commits and pull requests (55%), project structure (53%), code style (47%). The package manager they name most is pnpm (15 files).

AGENTS.md or CLAUDE.md?

Among these Fastify products, 35 keep an AGENTS.md and 22 a CLAUDE.md. Across every product we checked, 354 keep both, and in 189 of those the CLAUDE.md only points to the AGENTS.md (a symlink or a line like @AGENTS.md), so there's one file to maintain. Codex, Cursor, Copilot and others read AGENTS.md; Claude Code reads CLAUDE.md.

How long is a typical Fastify AGENTS.md?

The median is 936 words in these 38 files; across all 731 files we read, half are between 444 and 1,727 words.

How this is counted: the GitHub repos of open-source products built with Fastify, pushed to in the 180 days before 2026-10-28. We read each repo's AGENTS.md, CLAUDE.md and other agent files; what's published here is counts and links, not their text. All files, by the numbers.