Valkey logo

Skill

valkey

build applications with Valkey

Published by Valkey Updated Jul 17
Covers Performance Database Valkey Caching

Description

Use when building apps against Valkey - caching, sessions, queues, locks, rate-limiting, leaderboards, counters, pub/sub, streams, scripting, search, cluster, replication, HA, persistence, security. Not for server internals (valkey-dev) or ops (valkey-ops).

SKILL.md

Reference files live under references/. Use this file as the router: open the smallest file that matches the user's task, then open adjacent files only when the task crosses a boundary.

Feature / Version Routing

User taskOpen
Version availability, "what changed in Valkey 8/9", Redis compatibility, module gapreferences/valkey-features.md
CAS, SET IFEQ, DELIFEQ, conditional delete/update, Lua replacement for compare-and-set/deletereferences/conditional-writes.md
Hash-field TTL, HSETEX, HGETEX, HEXPIRE, HTTL, per-field expiry return codesreferences/hash-field-ttl.md
COMMANDLOG, SLOWLOG compatibility, slow command / large request / large reply lookupreferences/commandlog.md
Polygon geo queries, GEOSEARCH BYPOLYGON, antimeridian caveatsreferences/geosearch-bypolygon.md
Redis OSS/CE migration, extended-redis-compatibility, RDB magic, client identity, module availabilityreferences/redis-compatibility.md

Application Workflow Routing

User taskOpen
Application workflow router / task-boundary overviewreferences/app-patterns.md
Cache-aside, stampede prevention, early refresh, TTL jitter, explicit invalidation, cache eviction choicesreferences/app-caching.md
Server-assisted client-side caching, CLIENT TRACKING, RESP3 push, RESP2 REDIRECT, BCAST/OPTIN/OPTOUTreferences/app-client-side-caching.md
Sessions, sliding TTL, session rotation, per-field session TTL, concurrent session trackingreferences/app-sessions.md
Distributed locks, safe lock release, renewal, Redlock, fencing tokens, pre-version Lua fallbackreferences/app-locks.md plus references/conditional-writes.md for command semantics
Rate limiting, fixed/sliding windows, token bucket, per-field TTL rate countersreferences/app-rate-limiting.md
Queues, streams, consumer groups, pending/reclaim, trimming, dead-letter queues, priority queuesreferences/app-queues.md
Counters, idempotency, approximate counting, dedup, HyperLogLog, BITFIELD, Bloom filtersreferences/app-counters-dedup.md
Leaderboards and rankingsreferences/app-leaderboards.md
Pub/Sub, sharded pub/sub, keyspace notifications, PUBSUB introspectionreferences/app-pubsub.md
Search, autocomplete, tag filtering, valkey-searchreferences/app-search.md

Cluster / HA Routing

User taskOpen
Cluster / HA router / task-boundary overviewreferences/cluster-and-ha.md
Hash slots, hash tags, CROSSSLOT, MOVED/ASK, cluster clients, read replicas, per-primary SCAN, sharded pub/sub, numbered DBsreferences/cluster-key-client-behavior.md
Slot migration, resharding, CLUSTER MIGRATESLOTS, GETSLOTMIGRATIONS, no-ASK-window behaviorreferences/cluster-slot-migration.md
Replication, full/partial resync, backlog sizing, diskless replication, dual-channel, MPTCP, Sentinel failover, retry/idempotency rulesreferences/replication-sentinel-retries.md
Durability, WAIT, WAITAOF, AOF/RDB persistence, fork pauses, copy-on-write, cache-vs-source-of-truthreferences/durability-persistence.md

Performance Routing

Diagnosis areaOpen
Performance router / diagnosis-boundary overviewreferences/performance.md
Memory encoding, key sizing, compact encodings, top-level overhead, OBJECT introspection, bitmaps, large valuesreferences/performance-memory-encoding.md
TTL, eviction policy, maxmemory, LFU/LRU choices, big-key drain before UNLINKreferences/performance-eviction-ttl.md
Fragmentation, active defrag, MEMORY DOCTOR, allocator ratiosreferences/performance-fragmentation.md
Latency, intrinsic latency, LATENCY monitor, COMMANDLOG, fork/expiration/AOF/swap signalsreferences/performance-latency.md
Throughput, pipelining, connection pooling, I/O threads, hot-key mitigationreferences/performance-throughput.md
Benchmarking, valkey-benchmark, memtier_benchmark, pipeline/client-thread pitfallsreferences/performance-benchmarking.md

Other Focused References

User taskOpen
Lua, EVAL/EVALSHA, FUNCTIONs, script determinism, server.call/pcall, KILL behaviorreferences/scripting.md
AUTH, ACLs, ACL categories, key/channel permissions, TLSreferences/security.md
Production anti-patterns, quick corrections, detection commands, fix matrixreferences/anti-patterns.md

© 2026 YourAI.tools. Every skill from an identity-verified publisher.

Independent catalog. Not affiliated with, endorsed by, or sponsored by Anthropic or any listed publisher. All trademarks belong to their respective owners.