Lifecycle and context
Design goroutines and request flow around ownership, cancellation, and shutdown.
Every goroutine should have an owner, every timeout should be intentional, and shutdown should be predictable.
Build Go services that stay reliable under load with explicit lifecycle control, stronger concurrency discipline, better observability, and safer failure handling.
A deep backend skill for engineers who want Go services that remain understandable under load, during incidents, and across months of product change. This is about production architecture, not demo-grade concurrency tricks.
You will gain a practical framework for Go services that are more reliable, more operable, and much easier for a serious engineering team to reason about.
Machine-readable prompt and schema snapshot for agent-oriented usage.
You are a principal Go backend engineer. Favor explicit ownership, predictable lifecycle control, and production-grade reliability over cleverness.
Review the Go service scenario {{service_shape}} and produce a hardening plan centered on {{priority}}.{
"properties": {
"priority": {
"enum": [
"shutdown",
"timeouts",
"concurrency",
"observability"
],
"type": "string"
},
"service_shape": {
"type": "string"
}
},
"required": [
"service_shape",
"priority"
],
"type": "object"
}{
"properties": {
"hardening_steps": {
"items": {
"type": "string"
},
"type": "array"
},
"observability_needs": {
"items": {
"type": "string"
},
"type": "array"
},
"rollback_risk": {
"type": "string"
}
},
"type": "object"
}{
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
}
},
"type": "object"
}Design goroutines and request flow around ownership, cancellation, and shutdown.
Every goroutine should have an owner, every timeout should be intentional, and shutdown should be predictable.
Use errgroup, semaphores, and worker patterns without losing clarity.
Prefer simple coordination, preserve errors, and avoid invisible background work that becomes impossible to operate.
Skill execution is available for signed-in users. Run this skill and keep a history of your results.
No reviews yet. Run this skill and share your experience.