
This covers the essential Redis patterns you'll reach for in production: caching with stale-while-revalidate support, session storage with user-level tracking, rate limiting (fixed window, sliding window, token bucket), pub/sub messaging, and distributed locks. The code is opinionated about connection handling with proper retry strategies and graceful shutdowns, and includes practical touches like cache key prefixing and pipeline batching. The session implementation tracks all sessions per user for bulk invalidation, which is genuinely useful. If you're building anything that needs fast shared state across services, this gives you working patterns rather than making you piece together Redis commands from documentation.
npx -y skills add patricio0312rev/skills --skill redis-patterns --agent claude-codeInstalls into .claude/skills of the current project.
Select a file.