go-panic-recovery
OfficialShield Go services from panics with recovery.
System Documentation
What problem does it solve?
Analyzes Go codebases to identify unprotected goroutines and systematically adds panic recovery handlers to prevent service crashes. Use when users request panic handling improvements, service resilience enhancements, or goroutine safety analysis. Triggers include "add panic recovery", "find unhandled panics", "protect goroutines", "make service resilient to panics", "scan for unsafe goroutines", or any request to prevent panics from crashing Go services.
Core Features & Use Cases
- Identify unprotected goroutines in production-grade Go code and insert panic-recovery wrappers.
- Add defer recover patterns with contextual logging to isolate and document panics.
- Improve resilience by ensuring spawned goroutines cannot crash the entire service.
Quick Start
Run the panic-recovery analysis to identify unprotected goroutines and automatically insert defer recover blocks with contextual logging.
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-panic-recovery Download link: https://github.com/razorpay/trino-gateway/archive/main.zip#go-panic-recovery 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 471,000+ vetted skills library on demand.