What problem does it solve?
This Skill prevents production outages and flaky integrations caused by incorrect HttpClient usage, missing resilience policies, and unsafe configuration patterns.
Core Features & Use Cases
- Centralized HTTP client setup with IHttpClientFactory: Avoids per-request HttpClient creation and ensures proper handler lifetime management.
- Resilience-by-default for external calls: Adds retry, timeouts, circuit breaker, and rate limiting via AddStandardResilienceHandler.
- Production-ready client pipelines: Uses DelegatingHandlers for auth tokens and correlation IDs, plus optional SocketsHttpHandler tuning for pooling.
Real-world example: Your service calls a third-party payments API and sometimes experiences transient failures; you use the factory, add resilience defaults, inject tokens via a DelegatingHandler, and keep DNS and connection lifetimes healthy under load.
Quick Start
Load the httpclient-factory skill and ask it to generate a .NET 10 IHttpClientFactory setup that uses keyed clients with standard resilience, plus an auth DelegatingHandler and a correlation ID handler for outgoing requests.