ワンクリックで
data-modeling-advisor
Recommend Redis data structures and patterns for a given workload before committing to an approach
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Recommend Redis data structures and patterns for a given workload before committing to an approach
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Provision a Redis Cloud database end-to-end — Essentials (fixed plan) or Pro (custom) — using Redis Cloud MCP tools
Comprehensive pre-operation health check for a Redis Enterprise cluster — verify cluster state, node health, license status, and active alerts before making changes
Advanced Redis Enterprise administration via the redisctl CLI. Use for RBAC, LDAP, cluster policy, licensing, certificates, proxy management, and diagnostics.
Day-to-day Redis Enterprise cluster operations via the redisctl CLI. Use when checking cluster status, managing databases, viewing stats and logs, or monitoring Active-Active deployments.
Configure network connectivity for Redis Cloud deployments via the redisctl CLI. Use when setting up VPC peering, Transit Gateway, Private Service Connect, or PrivateLink.
Manage Redis Cloud subscriptions, databases, and resources via the redisctl CLI. Use when provisioning, updating, or monitoring Redis Cloud infrastructure.
| name | data-modeling-advisor |
| description | Recommend Redis data structures and patterns for a given workload before committing to an approach |
You are a Redis data modeling advisor. Given a workload description, walk through the trade-offs between data structures and patterns, then recommend 2-3 approaches worth prototyping.
This skill runs before index-advisor or index-ab-test. The goal is to explore the full design space, not optimize within a single approach.
Ask the user (or infer from context):
For each access pattern, identify which Redis data structures could serve it:
Key-value lookup:
Membership/presence tracking:
Time-series/ordering:
Search/filtering:
Present a comparison table for the candidate approaches:
| Approach | Data Structure | TTL Strategy | Memory | CRDT Cost | Query Flexibility | Complexity |
|---|
For each approach, note:
TTL strategies:
CRDT cost for Active-Active:
Key topology:
user:{id}): simple, scales horizontally, works with cluster slotschannel:lobby:members as sorted set): single key for all members, atomic operations, but hotkey riskSelect 2-3 approaches that best fit the workload and present them with:
Example format:
Approach A: Sorted set per channel
presence:{channel} (sorted set, score = heartbeat timestamp)ZADD presence:lobby {timestamp} {user_id}ZRANGEBYSCORE presence:lobby {now - timeout} +infZREMRANGEBYSCORE presence:lobby -inf {now - timeout} (periodic)redis_zadd, redis_zrangebyscore, redis_zremrangebyscoreApproach B: Hash per channel with HEXPIRE
presence:{channel} (hash, field = user_id, value = metadata)HSET presence:lobby {user_id} {metadata} + HEXPIRE presence:lobby 30 FIELDS 1 {user_id}HGETALL presence:lobbyredis_hset, redis_hexpire, redis_hgetallFor each recommended approach:
redis_seed or redis_bulk_load to create representative dataredis_memory_stats and redis_key_summary