-
Notifications
You must be signed in to change notification settings - Fork 35
Explore alternative AGENTS.md file
#93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@felixarntz do you have an eval that can be used to compare the differences? |
|
@justlevine I don't. I agree that would probably be useful to a certain extent, but at the same time it wouldn't capture the diversity of the different coding assistant tools that different contributors use anyway. |
|
I think this new structure is simple enough. The structure I had was from |
|
The thing I still have a hard time with this sort of a file is that the content seems wholly fit for something like a CONTRIBUTING.md or DEVELOPERS.md file. There's not much if anything really in this AGENTS.md file that otherwise wouldn't be helpful context for a human onboarding to the project. |
|
@jeffpaul Agreed. In theory, I wish there wouldn't need to be this duplication. That being said, based on my anecdotal experience, agents do better with being the relevant content passed directly instead of e.g. putting into An alternative idea would be to fully combine the two and either require agents to be configured to rely on But that would also have problems. Having to look between the two files would be unnecessary mental overhead for new contributors. And maybe more importantly, there are strategies that work well with LLMs that would not go well with contributors (for example SCREAMING LANGUAGE LIKE THIS 🙃). My 2 cents is, while I don't like duplication, I think we'll need to optimize for contributors and for LLMs separately, which will mean some duplication. |
|
I kind of like the idea of simply referring folks in the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like we can merge this and iterate more. The discussion doesn't seem to be moving away from the importance of having this.
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
I researched different
AGENTS.mdstructures in other projects and explored a few iterations created by an LLM (I used Gemini CLI) with some guidance on the particular structure).I'm opening this PR with one that I particularly liked, simply for consideration.
I'm not saying that this is holistically particularly better than the current one, but I think it might be helpful for us to compare the different sections. Maybe there are things we'll want to combine from both variants.
On this note, I would also highly encourage other folks that use a coding agent to explore and share their drafts.