Skip to content

Agents.md - #3698

Closed
jamesdaniels wants to merge 2 commits into
angular:mainfrom
jamesdaniels:main
Closed

jamesdaniels wants to merge 2 commits into
angular:mainfrom
jamesdaniels:main

Conversation

@jamesdaniels

Copy link
Copy Markdown
Contributor

Start of an agents.md

@markgoho markgoho left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a general consensus in the community that most of this is now unnecessary for agents. I would just recommend reducing this file to only what's absolutely critically necessary to tell the agent about, because it couldn't possibly figure it out itself.

Remember, every token here will be part of every context window for every session.

@armando-navarro armando-navarro added comp: docs Documentation. type: chore Maintenance with no user-facing behavior change. labels Jul 25, 2026
@armando-navarro armando-navarro added target: patch bump: patch Size of the change: a fix or docs change that reaches users and removed target: patch labels Sep 28, 2026
@armando-navarro

armando-navarro commented Nov 5, 2026 •

Copy link
Copy Markdown
Collaborator

@jamesdaniels Hey, James. I've held off on merging this for the same reasons @markgoho mentioned. You did this as a favor to me to help me understand the repo as the new maintainer. I personally used it as a guide. Thank you for that.

But in terms of merging, the newer research indicates this isn't the thing that works most effectively for agents these days.

So, I'm kind of not sure what to do about this PR. User-focused agent instructions would likely be more useful, as opposed to maintainer/contributor-focused. It's on my to-do list.

Let me know what you think.

@armando-navarro

Copy link
Copy Markdown
Collaborator

Thanks again for writing this, James. It helped me a lot while I was getting to know the repo.

Enough has changed since July that parts of it are now out of date:

  • Publishing goes through tools/publish-job.js and npm publish, and tools/build.sh no longer writes a publish.sh.
  • The CI matrix runs Node 22, 24 and 26.
  • The line links into tools/build.ts and src/zones.ts now start at the wrong lines.

I think @markgoho's suggestion is the right one: keep the file to the few things an agent can't work out on its own, since anything it can read from the code goes stale here.

I'm planning a much shorter file built around those few things, along with agent instructions for developers who use AngularFire in their apps.

So I'm closing this instead of continuing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bump: patch Size of the change: a fix or docs change that reaches users comp: docs Documentation. type: chore Maintenance with no user-facing behavior change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants