139

cross-posted from: https://lemmy.world/post/46800674

Image Text:

Github overview of a pull request for the file AGENTS.md.

Comments regarding line "# Repository Guidelines" in the file:

zanieb: "What's the point of this title? Seems like wasted tokens?"

zanieb: "(certainly inconsequential in the big scheme, but I don't see it adding value)"

charliemarsh: "It ensures that the agent does a good job."

all 18 comments
sorted by: hot top controversial new old
[-] SeductiveTortoise@piefed.social 65 points 6 days ago

Everyone knows you have to tell it "don't make mistakes".

[-] isVeryLoud@lemmy.ca 37 points 6 days ago
[-] Brewchin@lemmy.world 12 points 6 days ago

Ahh, the "git gud" gamer hack also applies to sloperations? Good to know!

[-] kibiz0r@midwest.social 5 points 6 days ago

git config —global alias.gud “reset —hard @{upstream}”

[-] SeductiveTortoise@piefed.social 1 points 6 days ago

You are a monster. Nice work!

[-] kibiz0r@midwest.social 2 points 6 days ago

Ah, went and checked my work laptop this morning. It’s actually set to: !”git reset —hard HEAD && git clean -fdx

git it is the one that’s set to upstream.

I also have git some: add -p, git away: checkout -p, git out: !”git merge —abort 2> /dev/null || git rebase —abort 2> /dev/null #”

And some complicated ones I’m not gonna type on my phone:

  • git on <foo> where foo is either “it”, in which case I use the appropriate main/master/develop branch and rebase on it; or foo is “up” in which case I do a pull —rebase and play a short audio clip of Get On Up; or foo is a nonexistent branch, in which case I massage the requested branch name to adhere to some conventions and then make a new branch and set the remote tracking branch
  • git with <foo> where the same “it” logic applies but it’s a merge; or foo is a commit SHA and it gets cherry-picked
  • git up is just a pull but it plays a short audio clip of Get On Up
  • I think I had a git rekt at one point, but I think it just did the same as git gud so I deleted it
[-] haverholm@kbin.earth 3 points 6 days ago
[-] zeroConnection@programming.dev 1 points 6 days ago

Be GOD.

Nothing can beat that!

[-] ICastFist@programming.dev 1 points 6 days ago

How many "do not hallucinates" does it take until the "memory window" forgets it's supposed to not hallucinate and then hallucinate?

[-] isVeryLoud@lemmy.ca 2 points 6 days ago

Technically, nowadays, the system prompt is sent back with every user prompt, but I'm not convinced that was the case in 2024 😅

[-] eager_eagle@lemmy.world 34 points 6 days ago* (last edited 6 days ago)

that's just good form, regardless of who's reading the md

  • MD041 - First line in a file should be a top-level heading
  • MD002 - First header should be a h1 header
  • MD025 - Multiple top level headers in the same document

that whole line is 3 tokens btw, they're wasting more time and energy just discussing that

[-] porous_grey_matter@lemmy.ml 3 points 6 days ago

damn, Charlie really fell off

[-] idriss@lemmy.ml 2 points 6 days ago

So now we learned how to make simple guidelines / docs

[-] bignose@programming.dev 1 points 6 days ago

Without this, we wouldn't be sure the agent does a good job!

this post was submitted on 13 May 2026
139 points (100.0% liked)

Programmer Humor

31491 readers
258 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS