[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-jetbrains-redis-best-practices":3,"mdc-ry93hl-key":35,"related-org-jetbrains-redis-best-practices":1034,"related-repo-jetbrains-redis-best-practices":1165},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":25,"repoUrl":26,"updatedAt":27,"license":28,"forks":29,"topics":30,"repo":31,"sourceUrl":33,"mdContent":34},"redis-best-practices","implement Redis best practices","Redis policy & pitfalls — key naming, atomicity, TTL strategy, distributed locks, cache patterns, production traps. Use when designing Redis-backed caches, locks, queues, rate limiters, or sessions. Covers the traps LLMs get wrong by default: SETNX + EX (deprecated), KEYS on production, Pub\u002FSub no-persistence, HGETALL on big hashes, maxmemory-policy defaults, cluster hash tags, RDB fork memory.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},"jetbrains","JetBrains","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fjetbrains.png",[12,16,19,22],{"name":13,"slug":14,"type":15},"Performance","performance","tag",{"name":17,"slug":18,"type":15},"Database","database",{"name":20,"slug":21,"type":15},"Engineering","engineering",{"name":23,"slug":24,"type":15},"Redis","redis",18,"https:\u002F\u002Fgithub.com\u002FJetBrains\u002Fjunie-extensions","2026-07-13T06:45:48.502742",null,1,[],{"repoUrl":26,"stars":25,"forks":29,"topics":32,"description":28},[],"https:\u002F\u002Fgithub.com\u002FJetBrains\u002Fjunie-extensions\u002Ftree\u002FHEAD\u002Fextensions\u002Fredis-engineer\u002Fskills\u002Fredis-best-practices","---\nname: \"redis-best-practices\"\ndescription: \"Redis policy & pitfalls — key naming, atomicity, TTL strategy, distributed locks, cache patterns, production traps. Use when designing Redis-backed caches, locks, queues, rate limiters, or sessions. Covers the traps LLMs get wrong by default: SETNX + EX (deprecated), KEYS on production, Pub\u002FSub no-persistence, HGETALL on big hashes, maxmemory-policy defaults, cluster hash tags, RDB fork memory.\"\n---\n\n# Redis — policy & pitfalls\n\nBaseline Redis knowledge (strings, hashes, lists, sets, sorted sets, streams, pub\u002Fsub, TTL, MULTI\u002FEXEC, basic replication) is assumed. This skill encodes the operational policy and the traps that keep showing up in production — the parts LLMs miss by default.\n\n## Setup Check (run first)\n\nBefore writing non-trivial Redis code:\n\n1. **Connection & topology** — standalone, replicated (Sentinel), or Cluster? Cluster changes multi-key commands rules (hash tags required). Check `INFO replication` and `CLUSTER INFO` if unsure.\n2. **Redis version** — `KEEPTTL` in `SET` requires 6.0+; `COPY`, `GETEX`, `LPOS`, `ZADD GT\u002FLT`, `XADD MINID` require 6.2+; functions require 7.0+; sharded Pub\u002FSub (`SPUBLISH`\u002F`SSUBSCRIBE`) requires 7.0+. `INFO server | grep redis_version`.\n   > **Redis 8 note**: Redis 8 unified Redis Community with Redis Stack — JSON, Search, TimeSeries, Bloom filters are now built-in, not add-ons. If running Redis 8+, these data types are available by default. All patterns in this skill apply equally to Redis 7.x and 8.x.\n3. **`maxmemory` + `maxmemory-policy`** — `CONFIG GET maxmemory-policy`. Default `noeviction` → writes fail when full. Caches should be `allkeys-lru` \u002F `allkeys-lfu`. Mixed (cache + durable data) → `volatile-lru` + TTL on cached keys only.\n4. **Persistence mode** — RDB, AOF, both, or none. Affects restart semantics, fork memory, fsync latency. `CONFIG GET save` + `CONFIG GET appendonly`.\n5. **Client library** — connection pooling configured? Sensible `socket_timeout` and `retry_on_error`? A lazy `redis.Redis()` with no pool is a production incident waiting to happen.\n\n## MUST DO\n\n- **Atomic lock acquisition**: `SET lock:\u003Cresource> \u003Cowner-token> NX EX \u003Cseconds>` — one round trip, atomic. Use a random token for the owner so release is safe.\n- **Safe lock release via Lua** (compare-and-delete) — not raw `DEL`:\n  ```lua\n  if redis.call(\"GET\", KEYS[1]) == ARGV[1] then\n      return redis.call(\"DEL\", KEYS[1])\n  end\n  return 0\n  ```\n  Plain `DEL` would delete someone else's lock after your TTL expired.\n- **`SCAN` for iteration** — never `KEYS *` on a production instance. `SCAN` is cursor-based, non-blocking, returns approximate matches per call.\n- **TTL on every cache key** — set at write time (`SET ... EX`, `SETEX`, `EXPIRE`). A key without TTL lives forever and fills memory.\n- **Jitter TTL** — `base + random(0, base * 0.1)` to avoid thundering herd when many keys expire simultaneously.\n- **Keyspace naming**: `\u003Cservice>:\u003Centity>:\u003Cid>[:\u003Cfield>]`, colon-separated, ASCII, short but readable. Consistent prefixes enable observability and safe bulk operations.\n- **Pipelining for batches of independent commands** — one round trip, N commands. Distinct from transactions.\n- **Idempotent writes** — `SET key value` always wins; `HSET k f v` overwrites field. `INCR` is idempotent per-command, not per-retry — combine with a dedup key if at-most-once matters.\n\n## MUST NOT DO\n\n- **`SETNX` + `EXPIRE` as two commands.** If the client dies between them, the key lives forever (lock leak). Always `SET ... NX EX`. The old `SETNX` command has **no `EX` option** — writing `SETNX key val EX 30` is a syntax error.\n- **`KEYS *` \u002F `KEYS pattern` in production.** O(N) over the entire keyspace, blocks the server. Use `SCAN` with `MATCH` + `COUNT`.\n- **`HGETALL` on large hashes** (thousands of fields) — single-blocking O(N). Use `HSCAN`, or redesign (split the hash, store separate keys).\n- **Multi-key commands across cluster slots without hash tags.** `MGET k1 k2` across shards returns `CROSSSLOT`. Force co-location with hash tags: `{user:42}:profile`, `{user:42}:settings`.\n- **`EXPIRE` on a non-existent key** — silently returns 0. Check the path: some code sets TTL before insert.\n- **`FLUSHDB` \u002F `FLUSHALL` \u002F `CONFIG RESETSTAT` unprotected.** Rename (`rename-command FLUSHALL \"\"` in redis.conf) or ACL-restrict these in production.\n- **Pub\u002FSub as a message queue.** Pub\u002FSub is fire-and-forget — offline subscribers miss messages, no ACKs, no replay. Use Streams (`XADD` + consumer groups) for at-least-once delivery.\n- **Storing huge blobs** (>100 KB per value). Redis is a RAM database; every replica \u002F snapshot duplicates them. Use object storage + Redis for metadata.\n- **Treating Redis transactions as RDBMS transactions.** `MULTI\u002FEXEC` gives atomicity + isolation for the batch, but commands inside the block are queued without intermediate reads (use `WATCH` for optimistic locking). Errors in a command don't roll back others — syntactically invalid commands abort the batch; runtime errors let the rest execute.\n- **Blocking commands** (`BLPOP`, `BRPOP`, `XREAD BLOCK`) on a shared connection — they tie up the whole connection for their timeout. Use a dedicated connection \u002F pool for blockers.\n- **Caching with `maxmemory-policy=noeviction`** — writes will fail with `OOM` when memory fills. Default of bare Redis; explicitly set `allkeys-lru` or `allkeys-lfu` for cache workloads.\n- **Using MULTI\u002FEXEC in a cluster across slots** — same `CROSSSLOT` rule; hash-tag co-locate or restructure.\n\n## Reference Guide\n\nAll extended patterns (data-structure trade-offs, lock correctness levels, cache stampede mitigation, cluster hash-tags, persistence & eviction details, observability) live in a single file: **`references\u002Fpitfalls.md`**. Load it when the task goes beyond the MUST rules above.\n\n## Output Format\n\nWhen producing Redis code:\n\n1. Short plan (1–3 bullets) — what keys \u002F data structures \u002F TTLs \u002F atomicity guarantees are involved.\n2. Commands or client code. Use language-agnostic Redis commands when the caller is unspecified.\n3. For writes: state the eviction \u002F TTL \u002F persistence implications (e.g. \"adds ~200 keys\u002Fmin, TTL 1h, fits in `allkeys-lru` cache\").\n4. For multi-step atomic operations: state whether it's `SET NX`, `MULTI\u002FEXEC + WATCH`, or Lua, and why.\n5. Cluster-aware: if multi-key, show hash tags.\n\nWhen reviewing Redis code: call out MUST-DO \u002F MUST-NOT violations, especially missing TTL, non-atomic lock acquire\u002Frelease, `KEYS` usage, and Pub\u002FSub used as a queue.\n",{"data":36,"body":37},{"name":4,"description":6},{"type":38,"children":39},"root",[40,49,55,62,67,320,326,563,569,932,938,954,960,965,1015,1028],{"type":41,"tag":42,"props":43,"children":45},"element","h1",{"id":44},"redis-policy-pitfalls",[46],{"type":47,"value":48},"text","Redis — policy & pitfalls",{"type":41,"tag":50,"props":51,"children":52},"p",{},[53],{"type":47,"value":54},"Baseline Redis knowledge (strings, hashes, lists, sets, sorted sets, streams, pub\u002Fsub, TTL, MULTI\u002FEXEC, basic replication) is assumed. This skill encodes the operational policy and the traps that keep showing up in production — the parts LLMs miss by default.",{"type":41,"tag":56,"props":57,"children":59},"h2",{"id":58},"setup-check-run-first",[60],{"type":47,"value":61},"Setup Check (run first)",{"type":41,"tag":50,"props":63,"children":64},{},[65],{"type":47,"value":66},"Before writing non-trivial Redis code:",{"type":41,"tag":68,"props":69,"children":70},"ol",{},[71,100,201,262,287],{"type":41,"tag":72,"props":73,"children":74},"li",{},[75,81,83,90,92,98],{"type":41,"tag":76,"props":77,"children":78},"strong",{},[79],{"type":47,"value":80},"Connection & topology",{"type":47,"value":82}," — standalone, replicated (Sentinel), or Cluster? Cluster changes multi-key commands rules (hash tags required). Check ",{"type":41,"tag":84,"props":85,"children":87},"code",{"className":86},[],[88],{"type":47,"value":89},"INFO replication",{"type":47,"value":91}," and ",{"type":41,"tag":84,"props":93,"children":95},{"className":94},[],[96],{"type":47,"value":97},"CLUSTER INFO",{"type":47,"value":99}," if unsure.",{"type":41,"tag":72,"props":101,"children":102},{},[103,108,110,116,118,124,126,132,134,140,141,147,148,154,155,161,163,169,171,177,179,185,187],{"type":41,"tag":76,"props":104,"children":105},{},[106],{"type":47,"value":107},"Redis version",{"type":47,"value":109}," — ",{"type":41,"tag":84,"props":111,"children":113},{"className":112},[],[114],{"type":47,"value":115},"KEEPTTL",{"type":47,"value":117}," in ",{"type":41,"tag":84,"props":119,"children":121},{"className":120},[],[122],{"type":47,"value":123},"SET",{"type":47,"value":125}," requires 6.0+; ",{"type":41,"tag":84,"props":127,"children":129},{"className":128},[],[130],{"type":47,"value":131},"COPY",{"type":47,"value":133},", ",{"type":41,"tag":84,"props":135,"children":137},{"className":136},[],[138],{"type":47,"value":139},"GETEX",{"type":47,"value":133},{"type":41,"tag":84,"props":142,"children":144},{"className":143},[],[145],{"type":47,"value":146},"LPOS",{"type":47,"value":133},{"type":41,"tag":84,"props":149,"children":151},{"className":150},[],[152],{"type":47,"value":153},"ZADD GT\u002FLT",{"type":47,"value":133},{"type":41,"tag":84,"props":156,"children":158},{"className":157},[],[159],{"type":47,"value":160},"XADD MINID",{"type":47,"value":162}," require 6.2+; functions require 7.0+; sharded Pub\u002FSub (",{"type":41,"tag":84,"props":164,"children":166},{"className":165},[],[167],{"type":47,"value":168},"SPUBLISH",{"type":47,"value":170},"\u002F",{"type":41,"tag":84,"props":172,"children":174},{"className":173},[],[175],{"type":47,"value":176},"SSUBSCRIBE",{"type":47,"value":178},") requires 7.0+. ",{"type":41,"tag":84,"props":180,"children":182},{"className":181},[],[183],{"type":47,"value":184},"INFO server | grep redis_version",{"type":47,"value":186},".\n",{"type":41,"tag":188,"props":189,"children":190},"blockquote",{},[191],{"type":41,"tag":50,"props":192,"children":193},{},[194,199],{"type":41,"tag":76,"props":195,"children":196},{},[197],{"type":47,"value":198},"Redis 8 note",{"type":47,"value":200},": Redis 8 unified Redis Community with Redis Stack — JSON, Search, TimeSeries, Bloom filters are now built-in, not add-ons. If running Redis 8+, these data types are available by default. All patterns in this skill apply equally to Redis 7.x and 8.x.",{"type":41,"tag":72,"props":202,"children":203},{},[204,221,222,228,230,236,238,244,246,252,254,260],{"type":41,"tag":76,"props":205,"children":206},{},[207,213,215],{"type":41,"tag":84,"props":208,"children":210},{"className":209},[],[211],{"type":47,"value":212},"maxmemory",{"type":47,"value":214}," + ",{"type":41,"tag":84,"props":216,"children":218},{"className":217},[],[219],{"type":47,"value":220},"maxmemory-policy",{"type":47,"value":109},{"type":41,"tag":84,"props":223,"children":225},{"className":224},[],[226],{"type":47,"value":227},"CONFIG GET maxmemory-policy",{"type":47,"value":229},". Default ",{"type":41,"tag":84,"props":231,"children":233},{"className":232},[],[234],{"type":47,"value":235},"noeviction",{"type":47,"value":237}," → writes fail when full. Caches should be ",{"type":41,"tag":84,"props":239,"children":241},{"className":240},[],[242],{"type":47,"value":243},"allkeys-lru",{"type":47,"value":245}," \u002F ",{"type":41,"tag":84,"props":247,"children":249},{"className":248},[],[250],{"type":47,"value":251},"allkeys-lfu",{"type":47,"value":253},". Mixed (cache + durable data) → ",{"type":41,"tag":84,"props":255,"children":257},{"className":256},[],[258],{"type":47,"value":259},"volatile-lru",{"type":47,"value":261}," + TTL on cached keys only.",{"type":41,"tag":72,"props":263,"children":264},{},[265,270,272,278,279,285],{"type":41,"tag":76,"props":266,"children":267},{},[268],{"type":47,"value":269},"Persistence mode",{"type":47,"value":271}," — RDB, AOF, both, or none. Affects restart semantics, fork memory, fsync latency. ",{"type":41,"tag":84,"props":273,"children":275},{"className":274},[],[276],{"type":47,"value":277},"CONFIG GET save",{"type":47,"value":214},{"type":41,"tag":84,"props":280,"children":282},{"className":281},[],[283],{"type":47,"value":284},"CONFIG GET appendonly",{"type":47,"value":286},".",{"type":41,"tag":72,"props":288,"children":289},{},[290,295,297,303,304,310,312,318],{"type":41,"tag":76,"props":291,"children":292},{},[293],{"type":47,"value":294},"Client library",{"type":47,"value":296}," — connection pooling configured? Sensible ",{"type":41,"tag":84,"props":298,"children":300},{"className":299},[],[301],{"type":47,"value":302},"socket_timeout",{"type":47,"value":91},{"type":41,"tag":84,"props":305,"children":307},{"className":306},[],[308],{"type":47,"value":309},"retry_on_error",{"type":47,"value":311},"? A lazy ",{"type":41,"tag":84,"props":313,"children":315},{"className":314},[],[316],{"type":47,"value":317},"redis.Redis()",{"type":47,"value":319}," with no pool is a production incident waiting to happen.",{"type":41,"tag":56,"props":321,"children":323},{"id":322},"must-do",[324],{"type":47,"value":325},"MUST DO",{"type":41,"tag":327,"props":328,"children":329},"ul",{},[330,348,423,454,486,503,520,530],{"type":41,"tag":72,"props":331,"children":332},{},[333,338,340,346],{"type":41,"tag":76,"props":334,"children":335},{},[336],{"type":47,"value":337},"Atomic lock acquisition",{"type":47,"value":339},": ",{"type":41,"tag":84,"props":341,"children":343},{"className":342},[],[344],{"type":47,"value":345},"SET lock:\u003Cresource> \u003Cowner-token> NX EX \u003Cseconds>",{"type":47,"value":347}," — one round trip, atomic. Use a random token for the owner so release is safe.",{"type":41,"tag":72,"props":349,"children":350},{},[351,356,358,364,366,414,416,421],{"type":41,"tag":76,"props":352,"children":353},{},[354],{"type":47,"value":355},"Safe lock release via Lua",{"type":47,"value":357}," (compare-and-delete) — not raw ",{"type":41,"tag":84,"props":359,"children":361},{"className":360},[],[362],{"type":47,"value":363},"DEL",{"type":47,"value":365},":\n",{"type":41,"tag":367,"props":368,"children":373},"pre",{"className":369,"code":370,"language":371,"meta":372,"style":372},"language-lua shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","if redis.call(\"GET\", KEYS[1]) == ARGV[1] then\n    return redis.call(\"DEL\", KEYS[1])\nend\nreturn 0\n","lua","",[374],{"type":41,"tag":84,"props":375,"children":376},{"__ignoreMap":372},[377,387,396,405],{"type":41,"tag":378,"props":379,"children":381},"span",{"class":380,"line":29},"line",[382],{"type":41,"tag":378,"props":383,"children":384},{},[385],{"type":47,"value":386},"if redis.call(\"GET\", KEYS[1]) == ARGV[1] then\n",{"type":41,"tag":378,"props":388,"children":390},{"class":380,"line":389},2,[391],{"type":41,"tag":378,"props":392,"children":393},{},[394],{"type":47,"value":395},"    return redis.call(\"DEL\", KEYS[1])\n",{"type":41,"tag":378,"props":397,"children":399},{"class":380,"line":398},3,[400],{"type":41,"tag":378,"props":401,"children":402},{},[403],{"type":47,"value":404},"end\n",{"type":41,"tag":378,"props":406,"children":408},{"class":380,"line":407},4,[409],{"type":41,"tag":378,"props":410,"children":411},{},[412],{"type":47,"value":413},"return 0\n",{"type":47,"value":415},"\nPlain ",{"type":41,"tag":84,"props":417,"children":419},{"className":418},[],[420],{"type":47,"value":363},{"type":47,"value":422}," would delete someone else's lock after your TTL expired.",{"type":41,"tag":72,"props":424,"children":425},{},[426,437,439,445,447,452],{"type":41,"tag":76,"props":427,"children":428},{},[429,435],{"type":41,"tag":84,"props":430,"children":432},{"className":431},[],[433],{"type":47,"value":434},"SCAN",{"type":47,"value":436}," for iteration",{"type":47,"value":438}," — never ",{"type":41,"tag":84,"props":440,"children":442},{"className":441},[],[443],{"type":47,"value":444},"KEYS *",{"type":47,"value":446}," on a production instance. ",{"type":41,"tag":84,"props":448,"children":450},{"className":449},[],[451],{"type":47,"value":434},{"type":47,"value":453}," is cursor-based, non-blocking, returns approximate matches per call.",{"type":41,"tag":72,"props":455,"children":456},{},[457,462,464,470,471,477,478,484],{"type":41,"tag":76,"props":458,"children":459},{},[460],{"type":47,"value":461},"TTL on every cache key",{"type":47,"value":463}," — set at write time (",{"type":41,"tag":84,"props":465,"children":467},{"className":466},[],[468],{"type":47,"value":469},"SET ... EX",{"type":47,"value":133},{"type":41,"tag":84,"props":472,"children":474},{"className":473},[],[475],{"type":47,"value":476},"SETEX",{"type":47,"value":133},{"type":41,"tag":84,"props":479,"children":481},{"className":480},[],[482],{"type":47,"value":483},"EXPIRE",{"type":47,"value":485},"). A key without TTL lives forever and fills memory.",{"type":41,"tag":72,"props":487,"children":488},{},[489,494,495,501],{"type":41,"tag":76,"props":490,"children":491},{},[492],{"type":47,"value":493},"Jitter TTL",{"type":47,"value":109},{"type":41,"tag":84,"props":496,"children":498},{"className":497},[],[499],{"type":47,"value":500},"base + random(0, base * 0.1)",{"type":47,"value":502}," to avoid thundering herd when many keys expire simultaneously.",{"type":41,"tag":72,"props":504,"children":505},{},[506,511,512,518],{"type":41,"tag":76,"props":507,"children":508},{},[509],{"type":47,"value":510},"Keyspace naming",{"type":47,"value":339},{"type":41,"tag":84,"props":513,"children":515},{"className":514},[],[516],{"type":47,"value":517},"\u003Cservice>:\u003Centity>:\u003Cid>[:\u003Cfield>]",{"type":47,"value":519},", colon-separated, ASCII, short but readable. Consistent prefixes enable observability and safe bulk operations.",{"type":41,"tag":72,"props":521,"children":522},{},[523,528],{"type":41,"tag":76,"props":524,"children":525},{},[526],{"type":47,"value":527},"Pipelining for batches of independent commands",{"type":47,"value":529}," — one round trip, N commands. Distinct from transactions.",{"type":41,"tag":72,"props":531,"children":532},{},[533,538,539,545,547,553,555,561],{"type":41,"tag":76,"props":534,"children":535},{},[536],{"type":47,"value":537},"Idempotent writes",{"type":47,"value":109},{"type":41,"tag":84,"props":540,"children":542},{"className":541},[],[543],{"type":47,"value":544},"SET key value",{"type":47,"value":546}," always wins; ",{"type":41,"tag":84,"props":548,"children":550},{"className":549},[],[551],{"type":47,"value":552},"HSET k f v",{"type":47,"value":554}," overwrites field. ",{"type":41,"tag":84,"props":556,"children":558},{"className":557},[],[559],{"type":47,"value":560},"INCR",{"type":47,"value":562}," is idempotent per-command, not per-retry — combine with a dedup key if at-most-once matters.",{"type":41,"tag":56,"props":564,"children":566},{"id":565},"must-not-do",[567],{"type":47,"value":568},"MUST NOT DO",{"type":41,"tag":327,"props":570,"children":571},{},[572,632,675,699,739,754,792,810,820,845,877,915],{"type":41,"tag":72,"props":573,"children":574},{},[575,592,594,600,602,607,609,622,624,630],{"type":41,"tag":76,"props":576,"children":577},{},[578,584,585,590],{"type":41,"tag":84,"props":579,"children":581},{"className":580},[],[582],{"type":47,"value":583},"SETNX",{"type":47,"value":214},{"type":41,"tag":84,"props":586,"children":588},{"className":587},[],[589],{"type":47,"value":483},{"type":47,"value":591}," as two commands.",{"type":47,"value":593}," If the client dies between them, the key lives forever (lock leak). Always ",{"type":41,"tag":84,"props":595,"children":597},{"className":596},[],[598],{"type":47,"value":599},"SET ... NX EX",{"type":47,"value":601},". The old ",{"type":41,"tag":84,"props":603,"children":605},{"className":604},[],[606],{"type":47,"value":583},{"type":47,"value":608}," command has ",{"type":41,"tag":76,"props":610,"children":611},{},[612,614,620],{"type":47,"value":613},"no ",{"type":41,"tag":84,"props":615,"children":617},{"className":616},[],[618],{"type":47,"value":619},"EX",{"type":47,"value":621}," option",{"type":47,"value":623}," — writing ",{"type":41,"tag":84,"props":625,"children":627},{"className":626},[],[628],{"type":47,"value":629},"SETNX key val EX 30",{"type":47,"value":631}," is a syntax error.",{"type":41,"tag":72,"props":633,"children":634},{},[635,652,654,659,661,667,668,674],{"type":41,"tag":76,"props":636,"children":637},{},[638,643,644,650],{"type":41,"tag":84,"props":639,"children":641},{"className":640},[],[642],{"type":47,"value":444},{"type":47,"value":245},{"type":41,"tag":84,"props":645,"children":647},{"className":646},[],[648],{"type":47,"value":649},"KEYS pattern",{"type":47,"value":651}," in production.",{"type":47,"value":653}," O(N) over the entire keyspace, blocks the server. Use ",{"type":41,"tag":84,"props":655,"children":657},{"className":656},[],[658],{"type":47,"value":434},{"type":47,"value":660}," with ",{"type":41,"tag":84,"props":662,"children":664},{"className":663},[],[665],{"type":47,"value":666},"MATCH",{"type":47,"value":214},{"type":41,"tag":84,"props":669,"children":671},{"className":670},[],[672],{"type":47,"value":673},"COUNT",{"type":47,"value":286},{"type":41,"tag":72,"props":676,"children":677},{},[678,689,691,697],{"type":41,"tag":76,"props":679,"children":680},{},[681,687],{"type":41,"tag":84,"props":682,"children":684},{"className":683},[],[685],{"type":47,"value":686},"HGETALL",{"type":47,"value":688}," on large hashes",{"type":47,"value":690}," (thousands of fields) — single-blocking O(N). Use ",{"type":41,"tag":84,"props":692,"children":694},{"className":693},[],[695],{"type":47,"value":696},"HSCAN",{"type":47,"value":698},", or redesign (split the hash, store separate keys).",{"type":41,"tag":72,"props":700,"children":701},{},[702,707,709,715,717,723,725,731,732,738],{"type":41,"tag":76,"props":703,"children":704},{},[705],{"type":47,"value":706},"Multi-key commands across cluster slots without hash tags.",{"type":47,"value":708}," ",{"type":41,"tag":84,"props":710,"children":712},{"className":711},[],[713],{"type":47,"value":714},"MGET k1 k2",{"type":47,"value":716}," across shards returns ",{"type":41,"tag":84,"props":718,"children":720},{"className":719},[],[721],{"type":47,"value":722},"CROSSSLOT",{"type":47,"value":724},". Force co-location with hash tags: ",{"type":41,"tag":84,"props":726,"children":728},{"className":727},[],[729],{"type":47,"value":730},"{user:42}:profile",{"type":47,"value":133},{"type":41,"tag":84,"props":733,"children":735},{"className":734},[],[736],{"type":47,"value":737},"{user:42}:settings",{"type":47,"value":286},{"type":41,"tag":72,"props":740,"children":741},{},[742,752],{"type":41,"tag":76,"props":743,"children":744},{},[745,750],{"type":41,"tag":84,"props":746,"children":748},{"className":747},[],[749],{"type":47,"value":483},{"type":47,"value":751}," on a non-existent key",{"type":47,"value":753}," — silently returns 0. Check the path: some code sets TTL before insert.",{"type":41,"tag":72,"props":755,"children":756},{},[757,782,784,790],{"type":41,"tag":76,"props":758,"children":759},{},[760,766,767,773,774,780],{"type":41,"tag":84,"props":761,"children":763},{"className":762},[],[764],{"type":47,"value":765},"FLUSHDB",{"type":47,"value":245},{"type":41,"tag":84,"props":768,"children":770},{"className":769},[],[771],{"type":47,"value":772},"FLUSHALL",{"type":47,"value":245},{"type":41,"tag":84,"props":775,"children":777},{"className":776},[],[778],{"type":47,"value":779},"CONFIG RESETSTAT",{"type":47,"value":781}," unprotected.",{"type":47,"value":783}," Rename (",{"type":41,"tag":84,"props":785,"children":787},{"className":786},[],[788],{"type":47,"value":789},"rename-command FLUSHALL \"\"",{"type":47,"value":791}," in redis.conf) or ACL-restrict these in production.",{"type":41,"tag":72,"props":793,"children":794},{},[795,800,802,808],{"type":41,"tag":76,"props":796,"children":797},{},[798],{"type":47,"value":799},"Pub\u002FSub as a message queue.",{"type":47,"value":801}," Pub\u002FSub is fire-and-forget — offline subscribers miss messages, no ACKs, no replay. Use Streams (",{"type":41,"tag":84,"props":803,"children":805},{"className":804},[],[806],{"type":47,"value":807},"XADD",{"type":47,"value":809}," + consumer groups) for at-least-once delivery.",{"type":41,"tag":72,"props":811,"children":812},{},[813,818],{"type":41,"tag":76,"props":814,"children":815},{},[816],{"type":47,"value":817},"Storing huge blobs",{"type":47,"value":819}," (>100 KB per value). Redis is a RAM database; every replica \u002F snapshot duplicates them. Use object storage + Redis for metadata.",{"type":41,"tag":72,"props":821,"children":822},{},[823,828,829,835,837,843],{"type":41,"tag":76,"props":824,"children":825},{},[826],{"type":47,"value":827},"Treating Redis transactions as RDBMS transactions.",{"type":47,"value":708},{"type":41,"tag":84,"props":830,"children":832},{"className":831},[],[833],{"type":47,"value":834},"MULTI\u002FEXEC",{"type":47,"value":836}," gives atomicity + isolation for the batch, but commands inside the block are queued without intermediate reads (use ",{"type":41,"tag":84,"props":838,"children":840},{"className":839},[],[841],{"type":47,"value":842},"WATCH",{"type":47,"value":844}," for optimistic locking). Errors in a command don't roll back others — syntactically invalid commands abort the batch; runtime errors let the rest execute.",{"type":41,"tag":72,"props":846,"children":847},{},[848,853,855,861,862,868,869,875],{"type":41,"tag":76,"props":849,"children":850},{},[851],{"type":47,"value":852},"Blocking commands",{"type":47,"value":854}," (",{"type":41,"tag":84,"props":856,"children":858},{"className":857},[],[859],{"type":47,"value":860},"BLPOP",{"type":47,"value":133},{"type":41,"tag":84,"props":863,"children":865},{"className":864},[],[866],{"type":47,"value":867},"BRPOP",{"type":47,"value":133},{"type":41,"tag":84,"props":870,"children":872},{"className":871},[],[873],{"type":47,"value":874},"XREAD BLOCK",{"type":47,"value":876},") on a shared connection — they tie up the whole connection for their timeout. Use a dedicated connection \u002F pool for blockers.",{"type":41,"tag":72,"props":878,"children":879},{},[880,891,893,899,901,906,908,913],{"type":41,"tag":76,"props":881,"children":882},{},[883,885],{"type":47,"value":884},"Caching with ",{"type":41,"tag":84,"props":886,"children":888},{"className":887},[],[889],{"type":47,"value":890},"maxmemory-policy=noeviction",{"type":47,"value":892}," — writes will fail with ",{"type":41,"tag":84,"props":894,"children":896},{"className":895},[],[897],{"type":47,"value":898},"OOM",{"type":47,"value":900}," when memory fills. Default of bare Redis; explicitly set ",{"type":41,"tag":84,"props":902,"children":904},{"className":903},[],[905],{"type":47,"value":243},{"type":47,"value":907}," or ",{"type":41,"tag":84,"props":909,"children":911},{"className":910},[],[912],{"type":47,"value":251},{"type":47,"value":914}," for cache workloads.",{"type":41,"tag":72,"props":916,"children":917},{},[918,923,925,930],{"type":41,"tag":76,"props":919,"children":920},{},[921],{"type":47,"value":922},"Using MULTI\u002FEXEC in a cluster across slots",{"type":47,"value":924}," — same ",{"type":41,"tag":84,"props":926,"children":928},{"className":927},[],[929],{"type":47,"value":722},{"type":47,"value":931}," rule; hash-tag co-locate or restructure.",{"type":41,"tag":56,"props":933,"children":935},{"id":934},"reference-guide",[936],{"type":47,"value":937},"Reference Guide",{"type":41,"tag":50,"props":939,"children":940},{},[941,943,952],{"type":47,"value":942},"All extended patterns (data-structure trade-offs, lock correctness levels, cache stampede mitigation, cluster hash-tags, persistence & eviction details, observability) live in a single file: ",{"type":41,"tag":76,"props":944,"children":945},{},[946],{"type":41,"tag":84,"props":947,"children":949},{"className":948},[],[950],{"type":47,"value":951},"references\u002Fpitfalls.md",{"type":47,"value":953},". Load it when the task goes beyond the MUST rules above.",{"type":41,"tag":56,"props":955,"children":957},{"id":956},"output-format",[958],{"type":47,"value":959},"Output Format",{"type":41,"tag":50,"props":961,"children":962},{},[963],{"type":47,"value":964},"When producing Redis code:",{"type":41,"tag":68,"props":966,"children":967},{},[968,973,978,990,1010],{"type":41,"tag":72,"props":969,"children":970},{},[971],{"type":47,"value":972},"Short plan (1–3 bullets) — what keys \u002F data structures \u002F TTLs \u002F atomicity guarantees are involved.",{"type":41,"tag":72,"props":974,"children":975},{},[976],{"type":47,"value":977},"Commands or client code. Use language-agnostic Redis commands when the caller is unspecified.",{"type":41,"tag":72,"props":979,"children":980},{},[981,983,988],{"type":47,"value":982},"For writes: state the eviction \u002F TTL \u002F persistence implications (e.g. \"adds ~200 keys\u002Fmin, TTL 1h, fits in ",{"type":41,"tag":84,"props":984,"children":986},{"className":985},[],[987],{"type":47,"value":243},{"type":47,"value":989}," cache\").",{"type":41,"tag":72,"props":991,"children":992},{},[993,995,1001,1002,1008],{"type":47,"value":994},"For multi-step atomic operations: state whether it's ",{"type":41,"tag":84,"props":996,"children":998},{"className":997},[],[999],{"type":47,"value":1000},"SET NX",{"type":47,"value":133},{"type":41,"tag":84,"props":1003,"children":1005},{"className":1004},[],[1006],{"type":47,"value":1007},"MULTI\u002FEXEC + WATCH",{"type":47,"value":1009},", or Lua, and why.",{"type":41,"tag":72,"props":1011,"children":1012},{},[1013],{"type":47,"value":1014},"Cluster-aware: if multi-key, show hash tags.",{"type":41,"tag":50,"props":1016,"children":1017},{},[1018,1020,1026],{"type":47,"value":1019},"When reviewing Redis code: call out MUST-DO \u002F MUST-NOT violations, especially missing TTL, non-atomic lock acquire\u002Frelease, ",{"type":41,"tag":84,"props":1021,"children":1023},{"className":1022},[],[1024],{"type":47,"value":1025},"KEYS",{"type":47,"value":1027}," usage, and Pub\u002FSub used as a queue.",{"type":41,"tag":1029,"props":1030,"children":1031},"style",{},[1032],{"type":47,"value":1033},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":1035,"total":1164},[1036,1052,1061,1070,1081,1091,1104,1113,1122,1132,1141,1154],{"slug":1037,"name":1037,"fn":1038,"description":1039,"org":1040,"tags":1041,"stars":1049,"repoUrl":1050,"updatedAt":1051},"mps-aspect-accessories","configure JetBrains MPS module dependencies","Wire MPS module and model dependencies, used languages, used devkits, extended languages, runtime solutions, accessory models, and language\u002Fdependency versions. Use when adding\u002Fremoving module dependencies, importing languages or devkits into a model, declaring runtime solutions, or shipping accessory content visible to consumers without explicit import.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1042,1045,1048],{"name":1043,"slug":1044,"type":15},"Architecture","architecture",{"name":1046,"slug":1047,"type":15},"Configuration","configuration",{"name":20,"slug":21,"type":15},1650,"https:\u002F\u002Fgithub.com\u002FJetBrains\u002FMPS","2026-07-17T06:06:57.311661",{"slug":1053,"name":1053,"fn":1054,"description":1055,"org":1056,"tags":1057,"stars":1049,"repoUrl":1050,"updatedAt":1060},"mps-aspect-actions","define and edit MPS node factories","Use when defining or editing MPS node factories (the \"actions\" aspect) — `NodeFactories` roots, per-concept `NodeFactory` setup functions that initialize a freshly created node and optionally copy data from a replaced `sampleNode`, plus the actions aspect's `CopyPasteHandlers` and `PasteWrappers` roots. Reach for this skill when a substitution, side transform, completion replacement, or `add new initialized(...)` should preserve fields from the node it is replacing, or when defaults set in a constructor are not enough.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1058,1059],{"name":1043,"slug":1044,"type":15},{"name":20,"slug":21,"type":15},"2026-07-17T06:04:48.066901",{"slug":1062,"name":1062,"fn":1063,"description":1064,"org":1065,"tags":1066,"stars":1049,"repoUrl":1050,"updatedAt":1069},"mps-aspect-behavior","define and edit MPS concept behavior","Use when defining or editing MPS `ConceptBehavior` — per-concept methods (non-virtual \u002F virtual \u002F abstract \u002F static \u002F virtual static), constructors, virtual dispatch (MRO), super and interface-default calls (`super\u003CInterface>.method`), overriding methods from `lang.core.behavior` interfaces such as `ScopeProvider.getScope` \u002F `INamedConcept.getName` \u002F `BaseConcept.getPresentation`, calling sibling methods (`LocalBehaviorMethodCall`) and behavior methods from other aspects via `node.method(...)`. Reach for this skill whenever the task involves authoring or modifying `\u003Clang>\u002FlanguageModels\u002Fbehavior.mps`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1067,1068],{"name":1043,"slug":1044,"type":15},{"name":20,"slug":21,"type":15},"2026-07-13T06:45:21.757084",{"slug":1071,"name":1071,"fn":1072,"description":1073,"org":1074,"tags":1075,"stars":1049,"repoUrl":1050,"updatedAt":1080},"mps-aspect-constraints","define JetBrains MPS language constraints","Use when defining or editing MPS language constraints — property validators \u002F setters \u002F getters, referent search scopes (imperative or inherited via `ScopeProvider.getScope`), `referentSetHandler` side effects, default-scope blocks, `canBeChild` \u002F `canBeParent` \u002F `canBeAncestor` \u002F `canBeRoot` placement rules, `defaultConcreteConcept` for abstract concepts, `set \u003Cread-only>` and `{name}` aliasing, and scope helpers (`SimpleRoleScope`, `ListScope`, `CompositeScope`, `HidingByNameScope`). Reach for this skill whenever the task involves authoring or modifying `\u003Clang>\u002FlanguageModels\u002Fconstraints.mps`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1076,1077],{"name":1043,"slug":1044,"type":15},{"name":1078,"slug":1079,"type":15},"Code Analysis","code-analysis","2026-07-23T05:41:33.639365",{"slug":1082,"name":1082,"fn":1083,"description":1084,"org":1085,"tags":1086,"stars":1049,"repoUrl":1050,"updatedAt":1090},"mps-aspect-dataflow","define and debug MPS dataflow builders","Use when defining or debugging MPS dataflow builders for a concept — control\u002Fdata flow declarations that drive reachability analysis and variable-use checking. Covers DataFlowBuilderDeclaration, BuilderBlock, emit instructions (code for, jump, ifjump, label, read, write, ret, mayBeUnreachable), positions (AfterPosition, BeforePosition, LabelPosition), the jetbrains.mps.lang.dataFlow language, the NodeParameter implicit, BL+smodel usage inside builder bodies, and IBuilderMode for advanced analyses such as nullable\u002Fnon-null tracking.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1087],{"name":1088,"slug":1089,"type":15},"Data Analysis","data-analysis","2026-07-13T06:45:19.114674",{"slug":1092,"name":1092,"fn":1093,"description":1094,"org":1095,"tags":1096,"stars":1049,"repoUrl":1050,"updatedAt":1103},"mps-aspect-editor","define MPS editor layouts","Use when creating or changing MPS editor definitions — the overall workflow from scaffolding a `ConceptEditorDeclaration` through componentizing reusable `EditorComponentDeclaration`s, refining cell models and cell layouts, applying style sheets and indent-layout style items, wiring smart references, leveraging inheritance via super-concepts and interfaces, inspecting (`print_node_json`, `show_node_representation`) and validating (`check_root_node_problems`). Covers `jetbrains.mps.lang.editor` cell models (`CellModel_RefNode`\u002F`CellModel_RefNodeList`\u002F`CellModel_RefCell`\u002F`CellModel_Property`\u002F`CellModel_Constant`), layout choices, and JSON blueprints for common editor shapes. For the non-layout side (action maps, keymaps, transformation\u002Fsubstitute menus) use `mps-aspect-editor-menus-and-keymaps`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1097,1100],{"name":1098,"slug":1099,"type":15},"Design","design",{"name":1101,"slug":1102,"type":15},"UI Components","ui-components","2026-07-23T05:41:56.638151",{"slug":1105,"name":1105,"fn":1106,"description":1107,"org":1108,"tags":1109,"stars":1049,"repoUrl":1050,"updatedAt":1112},"mps-aspect-editor-menus-and-keymaps","author MPS editor menus and keymaps","Use when authoring the **non-layout** parts of the MPS editor aspect — what happens when the user types, presses a key, triggers completion, pastes, or invokes a context action. Covers action maps (`CellActionMapDeclaration`), cell keymaps (`CellKeyMapDeclaration`), transformation menus (`TransformationMenu_Default` \u002F `_Named` \u002F `_Contribution`), substitute menus (`SubstituteMenu_Default` \u002F `SubstituteMenu` \u002F contributions), side transforms (LEFT\u002FRIGHT), legacy cell menus, paste wrappers and copy-paste handlers (in the actions language), completion styling, reference presentation, two-step deletion, and the editor selection API. Trigger terms: `actionMap`, `keyMap`, `delete_action_id`, `transformationMenu`, `substituteMenu`, `Ctrl+Space`, `Ctrl+Alt+B`, side transform, paste wrapper, completion styling, `PasteWrappers`, `CopyPasteHandlers`. For the **layout** side (cells, layouts, style sheets) use `mps-aspect-editor` instead.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1110,1111],{"name":20,"slug":21,"type":15},{"name":1101,"slug":1102,"type":15},"2026-07-23T05:41:49.666535",{"slug":1114,"name":1114,"fn":1115,"description":1116,"org":1117,"tags":1118,"stars":1049,"repoUrl":1050,"updatedAt":1121},"mps-aspect-generation-plan","modify MPS generation plans","Use when defining or modifying an MPS generation plan — explicit ordering of generators, checkpoints for cross-model reference resolution, forks for parallel branches, IncludePlan composition, conditional PlanContribution activation, ParameterEquals\u002FConceptListSelector fork selectors, and InitModelAttributes for targetFacet routing. Apply when working with @genplan models, the jetbrains.mps.lang.generator.plan language, attaching plans via DevKits or the Custom generation facet, or debugging cross-model mapping label resolution.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1119,1120],{"name":1043,"slug":1044,"type":15},{"name":20,"slug":21,"type":15},"2026-07-13T06:44:59.507855",{"slug":1123,"name":1123,"fn":1124,"description":1125,"org":1126,"tags":1127,"stars":1049,"repoUrl":1050,"updatedAt":1131},"mps-aspect-generator","define JetBrains MPS generator rules","Use when defining or modifying MPS generators — author a generator module, add or edit root\u002Freduction\u002Fweaving\u002Fpattern mapping rules, attach template macros ($COPY_SRC, $LOOP, $IF, $PROPERTY, $REF, $SWITCH, $MAP_SRC, $WEAVE, $INSERT, $LABEL, $TRACE, $VAR), wire mapping labels, build template switches, write pre\u002Fpost mapping scripts, navigate `genContext`, or debug \"rule didn't fire\", missing references, empty output, infinite reduction loops, and generated-Java compile failures.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1128,1129,1130],{"name":1043,"slug":1044,"type":15},{"name":1078,"slug":1079,"type":15},{"name":20,"slug":21,"type":15},"2026-07-17T06:06:58.042999",{"slug":1133,"name":1133,"fn":1134,"description":1135,"org":1136,"tags":1137,"stars":1049,"repoUrl":1050,"updatedAt":1140},"mps-aspect-intentions","define and edit MPS intentions","Use when defining or editing MPS intentions (the Alt+Enter context-action aspect) — adding `IntentionDeclaration` roots, parameterized or surround-with variants, description\u002FisApplicable\u002Fexecute blocks, child-filter functions, factory-initialized AST splicing, or debugging why an intention is not offered. Lives in the language's `intentions` model and uses `jetbrains.mps.lang.intentions`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1138,1139],{"name":1043,"slug":1044,"type":15},{"name":20,"slug":21,"type":15},"2026-07-23T05:41:48.692899",{"slug":1142,"name":1142,"fn":1143,"description":1144,"org":1145,"tags":1146,"stars":1049,"repoUrl":1050,"updatedAt":1153},"mps-aspect-migrations","author and debug MPS migration scripts","Use when authoring or debugging MPS migration scripts that upgrade user models after a language definition changes — covers jetbrains.mps.lang.migration (MigrationScript class-based, PureMigrationScript declarative, MoveConcept\u002FMoveContainmentLink\u002FMoveReferenceLink\u002FMoveProperty, ordering via OrderDependency, data exchange via putData\u002FgetData, RefactoringLog, ConceptMigrationReference) and jetbrains.mps.lang.script Enhancement Scripts (MigrationScript with MigrationScriptPart_Instance, ExtractInterfaceMigration, FactoryMigrationScriptPart, CommentMigrationScriptPart) — when a model needs version-gated upgrade, concept rename or removal, link or property rename, instance-level transformation, or composition of migration steps.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1147,1150],{"name":1148,"slug":1149,"type":15},"Debugging","debugging",{"name":1151,"slug":1152,"type":15},"Migration","migration","2026-07-13T06:45:20.372122",{"slug":1155,"name":1155,"fn":1156,"description":1157,"org":1158,"tags":1159,"stars":1049,"repoUrl":1050,"updatedAt":1163},"mps-aspect-structure-concepts","define concepts in MPS structure aspect","Define concepts, interface concepts, enumerations, and constrained data types in an MPS language's `structure` aspect. Covers smart-reference detection, alias rules, cardinality, INamedConcept usage, bulk creation, and the full `mps_mcp_alter_structure` \u002F `mps_mcp_query_structure` reference. Use when authoring or modifying a language's structure model.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1160],{"name":1161,"slug":1162,"type":15},"Data Modeling","data-modeling","2026-07-23T05:41:30.705975",188,{"items":1166,"total":1257},[1167,1183,1199,1211,1223,1240,1250],{"slug":1168,"name":1168,"fn":1169,"description":1170,"org":1171,"tags":1172,"stars":25,"repoUrl":26,"updatedAt":1182},"android","build Android applications with Kotlin","Senior Android engineer workflows — Kotlin-first (Java legacy supported), Jetpack Compose + View system, MVVM, Coroutines\u002FFlow, Room, Retrofit, Hilt, plus device orchestration via plugin tools (device management, logcat, crash reports, app run) and mobile-mcp for UI interaction (element tree, taps, swipes). Use when implementing features, debugging crashes, fixing builds, writing tests, reviewing Android code, or running QA on an emulator.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1173,1175,1176,1179],{"name":1174,"slug":1168,"type":15},"Android",{"name":20,"slug":21,"type":15},{"name":1177,"slug":1178,"type":15},"Kotlin","kotlin",{"name":1180,"slug":1181,"type":15},"Mobile","mobile","2026-07-13T06:45:38.239419",{"slug":1184,"name":1184,"fn":1185,"description":1186,"org":1187,"tags":1188,"stars":25,"repoUrl":26,"updatedAt":1198},"context7","search library and framework documentation","Up-to-date library and framework documentation via Context7 MCP. Use when setup, API, or version-specific questions require current documentation.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1189,1192,1195],{"name":1190,"slug":1191,"type":15},"Documentation","documentation",{"name":1193,"slug":1194,"type":15},"MCP","mcp",{"name":1196,"slug":1197,"type":15},"Reference","reference","2026-07-17T06:07:06.49579",{"slug":1200,"name":1200,"fn":1201,"description":1202,"org":1203,"tags":1204,"stars":25,"repoUrl":26,"updatedAt":1210},"java-engineer","write and refactor modern Java code","Java 17–25 policy and pitfalls. Use when writing, reviewing, or refactoring Java code — enforces idioms around records, sealed types, switch exhaustiveness, Optional, virtual threads, and null-safety that LLMs frequently get wrong.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1205,1206,1207],{"name":1078,"slug":1079,"type":15},{"name":20,"slug":21,"type":15},{"name":1208,"slug":1209,"type":15},"Java","java","2026-07-13T06:45:44.594223",{"slug":1212,"name":1212,"fn":1213,"description":1214,"org":1215,"tags":1216,"stars":25,"repoUrl":26,"updatedAt":1222},"kotlin-engineer","write and refactor Kotlin code","Kotlin 2.x policy and pitfalls. Use when writing, reviewing, or refactoring Kotlin code — enforces coroutine-safety, Flow correctness, null-safety, and API-design rules that LLMs frequently get wrong.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1217,1220,1221],{"name":1218,"slug":1219,"type":15},"Code Review","code-review",{"name":20,"slug":21,"type":15},{"name":1177,"slug":1178,"type":15},"2026-07-13T06:45:30.911318",{"slug":1224,"name":1224,"fn":1225,"description":1226,"org":1227,"tags":1228,"stars":25,"repoUrl":26,"updatedAt":1239},"laravel-engineer","build and architect Laravel applications","Use when working on Laravel projects. Covers architecture decisions (Services vs Actions), thin controllers, Form Requests, API Resources, and API versioning. Enforces Larastan verification after code generation.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1229,1232,1233,1236],{"name":1230,"slug":1231,"type":15},"Backend","backend",{"name":20,"slug":21,"type":15},{"name":1234,"slug":1235,"type":15},"Laravel","laravel",{"name":1237,"slug":1238,"type":15},"PHP","php","2026-07-13T06:45:47.16012",{"slug":1241,"name":1241,"fn":1242,"description":1243,"org":1244,"tags":1245,"stars":25,"repoUrl":26,"updatedAt":1249},"php-engineer","write and refactor modern PHP code","Modern PHP 8.x policy and pitfalls. Use when writing, reviewing, or refactoring PHP code — enforces strict types, enum\u002Freadonly\u002Fmatch\u002FDNF policy, PHPStan discipline, and catches the subtle traps (type coercion, mixed abuse, readonly mutation through references, enum serialization, fiber lifecycle, PDO emulation) that LLMs get wrong by default.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1246,1247,1248],{"name":1078,"slug":1079,"type":15},{"name":20,"slug":21,"type":15},{"name":1237,"slug":1238,"type":15},"2026-07-13T06:45:32.210657",{"slug":4,"name":4,"fn":5,"description":6,"org":1251,"tags":1252,"stars":25,"repoUrl":26,"updatedAt":27},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1253,1254,1255,1256],{"name":17,"slug":18,"type":15},{"name":20,"slug":21,"type":15},{"name":13,"slug":14,"type":15},{"name":23,"slug":24,"type":15},9]