resilience

Implement Polly v8 resilience patterns for .NET HTTP clients and non-HTTP operations.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/AlexanderRadevich/SportowyHub_clientApp --skill resilience-alexanderradevich
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: resilience
Source: https://github.com/AlexanderRadevich/SportowyHub_clientApp/tree/main/.claude/skills/resilience
Command: npx skills add https://github.com/AlexanderRadevich/SportowyHub_clientApp --skill resilience-alexanderradevich

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires Microsoft.Extensions.Http.Resilience, Microsoft.Extensions.Resilience, Polly.Core.

What problem does it solve?

This Skill helps developers implement robust resilience patterns in .NET applications, preventing failures from cascading and ensuring application stability when interacting with external services.

Core Features & Use Cases

  • Resilience Pipelines: Configure and manage retry, circuit breaker, timeout, fallback, and rate limiting strategies using Polly v8.
  • HTTP Client Integration: Seamlessly integrate resilience with HttpClient using Microsoft.Extensions.Http.Resilience.
  • Use Case: Implement automatic retries for transient network errors when calling a microservice, ensuring your application remains available even during temporary outages.

Quick Start

Use the resilience skill to add a standard resilience handler to an HttpClient for the payment gateway.

Frequently Asked Questions about resilience

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

FAQPage Schema
How do I add a circuit breaker and retry policy to an HttpClient in .NET?

You add a circuit breaker and retry policy to an HttpClient in .NET using Microsoft.Extensions.Http.Resilience, which integrates Polly v8 pipelines via dependency injection for transient fault handling.

What resilience patterns are available in Polly v8 for .NET applications?

Resilience patterns available in Polly v8 include retry, circuit breaker, timeout, fallback, rate limiting, and hedging strategies, managed through configurable resilience pipelines for .NET applications.

Do I need Microsoft.Extensions.Resilience to use Polly v8 with dependency injection?

Yes, you need the Microsoft.Extensions.Resilience and Microsoft.Extensions.Http.Resilience NuGet packages to configure Polly v8 resilience pipelines via dependency injection in .NET applications.

Can I use Polly v8 hedging and rate limiting for non-HTTP operations?

Yes, you can apply Polly v8 hedging and rate limiting to non-HTTP operations by configuring custom resilience pipelines using the Microsoft.Extensions.Resilience NuGet package.

Why use a resilience pipeline instead of individual Polly policies in .NET?

Using a resilience pipeline combines retry, circuit breaker, and timeout strategies into a unified execution flow, preventing cascading failures and ensuring application stability when interacting with external services.