Use when working with context.Context in Go — placement in signatures, propagating cancellation and deadlines, and storing values in context vs parameters. Also use when cancelling long-running operations, setting timeouts, or passing request-scoped data, even if they don't mention context.Context directly. Does not cover goroutine lifecycle or sync primitives (see go-concurrency).
$npx -y skills add cxuu/golang-skills --skill go-contextInstalls into the current project.
Run `npx skills use "https://github.com/cxuu/golang-skills" --skill "cxuu/golang-skills/go-context"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/cxuu/golang-skills" that are relevant to the current task. Run `npx skills add "https://github.com/cxuu/golang-skills"` and select the relevant skills, then follow their instructions.