context-deadline-patterns

Community

Deadline-aware SDK cancellation patterns

AuthorPremModhaOfficial
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Patterns for safe context deadline propagation, cancellation safety, and deadline-to-timeout bridging in Go SDK methods.

Core Features & Use Cases

  • Inherits ctx.Deadline across API boundaries to ensure timely cancellation.
  • Provides safe cancellation propagation in concurrent routines and goroutines.
  • Bridges deadlines to timeouts for external calls to maintain predictable behavior.

Quick Start

Import and apply the recommended deadline patterns to your SDK methods to ensure cancellation-safe behavior.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: context-deadline-patterns
Download link: https://github.com/PremModhaOfficial/go-sdk-pipeline/archive/main.zip#context-deadline-patterns

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.