Skip to content

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.

Source File

View the full rule: .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

Released under the MIT License.