Encore Redis Caching is a specialized Claude Code skill designed to guide developers in implementing high-performance, type-safe caching using Redis within Encore.ts microservices. It provides robust patterns for declaring CacheClusters, defining typed keyspaces (including Strings, Ints, Lists, Sets, and JSON Structs), handling atomic operations, applying advanced TTL configurations, and managing error handling for cache misses and key collisions.
主な機能
01Atomic increment and decrement operations ideal for counters and rate-limiting
02Type-safe keyspaces for Strings, Integers, Lists, Sets, and JSON Structs
03Flexible expiration helpers including expireIn, expireDailyAt, and keepTTL
0425 GitHub stars
05Safe write modes such as setIfNotExists and replace with automatic error handling
06Declarative CacheCluster setup with configurable Redis eviction policies
ユースケース
01Building real-time counters, rate limiters, and leaderboards
02Creating secure, temporary session token stores and user profiles
03Caching heavy database reads to minimize latency and database load