Google GeminiGoGeneral AI
Generic Backend Service Rules for Google Gemini
Generic Backend Service Rules adapted for Google Gemini. High-signal generic engineering guidance for real projects.
rules file
# Generic Backend Service Rules for Google Gemini ## Service design - Clear boundary: handlers/controllers, domain services, repositories. - Keep business logic out of transport layer. - Domain errors mapped explicitly to response errors. ## Resilience - Timeouts + retries + circuit breaker for external dependencies. - Queue heavy/slow side effects off request path. - Graceful shutdown with in-flight request draining. ## Operability - Health/readiness checks must reflect real dependency state. - Backpressure strategy for spikes (rate limit, queue, degrade gracefully).
How to use with Google Gemini
#backend#services#reliability#gemini#generic-rules#go#ai-coding-rules
Related Rules
Go Cursor Rules
CursorGo
Cursor rules for Go: idiomatic Go patterns, error handling, concurrency, and Go module conventions.
Code Style
go · golangCopy Ready
Go Claude Rules
ClaudeGo
Claude rules for Go: project structure, error handling, testing, and idiomatic Go patterns.
Architecture
go · golangCopy Ready
Go Windsurf Rules
WindsurfGo
Windsurf rules for Go: hexagonal architecture, clean code, observability, and production Go patterns.
Architecture
go · windsurfCopy Ready
Echo Architecture Rules for GitHub Copilot
GitHub CopilotGo
SEO-ready GitHub Copilot rules for Echo architecture with copy-paste instructions, testing guardrails, and production-safe patterns.
General AI
copilot · goCopy Ready