redis
Redis — data structures, caching patterns, pub/sub, Redis Stack, Lua scripting.
от skeletorflet★ 48 звёзд на GitHub
Установить redis в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
redis
Data Structures
- Strings:
SET key value,GET key,INCR,SETEXwith TTL. - Lists:
LPUSH,RPUSH,LPOP,LRANGEfor queues. - Hashes:
HSET,HGETALL,HINCRBYfor objects. - Sets:
SADD,SMEMBERS,SINTER,SUNIONfor relationships. - Sorted Sets:
ZADD,ZRANGE,ZRANK,ZREVRANGEfor leaderboards. - Streams:
XADD,XREAD,XREADGROUP,XACKfor event sourcing.
Caching Patterns
- Cache-aside: app checks cache first, falls back to DB, writes to cache.
- Write-through: app writes to cache first, cache syncs to DB.
- Write-behind: async batch write to DB for high throughput.
- Use
SET NXfor distributed locks;EXPIRE/TTLfor auto-eviction. - Eviction policies: LRU, LFU, TTL, random, noeviction.
Pub/Sub
PUBLISH channel message— fire-and-forget messaging.SUBSCRIBE channel/PSUBSCRIBE pattern*for pattern subscriptions.- Use Redis Streams instead for persistent message delivery.
Redis Stack
FT.CREATE idx ON hash PREFIX 1 "doc:" SCHEMA title TEXT WEIGHT 5.0— RediSearch.JSON.SET,JSON.GET— native JSON document store.TS.CREATE,TS.ADD— time-series data with retention policies.GRAPH.QUERY— property graph queries with Cypher syntax.
Lua Scripting
EVAL "return redis.call('GET', KEYS[1])" 1 key— atomic server-side scripts.SCRIPT LOAD+EVALSHAfor cached script execution.
RedisInsight
- GUI: key browser, profiler, slow log analyzer, cluster topology.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл redis?
Redis — data structures, caching patterns, pub/sub, Redis Stack, Lua scripting.
Как установить скилл redis?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл redis запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…