Lewati ke konten
TakoAPI
Kembali ke skill

crash-fixer

oleh ryce

DevOps & Cloud
349Unduhan dilaporkan oleh clawskills.sh
0Tayangan
0 sukaMasuk untuk menyukai skill ini
—Belum ada penilaian
Penilaian Anda

Ringkasan

Autonomous crash analysis and bug fixing.

Deskripsi

Apa yang Dilakukan Skill Ini

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.

Kapan Menggunakannya

  • 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

Contoh Alur Kerja

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

Persyaratan

  • 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)

Instalasi

clawhub install ryce/crash-fixer

Jalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.

Tautan