Skip to content
Back to skills

Triage Errors

ASecurity

Triages the top production error for Copper Kettle and fixes its cause. Use when asked to "triage errors", "what is breaking in prod", or "fix the top error".

  • 198 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 12, 2026
ai-agentsgo

Works with

  • mcp

Security analysis

A100/100

Scanned November 12, 2026

npx -y skills add mblode/agent-skills --skill triage-errors --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Triage Errors?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Triage Errors
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mblode-triage-errors/badge)](https://www.skillsdirectory.com/skills/mblode-triage-errors)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: triage-errors
description: Triages the top production error for Copper Kettle and fixes its cause. Use when asked to "triage errors", "what is breaking in prod", or "fix the top error".
---

# Triage Errors

Find the error hurting the most customers right now, trace it to source, and fix the cause.

## Steps

1. Fetch the top unresolved error from the last 24 hours. Call `mcp__posthog__list_errors` with `status: "active"`, `orderBy: "occurrences"`, `dateFrom: "-24h"`, and take the first result.
2. Call `mcp__posthog__error_details` with that issue id to get the stack trace.
3. Find the first frame under `src/`. Open that file and the `captureError()` call site that reported it, and read the `area` tag to see which team owns it.
4. Reproduce locally with `npm run dev` if the error has a request path.
5. Fix the cause, not the capture call. Do not wrap the failing line in a try/catch that swallows the error.
6. Reply with the error title, occurrence count, owning area, and the fix or the reason it needs a person.

## Gotchas

- `ChunkLoadError` after a deploy is customers on a stale tab, not a bug. Report it and move to the next error.
- Errors tagged `area: billing` are never fixed without a person from billing reading the diff, because a wrong retry double-charges.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.