Go backend microservices

From Mindrally/skills · View interactive version

Go backend microservices is an AI agent skill from the GitHub repository Mindrally/skills. Go backend development best practices for microservices with clean architecture, observability, and production-ready patterns

How to use this skill

Skill file

Go Backend Development for Microservices

Core Principles

Project Structure

Maintain modular project structure with clear directories:

project/
├── cmd/           # Application entry points
├── internal/      # Private application code
├── pkg/           # Public library code
├── api/           # API definitions (OpenAPI, protobuf)
├── configs/       # Configuration files
└── test/          # Additional test utilities

Error Handling

Context Propagation

Observability

Implement OpenTelemetry for comprehensive observability:

Distributed Tracing

Metrics

Structured Logging

Security

Testing

Unit Tests

Integration Tests

Concurrency

Documentation

CI/CD Integration

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.