Gemini CLI is Google’s command-line coding agent. A one-line settings change tells it to read AGENTS.md as its context file.
Gemini CLI is Google’s open-source command-line coding agent powered by the Gemini family of models. It can read files, run commands, edit code, and work through multi-step tasks in a terminal.By default, Gemini CLI looks for a specific context filename. You can configure it to read AGENTS.md by updating your project’s settings file.
# AGENTS.md## Build and test- Build all packages: `go build ./...`- Run all tests: `go test ./...`- Static analysis: `go vet ./...`- Lint (requires golangci-lint): `golangci-lint run`## Code style- Standard Go formatting enforced by `gofmt`- Follow Effective Go conventions- Error handling: always check errors; wrap with `fmt.Errorf("...: %w", err)` for context- Avoid global state; pass dependencies explicitly## Project structure- `cmd/` — main entry points, one subdirectory per binary- `internal/` — packages not intended for external use- `pkg/` — reusable packages- `testdata/` — fixtures and golden files for tests## Commits- One logical change per commit- Commit message format: short summary (50 chars), blank line, detail paragraph- All tests must pass before committing