Idiomatic context.Context usage in Golang — propagation through API boundaries, cancellation, timeouts and deadlines, r…
Part of cc-skills-golangPack · 46 skills
by samber· Developer toolsUnclaimed · Yours? Claim it
About
Idiomatic context.Context usage in Golang — propagation through API boundaries, cancellation, timeouts and deadlines, request-scoped values, context.WithoutCancel for background work outliving requests. Apply when designing context propagation across layers, debugging leaked or unexpired contexts, choosing between context.Background/TODO/WithoutCancel, or storing values in context. Not for code that merely accepts ctx as first parameter.
Skills people install alongside golang-context.
Runs on your machine.
Runs on your machine.
Runs on your machine.
Runs on your machine.
npx -y degit samber/cc-skills-golang/skills/golang-context ~/.copilot/skills/golang-context
Runs on your machine.
npx -y degit samber/cc-skills-golang/skills/golang-context ~/.cursor/skills/golang-context
Runs on your machine.
npx -y degit samber/cc-skills-golang/skills/golang-context ~/.claude/skills/golang-context
Runs on your machine.
npx -y degit samber/cc-skills-golang/skills/golang-context ~/.agents/skills/golang-context
Runs on your machine.
Runs on your machine.
npx -y degit samber/cc-skills-golang/skills/golang-context ~/.gemini/skills/golang-context
Runs on your machine.
npx -y degit samber/cc-skills-golang/skills/golang-context .agents/skills/golang-context
Runs on your machine.
npx -y degit samber/cc-skills-golang/skills/golang-context ~/.openclaw/skills/golang-context
Runs on your machine.
npx -y degit samber/cc-skills-golang/skills/golang-context ~/.config/opencode/skills/golang-context
Runs on your machine.
npx -y degit samber/cc-skills-golang/skills/golang-context ~/.hermes/skills/golang-context
Scanned and passed · checked 2 h ago
From people who use it
Step by step
Nothing new reaches your agent until a person has looked at it.
Scanned on every change, and again when our rules improve.
No reviews yet. Used golang-context? Say how it went.
Write a reviewTw93's engineering habits as eight skills: plan before you build, debug to root cause, review before you ship, and more.
Go skills for coding agents: idiomatic style, error handling, testing, concurrency, security and performance for production Go projects.
Test Double's coding skills: build test-first, refactor under green tests, review your branch and trace bugs to their root cause.
Nobody has shared how they use golang-context yet.
Security scan
Passed
Safe to install in every agent it supports. Runs in your agent, as instructions.