AgentSkillsCN

redis-config-generator

生成Redis配置文件和连接代码,用于缓存和会话管理。触发“创建redis config”、“生成redis配置”、“redis设置”、“缓存配置”。

SKILL.md
--- frontmatter
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.