agentleFS
dawiddiwaddawiddiwad/checkmate/AGENTS.md

checkmate

AGENTS.md4 starsChanged 5 days agoMITView on GitHub

Agent only: This file contains repository or workflow instructions for coding agents. Write code like Linus Torvalds. This codebase is for humans first, and must be:

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.

    Of the AGENTS.md files we read, the 35,266 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository4 other files it gives its agents.

The file

Show its rules and text

We split this AGENTS.md into the rules it gives an agent

14 rules. About 0 are common, 11 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈11

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Write code like Linus Torvalds.

    line 7
  2. Distinctive:

    no clever code that makes maintenance harder

    line 18
  3. Distinctive:

    Prefer the smallest clear change.

    line 23
  4. Distinctive:

    Keep runtime flow, tool contracts, tests, and docs aligned.

    line 25
  5. Distinctive:

    Keep naming concrete and honest.

    line 41
  6. Distinctive:

    Do not spread one concept across many files without a good reason.

    line 42
  7. Distinctive:

    Do not add abstractions unless they remove real complexity.

    line 43
  8. Distinctive:

    If behavior changes, update tests.

    line 44
  9. Distinctive:

    Test public behavior through the command or UI first.

    line 45
  10. Very specific:

    Run npm test for the required packaged scenarios.

    line 46
  11. Distinctive:

    If public API, config, or workflow changes, update documentation.

    line 47
  12. Very specific:

    Do not type a Checkmate tool name or tool field as a string literal.

    line 48
  13. Very specific:

    Keep authentication, credentials, and permissions with the host.

    line 49
  14. Distinctive:

    Use ASD-STE100 style for documentation, instructions, and skills: short sentences, consistent terms, and one action per instruction.

    line 50

≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

AGENTS.md

Agent only: This file contains repository or workflow instructions for coding agents.

Coding Standards

Write code like Linus Torvalds.

Purpose

This codebase is for humans first, and must be:

  • obvious
  • readable
  • maintainable
  • easy to follow
  • modular without pointless abstraction
  • no clever code that makes maintenance harder

Priorities

  1. Keep behavior correct.
  2. Prefer the smallest clear change.
  3. Optimize for human readers over "smart" structure.
  4. Keep runtime flow, tool contracts, tests, and docs aligned.

Read First

  • .agents/wiki/coding-standards.md
  • .agents/wiki/architecture.md
  • .agents/wiki/development-procedures.md

Task-Specific Skills

  • .agents/skills/update-documentation/SKILL.md for public API, configuration, behavior, and workflow documentation.
  • .agents/skills/update-model-policy/SKILL.md for model aliases, authentication, and permissions.
  • .agents/skills/pull-request/SKILL.md for every pull request.

Non-Negotiables

  • Keep naming concrete and honest.
  • Do not spread one concept across many files without a good reason.
  • Do not add abstractions unless they remove real complexity.
  • If behavior changes, update tests.
  • Test public behavior through the command or UI first. Follow test design.
  • Run npm test for the required packaged scenarios. Read test/e2e/scenarios.json for coverage and gaps.
  • If public API, config, or workflow changes, update documentation.
  • Do not type a Checkmate tool name or tool field as a string literal. Edit a generated skill only in scripts/templates/. Follow tool names and generated skills.
  • Keep authentication, credentials, and permissions with the host. Follow .agents/skills/update-model-policy/SKILL.md.
  • Use ASD-STE100 style for documentation, instructions, and skills: short sentences, consistent terms, and one action per instruction.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.