# Kratos Microservices Framework Guidelines

> Objective: Define standards for building cloud-native Go microservices with Bilibili's Kratos framework, covering architecture, configuration, transport, dependency injection, observability, and testing.

::: tip Source File
View the full rule: [`.agent/rules/kratos.md`](https://github.com/snowdreamtech/template/blob/main/.agent/rules/kratos.md)
:::

## Sections

- 1. Overview & Architecture
- 1. Project Setup & Dependency Injection
- 1. Configuration & Secrets
- 1. Transport (HTTP & gRPC)
- 1. Observability, Error Handling & Testing
