caching-audit

Audit Redis cache coverage, TTLs, and timeout guards on CaseDive API endpoints.

Updated Mar 9, 2026
One-click install
npx skills add https://github.com/alasdairnc/casedive --skill caching-audit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: caching-audit
Source: https://github.com/alasdairnc/casedive/tree/main/.claude/skills/caching-audit
Command: npx skills add https://github.com/alasdairnc/casedive --skill caching-audit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Audits Redis caching across CaseDive API endpoints to surface missing caches, unbounded TTLs, and misconfigurations before they impact performance.

Core Features & Use Cases

  • Endpoint cache coverage checks to identify endpoints without caching for expensive calls.
  • TTL auditing to flag unbounded TTLs or too-short expiries and validate TTL alignment with data volatility.
  • Timeout and rate-limit guard checks by inspecting Redis operations and common rate-limiter usage.
  • Vite chunk configuration review to ensure proper code-splitting and cache-friendly builds.
  • Deliver a structured report suitable for engineering and SRE reviews.

Quick Start

Run the caching-audit tool against the CaseDive API to generate a report detailing cache coverage, TTLs, and timeout configurations.

Frequently Asked Questions about caching-audit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit Redis caching across API endpoints?

To audit Redis caching across API endpoints, run this tool to scan all public routes, detect missing caches for expensive calls, flag unbounded TTLs, and identify missing timeout guards, producing a structured report with actionable recommendations.

What is an unbounded TTL and why does it matter for cache performance?

An unbounded TTL is a cache expiration set without a time limit, which can cause stale data and memory bloat. This audit identifies unbounded TTLs on Redis caches and validates TTL alignment with actual data volatility to prevent performance degradation.

How do I check if my API endpoints are missing Redis cache coverage?

You can check for missing Redis cache coverage by applying this audit to all public API routes, which automatically excludes internal endpoints and surfaces expensive calls that lack caching, then details the findings in a comprehensive report.

Can I review Vite chunk configuration during a Redis cache audit?

Yes, you can review Vite chunk configuration during a Redis cache audit. This tool includes a specific check for Vite chunk configuration to ensure proper code-splitting and verify that your frontend builds remain cache-friendly.

Does the caching audit modify my source code when fixing misconfigurations?

No, the caching audit does not modify your source code. It performs a read-only review of your Redis operations, TTL configurations, and timeout guards, delivering a structured report of findings and recommendations for engineering teams to implement manually.

What is the best way to identify weak timeout guards on Redis operations?

The best way to identify weak timeout guards is to run an audit that inspects Redis operations and rate-limiter usage across all API routes. This tool flags missing or weak timeout configurations and includes them in a structured performance report.