Install any skill in seconds. Free to start, no credit card required.
Get Started Free →hashgraph-online/go-http-client-resilience
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.
Passed 19 of 22 test cases with the skill, and 17 of 22 without it.
3 fixed16 passed either way2 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 3 test cases the skill fixed. Same model, same prompt, with and without the skill.
We are refactoring an outbound HTTP integration layer in our Go service. Please produce a complete Go HTTP request execution module that supports context deadlines, retries on temporary failures, and secure header management. Include the full source code and a checklist of safety measures used in the design.
| Checked | Without skill | With skill |
|---|---|---|
| Uses bounded readers such as io.LimitReader when consuming HTTP bodies | Passed | Passed |
| Avoids automatic retries for non-idempotent HTTP requests without idempotency validation | Missed | Passed |
| Excludes sensitive headers such as Authorization or Cookie from log statements | Passed | Passed |
The instructions your model reads when the skill loads.
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
test cases passed, vs 17 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.