top | item 44961573

(no title)

zimbatm | 6 months ago

This should have been CONTRIBUTING.md all along.

The content of the AGENTS.md is the same as what humans are looking for when contributing to a project.

discuss

order

oehpr|6 months ago

The most effective argument I have for getting other developers to comment their code is "The agent will read it and it will give better suggestions".

Truly perverse, but it works.

I agree with you... but the reality is that there's a wide contingent of people that are not capable of understanding "people don't know the same things as me". So they need some other reason.

organsnyder|6 months ago

It's made my project documentation so much better. If I write out really good acceptance criteria, 9 times out of 10 I can point Claude at the ticket and get a workable (if unpolished) solution with little to no supervision.

esafak|6 months ago

They understand it just fine; they are acting selfishly, because it does not benefit them. Helping the coding agent does.

dingnuts|6 months ago

several ironies here:

1) an AI agent is less likely to notice than even a junior is when the docs are out of date from the code

2) AI boosters are always talking about using language models to understand code, but apparently they need the code explained inline? are we AGI yet?

3) I frequently hear how great AI is at writing comments! But it needs comments to better understand the code? So I guess to enable agentic coding you also have to review all the agents' comments in addition to the code in order to prevent drift

HOW IS ANY OF THIS SAVING ME TIME

sbochins|6 months ago

I don’t think they serve the same purpose. Most of the instructions I have for an agent won’t apply to a human. It’s mostly around the the requirements to bootstrap the project vs what I’d ask for a human to accept their pull request.

heyzk|6 months ago

I think semantically this is true, but the way humans and agents handle context, at the moment, is different enough to warrant a separate structure.

j2kun|6 months ago

Yeah I can't find any example in an AGENTS.md that isn't useful information for a human. "Cluttering" a README.md is a silly justification.

hombre_fatal|6 months ago

Nah, My standard for what I write for humans is 100x than the slop I spew for robots.

Also, you don’t even address their point.

layer8|6 months ago

Arguably, contributors are human agents. ;)

alostpuppy|6 months ago

Dude, this is such a good point.