Updated
AGENTS.md · Electron

AGENTS.md and CLAUDE.md examples for Electron

Of 125 actively developed open-source products built with Electron, 82 (66%) keep instruction files for coding agents: AGENTS.md in 67, CLAUDE.md in 58. The typical file is 1,136 words, and most cover pointers to other docs (76%) and commands to build, run and test (69%).

Real files to read

From the best-known open-source Electron 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 Electron. Each opens on GitHub.

ProjectFileStarsWordsCovers
Kong/insomniaAGENTS.md40,089652CommandsTestingDoc pointersStructure
RSSNext/FoloAGENTS.md39,176986CommandsTestingDoc pointersStructureCode styleGit
pingdotgg/t3codeAGENTS.md30,8593,845TestingDoc pointersGit
actualbudget/actualAGENTS.md29,8132,600CommandsTestingDoc pointersStructureCode styleGit
gitbutlerapp/gitbutlerAGENTS.md21,876286TestingDoc pointersCode style
Foundry376/MailspringCLAUDE.md17,9511,293CommandsTestingDoc pointersStructureCode style
MODSetter/SurfSenseAGENTS.md16,6511,230CommandsTestingDoc pointersStructureGit
Untrivial-ai/agent-orchestratorAGENTS.md13,7832,034CommandsTestingDoc pointersStructureCode styleGit
omnigent-ai/omnigentAGENTS.md11,0901,279CommandsTestingDoc pointersGit
ValueCell-ai/ClawXAGENTS.md7,6011,131CommandsTestingDoc pointersStructure
KunAgent/KunAGENTS.md6,3241,657CommandsTestingDoc pointersStructureGit
generalaction/emdashAGENTS.md6,1002,897CommandsTestingDoc pointersStructureCode styleGit

What Electron projects put in them

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

Pointers to other docs76% vs 69%
Commands to build, run and test69% vs 79%
Testing67% vs 67%
Project structure53% vs 57%
Code style47% vs 49%
Git, commits and pull requests44% vs 46%

How they talk to the agent: 79% say “never” or “do not” somewhere (all files: 80%), 22% 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 (22 files), npm (21 files), bun (6 files)

Tests and lintersPlaywright (18), Vitest (15), ESLint (15), Prettier (11), pytest (7), Jest (5)

Named more than in files generallyReact (39), Cursor (16), SQLite (15), React Native (8)

A starting AGENTS.md for Electron

The sections these files cover most, the package manager and checks Electron projects name most, and the stack Electron 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


## 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/electron — point CLAUDE.md here with a line: @AGENTS.md -->
  • pnpm: named in 153 of 577 instruction files from open-source projects built with TypeScript.
  • Vitest: named in 118 of 577 instruction files from open-source projects built with TypeScript.
  • Playwright: named in 106 of 577 instruction files from open-source projects built with TypeScript.
  • ESLint: named in 102 of 577 instruction files from open-source projects built with TypeScript.

Make one for your own stack →

Questions

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

In 78 files from open-source Electron products: pointers to other docs (76%), commands to build, run and test (69%), testing (67%), project structure (53%), code style (47%), git, commits and pull requests (44%). The package manager they name most is pnpm (22 files).

AGENTS.md or CLAUDE.md?

Among these Electron products, 67 keep an AGENTS.md and 58 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 Electron AGENTS.md?

The median is 1,136 words in these 78 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 Electron, 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.