Skip to content
Kitbay

redis-clustering

MITUpdated on Nov 5, 2026178GitHub stars

Redis's skill on key design and read routing for a sharded Redis Cluster or a primary with replicas.

What the skill teaches

Redis's skill on key design and read routing for a sharded Redis Cluster or a primary with replicas. It explains how hash tags put related keys in the same slot so multi-key commands, pipelines and transactions avoid CROSSSLOT errors, and how to send read traffic for caches, analytics or dashboards to replicas instead of the primaries, with client settings shown. Two reference files cover hash tags and read replicas in more depth. It is guidance for the agent to apply while writing or reviewing code.

Capabilities

  • Design key names with hash tags for Redis Cluster
  • Fix CROSSSLOT errors on multi-key commands
  • Route reads to replicas for read-heavy workloads