cck-resilience

Implement Polly v8 resilience pipelines for .NET 10 HTTP and non-HTTP operations.

2|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/s205109/AHKFlowApp --skill cck-resilience
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cck-resilience
Source: https://github.com/s205109/AHKFlowApp/tree/main/.claude/skills/cck-resilience
Command: npx skills add https://github.com/s205109/AHKFlowApp --skill cck-resilience

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Helps .NET developers design and apply consistent, production-grade resilience strategies to handle transient failures, latency, and cascading errors across HTTP calls and other I/O operations.

Core Features & Use Cases

  • HTTP Client Resilience: Configure AddStandardResilienceHandler or named AddResilienceHandler for HttpClient to provide retry, circuit breaker, and per-attempt and total timeouts.
  • Non-HTTP Pipelines: Register AddResiliencePipeline for database calls, message queues, and other non-HTTP operations to apply retries and timeouts.
  • Advanced Strategies: Support for hedging (parallel requests), typed pipelines with fallbacks, rate limiting integration, and OpenTelemetry telemetry for metrics and state monitoring.
  • Guidance & Anti-patterns: Clear recommendations to use Polly v8 pipelines (not v7 policies), avoid per-call manual wrapping, and apply idempotency for non-idempotent retries.

Quick Start

Create a named AddResilienceHandler for the Orders API that applies exponential retry with jitter, a circuit breaker, a 5 second per-attempt timeout, and telemetry via OpenTelemetry.

Frequently Asked Questions about cck-resilience

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

FAQPage Schema
How do I configure HttpClient resilience with Polly v8 in .NET?

To configure HttpClient resilience with Polly v8, use AddResilienceHandler or AddStandardResilienceHandler to apply retry strategies, circuit breakers, per-attempt timeouts, and total timeouts directly to your HTTP operations.

Can I use Polly v8 resilience pipelines for non-HTTP operations like databases?

Yes, you can use Polly v8 resilience pipelines for non-HTTP operations by registering AddResiliencePipeline to apply retries and timeouts for database calls, message queues, and other I/O operations.

What is the best way to handle transient faults and cascading errors in .NET?

The best way to handle transient faults in .NET is implementing production-grade resilience pipelines using Polly v8 to manage latency and prevent cascading errors across HTTP calls and I/O operations.

Does Polly v8 support hedging and rate limiting for .NET applications?

Yes, Polly v8 supports advanced resilience strategies including hedging for parallel requests, rate limiting integration, and typed pipelines with fallbacks to handle complex failure scenarios.

How does telemetry integration work with .NET resilience pipelines?

Telemetry integration with .NET resilience pipelines works through OpenTelemetry, providing metrics and state monitoring to track the behavior and effectiveness of your retry and circuit breaker strategies.

What are the limitations of using Polly v7 policies for .NET resilience?

Polly v7 policies lack the unified pipeline architecture of Polly v8, leading to anti-patterns like per-call manual wrapping; always use Polly v8 pipelines and apply idempotency for non-idempotent retries.