pkg-context

Community

Master Go's context management for robust, cancellation-aware apps.

Authorep0ll
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Managing context propagation and cancellation in Go programs can be complex, especially in concurrent operations.

Core Features & Use Cases

  • Comprehensive Reference: Provides detailed guidance on creating and propagating contexts, including timeout and deadline management.
  • Best Practices: Explains safe patterns for passing and storing context, preventing goroutine leaks, and handling cancellation.
  • Use Case: A developer implementing graceful shutdown for a server can utilize the guidelines for context cancellation and cleanup.

Quick Start

Load this Skill to review how to correctly pass contexts in API methods and prevent goroutine leaks in your Go applications.

Dependency Matrix

Required Modules

None required

Components

referencesassets

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: pkg-context
Download link: https://github.com/ep0ll/bons-ci/archive/main.zip#pkg-context

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.