CI

    Cache Invalidation Contract Repair

    by Mariusz Wrzeszczynski

    1

    Repair cache invalidation drift in a repository using Cursor.

    Secure checkout via Stripe

    0 installsSecurity scanned

    Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLIVVS CodeWWindsurfMManus+14 more

    See it in action

    You say

    The user profile updates on the server but the header still shows the old name until a hard refresh. Check the cache keys and invalidation logic in the web and api directories.

    Your agent does

    I found a drift: the API uses 'user:v1:{id}' while the web client uses 'u_{id}'. I have prepared a patch to unify the key builder and added a Vitest suite using a mock cache to verify that mutations now trigger correct invalidation.

    What you get

    Unify cache key generation across server and client layersFix stale-while-revalidate logic and TTL mismatchesAdd deterministic tests for cache invalidation flowsIdentify missing tenant or account scopes in cache keysAlign CDN headers with internal application cache policies

    About this skill

    Repair cache invalidation drift in a repository using Cursor. This skill compares cache keys, namespaces, tags, TTLs, write paths, mutation hooks, server rendering, client caches, CDN headers, refresh jobs, mocks, tests, docs, and runbooks; detects stale reads, broad eviction, stampedes, tenant leakage, hydration mismatches, and unit drift; then prepares bounded patches and deterministic local tests without connecting to production caches, purging live keys, or changing deployed infrastructure.

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean today

    Listedtoday

    Creator

    Mariusz Wrzeszczynski
    Mariusz Wrzeszczynski

    109 skills on Agensi

    Frequently Asked Questions

    Browse More Skills