home / skills / ehtbanton / claudeskillsrepo / redis-config-generator
This skill generates Redis configuration files and TypeScript client setup for caching and session management.
npx playbooks add skill ehtbanton/claudeskillsrepo --skill redis-config-generatorReview the files below or copy the command above to add this skill to your agents.
---
name: redis-config-generator
description: Generate Redis configuration files and connection code for caching and session management. Triggers on "create redis config", "generate redis configuration", "redis setup", "cache config".
---
# Redis Config Generator
Generate Redis configuration files and TypeScript client setup for caching.
## Output Requirements
**File Output:** `redis.conf`, `redis.ts`
**Format:** Valid Redis configuration and TypeScript
**Standards:** Redis 7.x, ioredis
## When Invoked
Immediately generate Redis configuration and client connection code.
## Example Invocations
**Prompt:** "Create Redis config for production caching"
**Output:** Complete `redis.conf` and `redis.ts` client setup.
This skill generates ready-to-deploy Redis configuration files and a TypeScript client module for caching and session management. It produces a valid redis.conf tuned for Redis 7.x and a TypeScript connection file using ioredis. The output is immediately usable for production or staging environments.
When triggered it creates two files: redis.conf and redis.ts. The redis.conf contains recommended settings for persistence, memory management, security, and network tuning. The redis.ts exports an ioredis client with typed connection options and helpers for common cache/session patterns.
Which Redis version does the generated config target?
The config is written for Redis 7.x and uses settings compatible with that series.
Which TypeScript client library is used?
The TypeScript file uses ioredis and includes typed connection options plus common helper patterns for caching and sessions.