agentleFS
sunxiayisunxiayi/agents-md-starter-kit/AGENTS.md

agents-md-starter-kit

AGENTS.md0 starsChanged 3 months agoMITView on GitHub

This repository provides small, copy-ready AGENTS.md templates. A contribution must make an instruction more accurate, easier to adapt, or safer to follow. Run these checks before finishing: Bracketed placeholders are expected inside templates/; explain any new one in the surrounding instruction. Do not add commands that have not been verified for the named stack.

  • 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,337 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 repositoryOne other file it gives its agents.

The file

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

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

  • ≈1

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Run these checks before finishing:

    line 20
  2. Distinctive:

    Keep the minimal template under 120 lines.

    line 33
  3. Distinctive:

    Prefer exact commands, paths, and observable completion criteria.

    line 34
  4. Distinctive:

    Do not claim that every coding-agent product reads the same files.

    line 35
  5. Distinctive:

    Keep tool-specific bridges shorter than the canonical template.

    line 36
  6. Common:

    Do not add credentials, private repository names, or personal data.

    line 37
  7. Distinctive:

    All relative links resolve.

    line 42

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

Repository instructions

Purpose

This repository provides small, copy-ready AGENTS.md templates. A contribution must make an instruction more accurate, easier to adapt, or safer to follow.

Files

  • templates/: starting points grouped by repository type.
  • bridges/: deliberately small tool-specific compatibility files.
  • bin/: dependency-free template-copy CLI.
  • action/ and action.yml: dependency-free GitHub Action implementation and metadata.
  • test/: Node built-in tests for CLI behavior and overwrite safety.
  • .github/workflows/self-test.yml: Linux CI coverage for tests and the public Action entrypoint.
  • CHECKLIST.md: review checklist shared by every template.

Validation

Run these checks before finishing:

git diff --check
npm run check

Bracketed placeholders are expected inside templates/; explain any new one in the surrounding instruction. Do not add commands that have not been verified for the named stack.

Change rules

  • Keep the minimal template under 120 lines.
  • Prefer exact commands, paths, and observable completion criteria.
  • Do not claim that every coding-agent product reads the same files.
  • Keep tool-specific bridges shorter than the canonical template.
  • Do not add credentials, private repository names, or personal data.

Done means

  • Markdown renders clearly on GitHub.
  • All relative links resolve.
  • Copying a template does not bring repository-specific instructions with it.
  • The README table and template directory remain in sync.

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.