golang-context
golang-context is an agent skill published by samber, listed under review & testing. It lives in the samber/cc-skills-golang repository, which has 3,672 GitHub stars and is licensed under MIT; we last read it on 2026-09-16.
Provides idiomatic `context.Context` usage in Golang for propagating context across API boundaries, managing cancellation, timeouts, and request-scoped values. Includes `context.WithoutCancel` for background tasks that outlive requests.
Install
skills is a generic installer for any repository of Claude agent skills -- it reads samber/cc-skills-golang’s own structure rather than assuming one, the same way this page reads the skill’s own SKILL.md rather than assuming a format.
npx skills add samber/cc-skills-golang
Maintenance
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.
golang-context compared with similar skills
| Skill | Publisher | What it does | Repo stars | Last update |
|---|---|---|---|---|
| golang-context (this page) | samber | Idiomatic context.Context usage in Golang — propagation through API boundaries, cancellation, timeouts and de… | 3,672 | 2026-10-23 |
| golang-benchmark(same repository) | samber | Golang benchmarking, profiling, and performance measurement. Use when writing, running, or comparing Go bench… | 3,672 | 2026-10-23 |
| golang-cli(same repository) | samber | Golang CLI application development. Use when building, modifying, or reviewing a Go CLI tool — especially for… | 3,672 | 2026-10-23 |
| golang-concurrency(same repository) | samber | Golang concurrency design — goroutine lifecycle and leak prevention, channels and `select`, channel ownership… | 3,672 | 2026-10-23 |
| golang-database(same repository) | samber | Comprehensive guide for Go database access — parameterized queries, struct scanning, NULLable columns, transa… | 3,672 | 2026-10-23 |
| golang-grpc(same repository) | samber | Provides gRPC usage guidelines, protobuf organization, and production-ready patterns for Golang microservices… | 3,672 | 2026-10-23 |
| golang-lint(same repository) | samber | Linting best practices and golangci-lint configuration for Golang projects — running linters, configuring .go… | 3,672 | 2026-10-23 |
Skills from the same repository first, then others for this job by repository stars. Figures are from each repository when we last read it.
Common questions about golang-context
- What does golang-context do?
- Provides idiomatic `context.Context` usage in Golang for propagating context across API boundaries, managing cancellation, timeouts, and request-scoped values. Includes `context.WithoutCancel` for background tasks that outlive requests.
- How do I install golang-context?
- Run npx skills add samber/cc-skills-golang. The skills installer reads the repository’s own structure, so it works for any repository of agent skills.
- Who publishes golang-context?
- samber.
- Is golang-context maintained, and what licence does it use?
- Its repository has 3,672 GitHub stars and its state in our directory is listed. Its last commit we recorded was on 2026-10-23. The repository declares the MIT licence.
More agent skills for review & testing
- browser-testing-with-devtoolsby addyosmani
- code-review-and-qualityby addyosmani
- code-simplificationby addyosmani
- doubt-driven-developmentby addyosmani
- vitestby antfu
- webapp-testingby anthropic