A drop-in CLAUDE.md for Go service codebases — APIs, workers, microservices — so Claude Code actually understands your conventions on the first message instead of pattern-matching to whatever it saw on GitHub.
By Jared Smith — staff engineer, Director of Information Security at Lavender, 13+ years shipping production Go, Elixir, and Ruby. 100K+ users on live AI products. $400M+ in fintech assets protected.
A real, opinionated CLAUDE.md that:
- Tells Claude Code your project structure, error-handling shape, logging shape, and testing rules
- Lists the anti-patterns you don't want it to suggest
- Gives it the common commands (build, test, lint, migrate) so it stops guessing
- Sets the bar for what "done" means in your codebase
This file goes at the root of your repo. Claude Code reads it on every run and uses it to ground its suggestions.
- Copy
CLAUDE.mdinto the root of your Go project. - Fill in the
[bracketed]fields — service name, primary database, deployment target, etc. - Delete sections that don't apply. Add ones that do.
- Commit it. Claude Code now starts every session with your conventions in context.
Without one, Claude Code guesses your conventions from the files it reads. That's fine for greenfield repos and disastrous for older codebases with a specific style. The bigger the codebase, the more it pattern-matches to the wrong parts of it.
A good CLAUDE.md is a 5-minute investment that fixes 80% of "the model keeps doing X and I keep correcting it" frustrations.
This is the Go-only starter. The Senior Engineer's AI Prompt Vault includes:
- 3
CLAUDE.mdstarters: Go services, Elixir umbrellas, AI agent projects - 5
.cursorrulesfiles (one per category — code review, debugging, refactoring, system design, docs) - 50 production-tested prompts for Claude Code and Cursor
- Notion blueprint with category, tool, and usage views
$39 founders edition — first 50 buyers, then $49 · 7-day refund · lifetime updates · no app, no login.
- Elixir / Phoenix CLAUDE.md starter
- AI agents CLAUDE.md starter
- 5 free sample prompts
- FAQ
- How I Prompt Claude as a Staff Engineer (50 Prompts I Actually Use)
- The Claude Code Resource Bible: 46 Tools Worth Knowing in 2026
- sublimecoding.com
MIT. Use it, fork it, ship it.