본문으로 건너뛰기
cccskills
무료GitHub에 공개

error-monitoring

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구SentryDatadog

실행 점수 미검증

설치 방법 보기

포함된 파일(2)

  • SKILL.md6.2 KB
  • _scores.json2.7 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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 these inputs, whichever the user has:
    • Sentry: there is no native JSON issue export in the UI. Pull issues with the Organization Issues API, GET https://sentry.io/api/0/organizations/{org}/issues/ (Bearer token with event:read scope; query, statsPeriod, sort, project, limit up to 100, cursor pagination; the next cursor is in the response headers). The project-level /projects/{org}/{project}/issues/ endpoint is deprecated. Discover CSV downloads also work.
    • Datadog: Log Explorer CSV export (up to 100,000 individual logs per export; values are sanitized for spreadsheets) or the Logs API (at most 1,000 logs per request, so paginate).
    • Rollbar: occurrences via GET /api/1/item/{item_id}/instances with a read access token in the X-Rollbar-Access-Token header (limit up to 5000, last_id for the next page). Use the same item endpoints the Rollbar "download items" guide describes.
    • Generic JSON arrays or CSV files
  • Never ask the user to paste API tokens into the chat; read them from an environment variable such as SENTRY_AUTH_TOKEN and never echo them into reports

Example request for the last 14 days of unresolved Sentry issues, saved to a file:

curl -s -D sentry-headers.txt \
  -H "Authorization: Bearer $SENTRY_AUTH_TOKEN" \
  "https://sentry.io/api/0/organizations/brightcart/issues/?statsPeriod=14d&sort=freq&limit=100&query=is:unresolved" \
  -o sentry-issues-page1.json
grep -i '^link:' sentry-headers.txt   # cursor for the next page

Rollbar occurrences for one item, using a read-scoped project token:

curl -s -H "X-Rollbar-Access-Token: $ROLLBAR_READ_TOKEN" \
  "https://api.rollbar.com/api/1/item/1184207311/instances?limit=500" \
  -o rollbar-item-1184207311.json
  • 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

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Scripts and configures production rendering in Autodesk 3ds Max with the V-Ray and Corona renderers: output size and files, render elements, denoising, light mix, batch and command-line rendering, and network rendering. Use when a user asks to set up a production render, render several cameras in one batch, render from the command line or on a render farm, add render passes for compositing, or cut render time for archviz and product shots.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

TerminalSkills/skills1782026년 10월 22일 업데이트

Covers scripting Autodesk 3ds Max, the 3D modeling and rendering application, with MAXScript and Python (pymxs): scene manipulation, object creation, material assignment, camera and light setup, batch operations, and file I/O. Use when tasks involve automating repetitive 3ds Max workflows, batch processing scenes, running scripts headless with 3dsmaxbatch, creating custom tools, or scripting scene setup for archviz, product visualization, or VFX.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

TerminalSkills/skills1782026년 10월 22일 업데이트

3proxy

무료

3proxy is a small open-source proxy server that runs HTTP/HTTPS, SOCKS4/5, SNI and TCP/UDP port-mapping proxies from one config file. Use when a user asks to set up an HTTP or SOCKS5 proxy, add proxy users and passwords, write 3proxy access rules, chain or rotate upstream (parent) proxies, limit bandwidth, connections or monthly traffic per user, run 3proxy in Docker, or fix a 3proxy.cfg that will not start.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

TerminalSkills/skills1782026년 10월 22일 업데이트

Builds Agent2Agent (A2A) servers and clients, the open protocol (originally from Google, now under the Linux Foundation) that lets AI agents from different frameworks call each other. Use when the user wants to create an A2A-compliant agent, build an Agent Card, implement task management, connect agents across frameworks, set up agent discovery, handle streaming responses, implement push notifications, or orchestrate multi-agent workflows. Trigger words: a2a, agent to agent, agent2agent, a2a protocol, a2a server, a2a client, agent card, agent interoperability, agent collaboration, multi-agent, agent discovery, a2a sdk, a2a task.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

TerminalSkills/skills1782026년 10월 22일 업데이트

Plans a controlled experiment (A/B test) so its result can be trusted: writes the hypothesis, picks one primary metric and the guardrails, computes sample size and run time, specifies how visitors are assigned and when exposure is logged, and reads out the result with a confidence interval. Use when someone says "set up an A/B test", "split test this page", "how many visitors do I need", "how long should the experiment run", "is this result significant", "can I stop the test early", or wants to test a headline, price, layout or onboarding change against the current version.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

TerminalSkills/skills1782026년 10월 22일 업데이트

ably

무료

Ably is a hosted realtime messaging service: clients publish and subscribe to named channels over WebSockets, see who is present, replay message history, and resume after a dropped connection. Use when a user asks to "add realtime updates", "push live notifications to the browser", "show who is online", "add a chat room with typing indicators", "publish from a serverless function", or "authenticate Ably clients without exposing the API key". Covers the ably 2.x JavaScript SDK (Realtime and REST), JWT token authentication, presence, history and rewind, batch publishing, and the @ably/chat 1.x SDK.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

TerminalSkills/skills1782026년 10월 22일 업데이트

TerminalSkills의 스킬 모두 보기

이 스킬의 문제 신고