
Description
This agent skill teaches an AI coding agent how to add caching to .NET 10 applications the way the dotnet-claude-kit project recommends. It treats HybridCache, introduced in .NET 9, as the default choice because it combines in-memory and distributed caching with stampede protection, and it also covers output caching, response caching and distributed cache patterns. The agent is told to cache reads and invalidate on writes, never to cache POST, PUT or DELETE responses, to use output caching middleware when an entire HTTP response such as public or static data can be cached, and to give every cached item an explicit expiration so no cache grows without bound. It is part of the dotnet-claude-kit collection and installs with: npx skills add https://github.com/codewithmukesh/dotnet-claude-kit --skill caching…
Highlights
- HybridCache as the default L1 plus L2 cache
- Output, response and distributed caching patterns
- Cache GET reads and invalidate on mutations
- Explicit TTLs for every cached item
Ratings & Reviews
No ratings yet
Be the first to rate caching.
People also visit
caching FAQ
What does the caching skill do?
It guides an AI coding agent to apply caching in .NET 10 apps, using HybridCache by default plus output caching, response caching and distributed cache patterns.
Why HybridCache?
The skill describes it as the unified caching abstraction from .NET 9+, combining in-memory (L1) and distributed (L2) caching with stampede protection.
How do I install it?
Run: npx skills add https://github.com/codewithmukesh/dotnet-claude-kit --skill caching
What rules does it follow?
Cache reads, not writes; never cache POST/PUT/DELETE responses; use output caching for full cacheable responses; and set an explicit TTL on every item.
What were the security audit results?
On skills.sh: Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best caching alternatives?
Popular alternatives to caching include configuration, dotnet-10-csharp-14 and dotnet-core-expert. See all caching alternatives









