samber/cc-skills-golang/golang-context
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.
Agent skill · version 2.0.1-main.1794413031.gd68d80a · from samber/cc-skills-golang
Install
npx yarkr-cli add skill:samber/cc-skills-golang/golang-contextWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:samber/cc-skills-golang/golang-context
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:samber/cc-skills-golang/golang-contextOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:samber/cc-skills-golang/golang-contextWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.