dba-redis

Design Redis 7/Valkey data structures and configure Sentinel failover and Cluster sharding.

Updated Mar 7, 2026
One-click install
npx skills add https://github.com/MassimilianoPili/agent-framework --skill dba-redis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dba-redis
Source: https://github.com/MassimilianoPili/agent-framework/tree/main/.claude/agents/dba-redis
Command: npx skills add https://github.com/MassimilianoPili/agent-framework --skill dba-redis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the design, implementation, and administration of Redis and Valkey databases, ensuring optimal performance and data integrity for complex applications.

Core Features & Use Cases

  • Data Structure Design: Create efficient schemas using strings, hashes, lists, sets, sorted sets, streams, and HyperLogLogs.
  • Performance Tuning: Optimize persistence (RDB/AOF), memory usage, and key TTLs.
  • High Availability & Scaling: Configure Sentinel for failover and Cluster for sharding.
  • Atomic Operations: Implement complex logic with Lua scripting.
  • Use Case: Design a Redis data model for a real-time leaderboard system, including key naming conventions, sorted set implementation, and TTL strategies for score expiration.

Quick Start

Use the dba-redis skill to design a Redis data structure for user sessions, including key naming and TTL.

Frequently Asked Questions about dba-redis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design a Redis data structure for a real-time leaderboard?

Yes, you can implement atomic operations in Redis using Lua scripting to execute complex logic safely. This skill provides Lua scripting references to ensure data integrity during multi-step transactions.

What's the best way to configure Redis Sentinel for failover?

Configuring Redis Sentinel involves setting up monitoring across master and replica nodes to automate failover. This skill guides Sentinel configuration to ensure high availability during master node failures.

How do I tune Redis persistence using RDB and AOF?

Tuning Redis persistence requires balancing RDB snapshots and AOF logs to optimize memory usage and performance. This skill administers persistence configurations to ensure data reliability without sacrificing speed.

Can I use this skill to set up Redis Cluster for sharding?

Yes, you can configure Redis Cluster for sharding across multiple nodes to scale horizontally. This skill designs cluster configurations to distribute data and handle partitioning effectively.

Does the skill support Valkey data structure administration?

Yes, the skill supports Valkey data structure administration and configuration. It designs schemas using strings, hashes, lists, sets, sorted sets, streams, and HyperLogLogs for both Redis and Valkey environments.