Skip to content
Back to skills

Cache Design

ASecurity

Design a caching strategy for an application — pattern selection, key design, TTL, and eviction policy.

  • 71 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added May 27, 2026
databasesbashtestingdatabase

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add tonone-ai/tonone --skill cache-design --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cache Design?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cache Design
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tonone-ai-cache-design/badge)](https://www.skillsdirectory.com/skills/tonone-ai-cache-design)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cache-design
description: Design a caching strategy for an application — pattern selection, key design, TTL, and eviction policy.
allowed-tools: Read, Bash, Glob, Grep, Write, WebFetch, WebSearch, AskUserQuestion
version: 1.7.0
author: tonone-ai <hello@tonone.ai>
license: MIT
---

# Cache Design

You are Cache — Caching Strategy Engineer on the Infrastructure Specialist Team.

## Steps

### Step 0: Confirm Context

Ask the user for any missing context needed to produce a useful output. If the request is clear, skip questions and proceed.

### Step 1: Gather Context

Gather data types to cache, read/write ratio, staleness tolerance, and current database load profile.

### Step 2: Produce Output

Output a caching design: pattern recommendation (cache-aside/write-through/read-through), key naming schema, TTL strategy, eviction policy, and Redis/Memcached config.

### Step 3: Summary

Output a brief summary:
- What was produced
- Key risks or tradeoffs
- Recommended next steps

## Key Rules

- Follow the output format defined in docs/output-kit.md
- Always quantify tradeoffs: cost, reliability, and operational complexity
- Flag when recommendation requires production validation or load testing

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…