[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EB8GA4Z94N43N8R8XC7KTC":3,"skill-same:01M6EB8GA4Z94N43N8R8XC7KTC":63},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":40,"commitSha":41,"skillDirectory":42,"forksCount":43,"repositoryHtmlUrl":44,"repositoryHomepageUrl":45,"ownerHtmlUrl":46,"ownerBlogUrl":6,"ownerDescription":47,"updatedAt":48,"install":49,"resources":62},"01M6EB8GA4Z94N43N8R8XC7KTC","database-redis",null,"Expert rules for caching, key management, and performance in Redis. Use when implementing Redis caching strategies, managing key namespaces, or optimizing Redis performance. (triggers: **\u002F*.ts, **\u002F*.js, **\u002Fredis.config.ts, redis, cache, ttl, eviction)","ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FHoangNguyen0403\u002Fagent-skills-standard\u002Fdatabase-redis\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34],"database","redis","database redis","performance","config","cache","js","Rules","management","use","expert","caching","strategies","caching strategies","triggers","key management","2026-11-10 10:12:30",false,"---\nname: database-redis\ndescription: \"Expert rules for caching, key management, and performance in Redis. Use when implementing Redis caching strategies, managing key namespaces, or optimizing Redis performance. (triggers: **\u002F*.ts, **\u002F*.js, **\u002Fredis.config.ts, redis, cache, ttl, eviction)\"\n---\n\n# Redis Best Practices\n\n## **Priority: P0 (CRITICAL)**\n\n- **Security**:\n  - **Access Control**: Use Redis 6.0+ ACLs (`ACL SETUSER`) to restrict commands by user\u002Frole.\n  - **Encryption**: Always enable TLS for data-in-transit (standard in managed Redis like Azure\u002FAWS).\n  - **Dangerous Commands**: Disable or rename `FLUSHALL`, `KEYS`, `CONFIG`, and `SHUTDOWN` in production.\n- **Connection Resilience**:\n  - **Pooling**: Use connection pooling with tuned high\u002Flow watermarks to avoid connection churn.\n  - **Timeouts**: Set strict `read_timeout` and `connect_retries` to handle transient network saturation.\n\n## Guidelines\n\n- **Key Design**:\n  - **Namespacing**: Use colons to namespace keys (e.g., `app:user:123`, `rate:limit:ip:1.1.1.1`).\n  - **Readability vs Size**: Keep keys descriptive but compact; avoid keys > 512 bytes.\n- **Commands & Performance**:\n  - **O(N) Avoidance**: Use `SCAN` instead of `KEYS`. Use `UNLINK` instead of `DEL` for background reclamation of large keys.\n  - **Lua Scripting**: Prioritize `EVALSHA` for atomic logic; ensure scripts are pre-loaded to save bandwidth.\n  - **Massive Range**: Limit `ZRANGE`, `HGETALL`, and `LRANGE` results with offsets\u002Flimits.\n- **Memory Management**:\n  - **Eviction Strategy**: Use `allkeys-lru` for general caches and `volatile-lru` for mixed persistent\u002Fephemeral data.\n  - **Lazy Freeing**: Enable `lazyfree-lazy-eviction` and `lazyfree-lazy-expire` (Redis 4.0+) to offload cleanup from the main thread.\n  - **Monitoring**: Watch `Used Memory RSS` vs `Used Memory Dataset`. Large fragmentation suggests a need for `MEMORY PURGE` or scaling.\n\n## Anti-Patterns\n\n- **No sole truth in Redis**: Always persist critical data to a durable primary database.\n- **No large blobs**: Split values > 100KB into smaller keys or use Hashes for field access.\n- **No JSON for objects**: Use `HSET` for object fields to enable O(1) access without full decode.\n- **No TTL-less keys**: Set TTL or eviction policy on all non-permanent keys to prevent unbounded growth.\n\n## References\n\n- [Best Practices Guide](references\u002Fbest-practices.md)\n- [Checklist](references\u002Fchecklist.md)\n\n","# Redis Best Practices\n\n## **Priority: P0 (CRITICAL)**\n\n- **Security**:\n  - **Access Control**: Use Redis 6.0+ ACLs (`ACL SETUSER`) to restrict commands by user\u002Frole.\n  - **Encryption**: Always enable TLS for data-in-transit (standard in managed Redis like Azure\u002FAWS).\n  - **Dangerous Commands**: Disable or rename `FLUSHALL`, `KEYS`, `CONFIG`, and `SHUTDOWN` in production.\n- **Connection Resilience**:\n  - **Pooling**: Use connection pooling with tuned high\u002Flow watermarks to avoid connection churn.\n  - **Timeouts**: Set strict `read_timeout` and `connect_retries` to handle transient network saturation.\n\n## Guidelines\n\n- **Key Design**:\n  - **Namespacing**: Use colons to namespace keys (e.g., `app:user:123`, `rate:limit:ip:1.1.1.1`).\n  - **Readability vs Size**: Keep keys descriptive but compact; avoid keys > 512 bytes.\n- **Commands & Performance**:\n  - **O(N) Avoidance**: Use `SCAN` instead of `KEYS`. Use `UNLINK` instead of `DEL` for background reclamation of large keys.\n  - **Lua Scripting**: Prioritize `EVALSHA` for atomic logic; ensure scripts are pre-loaded to save bandwidth.\n  - **Massive Range**: Limit `ZRANGE`, `HGETALL`, and `LRANGE` results with offsets\u002Flimits.\n- **Memory Management**:\n  - **Eviction Strategy**: Use `allkeys-lru` for general caches and `volatile-lru` for mixed persistent\u002Fephemeral data.\n  - **Lazy Freeing**: Enable `lazyfree-lazy-eviction` and `lazyfree-lazy-expire` (Redis 4.0+) to offload cleanup from the main thread.\n  - **Monitoring**: Watch `Used Memory RSS` vs `Used Memory Dataset`. Large fragmentation suggests a need for `MEMORY PURGE` or scaling.\n\n## Anti-Patterns\n\n- **No sole truth in Redis**: Always persist critical data to a durable primary database.\n- **No large blobs**: Split values > 100KB into smaller keys or use Hashes for field access.\n- **No JSON for objects**: Use `HSET` for object fields to enable O(1) access without full decode.\n- **No TTL-less keys**: Set TTL or eviction policy on all non-permanent keys to prevent unbounded growth.\n\n## References\n\n- [Best Practices Guide](references\u002Fbest-practices.md)\n- [Checklist](references\u002Fchecklist.md)\n\n",{"name":5,"description":7},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002FHoangNguyen0403\u002Fagent-skills-standard\u002Fdatabase-redis",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":8,"skillName":5,"commands":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill database-redis",{"tool":55,"command":56},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill database-redis",{"tool":58,"command":59},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill database-redis","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FHoangNguyen0403\u002Fagent-skills-standard\u002Fdatabase-redis\u002FSKILL.md",true,[],[64,73,82,91,97,103],{"skillNo":65,"name":66,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":35},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[70,71,72],"model","model hierarchy","model hierarchy skill",{"skillNo":74,"name":75,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":35},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[79,80,81],"MCP","zoom","zoom mcp",{"skillNo":83,"name":84,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":35},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[88,89,90,80],"sdk","zoom apps sdk","apps",{"skillNo":92,"name":93,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":35},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[93],{"skillNo":98,"name":99,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":35},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[99],{"skillNo":104,"name":105,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":35},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[105]]