Skip to content
Back to skills

Redis

ASecurity

Redis caching patterns, pub/sub, sessions, rate limiting, and data structures.

  • 1,760 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 2, 2026
ai-agentstypescriptbashbackend

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 2, 2026

npx -y skills add a5c-ai/babysitter --skill redis --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Redis?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Redis
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/a5c-ai-redis-babysitter/badge)](https://www.skillsdirectory.com/skills/a5c-ai-redis-babysitter)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.md363 B
  • SKILL.md1.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.