fix-ci
// Automatically diagnose and fix CI failures using the gh CLI. Fetches logs from broken GitHub Actions, analyses errors, and applies fixes.
$ git log --oneline --stat
stars:196
forks:37
updated:March 4, 2026
SKILL.mdreadonly
SKILL.md Frontmatter
namefix-ci
descriptionAutomatically diagnose and fix CI failures using the gh CLI. Fetches logs from broken GitHub Actions, analyses errors, and applies fixes.
<!--
Example prompts:
/fix-ci
-->
Let's fix whatever error we can find in CI using the gh CLI.
Current branch: !git branch --show-current``
PR check status:
!`gh pr checks 2>/dev/null || echo "No PR found for current branch"`
Steps
- Analyse the check status above: Identify which actions are failing
- If nothing is broken, bail.
- Fetch the logs for the broken action using
gh run view <run-id> --log-failed - Make a quick plan on what needs to be fixed
- Fix the error