pagerduty-automation
自動化 PagerDuty 事件管理
直接從 Claude 管理 PagerDuty 事件、服務、班表和值班輪值。簡化事件回應流程,無需離開 AI 助理即可完成。
下載技能 ZIP
在 Claude 中上傳
前往 設定 → 功能 → 技能 → 上傳技能
開啟並開始使用
測試它
正在使用「pagerduty-automation」。 Who is on-call for the platform team this week?
預期結果:
- 排班:平台團隊值班
- 目前值班:John Smith (john.smith@company.com)
- 輪值:每週
- 下次交接:週一 09:00 UTC
正在使用「pagerduty-automation」。 Create a high-urgency incident titled 'Payment Gateway Timeout' for the checkout service
預期結果:
- 事件已成功建立
- ID:P123XYZ
- 狀態:已觸發
- 服務:Checkout API
- 緊急程度:高
- 已升級至:平台值班
安全審計
安全All 112 static findings are FALSE POSITIVES. The SKILL.md file is pure documentation describing PagerDuty automation via Rube MCP server. Static analyzer incorrectly flagged tool names (e.g., PAGERDUTY_FETCH_INCIDENT_LIST) as shell commands, but these are MCP tool identifiers in documentation text only. The hardcoded URL is the legitimate Rube MCP endpoint. No executable code, command injection vectors, or malicious patterns exist.
風險因素
⚙️ 外部命令
🌐 網路存取 (1)
品質評分
你能建構什麼
事件回應人員
透過執行自然語言命令(如「確認事件 P123ABC」)在值班期間快速確認或解決事件
DevOps 自動化工程師
透過 Claude Code 以程式設計方式建立事件、管理服務設定和設定值班排班
團隊負責人
查看目前所有排班的值班人員,無需登入 PagerDuty 即可建立或修改升級策略
試試這些提示
Who is currently on-call for the production support schedule?
Acknowledge incident P123ABC with note: 'Working on database connection issue'
Create a new PagerDuty service named 'Checkout API' using escalation policy 'Default' with alert creation set to 'create_incidents'
List all unacknowledged incidents from the last 2 hours, grouped by service
最佳實務
- 始終先呼叫 RUBE_SEARCH_TOOLS 以取得目前可用的工具結構描述,然後再執行命令
- 在執行工作流程前驗證連線狀態顯示為 ACTIVE
- 在儲存複雜的排班變更之前先使用預覽工具
避免
- 嘗試建立事件前未驗證 PagerDuty 連線是否作用中
- 嘗試建立服務時沒有現有的升級策略
- 嘗試將事件向後轉換(已解決 -> 已觸發)