Agent Skill

Fix GitHub CI
A guarded workflow for diagnosing failed GitHub Actions checks, extracting useful logs, and implementing a fix only after approval.
What is Fix GitHub CI?
Fix GitHub CI gives an agent a disciplined boundary for pull request failures. It resolves the target PR, inspects GitHub Actions checks through gh, retrieves run or job logs, and separates actionable GitHub failures from external providers such as Buildkite. The bundled inspection script handles changes in gh output fields and can return structured JSON. Most importantly, diagnosis and implementation are separate stages: the agent first reports the failing check and evidence, then proposes a plan before editing code.
Key capabilities
Check and log discovery
Resolves the PR, identifies failing GitHub Actions checks, and retrieves the most useful available log.
Provider boundary
Treats non-GitHub CI providers as external and reports their details link instead of pretending to inspect them.
Approval before edits
Keeps failure diagnosis separate from code modification so the proposed repair can be reviewed first.
Use cases
Explain a failing pull request
Produce a concise evidence-backed summary of which workflow failed and why.
Repair an Actions regression
Move from check inspection to an approved fix and then recheck the pull request status.
Compatibility
- GitHub CLI authenticated for the repository
- A pull request with GitHub Actions checks
