Vai al contenuto
TakoAPI
Torna alle skill

crash-fixer

di ryce

DevOps & Cloud
349Download riportati da clawskills.sh
0Visualizzazioni
0 likeAccedi per mettere like a questa skill
—Non ancora valutato
La tua valutazione

Sintesi

Autonomous crash analysis and bug fixing.

Descrizione

Cosa fa questa skill

Fetches crash reports, deduplicates by fingerprint, analyzes each crash with AI, generates a code fix, and opens a pull request automatically. Supports dry-run mode to preview analysis without creating PRs. Configurable by time window and per-run crash limit.

Closes the full loop from crash detection to merged fix without manual triage, deduplication, or PR creation.

Quando usarla

  • Automatically patching overnight production crashes before the team starts work
  • Running dry-run analysis during an incident to understand root causes without committing
  • Capping PR noise by processing only the 3 most recent crashes per scheduled run
  • Checking the last 2 hours of crashes after a deploy to catch regressions quickly
  • Letting a CI job handle crash triage so engineers focus on feature work

Esempio di workflow

INPUT

User asks: /crash-fixer --hours 12 --limit 3

AGENT
  1. 1

    Queries crash reporter API for crashes in the last 12 hours

  2. 2

    Deduplicates results by fingerprint, skipping crashes already fixed

  3. 3

    Analyzes each unique crash with AI to identify root cause

  4. 4

    Generates a targeted code fix for each crash

  5. 5

    Creates a branch, commits the fix, and opens a pull request on the target repo

OUTPUT

Up to 3 pull requests opened on the target GitHub repo, each containing a fix for a deduplicated crash from the last 12 hours

Requisiti

  • GH_TOKEN environment variable (GitHub API token)
  • CRASH_REPORTER_API_KEY environment variable
  • CRASH_REPORTER_URL environment variable
  • TARGET_REPO environment variable (GitHub repo in owner/name format)

Installazione

clawhub install ryce/crash-fixer

Esegui il comando CLI oppure incolla il prompt in Claude Code, Cursor, Codex o nell'agente di coding che usi.

Link