@AGENTS.md
Claude Code also loads .claude/rules/ files that contain detailed coding instructions for specific topics:
code-generation.mdβ Guardrails for generated vs. hand-written files; which files get wiped on regeneration; where to submit changesstreaming.mdβ StreamingChannel patterns, goroutine leak prevention, context cancellationerror-handling.mdβ Error types, retry eligibility, status code behavior, retry-after header handlingtelemetry.mdβ OpenTelemetry metric patterns, attributes, test setup with noop providersoauth2-credentials.mdβ Token lifecycle, expiry jitter, credential patterns, RoundTripper wrappingsecurity.mdβ Security rules for credentials, oauth2, error handling, and HTTP client codeclient-api.mdβ High-level client package conventions (fluent API, ULID validation, thread safety)testing.mdβ Test conventions (t.Parallel, table-driven, testify, httpmock, race-safe)go-conventions.mdβ Go coding standards (gofmt, golangci-lint, context propagation)new-api-methods.mdβ Checklist for new public API methods (telemetry, operation name, SdkClient interface)pr-conventions.mdβ Commit and PR conventions (conventional commits, make check)
When working on this SDK, consult both AGENTS.md (project context) and the applicable rules files (implementation guardrails).