Redis
Use Redis correctly for caching, sessions, queues, locks and counters — data-structure selection, TTL and eviction policy, cache-aside with stampede protection, atomic operations, persistence, clustering gotchas and security.
What it does
Use Redis correctly for caching, sessions, queues, locks and counters — data-structure selection, TTL and eviction policy, cache-aside with stampede protection, atomic operations, persistence, clustering gotchas and security.
- Category
- databasecachebackend
- Platforms
- backend
- Frameworks and tools
- redisvalkeyioredisredis-pygo-redis
- Capabilities
- architecturecode-generationreviewdebugging
Example tasks
- “Add a cache-aside layer in front of a slow product query with safe invalidation and stampede protection.”
- “Choose Redis data structures and persistence settings for sessions and a leaderboard.”
- “Diagnose a Redis instance that is running out of memory or blocking on slow commands.”
Works with
Recommended alongside
Used by
Permissions summary
Files
Reads files only
Shell
No shell commands
Network
No network
Permissions are declared in the component manifest and compiled into each client's tool list. Components are built for least privilege.
Supported environments
| Client | Support | Installed as |
|---|---|---|
| Claude Code | Native | .claude/skills/<id>/SKILL.md |
| OpenAI Codex | Adapter | .codex/skills/<id>/SKILL.md |
| Cursor | Adapter | .cursor/rules/<id>.mdc |
| VS Code (Copilot) | Adapter | .github/instructions/<id>.instructions.md |
| Generic markdown | Adapter | docs/forgekit/skills/<id>.md |
Claude Code is the native reference. Other clients use adapters, so behaviour is close but not identical. See the compatibility matrix.
Included in packs
What is inside
This is a premium component, so its prompt is delivered only through signed downloads to licensed accounts. Here is the outline of its sections (67 lines in total).
- 01Redis
- 021. Role decides configuration
- 032. Data structure selection
- 043. Keys and TTLs
- 054. Caching patterns
- 065. Atomicity, locks, scripts
- 076. Operations and client config
- 087. Security
- 09Common mistakes
Version and changelog
Latest version 1.0.0. Requires DevBuildKit CLI 1.0.0 or newer.
Changelog — Redis
1.0.0
- Initial release.