What problem does it solve?
Investigating production errors reported in Rollbar requires manually pulling occurrence data, user event history, and server logs before you can even start diagnosing the root cause. This Skill automates that data gathering and guides an interactive debugging session that ends in either a code fix or an ignore-list entry.
Core Features & Use Cases
- Automated data collection: Fetches the Rollbar instance and item via the Rollbar API, plus exception state, user event timelines, and server logs using the repo's lambda scripts.
- Structured diagnosis workflow: Parses the exception's lastState (IState) and lastActions (Redux actions) to reconstruct what the user was doing when the error occurred.
- Fix-or-ignore decision: Either implements a minimal, focused bug fix with an optional regression test, or appends a specific message substring to the exceptionIgnores list in src/utils/rollbar.ts.
- Use Case: Given Rollbar occurrence ID 12345678, the Skill stages all artifacts under .tmp/rollbar-12345678/, analyzes the stack trace against recent Redux actions, identifies the root cause in the reducer, and applies a targeted fix for user review.
Quick Start
Ask the assistant to fix Rollbar occurrence 12345678 and it will fetch the error data, diagnose the root cause, and propose a fix.