diagnose-workflow-failure

Installation
SKILL.md

Diagnose Workflow Failure

Given a GitHub Actions run URL or run ID, fetch the failed job logs, identify root cause, and suggest a fix.

When to Run

When a GitHub Actions workflow fails and the user shares a run URL or asks "what went wrong?"

Workflow

Step 1: Get Failed Jobs

gh api /repos/khodo-lab/extralife/actions/runs/{RUN_ID}/jobs \
  --jq '[.jobs[] | select(.conclusion != "success" and .conclusion != "skipped") | {name:.name, steps:[.steps[] | select(.conclusion != "success" and .conclusion != "skipped") | .name]}]'

Step 2: Get Failed Step Logs

Installs
1
GitHub Stars
2
First Seen
Apr 5, 2026
diagnose-workflow-failure — geman220/ecs-discord-bot