agentleFS
tomavictomavic/angular-philosophies/AGENTS.md

angular-philosophies

AGENTS.md8 starsChanged 14 days agoMITView on GitHub

This repo is a written guide plus code templates. There is no app to build and no package to install at the root. - docs/ holds the chapters. They are the single source of truth. Each ends with a <!-- rules --> block of imperative rules. - templates/ holds the code the chapters point to. It targets Angular 22, TypeScript 6.0, Jest 30 and @ngrx/signals 22. - ai/ (except ai/mcp/server.mjs), llms.txt, .claude-plugin/ and .mcp.json are generated from docs/ and templates/.…

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

The file

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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    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:

    Keep the rules block in step with the text.

    line 16
  2. Very specific:

    Don't name a version Angular doesn't list as supported at angular.dev/reference/versions.

    line 18
  3. Distinctive:

    Don't add employer, client or product names.

    line 19
  4. Distinctive:

    If a chapter claims a library behaves a certain way, check it against the installed type definitions or a test, not memory.

    line 20
  5. Distinctive:

    Check it in a scratch Angular 22 + Jest 30 project.

    line 25

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

Working on this repository

This repo is a written guide plus code templates. There is no app to build and no package to install at the root.

Layout

  • docs/ holds the chapters. They are the single source of truth. Each ends with a <!-- rules --> block of imperative rules.
  • templates/ holds the code the chapters point to. It targets Angular 22, TypeScript 6.0, Jest 30 and @ngrx/signals 22.
  • ai/ (except ai/mcp/server.mjs), llms.txt, .claude-plugin/ and .mcp.json are generated from docs/ and templates/. Do not edit them; change the chapter, and the maintainer rebuilds them.
  • ai/mcp/server.mjs is hand-written and has no dependencies.
  • site/ is the website (plain files, no build step). site/index.html, site/ar/index.html, site/css/ and site/js/ are hand-written; site/chapters/ and site/data/ are generated from docs/. The Arabic page keeps the same sections as the English one, in Egyptian Arabic.

When you change a chapter

  • Keep the rules block in step with the text. A rule is one imperative sentence, and "never" means never.
  • Plain prose: no closing question, no emoji bullets, no "three things" templates.
  • Don't name a version Angular doesn't list as supported at angular.dev/reference/versions.
  • Don't add employer, client or product names. Examples use the shop domain (orders, billing).
  • If a chapter claims a library behaves a certain way, check it against the installed type definitions or a test, not memory.

When you change a template

  • It must compile under strict TypeScript and, if it has logic, ship a spec that passes.
  • Check it in a scratch Angular 22 + Jest 30 project; templates are not built inside this repo.
  • Components compile with strictTemplates.

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.