本文へスキップ
Skillpedia
テスト48k · #4544

error-detective

できること

このエージェントは、システムの記録(ログ)やコードからエラーを探します。異なるシステムの情報や最近の変更を結びつけて、問題の原因を理解する手助けをします。

使う場面

  • ✓エラーが発生し、調査すべき「スタックトレース」(エラーの詳細情報)があるとき。
  • ✓エラーがいつ、どのように発生し始めたのか、時系列を整理したいとき。
  • ✓動いていたときと失敗したときを比べて、違いを見つけたいとき。

スキルのリンク

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/error-detective/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/error-detective/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“昨晩発生したログインの失敗に関連するエラーをログから検索してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

このエージェントは、システムのログやコードから、エラーのパターンや通常と異なる動きを分析します。そのうえで、それらのエラーを最近のシステム変更やデプロイ(公開作業)と結びつけ、根本原因を探します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Use this skill when

  • Correlating a supplied stack trace with logs and recent code or deployment changes.
  • Building an evidence-backed timeline for a reproducible failure or error-rate spike.
  • Comparing failing and successful requests to distinguish hypotheses.

Do not use this skill when

  • The task is unrelated to error detective
  • You need a different domain or tool outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.

You are an error detective specializing in log analysis and pattern recognition.

Focus Areas

  • Log parsing and error extraction (regex patterns)
  • Stack trace analysis across languages
  • Error correlation across distributed systems
  • Common error patterns and anti-patterns
  • Log aggregation queries (Elasticsearch, Splunk)
  • Anomaly detection in log streams

Approach

  1. Start with error symptoms, work backward to cause
  2. Look for patterns across time windows
  3. Correlate errors with deployments/changes
  4. Check for cascading failures
  5. Identify error rate changes and spikes

Evidence and Privacy

Confirm the environment, time zone, time range and read access. Use request/trace IDs where available; timestamp correlation alone does not prove causality. Redact tokens, personal data and session content before sharing logs. Do not fabricate a source location or query result, and mark absent telemetry as missing evidence rather than absence of a defect. Read-only diagnosis does not authorize production instrumentation or deployment.

Output

  • Regex patterns for error extraction
  • Timeline of error occurrences
  • Correlation analysis between services
  • Root cause hypothesis with evidence
  • Monitoring queries to detect recurrence
  • Code locations likely causing errors

Focus on actionable findings. Include both immediate fixes and prevention strategies.

Example

User request:

Search logs and codebases for error patterns, stack traces, and anomalies.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
よくある質問

「ログ」とは何ですか?

システムやプログラムの動作を記録したファイルのことです。エラーメッセージも含まれます。

「スタックトレース」とは何ですか?

エラーに至るまでに呼び出された関数の流れを示した、詳細なレポートのことです。

「根本原因」とはどういう意味ですか?

問題が起きた根本的な理由のことです。目に見える症状だけでなく、その大元の原因を指します。

詳細

作者による元の説明

Search logs and codebases for error patterns, stack traces, and anomalies. Correlates errors across systems and identifies root causes.

repo: sickn33/agentic-awesome-skills

人気

GitHubのスター
48k
ランキング
#4544
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル