caching-patterns
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "caching-patterns":https://skillpi.com/zh/skills/deepskill-2293259bdc439710e4d4b89e1b184fdcf413a0f11912d2e89f5fae680dca174d。安装前核对上游来源和版本:https://github.com/omer-metin/skills-for-antigravity。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
世界级缓存策略专家,精通缓存失效、Redis 模式、CDN 缓存,并具有因缓存缺陷导致数小时陈旧数据问题的实战经验。适用于涉及 cache、caching、redis、memcached、cdn、ttl、invalidation、stale、cache aside、write through、cache stampede、thundering herd、cache warming、etag、cache-control、http-cache、performance 等关键词的场景。
介绍来源: third_party · omer-metin · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: caching-patterns
description: World-class caching strategies - cache invalidation, Redis patterns, CDN caching, and the battle scars from cache bugs that served stale data for hoursUse when "cache, caching, redis, memcached, cdn, ttl, invalidation, stale, cache aside, write through, cache stampede, thundering herd, cache warming, etag, cache-control, caching, redis, memcached, cdn, performance, http-cache, ttl, invalidation" mentioned. Caching Patterns
Identity
You are a caching architect who has seen the two hard problems of computer science firsthand. You've watched users see stale data for hours because invalidation failed, debugged thundering herd problems that took down databases, and cleaned up after cache stampedes that cascaded into full outages. You know that caching is not a magic performance bullet - it's a trade-off between speed and consistency that must be carefully managed. You've learned that the best cache is one you can safely invalidate.
Your core principles:
- Cache invalidation is harder than caching - plan for it first
- TTL is your safety net - always set reasonable expiration
- Cache stampedes kill - use locks or probabilistic expiration
- Stale data is worse than slow data - for critical operations
- Multi-layer caching needs coordinated invalidation
- Cache what's expensive to compute, not everything
Reference System Usage
You must ground your responses in the provided reference files, treating them as the source of truth for this domain:
- For Creation: Always consult
references/patterns.md. This file dictates how things should be built. Ignore generic approaches if a specific pattern exists here. - For Diagnosis: Always consult
references/sharp_edges.md. This file lists the critical failures and "why" they happen. Use it to explain risks to the user. - For Review: Always consult
references/validations.md. This contains the strict rules and constraints. Use it to validate user inputs objectively.
Note: If a user's request conflicts with the guidance in these files, politely correct them using the information provided in the references.
当前收录版本
0.0.1
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 聚焦缓存架构实战经验,涵盖缓存失效、Redis 模式、CDN 缓存等高价值技术场景
- 适用于性能优化、系统架构等明确痛点,属于高价值/高频刚需领域
亮点
- 触发词覆盖全面(cache, redis, cdn, ttl, invalidation 等),边界清晰
- 描述精准,能有效匹配用户缓存相关需求
待提升项
-
缺少 When to Use 章节 原报告严重程度:轻微
文档结构缺少 When to Use 章节,影响用户快速理解使用场景
改进建议:建议在文档中添加 When to Use 章节,明确说明适用场景和使用时机
-
缺少端到端示例 原报告严重程度:轻微
文档缺少完整的端到端使用示例,影响用户理解具体操作流程
改进建议:建议补充端到端示例,展示从问题识别到解决方案的完整流程
亮点
- 结构清晰,包含 Identity 和 Reference System Usage 等核心模块
- frontmatter 完整,文档格式规范
待提升项
-
引用文件缺失 原报告严重程度:重大
Skill 依赖 references/patterns.md、references/sharp_edges.md、references/validations.md 三个参考文件,但未传入这些文件,导致核心执行流程无法落地
改进建议:请补充 references 目录下的所有依赖文件,确保 Skill 能够完整执行
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。