The Go AGENTS.md (free sample)
by PaperChaseWebb
One of the twelve files from the stack-specific pack: an AGENTS.md for a Go repo with real commands, Go rules, the go.sum trap, ask-before and never lists, and an approvals rule.
- Price
- Free
- Difficulty
- Beginner
- Setup
- 5 min
- Format
- .md file
go-agents-md-free-sample.md · 2 KB · direct download, no signup
What you end up with
A working piece of the full pack you can use today.
What you get
- The Go AGENTS.md
- What the full pack adds
Who it is for
Developers whose stack is not covered by the Next.js, FastAPI and browser game files in the starter rules pack, who want one AGENTS.md per repo that names the right commands.
Works with
Solid chips: the agent is named in this listing's own tools list. Dashed chip: Plain Markdown, so it also pastes into other agents such as Grok Bot, Hermes, OpenClaw or Muse. We list those as compatible by format only, not as tested.
Tools needed
Cost to run: Free.
Time to result: About five minutes
Sample prompts, free to use
Read this repo and AGENTS.md. Fill every [placeholder] from the lockfile and folders you can see. Do not change the Commands table unless a command fails; if it does, show me the output. Run python3 stack_check.py . and fix every finding.
From the pack.
Free preview of the file
# Stack-specific AGENTS.md: the Go file (free sample) Version 1.0, 2026-10-30. By PaperChaseWebb. One of the twelve files from the Stack-specific AGENTS.md and CLAUDE.md pack. Copy it to AGENTS.md at the root of a Go repo and fill the [placeholders]. On 2026-10-30 every command in it was run on a made-up Go module (Go toolchain on Linux); it was not loaded into any agent. ````markdown # AGENTS.md ## Stack Go project: [one line on what it does]. Versions: [fill from your lockfile or toolchain file]. ## Commands | Task | Command | |---|---| | Build | `go build ./...` | | Test all | `go test ./...` | | Test one package | `go test ./internal/[pkg]/ -run [TestName]` | | Vet | `go vet ./...` | | Format | `gofmt -l .` | | Tidy modules (ask first) | `go mod tidy` | ## Layout - [main source folder]: [what lives there] - [tests folder]: [what lives there] - Do not touch: [generated or vendored folders] ## Rules for Go - Never hand-edit go.sum. It changes only through go get or go mod tidy, and both need my yes. - Return errors with context (fmt.Errorf with %w); do not panic in request handlers. - Every new exported function gets a doc comment and a table test. - Pass context.Context as the first argument to anything that does I/O. - Run gofmt -l . and go vet ./... before saying done; both must print nothing. ## Ask before - Adding, removing or upgrading any dependency - Changing build, signing, release or deploy config - Anything that touches production data or real accounts ##
Test record
- Date
- Oct 30, 2026
- What was run
- Every command in the Go file run on a made-up Go module on 2026-10-30.
- Result
- See the sample's caveat.
- Not run
- The file inside an agent.
Copied from this item's dated test notes. What was not run stays in.
Worth knowing
- On 2026-10-30: Every command in the Go file run on a made-up Go module on 2026-10-30. Not run: The file inside an agent.
Questions
What is in the full pack?
Ready AGENTS.md files for Go, Rust, Chrome extensions, Electron, Tauri 2, Expo, SvelteKit, Astro, Django, Rails, Laravel and Flutter, each with real commands, stack rules and the one file agents most often break, a one-line CLAUDE.md pointer, five prompts and stack_check.py, ten read-only checks that the file fits the repo it sits in. $24.
Details
Version 1.0 · Updated Oct 30, 2026 · Markdown version of this page
License: Personal and commercial use. Download terms
Related
Stack-specific AGENTS.md and CLAUDE.md: twelve stacks the starter files do not cover
Ready AGENTS.md files for Go, Rust, Chrome extensions, Electron, Tauri 2, Expo, SvelteKit, Astro, Django, Rails, Laravel and Flutter, each with real commands, stack rules and the one file agents most often break, a one-line CLAUDE.md pointer, five prompts and stack_check.py, ten read-only checks that the file fits the repo it sits in.

AGENTS.md, CLAUDE.md and Cursor rules starter files
Six fill-in instruction files for coding agents (base, Next.js plus Supabase, FastAPI, browser game, CLAUDE.md pointer, scoped Cursor rules), an Approvals section that makes the agent stop and wait for your yes, a table of what Grok Bot, Claude Code, Codex, Hermes and Cursor each read, a read-only checker for your rule files and 9 prompts to write, trim and test your own.

Engine Agent Kits: Godot 4, Unity 6 and Unreal 5 rules files, editor bridges and build loops for coding agents
One kit per engine for coding agents: a rules file, a trap table of version mistakes, terminal commands to check, test and build without clicking, ways to give the agent eyes, asset pipelines with a license ledger and a one-milestone work loop.