Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Designs, builds, tests, reviews production Go HTTP servers with strict decoding, routing, middleware, timeouts, and graceful shutdown.
91% 91%0 ptsof test cases passed
Passed 21 of 23 test cases with the skill, and 21 of 23 without it.
3 of 3 safety checks passed
Not used yet
Keep handlers thin, bound untrusted input, configure the server explicitly, and make startup and shutdown part of the tested application contract.
| Task | Load |
|---|---|
| Build a server | guidelines.md, workflows/build-http-server.md |
| Test handlers or lifecycle | workflows/test-http-server.md |
| Review routing, middleware, JSON, or shutdown | references/http-server/rules.md |
| Understand server and writer contracts | references/http-server/knowledge.md |
| Review patterns | references/http-server/examples.md |
http.DefaultServeMux for application composition.ResponseWriter preserves optional capabilities.Guidance is transformed and paraphrased from Inanc Gumus, Go by Example: Programmer's Guide to Idiomatic and Testable Programs (Manning, 2025), Chapters 8-9. Examples are original.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.