# Chi Router Guidelines

> Objective: Define standards for building idiomatic, composable, and production-ready Go HTTP services with the Chi router, covering project structure, routing, middleware, observability, and testing.

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

## Sections

- 1. Philosophy, When to Use & Project Structure
- 1. Routing & Handlers
- 1. Middleware
- 1. Error Handling & Response Patterns
- 1. Testing & Observability
