chavangorakh1999/sde-skills/on-call-runbook
Claude Code and agent skill by chavangorakh1999/sde-skills
- community
Checking that the SKILL.md file is still in the repository.
Runbook template: symptom -> probable cause -> diagnostic steps -> fix procedure -> escalation for each alert. Use when creating on-call documentation for a service.
Install
npx vskill@latest install chavangorakh1999/sde-skills/on-call-runbookSKILL.md
The same SKILL.md was published earlier as chavangorakh1999/sde-skills/on-call-runbook.
On-Call Runbook
A runbook is the operational guide for an alert: what it means, how to diagnose it, and how to fix it. A good runbook means a 2am alert doesn't require waking up an expert.
Context
Service or alert to document: $ARGUMENTS
Runbook Structure
Step 1: Check error logs (last 15 minutes)
CloudWatch Logs Insights:
fields @timestamp, level, errorMessage, requestId, path
| filter level = "error" and @timestamp > ago(15m) | |
|---|---|
| stats count(*) as cnt by errorMessage | |
| sort cnt desc | limit 10 |
Step 2: Check recent deployments
git log --oneline --since="2h ago"
Was there a deploy in the last 2 hours? -> consider rollback
Step 3: Check downstream services
Stripe status: https://status.stripe.com
AWS status: https://health.aws.amazon.com
Check circuit breaker state in metrics dashboard
Step 1: Identify which endpoints are slow
fields path, durationMs
| filter @timestamp > ago(15m) | |
|---|---|
| stats pct(durationMs, 99) as p99 by path | |
| sort p99 desc | limit 10 |
Step 2: Check DB query times
Look for: slow_query in logs, or check pg_stat_statements
SELECT query, mean_exec_time, calls, total_exec_time FROM pg_stat_statements ORDER BY mean_exec_time DESC LIMIT 10;
Step 3: Check external API latency
Look for: action="external_call" and high durationMs in logs
Kubernetes: rolling restart (replaces pods one at a time)
kubectl rollout restart deployment/[service] -n [namespace]
Verify rollout status
kubectl rollout status deployment/[service] -n [namespace]
kubectl scale deployment/[service] --replicas=10 -n [namespace]
Output Format
Produce a complete runbook document for the service/alert, following the template above. Include:
- Service overview and dependency map
- SLO definition
- One section per alert with: fires when, triage steps, probable causes, fixes, escalation
- Maintenance procedures for common operational tasks
- Escalation contacts and when to use them
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsde-execution/skills/on-call-runbook/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/chavangorakh1999/sde-skills/on-call-runbook)