agentleFS
bonigarciabonigarcia/context-engineering/skills/instruction-auditor/examples/AGENTS.md

context-engineering / examples

AGENTS.md195 starsChanged 8 days agoApache-2.0View on GitHub

Guidance for coding agents working on the Acme storefront, a Node.js web application. Run every command from the repository root.

The file

Show its rules and text

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

18 rules. About 0 are common, 8 are distinctive, and 10 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 10

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run the development server: npm run dev (serves on http://localhost:3000)

    line 8
  2. Very specific:

    Run the unit tests: npm test

    line 9
  3. Very specific:

    Run the end-to-end tests: start the development server with npm run dev in another terminal, then run npm run test:e2e

    line 10
  4. Distinctive:

    Use single quotes for strings in JavaScript and TypeScript.

    line 22
  5. Distinctive:

    Write clean, high-quality code.

    line 23
  6. Distinctive:

    Prefer named exports over default exports.

    line 24
  7. Distinctive:

    Use 2-space indentation in every source file.

    line 28
  8. Distinctive:

    Keep lines under 100 characters.

    line 29
  9. Distinctive:

    Do not commit directly to main.

    line 34
  10. Very specific:

    Add or update unit tests for every change in src/.

    line 35
  11. Distinctive:

    Make sure you are on the main branch.

    line 39
  12. Very specific:

    Run npm test and stop if any test fails.

    line 42
  13. Very specific:

    Start the development server with npm run dev, run npm run test:e2e, and stop if any test fails.

    line 43
  14. Distinctive:

    Add today's date to the new section.

    line 46
  15. Very specific:

    Update the version field in package.json.

    line 47
  16. Very specific:

    Run npm install to update package-lock.json.

    line 48
  17. Very specific:

    Commit with the message chore: release vX.Y.Z.

    line 49
  18. Very specific:

    Create a tag named vX.Y.Z.

    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

Guidance for coding agents working on the Acme storefront, a Node.js web application. Run every command from the repository root.

Build commands

  • Install dependencies: npm ci
  • Run the development server: npm run dev (serves on http://localhost:3000)
  • Run the unit tests: npm test
  • Run the end-to-end tests: start the development server with npm run dev in another terminal, then run npm run test:e2e

Project layout

  • src/server/: Express routes and middleware
  • src/client/: React components
  • src/shared/: types and helpers used by both sides
  • tests/unit/ and tests/e2e/: test suites, mirroring the src/ structure

Code style

  • Indent with tabs.
  • Use single quotes for strings in JavaScript and TypeScript.
  • Write clean, high-quality code.
  • Prefer named exports over default exports.

Formatting

  • Use 2-space indentation in every source file.
  • Keep lines under 100 characters.

Working rules

  • Never make mistakes.
  • Do not commit directly to main. Open a pull request.
  • Add or update unit tests for every change in src/.

Releasing a new version

  1. Make sure you are on the main branch.
  2. Pull the latest changes with git pull.
  3. Run npm ci.
  4. Run npm test and stop if any test fails.
  5. Start the development server with npm run dev, run npm run test:e2e, and stop if any test fails.
  6. Open CHANGELOG.md.
  7. Move the entries under "Unreleased" to a new section named after the version.
  8. Add today's date to the new section.
  9. Update the version field in package.json.
  10. Run npm install to update package-lock.json.
  11. Commit with the message chore: release vX.Y.Z.
  12. Create a tag named vX.Y.Z.
  13. Push the commit and the tag.
  14. Open the releases page on GitHub and create a release from the tag.
  15. Paste the new changelog section into the release notes.

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.