Back to skills
SKILL.md
Redis
ASecurityRedis caching patterns, pub/sub, sessions, rate limiting, and data structures.
- 1,760 stars
- 0 votes
- 0 copies
- 5 views
- Added September 2, 2026
Security analysis
100/100Pro scans all 2 files and shows the line behind each finding
npx -y skills add a5c-ai/babysitter --skill redis --agent claude-codeAre you the author of Redis?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/a5c-ai-redis-babysitter)---
name: redis
description: Redis caching patterns, pub/sub, sessions, rate limiting, and data structures.
allowed-tools: Read, Write, Edit, Bash, Glob, Grep
graph:
domains: [domain:web-development]
specializations: [specialization:web-development]
skillAreas: [skill-area:caching-strategies, skill-area:data-fetching-caching]
roles: [role:backend-engineer]
topics: [topic:cache-aside-pattern]
---
# Redis Skill
Expert assistance for Redis caching and data management.
## Capabilities
- Implement caching strategies
- Build pub/sub systems
- Manage sessions
- Implement rate limiting
- Use Redis data structures
## Caching Pattern
```typescript
async function getCachedUser(id: string) {
const cached = await redis.get(`user:${id}`);
if (cached) return JSON.parse(cached);
const user = await db.user.findUnique({ where: { id } });
await redis.setex(`user:${id}`, 3600, JSON.stringify(user));
return user;
}
```
## Rate Limiting
```typescript
async function rateLimit(ip: string, limit = 100, window = 60) {
const key = `ratelimit:${ip}`;
const count = await redis.incr(key);
if (count === 1) await redis.expire(key, window);
return count <= limit;
}
```
## Target Processes
- caching-implementation
- real-time-features
- session-management
Files in this skill
- README.md
- SKILL.md
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.