redis-development by redis/agent-skills
npx skills add https://github.com/redis/agent-skills --skill redis-development全面的 Redis 性能优化指南,涵盖 Redis 查询引擎、向量搜索和语义缓存。包含 11 个类别共 29 条规则,按影响优先级排序,以指导自动化优化和代码生成。
在以下情况下参考本指南:
| 优先级 | 类别 | 影响 | 前缀 |
|---|---|---|---|
| 1 | 数据结构与键 | 高 | data- |
| 2 | 内存与过期 | 高 | ram- |
| 3 | 连接与性能 | 高 |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
conn- |
| 4 | JSON 文档 | 中 | json- |
| 5 | Redis 查询引擎 | 高 | rqe- |
| 6 | 向量搜索与 RedisVL | 高 | vector- |
| 7 | 语义缓存 | 中 | semantic-cache- |
| 8 | 流与发布/订阅 | 中 | stream- |
| 9 | 集群与复制 | 中 | cluster- |
| 10 | 安全 | 高 | security- |
| 11 | 可观测性 | 中 | observe- |
data-choose-structure - 选择正确的数据结构data-key-naming - 使用一致的键命名规范ram-limits - 配置内存限制和淘汰策略ram-ttl - 为缓存键设置 TTLconn-blocking - 避免在生产环境中使用慢命令conn-pipelining - 对批量操作使用流水线conn-pooling - 使用连接池或多路复用conn-timeouts - 配置连接超时json-partial-updates - 使用 JSON 路径进行部分更新json-vs-hash - 根据场景选择 JSON 或 Hashrqe-dialect - 使用 DIALECT 2 作为查询语法rqe-field-types - 选择正确的字段类型rqe-index-creation - 仅索引需要查询的字段rqe-index-management - 管理索引以实现零停机更新rqe-query-optimization - 编写高效的查询vector-algorithm-choice - 根据需求选择 HNSW 或 FLAT 算法vector-hybrid-search - 使用混合搜索以获得更好结果vector-index-creation - 正确配置向量索引vector-rag-pattern - 正确实现 RAG 模式semantic-cache-best-practices - 正确配置语义缓存semantic-cache-langcache-usage - 使用 LangCache 缓存 LLM 响应stream-choosing-pattern - 根据场景选择流或发布/订阅cluster-hash-tags - 对多键操作使用哈希标签cluster-read-replicas - 对读密集型工作负载使用只读副本security-acls - 使用 ACL 进行细粒度访问控制security-auth - 生产环境务必启用身份验证security-network - 确保网络访问安全observe-commands - 使用可观测性命令进行调试observe-metrics - 监控关键的 Redis 指标阅读单独的规则文件以获取详细解释和代码示例:
rules/rqe-index-creation.md
rules/vector-rag-pattern.md
每个规则文件包含:
包含所有规则详细内容的完整指南:AGENTS.md
每周安装量
974
代码仓库
GitHub 星标数
37
首次出现
2026年1月31日
安全审计
安装于
codex826
opencode825
gemini-cli805
github-copilot799
kimi-cli764
cursor756
Comprehensive performance optimization guide for Redis, including Redis Query Engine, vector search, and semantic caching. Contains 29 rules across 11 categories, prioritized by impact to guide automated optimization and code generation.
Reference these guidelines when:
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Data Structures & Keys | HIGH | data- |
| 2 | Memory & Expiration | HIGH | ram- |
| 3 | Connection & Performance | HIGH | conn- |
| 4 | JSON Documents | MEDIUM | json- |
| 5 | Redis Query Engine | HIGH | rqe- |
| 6 | Vector Search & RedisVL | HIGH | vector- |
| 7 | Semantic Caching | MEDIUM | semantic-cache- |
| 8 | Streams & Pub/Sub | MEDIUM | stream- |
| 9 | Clustering & Replication | MEDIUM | cluster- |
| 10 | Security | HIGH | security- |
| 11 | Observability | MEDIUM | observe- |
data-choose-structure - Choose the Right Data Structuredata-key-naming - Use Consistent Key Naming Conventionsram-limits - Configure Memory Limits and Eviction Policiesram-ttl - Set TTL on Cache Keysconn-blocking - Avoid Slow Commands in Productionconn-pipelining - Use Pipelining for Bulk Operationsconn-pooling - Use Connection Pooling or Multiplexingconn-timeouts - Configure Connection Timeoutsjson-partial-updates - Use JSON Paths for Partial Updatesjson-vs-hash - Choose JSON vs Hash Appropriatelyrqe-dialect - Use DIALECT 2 for Query Syntaxrqe-field-types - Choose the Correct Field Typerqe-index-creation - Index Only Fields You Queryrqe-index-management - Manage Indexes for Zero-Downtime Updatesrqe-query-optimization - Write Efficient Queriesvector-algorithm-choice - Choose HNSW vs FLAT Based on Requirementsvector-hybrid-search - Use Hybrid Search for Better Resultsvector-index-creation - Configure Vector Indexes Properlyvector-rag-pattern - Implement RAG Pattern Correctlysemantic-cache-best-practices - Configure Semantic Cache Properlysemantic-cache-langcache-usage - Use LangCache for LLM Response Cachingstream-choosing-pattern - Choose Streams vs Pub/Sub Appropriatelycluster-hash-tags - Use Hash Tags for Multi-Key Operationscluster-read-replicas - Use Read Replicas for Read-Heavy Workloadssecurity-acls - Use ACLs for Fine-Grained Access Controlsecurity-auth - Always Use Authentication in Productionsecurity-network - Secure Network Accessobserve-commands - Use Observability Commands for Debuggingobserve-metrics - Monitor Key Redis MetricsRead individual rule files for detailed explanations and code examples:
rules/rqe-index-creation.md
rules/vector-rag-pattern.md
Each rule file contains:
For the complete guide with all rules expanded: AGENTS.md
Weekly Installs
974
Repository
GitHub Stars
37
First Seen
Jan 31, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
codex826
opencode825
gemini-cli805
github-copilot799
kimi-cli764
cursor756
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
102,200 周安装
Grimoire CLI 使用指南:区块链法术编写、验证与执行全流程
940 周安装
Grimoire Uniswap 技能:查询 Uniswap 元数据与生成代币/资金池快照的 CLI 工具
940 周安装
Grimoire Aave 技能:查询 Aave V3 元数据和储备快照的 CLI 工具
941 周安装
Railway CLI 部署指南:使用 railway up 命令快速部署代码到 Railway 平台
942 周安装
n8n Python 代码节点使用指南:在自动化工作流中编写 Python 脚本
943 周安装
Flutter Platform Views 实现指南:Android/iOS/macOS原生视图与Web嵌入教程
943 周安装