Awesome-omni-skill gh-ci-triage

Triage failing PR checks with gh CLI, identify first actionable root cause, and derive exact local repro commands.

install
source · Clone the upstream repo
git clone https://github.com/diegosouzapw/awesome-omni-skill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/diegosouzapw/awesome-omni-skill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/tools/gh-ci-triage" ~/.claude/skills/diegosouzapw-awesome-omni-skill-gh-ci-triage && rm -rf "$T"
manifest: skills/tools/gh-ci-triage/SKILL.md
source content

When to use

Use this skill when a PR reports failing GitHub checks and you need a fast, evidence-backed diagnosis.

Workflow

  1. Fetch check overview:
    • gh pr checks <pr-number>
    • gh pr view <pr-number> --json statusCheckRollup
  2. Inspect failed jobs only:
    • gh run view <run-id> --log-failed
    • If needed,
      gh run view <run-id> --job <job-id> --log-failed
  3. Extract first actionable error (not cascaded noise).
  4. Map failure to local repro command using the exact workflow flags.
  5. After fix, rerun local repro commands before pushing.
  6. Re-check status:
    • gh pr checks <pr-number>

Guardrails

  • Do not assume root cause from PR title/last commit; use failed logs.
  • Distinguish no-feature lint failures from feature-enabled failures.
  • Prefer minimal-scope fixes; avoid broad suppression (
    #[allow(...)]
    ) unless required.

Report template

Always report:

  1. Failing workflow/job name
  2. First actionable error line(s)
  3. Root cause hypothesis
  4. Exact local repro command
  5. Fix applied
  6. Post-fix local verification commands and results