error-monitoring

用于分析应用错误日志和监控平台导出数据的技能,能解析来自 Sentry、Datadog、Rollbar 的导出并识别错误模式、重复项与严重程度。适用于审计错误、分析异常、查找噪音告警、去重错误组和对生产错误分级,支持解析 JSON/CSV 导出并生成包含根因分析的归类报告。

仓库最近推送
GitHub Stars
219
Forks
38
Issues / PRs
7

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "error-monitoring":https://skillpi.com/zh/skills/deepskill-8ffd5d1b1a1778f52bcdf259bc8e92045c2ed4ad3ba905e556dcc5e92174b3a3。安装前核对上游来源和版本:https://github.com/TerminalSkills/skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

用于分析应用错误日志和监控平台导出数据的技能,能解析来自 Sentry、Datadog、Rollbar 的导出并识别错误模式、重复项与严重程度。适用于审计错误、分析异常、查找噪音告警、去重错误组和对生产错误分级,支持解析 JSON/CSV 导出并生成包含根因分析的归类报告。

0 下载

介绍来源: third_party · TerminalSkills · 1.0.0 参考来源

SkillPi 解读

实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: error-monitoring
description: >-
  Analyze application error logs and monitoring platform exports (Sentry, Datadog, Rollbar)
  to identify error patterns, duplicates, and severity. Use when someone asks to "audit errors",
  "analyze exceptions", "find noisy alerts", "deduplicate error groups", or "triage production errors".
  Parses JSON/CSV error exports and produces categorized reports with root cause analysis.
license: Apache-2.0
compatibility: "Works with exported data from Sentry, Datadog, Rollbar, or any JSON/CSV error log"
metadata:
  author: terminal-skills
  version: "1.0.0"
  category: devops
  tags: ["error-monitoring", "sentry", "observability", "debugging", "triage"]

Error Monitoring

Overview

This skill helps you analyze application errors from monitoring platforms. It processes error exports, groups events by root cause, identifies duplicates, and classifies errors by user impact — turning a chaotic error stream into an actionable triage report.

Instructions

When the user provides error data (JSON export, CSV, or pasted logs), follow this process:

1. Parse and Normalize

  • Accept Sentry JSON exports, Datadog event logs, generic JSON arrays, or CSV files
  • Extract key fields: error message, stack trace (top frame), timestamp, occurrence count, status, affected users
  • Normalize error messages by stripping variable parts (IDs, timestamps, file paths) to find true duplicates

2. Group by Root Cause

  • Cluster errors that share the same stack trace origin (file + line + function)
  • Merge errors with identical normalized messages even if stack traces differ slightly
  • Flag groups that are likely the same root cause but reported under different names

3. Assess Impact

For each error group, determine:

  • Frequency: events per day (average and trend — increasing, stable, decreasing)
  • User reach: unique users affected (if available)
  • Severity signals: look for keywords indicating data loss, payment failure, auth issues, or security concerns
  • Self-healing: does the error auto-resolve? (check if occurrences are followed by long gaps)

4. Produce the Report

Output a structured report with:

  • Total events analyzed, time range, unique error groups
  • Top error groups ranked by volume, with: message, source location, event count, percentage of total, first/last seen, impact assessment
  • Duplicate groups (errors that should be merged)
  • Resolved-but-recurring groups (marked resolved but still firing)
  • Recommended priority: P1 (immediate), P2 (soon), P3 (backlog)

Examples

Example 1: Sentry JSON Export Analysis

Input: User provides errors-export.json with 3,200 error events from the last 14 days.

Output:

Error Analysis — 14-Day Window
Total Events: 3,200 | Unique Groups: 47 | Time Range: Jan 3 – Jan 17

Top 5 Error Groups:

1. [P3] TypeError: Cannot read property 'name' of null
   Source: src/components/UserCard.tsx:89
   Events: 812 (25.4%) | Users: 34 | Trend: Stable
   Note: Occurs on profile preview for deleted accounts. No data loss.

2. [P1] DatabaseError: deadlock detected
   Source: src/services/order.ts:201
   Events: 156 (4.9%) | Users: 89 | Trend: Increasing (+40% week-over-week)
   Note: Causes failed order submissions. Revenue impact confirmed.

3. [P2] FetchError: network timeout at /api/inventory
   Source: src/lib/api-client.ts:45
   Events: 340 (10.6%) | Users: 201 | Trend: Decreasing
   Note: Correlates with deployment windows. Likely cold-start related.

Duplicates Found:
- Groups #12 and #31 share identical root cause (different error wrappers)
- Groups #8, #19, #22 all stem from expired JWT tokens

Resolved But Recurring:
- Group #5 (CORS error) was resolved on Jan 10 but has 45 new events since

Example 2: CSV Log File

Input: User provides app-errors.csv with columns: timestamp, level, message, stack_trace, user_id.

Output: Same structured report format, noting that CSV data lacks occurrence counts so each row is treated as one event.

Guidelines

  • Always show percentages alongside raw counts — "812 events" is less useful than "812 events (25.4%)"
  • When stack traces are missing, fall back to error message similarity for grouping
  • Flag any error containing "payment", "auth", "password", "delete", or "drop" as potentially high-severity regardless of volume
  • If the export is very large (>10,000 events), summarize the top 20 groups and offer to drill into specific ones
  • Never assume an error is low-priority just because it's old — check if it's trending upward
  • Recommend merging duplicate groups to reduce alert noise before any rule changes

当前收录版本

1.0.0

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值92/100

亮点

  • 解决开发运维中的高频刚需场景(错误审计、异常分析、告警去重、生产环境错误分级)
  • 支持主流监控平台(Sentry、Datadog、Rollbar)导出数据,实用性强
  • 功能闭环完整,从解析到根因分析再到优先级建议,显著提升运维效率
触发精准95/100

亮点

  • 触发词覆盖全面且精准,包括多种变体(如“审计错误”、“分析异常”、“去重错误组”等)
  • 边界清晰,不易与其他 Skill 重叠或误触
结构规范94/100

亮点

  • 步骤划分清晰(Parse、Group、Assess、Report),有明确的出口条件和端到端示例
  • frontmatter 完整,文档结构规范,易于理解和执行
执行可靠93/100

亮点

  • 工具来源明确,支持 JSON/CSV 多种格式,参数处理逻辑合理
  • 覆盖主要异常场景(如缺失堆栈时回退到消息相似性),对高风险错误有识别机制
证据可验 (前四项均值)94/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。