GOTTH+
GitHub

Operating

Working with AI agents

The AGENTS.md and CLAUDE.md files, and the checklist an agent follows before it finishes.

Guidance files

Every GOTTH+ project has an AGENTS.md. It holds the conventions for the stack and the security checklist, and its last section lists this project's specifics. CLAUDE.md points to it, so Claude Code and any other agent read the same rules.

The checklist

  • templ generate has run, and the generated files are up to date.
  • gofmt and templ fmt are clean, and go vet and go test -race pass.
  • New input is validated and length-capped on the server.
  • No user data reaches templ.Raw, SQL built by concatenation, or an inline script.
  • Every mutating route uses POST, PUT, PATCH or DELETE, with CSRF and authorisation.
  • Errors are logged on the server and generic to the client.
  • No secrets are committed, and .env.example covers any new configuration.

Was this page helpful?

Be the first to answer.