[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EFRTPX4RWHXYBG2JZT7T6Z":3,"skill-same:01M6EFRTPX4RWHXYBG2JZT7T6Z":45},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":27,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M6EFRTPX4RWHXYBG2JZT7T6Z","pagerduty",null,"ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FTerminalSkills\u002Fskills\u002Fpagerduty\u002FSKILL.md",[],[5],"2026-11-10 10:12:30",false,"# PagerDuty\n\n## Overview\n\nSet up PagerDuty for incident management with on-call schedules, escalation policies, and integrations. Covers service creation, Events API for triggering alerts, schedule management, and automation via the REST API.\n\n## Instructions\n\n### Task A: Create Services and Escalation Policies\n\n```bash\n# Create an escalation policy\ncurl -X POST \"https:\u002F\u002Fapi.pagerduty.com\u002Fescalation_policies\" \\\n  -H \"Authorization: Token token=${PD_API_KEY}\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"escalation_policy\": {\n      \"name\": \"Platform Team Escalation\",\n      \"escalation_rules\": [\n        {\n          \"escalation_delay_in_minutes\": 10,\n          \"targets\": [\n            { \"id\": \"P1AB2CD\", \"type\": \"schedule_reference\" }\n          ]\n        },\n        {\n          \"escalation_delay_in_minutes\": 15,\n          \"targets\": [\n            { \"id\": \"PXYZ789\", \"type\": \"user_reference\" }\n          ]\n        }\n      ],\n      \"repeat_enabled\": true,\n      \"num_loops\": 2\n    }\n  }'\n```\n\n```bash\n# Create a service with the escalation policy\ncurl -X POST \"https:\u002F\u002Fapi.pagerduty.com\u002Fservices\" \\\n  -H \"Authorization: Token token=${PD_API_KEY}\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"service\": {\n      \"name\": \"Payment Service - Production\",\n      \"description\": \"Payment processing microservice\",\n      \"escalation_policy\": { \"id\": \"PESCAL1\", \"type\": \"escalation_policy_reference\" },\n      \"alert_creation\": \"create_alerts_and_incidents\",\n      \"auto_resolve_timeout\": 14400,\n      \"acknowledgement_timeout\": 1800,\n      \"alert_grouping_parameters\": {\n        \"type\": \"intelligent\"\n      },\n      \"incident_urgency_rule\": {\n        \"type\": \"use_support_hours\",\n        \"during_support_hours\": { \"type\": \"constant\", \"urgency\": \"high\" },\n        \"outside_support_hours\": { \"type\": \"constant\", \"urgency\": \"low\" }\n      },\n      \"support_hours\": {\n        \"type\": \"fixed_time_per_day\",\n        \"time_zone\": \"America\u002FNew_York\",\n        \"days_of_week\": [1, 2, 3, 4, 5],\n        \"start_time\": \"08:00:00\",\n        \"end_time\": \"20:00:00\"\n      }\n    }\n  }'\n```\n\n### Task B: Send Alerts via Events API\n\n```bash\n# Trigger an alert\ncurl -X POST \"https:\u002F\u002Fevents.pagerduty.com\u002Fv2\u002Fenqueue\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"routing_key\": \"\u003CINTEGRATION_KEY>\",\n    \"event_action\": \"trigger\",\n    \"dedup_key\": \"payment-service\u002Fhigh-error-rate\u002Fprod\",\n    \"payload\": {\n      \"summary\": \"Payment Service: Error rate exceeded 5% (currently 8.3%)\",\n      \"severity\": \"critical\",\n      \"source\": \"prometheus-alertmanager\",\n      \"component\": \"payment-service\",\n      \"group\": \"production\",\n      \"class\": \"error_rate\",\n      \"custom_details\": {\n        \"error_rate\": \"8.3%\",\n        \"threshold\": \"5%\",\n        \"affected_endpoints\": [\"\u002Fapi\u002Fcharge\", \"\u002Fapi\u002Frefund\"],\n        \"runbook\": \"https:\u002F\u002Fwiki.internal\u002Frunbooks\u002Fpayment-errors\"\n      }\n    },\n    \"links\": [\n      { \"href\": \"https:\u002F\u002Fgrafana.internal\u002Fd\u002Fpayments\", \"text\": \"Grafana Dashboard\" }\n    ]\n  }'\n```\n\n```bash\n# Acknowledge an alert\ncurl -X POST \"https:\u002F\u002Fevents.pagerduty.com\u002Fv2\u002Fenqueue\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"routing_key\": \"\u003CINTEGRATION_KEY>\",\n    \"event_action\": \"acknowledge\",\n    \"dedup_key\": \"payment-service\u002Fhigh-error-rate\u002Fprod\"\n  }'\n```\n\n```bash\n# Resolve an alert\ncurl -X POST \"https:\u002F\u002Fevents.pagerduty.com\u002Fv2\u002Fenqueue\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"routing_key\": \"\u003CINTEGRATION_KEY>\",\n    \"event_action\": \"resolve\",\n    \"dedup_key\": \"payment-service\u002Fhigh-error-rate\u002Fprod\"\n  }'\n```\n\n### Task C: On-Call Schedules\n\n```bash\n# Create a weekly rotation schedule\ncurl -X POST \"https:\u002F\u002Fapi.pagerduty.com\u002Fschedules\" \\\n  -H \"Authorization: Token token=${PD_API_KEY}\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"schedule\": {\n      \"name\": \"Platform Team Primary On-Call\",\n      \"time_zone\": \"America\u002FNew_York\",\n      \"schedule_layers\": [\n        {\n          \"name\": \"Weekly Rotation\",\n          \"start\": \"2026-02-19T09:00:00-05:00\",\n          \"rotation_virtual_start\": \"2026-02-19T09:00:00-05:00\",\n          \"rotation_turn_length_seconds\": 604800,\n          \"users\": [\n            { \"user\": { \"id\": \"PUSER01\", \"type\": \"user_reference\" } },\n            { \"user\": { \"id\": \"PUSER02\", \"type\": \"user_reference\" } },\n            { \"user\": { \"id\": \"PUSER03\", \"type\": \"user_reference\" } }\n          ],\n          \"restrictions\": [\n            {\n              \"type\": \"daily_restriction\",\n              \"start_time_of_day\": \"09:00:00\",\n              \"duration_seconds\": 57600\n            }\n          ]\n        }\n      ]\n    }\n  }'\n```\n\n```bash\n# Get who is currently on call\ncurl -s \"https:\u002F\u002Fapi.pagerduty.com\u002Foncalls?schedule_ids[]=PSCHED1&earliest=true\" \\\n  -H \"Authorization: Token token=${PD_API_KEY}\" | \\\n  jq '.oncalls[] | {user: .user.summary, schedule: .schedule.summary, start: .start, end: .end}'\n```\n\n### Task D: Incident Management\n\n```bash\n# List open incidents\ncurl -s \"https:\u002F\u002Fapi.pagerduty.com\u002Fincidents?statuses[]=triggered&statuses[]=acknowledged\" \\\n  -H \"Authorization: Token token=${PD_API_KEY}\" | \\\n  jq '.incidents[] | {id: .id, title: .title, status: .status, urgency: .urgency, service: .service.summary, created: .created_at}'\n```\n\n```bash\n# Add a note to an incident\ncurl -X POST \"https:\u002F\u002Fapi.pagerduty.com\u002Fincidents\u002F${INCIDENT_ID}\u002Fnotes\" \\\n  -H \"Authorization: Token token=${PD_API_KEY}\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"From: oncall@example.com\" \\\n  -d '{\n    \"note\": {\n      \"content\": \"Identified root cause: connection pool exhaustion on db-primary. Scaling up connections from 100 to 200.\"\n    }\n  }'\n```\n\n### Task E: Automation with Event Orchestration\n\n```bash\n# Create event orchestration rules\ncurl -X PUT \"https:\u002F\u002Fapi.pagerduty.com\u002Fevent_orchestrations\u002F${ORCH_ID}\u002Frouter\" \\\n  -H \"Authorization: Token token=${PD_API_KEY}\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"orchestration_path\": {\n      \"sets\": [\n        {\n          \"id\": \"start\",\n          \"rules\": [\n            {\n              \"label\": \"Route payments alerts\",\n              \"conditions\": [\n                { \"expression\": \"event.component matches part '\\''payment'\\'' \" }\n              ],\n              \"actions\": {\n                \"route_to\": { \"service\": { \"id\": \"PSVC_PAY\", \"type\": \"service_reference\" } }\n              }\n            },\n            {\n              \"label\": \"Suppress health checks\",\n              \"conditions\": [\n                { \"expression\": \"event.payload.summary matches part '\\''health check'\\''\" }\n              ],\n              \"actions\": { \"suppress\": true }\n            }\n          ]\n        }\n      ],\n      \"catch_all\": {\n        \"actions\": {\n          \"route_to\": { \"service\": { \"id\": \"PSVC_DEFAULT\", \"type\": \"service_reference\" } }\n        }\n      }\n    }\n  }'\n```\n\n## Best Practices\n\n- Use `dedup_key` to prevent duplicate incidents for the same issue\n- Set intelligent alert grouping to automatically correlate related alerts\n- Include runbook links and dashboard URLs in alert custom details\n- Configure support hours to route low-urgency alerts during business hours only\n- Rotate on-call weekly and limit shifts to avoid burnout\n- Use event orchestration to suppress noisy alerts and enrich events before routing\n",{},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002FTerminalSkills\u002Fskills\u002Fpagerduty",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill pagerduty",{"tool":37,"command":38},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill pagerduty",{"tool":40,"command":41},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill pagerduty","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FTerminalSkills\u002Fskills\u002Fpagerduty\u002FSKILL.md",true,[],[46,55,64,73,79,85],{"skillNo":47,"name":48,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":18},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[52,53,54],"model","model hierarchy","model hierarchy skill",{"skillNo":56,"name":57,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":18},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[61,62,63],"MCP","zoom","zoom mcp",{"skillNo":65,"name":66,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":18},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[70,71,72,62],"sdk","zoom apps sdk","apps",{"skillNo":74,"name":75,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[75],{"skillNo":80,"name":81,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[81],{"skillNo":86,"name":87,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":18},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[87]]