DATABASE ENGINEERING / redis
Redis Cluster Key and Read Design
Plan hash-tag placement and replica reads for sharded Redis workloads.
“Redis Cluster and replication guidance covering hash tags for multi-key operations, avoiding CROSSSLOT errors, and reading from replicas to scale read-heavy workloads. Use when designing keys for a sharded Redis Cluster, debugging CROSSSLOT errors on MGET / SDIFF / pipelines, configuring a multi-key transaction in a cluster, or routing reads to replicas for caches, analytics, or dashboards.”
01 / THE REASONING
Why this made the selection.
- Hash-tag and replica references make key co-location and eventual consistency explicit; entity-level tags prevent unrelated tenant identifiers from sharing a slot.
- Diagnose cross-slot multi-key operations while keeping freshness-sensitive reads on primaries.
02 / THE REVIEW RECORD
What we actually inspected.
Source review has boundaries.
A clear record is more useful than a “safe” badge.
Material inspected
- skills/redis-clustering/SKILL.md
- skills/redis-clustering/references/hash-tags.md
- skills/redis-clustering/references/read-replicas.md
- LICENSE
- README.md
Our findings
- Hash-tag and replica references make key co-location and eventual consistency explicit; entity-level tags prevent unrelated tenant identifiers from sharing a slot.
Not established by this review
- Third-party instructions and helpers were not executed; service access, host compatibility and outcomes remain untested.
- Not executed: it was not installed or run.
The review applies to the material and revision named here. A newer upstream release can change its behavior.
03 / PUT IT TO WORK
Add a skill to your workflow.
DOCUMENTED COMMAND
npx skills add redis/agent-skills/skills/redis-clustering Run in your terminal to choose your AI tools, project or global scope, and installation method. This short command follows the current upstream version; the review covers the revision shown above.
Optional: install the reviewed revision
Keeps the original source and installer version where recorded, while leaving your AI tools and installation scope for you to choose.
npx skills add https://github.com/redis/agent-skills/tree/a84871d065f398fed55e1633f66b66f731eb4e2b/skills/redis-clustering - Install the pinned directory interactively and retain its referenced files; inspect the source before granting tool access.
- Inventory multi-key commands and client transaction behavior, choose entity-scoped tags, and test read-after-write paths before enabling replicas.
Before you start
- A Redis Cluster or primary/replica deployment and a compatible cluster-aware client
04 / FOLLOW THE EVIDENCE
The source trail.
Our notes are separate from the original resource.
Check upstream before adopting a new version.
https://github.com/redis/agent-skills/blob/a84871d065f398fed55e1633f66b66f731eb4e2b/skills/redis-clustering/SKILL.md
Supports: summary, review, install, access, limitations
https://github.com/redis/agent-skills/blob/a84871d065f398fed55e1633f66b66f731eb4e2b/skills/redis-clustering/references/hash-tags.md
Supports: summary, review, install, access, limitations
https://github.com/redis/agent-skills/blob/a84871d065f398fed55e1633f66b66f731eb4e2b/skills/redis-clustering/references/read-replicas.md
Supports: summary, review, install, access, limitations
- Pinned LICENSE ↗Checked
https://github.com/redis/agent-skills/blob/a84871d065f398fed55e1633f66b66f731eb4e2b/LICENSE
Supports: license
- Pinned README.md ↗Checked
https://github.com/redis/agent-skills/blob/a84871d065f398fed55e1633f66b66f731eb4e2b/README.md
Supports: summary, review, install, access, limitations
https://raw.githubusercontent.com/redis/agent-skills/a84871d065f398fed55e1633f66b66f731eb4e2b/skills/redis-clustering/SKILL.md
Supports: bestFor, review.notTested, review.reviewedAt