Skill / SKILL.md

Golang Context

samber/cc-skills-golang

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.
2 views 4,013 repository stars 0 commentsUpdated Nov 27, 2026
Overview

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.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/samber/cc-skills-golang' skill-source

Use the complete skill-source/skills/golang-context directory with your client’s skill installer.

  • skills/golang-context

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/golang-context

Compatibility & requirements

Declared compatibility

Designed for Claude Code, Codex or similar harness, and for projects using Golang.

Declared tools

Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Needs source review
Checked at
Pending source check
Content SHA-256
8dbbdf0106727400b12054673c799414aeeb97e555603cea4563c507f81dadb2
Format validation findings
  • Metadata requires string values.
Agent Skills specification
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills