askill
gh-ci-triage

gh-ci-triageSafety 90Repository

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

0 stars
1.2k downloads
Updated 2/23/2026

Package Files

Loading files...
SKILL.md

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

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

84/100Analyzed 3/2/2026

Well-structured skill for triaging GitHub PR check failures. Provides specific gh CLI commands, clear workflow steps, guardrails against common mistakes, and a useful report template. Highly actionable and reusable across any project using GitHub Actions. Located in a proper skills folder with good metadata. Minor gap is lack of concrete examples, but otherwise comprehensive.

90
85
85
75
85

Metadata

Licenseunknown
Version-
Updated2/23/2026
PublisherPLeVasseur

Tags

githubgithub-actionslinting