Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

martok9803-ci-whisperer

bởi martok9803

Git & GitHub
416Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Analyze GitHub Actions failures and propose fixes.

Mô tả

Kỹ năng này làm gì

Analyzes failing GitHub Actions runs to identify root causes and propose minimal fixes. Uses the GitHub CLI and API to fetch run metadata and logs, then produces a structured report with ranked causes and fix options. Supports an opt-in PR mode that automatically applies and opens a fix.

Replaces manual log-diving by fetching, parsing, and ranking failure causes in one step with a structured report.

Khi nào nên dùng

  • Diagnosing why a CI pipeline broke after a merge
  • Summarizing failed workflow logs without reading through thousands of lines
  • Getting a minimal patch for a flaky test or misconfigured workflow step
  • Checking which job and step caused a PR to go red
  • Automating a fix PR for a known CI failure pattern

Quy trình ví dụ

ĐẦU VÀO

User asks: Why did run 9823456789 fail on my-org/my-repo?

AGENT
  1. 1

    Runs gh run view 9823456789 --repo my-org/my-repo --json status,conclusion,headBranch,url,name to get run metadata

  2. 2

    Runs gh run view 9823456789 --repo my-org/my-repo --log-failed to retrieve only failed step logs

  3. 3

    Parses logs to identify the failing job, step, and exact error excerpt

  4. 4

    Ranks likely root causes based on error patterns

  5. 5

    Returns a CI Autopsy report with failing steps, error excerpt, ranked causes, and fix options

ĐẦU RA

Report showing that the `build` job failed at the `Install dependencies` step due to a lockfile mismatch, with a recommended fix to commit the updated lockfile

Yêu cầu

  • GitHub CLI (`gh`) authenticated via `gh auth login`
  • CI_WHISPERER_WRITE=1 environment variable to enable PR creation (optional)

Cài đặt

clawhub install martok9803/martok9803-ci-whisperer

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết