agentleFS
b310-digitalb310-digital/speculatius/skills/spec-init/scaffolds/AGENTS.md

speculatius / scaffolds

AGENTS.md3 starsChanged 9 days agoMITView on GitHub

  • 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 repository6 other files it gives its agents.

The file

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

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read the glossary and the architecture doc first.

    line 11
  2. Distinctive:

    Before changing observable behavior: update the spec, then write failing tests.

    line 12
  3. Distinctive:

    Use glossary terms for domain names in specs, code and tests.

    line 14
  4. Very specific:

    No other files in docs/.

    line 15

≈ “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

Documents

  • Glossary (docs/glossary.md): its only purpose is to define the domain language, one term per line. No code, no file names, no IDs, no counters, no rules, no notes.
  • Specs (docs/specs/<capability>.md): what the system does and why, from the user's view. No technical detail. Always current. docs/specs/.spec-config.yaml stores the last scenario ID per area.
  • Architecture (docs/architecture.md): how the system is built now, in about two screens. Always current.
  • Decisions (docs/decisions/NNNN-title.md): why a hard-to-reverse choice was made. Append-only: never edit the content, supersede with a new record.
  • Change plan (.speculatius/plan.md, gitignored): how one change gets built. Deleted when the change is done.

Rules

  • Read the glossary and the architecture doc first.
  • Before changing observable behavior: update the spec, then write failing tests.
  • Tests carry the scenario ID they prove (e.g. @AREA-001). The scenario text stays in the spec.
  • Use glossary terms for domain names in specs, code and tests.
  • No other files in docs/.

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.