go-context-cancellation
CommunityContext cancellation patterns for graceful shutdown.
AuthorJamesPrial
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill emphasizes passing context and checking ctx.Done() to enable graceful shutdown of long-running operations.
Core Features & Use Cases
- Context First: Function signatures start with context.Context.
- Cancellation Propagation: Downstream calls receive the same context.
- Time Limits: Use WithTimeout/WithDeadline to bound work.
Quick Start
Implement a function that takes context and respects cancellation in a loop.
Dependency Matrix
Required Modules
None requiredComponents
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: go-context-cancellation Download link: https://github.com/JamesPrial/claudefiles/archive/main.zip#go-context-cancellation Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.