redis-best-practices

Redis performance optimization and best practices. Use this skill when working with Redis data structures, Redis Query Engine (RQE), vector search with RedisVL, semantic caching with LangCache, or optimizing Redis performance.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "redis-best-practices" with this command: npx skills add simba-git/redis-best-practices/simba-git-redis-best-practices-redis-best-practices

Redis Best Practices

Comprehensive performance optimization guide for Redis, including Redis Query Engine, vector search, and semantic caching. Contains rules across 11 categories, prioritized by impact to guide automated optimization and code generation.

When to Apply

Reference these guidelines when:

  • Designing Redis data models and key structures
  • Implementing caching, sessions, or real-time features
  • Using Redis Query Engine (FT.CREATE, FT.SEARCH, FT.AGGREGATE)
  • Building vector search or RAG applications with RedisVL
  • Implementing semantic caching with LangCache
  • Optimizing Redis performance and memory usage

Rule Categories by Priority

PriorityCategoryImpactPrefix
1Data Structures & KeysHIGHdata-
2Memory & ExpirationHIGHram-
3Connection & PerformanceHIGHconn-
4JSON DocumentsMEDIUMjson-
5Redis Query EngineHIGHrqe-
6Vector Search & RedisVLHIGHvector-
7Semantic CachingMEDIUMsemantic-cache-
8Streams & Pub/SubMEDIUMstream-
9Clustering & ReplicationMEDIUMcluster-
10SecurityHIGHsecurity-
11ObservabilityMEDIUMobserve-

How to Use

Read individual rule files for detailed explanations and code examples:

rules/rqe-index-creation.md
rules/vector-rag-pattern.md

Each rule file contains:

  • Brief explanation of why it matters
  • Avoid example with explanation
  • Recommended example with explanation
  • Additional context and references

Full Compiled Document

For the complete guide with all rules expanded: AGENTS.md

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

redis-best-practices

No summary provided by upstream source.

Repository SourceNeeds Review
General

image-gen

Generate AI images from text prompts. Triggers on: "生成图片", "画一张", "AI图", "generate image", "配图", "create picture", "draw", "visualize", "generate an image".

Archived SourceRecently Updated
General

explainer

Create explainer videos with narration and AI-generated visuals. Triggers on: "解说视频", "explainer video", "explain this as a video", "tutorial video", "introduce X (video)", "解释一下XX(视频形式)".

Archived SourceRecently Updated