fix-rollbar

Diagnose and fix production exceptions from Rollbar occurrence data.

692|107|Updated Feb 29, 2020
One-click install
npx skills add https://github.com/astashov/liftosaur --skill fix-rollbar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fix-rollbar
Source: https://github.com/astashov/liftosaur/tree/main/.claude/skills/fix-rollbar
Command: npx skills add https://github.com/astashov/liftosaur --skill fix-rollbar

SYSTEM DOCUMENTATION & REQUIREMENTS

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.

Frequently Asked Questions about fix-rollbar

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix a Rollbar production error with Claude Code?

Provide the Rollbar occurrence ID to the fix-rollbar skill. It fetches the instance and item from the Rollbar API, pulls exception state and user events via repo scripts, analyzes the stack trace, and either implements a minimal fix or adds the error to the ignore list.

What data does the Rollbar debugging workflow collect?

It collects the Rollbar instance JSON, the parent item, the stored exception with lastState and lastActions, a markdown timeline of user events, and server logs around the error timestamp. Only rollbar.json is strictly required; other artifacts are skipped gracefully if they fail.

What environment variable is required for Rollbar API access?

ROLLBAR_READ_TOKEN must be set in the environment. It authenticates both the direct Rollbar API curl calls and the lambda scripts that fetch exception details, user events, and server logs.

When should a Rollbar error be ignored instead of fixed?

Ignore errors caused by browser extensions, unsupported browsers, third-party scripts, generic unactionable messages, or transient already-handled network errors. Append a specific unique substring of the message to exceptionIgnores in src/utils/rollbar.ts, avoiding overly broad patterns.

Does the fix-rollbar skill commit and push the fix automatically?

No. Unlike the headless aihelpers/rollbar variant, the interactive skill stops after implementing the fix. The user reviews, tests, and commits the change manually.