Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Design, implement, test, and review resilient Go HTTP client boundaries with context propagation, layered timeouts, transport reuse, request construction, authentication, status classification, bounded bodies, retry safety, backoff, rate limits, pagination, observability, and deterministic fakes. Use when a Go CLI or service calls remote APIs or when HTTP behavior is slow, flaky, unsafe, or hard to test.
.claude/skills/hashgraph-online-go-http-client-resilience/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-02 | ✗→✓ | ▲ Improved | -14% | 0% |
| case-18 | ✗→✓ | ▲ Improved | -11% | 0% |
| case-21 | ✗→✓ | ▲ Improved | 20% | 0% |
| case-20 | ✓→✗ | ▼ Worse | 7% | 0% |
| case-03 | ✓→✓ | = Same ✓ | 33% | 0% |
Treat HTTP as a failure-prone boundary with a finite time and resource budget. Retry only when both the failure and the operation are safe.
| Task | Load | |---|---| | Build or overhaul an HTTP client | guidelines.md, workflows/build-http-client.md | | Configure deadlines, retries, or pagination | references/http-client-resilience/rules.md | | Review Go patterns | references/http-client-resilience/examples.md | | Understand failure and budget models | references/http-client-resilience/knowledge.md |
Guidance is transformed and paraphrased from Marian Montagnino, Building Modern CLI Applications in Go (Packt, 2023), especially Chapter 6, and Ricardo Gerardi, Powerful Command-Line Applications in Go (2021).
Streaming, transport-pool, and HTTP test guidance also incorporates transformed material from Inanc Gumus, Go by Example: Programmer's Guide to Idiomatic and Testable Programs (Manning, 2025), Chapter 7.
Body ownership and client-timeout guidance also incorporates transformed material from Teiva Harsanyi, 100 Go Mistakes and How to Avoid Them (Manning, 2022), Chapter 10.
Verify behavior against https://pkg.go.dev/net/http and current API-specific rate-limit, pagination, and idempotency documentation.
Other measured skills in the registry, with their headline benchmark lift.