agents.md: improve effectiveness and add constraints#276110
Open
GunniBusch wants to merge 1 commit intoHomebrew:mainfrom
Open
agents.md: improve effectiveness and add constraints#276110GunniBusch wants to merge 1 commit intoHomebrew:mainfrom
GunniBusch wants to merge 1 commit intoHomebrew:mainfrom
Conversation
Bo98
reviewed
Apr 5, 2026
Bo98
reviewed
Apr 5, 2026
Bo98
reviewed
Apr 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>?brew test <formula>?brew audit --strict <formula>(after doingHOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>)? If this is a new formula, does it passbrew audit --new <formula>?Made some improvements to agents.md, as I noticed some abnormalities in some recent PRs.
In my opinion, agents.md was not bad, but I think it was more a human quick guide than an LLM instruction, and not even a bad quick guide tbh.
But in my experience, the agents file, at least in these cases, should be less a direct instruction on basically how to run commands and do stuff, an more in giving general constraints.
Agents will fetch the docs anyway when instructed, so giving more general commands but finer edge-specific advice gave better output in my tests.
Some new things I added was an instruction for 1 commit/file/ pr (and instruction to squash) and one that maybe reduces the amount of PRs getting closed and new ones opened (but I do not really know if this is because of AI or ahm user😈).