go-goroutine-auditor
CommunityAudit Go goroutines for leaks
Authorsaddam-eng-tech
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the common and hard-to-debug issue of goroutine leaks in Go applications, which can lead to memory exhaustion and application instability.
Core Features & Use Cases
- Goroutine Analysis: Scans Go source files to identify all goroutine launches.
- Risk Assessment: Assigns a risk score (LOW/MEDIUM/HIGH) to each goroutine based on potential issues like missing context cancellation or panic recovery.
- Refactoring Suggestions: Provides improved code examples using
errgrouporsync.WaitGroupfor better lifecycle management. - Testing Integration: Generates
goleaktest setups to catch leaks in CI/CD pipelines.
Quick Start
Audit all goroutines in the provided Go source files for potential leaks and suggest refactored code.
Dependency Matrix
Required Modules
errgroupgoleak
Components
scriptsreferences
💻 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-goroutine-auditor Download link: https://github.com/saddam-eng-tech/ai-agent-skills/archive/main.zip#go-goroutine-auditor 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.