Chuyển đến nội dung
Skillpedia
Kiểm thử48k · #4544

error-detective

Skill này làm gì

Agent này tìm lỗi trong nhật ký hệ thống và mã nguồn. Nó giúp hiểu điều gì gây ra sự cố bằng cách kết nối thông tin từ các hệ thống khác nhau và các thay đổi gần đây.

Khi nào nên dùng

  • ✓Khi xảy ra lỗi và bạn có 'stack trace' (chi tiết lỗi) để điều tra.
  • ✓Khi cần lập dòng thời gian về thời điểm và cách lỗi bắt đầu xuất hiện.
  • ✓Khi bạn so sánh cái đang hoạt động với cái bị lỗi để tìm sự khác biệt.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/error-detective/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tìm trong nhật ký các lỗi liên quan đến việc đăng nhập thất bại xảy ra tối qua.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent phân tích nhật ký hệ thống và mã nguồn để tìm mẫu lỗi và bất thường. Sau đó, nó cố gắng liên kết các lỗi này với những thay đổi gần đây của hệ thống hoặc đợt triển khai để tìm nguyên nhân gốc rễ.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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.
Câu hỏi thường gặp

'Logs' là gì?

Đó là các tệp ghi lại hoạt động của hệ thống hoặc chương trình, bao gồm cả thông báo lỗi.

'Stack trace' là gì?

Đó là báo cáo chi tiết cho thấy chuỗi các lệnh gọi hàm dẫn đến lỗi trong chương trình.

'Root cause' nghĩa là gì?

Đó là lý do cơ bản khiến vấn đề xảy ra, chứ không chỉ là triệu chứng nhìn thấy.

Chi tiết

Mô tả gốc của tác giả

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

repo: sickn33/agentic-awesome-skills

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#4544
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự