PagerDuty Pre-Commit Risk Score

コミット前の差分を PagerDuty のインシデント履歴と照合してリスクスコアを算出し、デプロイ前にリスクを可視化します。

PagerDuty のインシデント履歴と現在のコード変更を照合することで、コミット前のリスクを評価します。/risk-score コマンドは、リポジトリを PagerDuty サービスにマッピングし、アクティブなインシデントを確認し、90 日分のインシデント履歴を分析したうえで、変更箇所と過去のインシデント発生箇所の相関関係を特定します。

0〜5 のスコア、インシデントのコンテキスト、構造的なリスクシグナル、実践的な推奨事項を含む構造化されたリスク評価を出力します。PagerDuty の API キーが必要です。

使い方:

本番サービスへの変更をコミットする前に /risk-score を実行します。対象サービスでアクティブな P1/P2 インシデントが発生している場合、変更箇所がそのインシデントに関連するコードに触れているかどうかを検出し、障害対応中に状況を悪化させるリスクを警告します。

データベースマイグレーションファイルや認証コードを変更した後に /risk-score を実行します。差分内の構造的なリスクシグナルを特定し、過去のインシデントパターンと照合することで、過去 90 日間に類似の変更がインシデントに先行していたかどうかを明らかにします。

新しいリポジトリで /risk-score を実行します。リポジトリ名のマッチングにより PagerDuty サービスを自動検出するか、一覧から手動で選択できます。マッピング情報はキャッシュされるため、2 回目以降のチェックは即座に完了します。

その他のプラグイン

Frontend Design

Frontend design skill for UI/UX implementation

Superpowers

Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques

Code Review

Automated code review for pull requests using multiple specialized agents with confidence-based scoring

Context7

Upstash Context7 MCP server for up-to-date documentation lookup. Connects to Context7's hosted remote MCP server (https://mcp.context7.com/mcp) — no local Node.js or npx required — to pull version-specific documentation and code examples directly from source repositories into your LLM context. Authenticate with Context7 when prompted.

Code Simplifier

Agent that simplifies and refines code for clarity, consistency, and maintainability while preserving functionality

Playwright

Browser automation and end-to-end testing MCP server by Microsoft. Enables Claude to interact with web pages, take screenshots, fill forms, click elements, and perform automated browser testing workflows.