CLAUDE.md Rules for Go HTTP service
A ready-to-edit CLAUDE.md for Go HTTP service using the standard library: commands, layout, conventions, testing and pitfalls.
ForDevelopers
Project rules: Go HTTP service
You are working in a Go HTTP service using the standard library. Follow these rules on every task. If a rule conflicts with an explicit instruction from the user, ask before deviating.
Commands
- Build: `go build ./...`
- Test: `go test ./... -race`
- Vet: `go vet ./...`
- Lint: `golangci-lint run`
- Format: `gofmt -w .`
- Run: `go run ./cmd/server`
77% more in the full file
What's inside
- Format
- Markdown
- Contents
- Claude.md · 48 lines
- Version
- 1.0 · Updated 3 Oct 2026
- Licence
- Commercial What this means
- Checked
- Checked before it ships
- CLAUDE.mdMarkdown · 2 KB
- LICENSE.txtadded to every download
About this item
A single CLAUDE.md that tells an AI coding assistant how to work in a Go HTTP service using the standard library. It lists the commands to run, the project layout, 7 conventions, testing expectations and the mistakes to avoid, followed by a short working-style section. It also works as AGENTS.md or as a starting point for other coding assistants. Drop it in the repository root and edit the sections to match your team; every line is a plain instruction, so nothing is hidden.
- Go HTTP service
- AI coding
- Developer tools
- CLAUDE.md
- Rules
Reviews
No reviews yet.