
Description
Resilience is an agent skill that writes fault-handling code for .NET 10 applications using Polly v8. It covers retry, circuit breaker, timeout, fallback, rate limiter and hedging, and how to compose them into one pipeline. The skill follows the v8 API, which replaces Policy with ResiliencePipeline, and it avoids the older v7 types such as PolicyBuilder. For HTTP calls it recommends the Microsoft.Extensions.Http.Resilience package, which adds pipelines to HttpClient through dependency injection, so no manual wrapping is needed. It notes that strategies run from the outside in, so the first one added is the outermost. It also insists that every external call has a timeout, placed as the innermost strategy so it applies per attempt, with an optional outer timeout for total elapsed time. It is for .NET developers who call remote services and want retries and circuit breakers that behave predictably under failure.…
Highlights
- Retry, circuit breaker, timeout, fallback, rate limiter and hedging
- Polly v8 ResiliencePipeline API, not v7 policies
- HTTP pipelines via IHttpClientFactory and DI
- Telemetry for retry rates and circuit state
Ratings & Reviews
No ratings yet
Be the first to rate resilience.
People also visit
resilience FAQ
Which Polly version does it use?
Polly v8. It avoids the older v7 types such as Policy.Handle and PolicyBuilder.
How are HTTP calls protected?
The skill recommends Microsoft.Extensions.Http.Resilience, which attaches the pipelines directly to HttpClient through DI.
Where should the timeout go?
As the innermost strategy, so it applies to each attempt, with an optional outer timeout for the total time.
What do the security audits show?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
How do I install it?
Run npx skills add https://github.com/codewithmukesh/dotnet-claude-kit --skill resilience.
What are the best resilience alternatives?
Popular alternatives to resilience include dotnet-10-csharp-14, spring-boot-resilience4j and dotnet-core-expert. See all resilience alternatives











