goroutine-leak-prevention

Community

Prevent goroutine leaks in Go SDKs.

AuthorPremModhaOfficial
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Goleak patterns, race-condition hygiene, and ctx-cancelled goroutine exits are a source of subtle bugs in Go SDKs. This skill helps teams identify and prevent leaks and ensures clean shutdown paths.

Core Features & Use Cases

  • Detect common goleak patterns and race-hygiene gaps in Go SDK modules.
  • Enforce proper context cancellation and graceful goroutine termination.
  • Use during design and reviews to prevent leaks in long-running services and concurrent workflows.

Quick Start

Audit a Go module for goroutine leaks and run the sdk-leak-hunter to verify safe cancellation of all goroutines.

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: goroutine-leak-prevention
Download link: https://github.com/PremModhaOfficial/go-sdk-pipeline/archive/main.zip#goroutine-leak-prevention

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.