investigate-production
できること
このスキルは、Sazabiのログを使い、本番のエラーを実際の証拠で説明します。何が壊れていて、なぜで、誰が影響を受けているかに答える必要がある人向けです。
使う場面
- ✓ユーザーが本番のエラーや、遅くなったり失敗したりしているエンドポイントを報告したとき。
- ✓アラートが鳴り、実際に何が起きているかを知る必要があるとき。
- ✓何かが動かなくなる前に何が変わったかを知りたいとき。
スキルのリンク
https://github.com/ParadevAI/Paradev/blob/main/plugins/sazabi/skills/investigate-production/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“今朝からユーザーがチェックアウトに失敗していると言っています。本番のログを使って、何が失敗していて、なぜで、誰が影響を受けているかを教えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、Sazabiにその問題に関する課題やスレッドがすでにあるかを確認します。その後、ログに正確な問いを投げかけ、各答えの裏付けとなるログ行を読みます。何が失敗し、誰が影響を受けるかについて主張をします。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Investigate with the logs, not the guess
Sazabi stores your logs, traces and metrics and answers questions about them. The job is to turn "something is broken" into a claim about what fails, why, and who it hits, backed by real log lines, before anyone edits code.
0. How the tools work
The Sazabi MCP server lists only two tools, search and execute. Browse
Sazabi's operations with search and namespace: "sazabi" (an empty query
without a namespace lists connected connectors, not Sazabi operations). Before
calling one, repeat search with namespace: "sazabi", the hit's full name as
the query, and includeInputSchema: true to load its arguments. Then run it
with execute as { name, arguments }, the name copied from the hit (for
example sazabi/logs.ask).
Most operations work on one project. If the user did not name one and more than one exists, ask which, or pick the one whose name matches this repository.
1. Start from what is already known
Run sazabi/issues.search for the symptom. Sazabi opens issues on its own when
it sees new or growing errors, so the bug may already have a title, a severity,
and a first-seen time. Then run sazabi/search.threads for the same words: a
teammate or the Sazabi agent may already have investigated it.
Treat search hits as candidates. Match on the error and the code path, not on title similarity.
2. Ask the logs one precise question at a time
sazabi/logs.ask takes a question in plain language and returns an answer,
an explanation of what it measured, the window, and a queryId.
- Open with an overview when you do not know where to look yet: "what is broken in the last hour", "what changed since yesterday's deploy". It returns the kinds of log lines in the window, with counts against the window before and example lines.
- Then narrow to questions with one answer: "how many 5xx did
POST /api/checkout return per 5 minutes over the last 6 hours", "which
customer IDs saw
PaymentTimeouttoday", "show the 20 most recent lines for trace id abc123". - Read
explanationandwindowevery time. An answer over the wrong service, window or field is confidently wrong.
3. Read the lines, then the code
Pull the actual log lines for the failure, including the requests just before it. Find the first line this repository emits on the failing path, then open that code in the working tree. Production runs a release: check the version or commit in the logs against the branch before you trust line numbers.
Before you propose a cause, check what the failures have in common: one endpoint, one tenant, one region, one release, one upstream? A failure scoped to a dimension names its own trigger. A failure that starts at a deploy points at that deploy's diff.
4. Report cause, scope, and blast radius
Write three sentences: what fails, why, and who it hits (volume, affected customers, since when). Quote the log lines and the question you asked, so the user can rerun it. Only then, if asked, fix the code you found.
Anti-patterns
- Fixing the first error you see. The loudest line is often a downstream retry, not the cause.
- One overview, no follow-up. An overview finds where to look; it is not the evidence.
- Trusting an answer without its window. "No errors" over the last 5 minutes says nothing about the outage an hour ago.
- Pasting secrets from logs. Log lines can hold tokens and personal data. Quote only what the finding needs.
よくある質問
調査中にコードを変更しますか?
いいえ。このスキルは、原因が明確になるまで、まずログと課題から作業し、コードには触れません。
プロジェクトが複数ある場合は?
名前を指定されていない場合は、どれを使うかを尋ねるか、このリポジトリに合うものを選びます。
原因についての推測を受け入れますか?
いいえ。症状と原因を分け、それぞれの主張をログ行で裏付けます。
詳細
作者による元の説明
Find out what is actually happening in production from Sazabi's logs, traces and issues before touching code — ask the logs a precise question, read the lines behind the answer, and separate the symptom from its cause. Use when the user reports a production error, a slow or failing endpoint, a customer complaint, an alert, or asks what is broken, what changed, or why something stopped working.
repo: ParadevAI/Paradev
人気
- GitHubのスター
- 16k
- ランキング
- #10844
- ライセンス
- —
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
decide
16kエージェントが、設計やコードの決定を明確な選択肢と推奨を添えて一つずつ進められるよう支援し、最後に要約を示します。
mobile-demo-film
16kエージェントが、スマートフォンの画面録画を、タイトルカード、電話のフレーム、エンドカード付きの洗練されたデモ動画に変えられるよう支援します。
redesign
16kエージェントが、既存のインターフェースを見直し、余白、コントラスト、階層、レイアウトの具体的な修正案を示せるよう支援します。
superset-settings
16kエージェントが、Paradevデスクトップアプリのテーマ、フォント、通知などの設定を、コマンドラインから確認し変更できるよう支援します。
似ているスキル
openclaw-update
394k既存のOpenClaw Gatewayを更新するようエージェントを支援します。インストール方法に合った更新方法を選び、セッションを動かし続けます。
diagnose-gateway
394k設定、チャンネル、ポートを確認して、OpenClaw Gatewayが失敗している理由を、何も変更せずに突き止めるようエージェントを支援します。
crabbox-apps
394k一時的なクラウドマシン上でアプリを開いて実行し、そのビューをチャットのサイドパネルに表示するようエージェントを支援します。