agentleFS
Hugging FaceKnown publisherhuggingface/hf-discover/AGENTS.md

hf-discover

AGENTS.md44 starsChanged 2 months agoMITView on GitHub

- ARD specification is in spec/ard.md - Keep a high level log of Features and Capabilities in README.md under ##features. - Project documentation is a lightweight orientation record, not the full source of truth. It should help humans quickly understand the big idea and help future agents know which scripts, workflows, specs, and plans to inspect for detailed question-answering. Prefer concise summaries with explicit artifact pointers over duplicating shell/script logic. - Do NOT test things that the ty typechecker automatically…

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 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.

The file

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

5 rules. About 0 are common, 3 are distinctive, and 2 are 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.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Keep a high level log of Features and Capabilities in README.md under ##features.

    line 2
  2. Very specific:

    Do NOT test things that the ty typechecker automatically enforces.

    line 7
  3. Very specific:

    Avoid mocking or monkeypatch for testing purposes, preferring to use typechecks, simple logic-focussed unit tests and stubs/simulators.

    line 9
  4. Distinctive:

    Avoid testing properties and other data transfer scenarios unless transformations or other behaviour is involved.

    line 10
  5. Distinctive:

    Prefer a functional style of programming where possible.

    line 11

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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
  • ARD specification is in spec/ard.md
  • Keep a high level log of Features and Capabilities in README.md under ##features.
  • Project documentation is a lightweight orientation record, not the full source of truth. It should help humans quickly understand the big idea and help future agents know which scripts, workflows, specs, and plans to inspect for detailed question-answering. Prefer concise summaries with explicit artifact pointers over duplicating shell/script logic.
  • Do NOT test things that the ty typechecker automatically enforces.
  • Any HF_TOKEN usage must only remain temporarily in memory during a request scope, and must never be stored or emitted in a plain format.
  • Avoid mocking or monkeypatch for testing purposes, preferring to use typechecks, simple logic-focussed unit tests and stubs/simulators. Small integration or e2e tests are preferred over lots of unit tests for tightly coupled scenarios.
  • Avoid testing properties and other data transfer scenarios unless transformations or other behaviour is involved.
  • Prefer a functional style of programming where possible.
  • Feature additions should consider the CLI surface as well as adherence to the ARD specification. Both CLI and HTTP should wrap the same, clean, well factored core logic.

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.