# Redis Development Guidelines

> Objective: Define standards for using Redis safely, efficiently, and consistently as a cache, session store, message queue, rate limiter, or pub/sub broker, covering key design, TTL management, data structures, performance, and security.

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

## Sections

- 1. Key Naming & Namespacing
- 1. Expiry (TTL) & Cache Patterns
- 1. Data Structure Selection
- 1. Performance & Reliability
- 1. Security & Observability
