What problem does it solve?
Review Go code for language and runtime conventions to surface issues in concurrency, context handling, error propagation, and resource management.
Core Features & Use Cases
- Goroutine lifecycle and synchronization: identify leaks, improper cancellation, and data races.
- Context usage and cancellation: ensure contexts are passed and not stored in long-lived structs.
- Error handling and propagation: verify wrapping with %w and proper use of errors.Is/As.
- Resource management: ensure proper closing of resources and cleanup.
- API stability and testing: check exported types and testability.
- Use cases include Go project audits, pre-PR checks, and continuous quality improvement.
Quick Start
Provide the Go code scope you want reviewed and the skill will return a findings list focused on concurrency, context usage, errors, and resource management.