valkey-glide-go
Installation
SKILL.md
Valkey GLIDE Go Client
Agent-facing skill for GLIDE Go. Assumes the reader can already write basic go-redis from training (rdb.Get(ctx, key).Result(), pipelines, consumer groups, pubsub loop). Covers only what diverges from go-redis and what GLIDE adds on top.
Routing
| Question | Reference |
|---|---|
Client vs ClusterClient, TLS, auth, IAM, lazy connect, AZ affinity, DB selection, ResetConnectionPassword |
connection |
PubSub: static config vs dynamic Subscribe (2.3+), callback vs polling, GetSubscriptionConfig, sharded |
pubsub |
Batch / ClusterBatch, atomic vs pipeline, BatchOptions, RetryStrategy, WATCH |
batching |
Streams typed options, split XClaim / XClaimJustId, XAutoClaimResponse struct, multi-stream slot constraint |
streams |
Custom commands, routing (AllNodes, SlotKeyRoute, ...), OpenTelemetry, cluster SCAN, Lua Script |
advanced |
Go-specific flat error model, GoError mapping (only 3 types auto-mapped), BatchError |
error-handling |
Multiplexer discipline, batching as top optimization, inflight cap, GetStatistics() uint64 |
performance |
| Production defaults, timeout tuning, AZ affinity, OTel setup, CGO / glibc constraints | production |