Skip to content

AGENTS.md: add AGENTS.md with guidelines for AI agents#33890

Merged
lightclient merged 4 commits into
ethereum:masterfrom
gballet:add-agents-md
Feb 25, 2026
Merged

AGENTS.md: add AGENTS.md with guidelines for AI agents#33890
lightclient merged 4 commits into
ethereum:masterfrom
gballet:add-agents-md

Conversation

@gballet
Copy link
Copy Markdown
Member

@gballet gballet commented Feb 24, 2026

No description provided.

gballet and others added 2 commits February 24, 2026 16:14
@gballet gballet changed the title AGENTS.md add AGENTS.md with guidelines for AI agents AGENTS.md: add AGENTS.md with guidelines for AI agents Feb 24, 2026
@gballet gballet added this to the 1.17.1 milestone Feb 24, 2026
Comment thread AGENTS.md
Before committing, always run `gofmt` and `goimports` on all modified files:

```sh
gofmt -w <modified files>
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.

Something we realised when triaging #33846 is that we're not really running gofmt or we would've caught those. Isn't the lint step already enough to let it know that there is style issues?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think the lint step would be enough, but it also probably doesn't hurt to put it in the prompt proactively and avoids a few additional tool calls.

Comment thread AGENTS.md Outdated
Copy link
Copy Markdown
Member

@lightclient lightclient left a comment

Choose a reason for hiding this comment

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

LGTM

@lightclient lightclient merged commit 406a852 into ethereum:master Feb 25, 2026
7 of 8 checks passed
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Feb 25, 2026
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Feb 25, 2026
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Feb 25, 2026
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants