This is a comprehensive Redis skill that covers everything from basic data structures to production patterns like distributed locking and sliding window rate limiting. You get Docker setup commands, ioredis client examples, and actual implementations for common patterns like cache helpers and rate limiters. The source includes working TypeScript code for all the tricky bits, expiration strategies, and proper configuration for persistence and replication. If you're building anything that needs fast caching, session storage, or real-time features, this gives you the patterns without having to piece together Stack Overflow answers. The Lua scripting examples for atomic operations are especially useful since that's where most people get it wrong.

skills.sh installs
270
GitHub stars
44
last updated
Aug 21, 2026

Install

$ npx -y skills add personamanagmentlayer/pcl --skill redis-expert --agent claude-code

Installs into .claude/skills of the current project.

Files

Redis Expert

Expert guidance for Redis - the in-memory data structure store used as cache, message broker, and database with microsecond latency.

Core Concepts

Data Structures

  • Strings (binary-safe, up to 512MB)
  • Lists (linked lists)
  • Sets (unordered unique strings)
  • Sorted Sets (sets ordered by score)
  • Hashes (field-value pairs)
  • Streams (append-only log)
  • Bitmaps and HyperLogLog
  • Geospatial indexes

Key Features

  • In-memory storage with persistence
  • Pub/Sub messaging
  • Transactions
  • Lua scripting
  • Pipelining
  • Master-Replica replication
  • Redis Sentinel (high availability)
  • Redis Cluster (horizontal scaling)

Use Cases

  • Caching layer
  • Session storage
  • Real-time analytics
  • Message queues
  • Rate limiting
  • Leaderboards
  • Geospatial queries

Installation and Configuration

Docker Setup

# Development
docker run --name redis -p 6379:6379 -d redis:7-alpine

# Production with persistence
docker run --name redis \
  -p 6379:6379 \
  -v redis-data:/data \
  -d redis:7-alpine \
  redis-server --appendonly yes --requirepass strongpassword

Sponsors

Details

Repository
github.com/personamanagmentlayer/pcl
Categories
Backend & APIs, Debugging, Databases
First seen
Jun 3, 2026

More from personamanagmentlayer/pcl

All 99
1cinience avataralicloud-platform-docs-api-reviewcinience/alicloud-skillsAutomatically review latest Alibaba Cloud product docs and OpenAPI docs by product name, then output detailed prioritized improvement suggestions with evidence 266skills.sh installs
2cinience avataralicloud-platform-multicloud-docs-api-benchmarkcinience/alicloud-skillsBenchmark similar product documentation and API documentation across Alibaba Cloud, AWS, Azure, GCP, Tencent Cloud, Volcano Engine, and Huawei Cloud. Given one 260skills.sh installs
3aradotso avatarmasterhttprelayvpn-proxyaradotso/trending-skillsmasterhttprelayvpn proxy259skills.sh installs
4connorads avatarhetzner-serverconnorads/dotfilesCreate and manage Hetzner Cloud servers. Use when creating VPS/cloud servers, managing Hetzner infrastructure, or setting up dev/remote servers. Requires hcloud237skills.sh installs
5ceedaragents avatarcyrus-setup-endpointceedaragents/cyruscyrus setup endpoint232skills.sh installs
6meleantonio avatarapi-data-fetchermeleantonio/awesome-econ-ai-stuffFetch economic data from FRED, World Bank, and other APIs208skills.sh installs