gh-fix-ci
Skill2 starsChanged 23 days agoApache-2.0View on GitHub
Inspect and fix failing GitHub Actions PR checks using gh, logs, and focused local verification. For external checks (e.g., Buildkite), report the details URL without attempting provider-specific fixes.
39 other projects use a version of this, 35 of them edited.
Adopted by
Most recently taken up by
- VinodBobby/skillstheir own version, first seen Nov 29, 2026
- Manram/esc-skillsedited, first seen Nov 29, 2026
- mizchi/skillsedited, first seen Nov 24, 2026
- Ivan-propio/claude-skillsedited, first seen Nov 16, 2026
- tkbk-online/skillsedited, first seen Nov 15, 2026
- euxx/claude-skills-for-copilotedited, first seen Nov 8, 2026
Used with
Projects with it also use codebase-migrate, email-draft-polish and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
ComposioHQSkillcodebase-migrate
Run large codebase migrations and multi-file refactors. Uses the Composio CLI to coordinate issue tracking, batched PRs, and CI verification while the agent executes the transforms locally across hundreds of files.
Also in 5 projects that use this
ComposioHQSkillemail-draft-polish
Draft, rewrite, or condense emails with target tone, length, and audience; use for cold outreach, replies, status updates, or escalations where clarity and brevity matter.
Also in 4 projects that use this
petestewartSkilldatadog-logs
Query Datadog logs via the Logs Search API v2. Use when the user asks to "check the logs", "search logs", "find errors in Datadog", "look up logs for", "show me production logs", "check for errors", "search Datadog", or any request involving log search, error investigation, or production debugging that requires Datadog log data.
Also in 3 projects that use this
MicrosoftSkilldeploy-pipeline
Triggers a Power Platform Pipeline deployment run for a Power Pages solution. Selects a target stage, validates the package, optionally configures deployment settings (environment variables, connection references), then deploys and polls for completion. Use when asked to: "deploy pipeline", "run pipeline", "trigger deployment", "deploy to staging", "deploy to production", "run power platform pipeline", "deploy solution via pipeline", "promote solution", "push to staging", "push to production".
Also in 3 projects that use this
- +8 more from ComposioHQ
Other versions39 projects use a version of this.
Word for word · 0
None found.
Edited · 35
- openai/skills★ 27k61% same
- ComposioHQ/awesome-codex-skills★ 17k63% same
- composio-community/awesome-codex-skills★ 16k63% same
- mizchi/skills★ 42559% same
- JetBrains/skills★ 38658% same
- Nick2bad4u/Uptime-Watcher★ 1560% same
- 4gentic/obelus★ 863% same
- Ronnasayd/aipp★ 558% same
- euxx/claude-skills-for-copilot★ 412% same
- whz39coding/zh-awesome-codex-skills★ 467% same
25 more not listed
Wrote their own version · 4
- ulises-jeremias/agent-toolkit★ 28same name
- hebertzhu/agent-foundry★ 0same name
- krotname/OpenCodeSkills★ 0same name
- VinodBobby/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository12 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- cleanup-worktreesSkill
- find-security-vulnerabilitiesSkill
- gh-address-commentsSkill
- peanut-reviewSkill
- pr-createSkill
- pr-reviewSkill
- rocjitsu-build-testSkill
- rocjitsu-projectSkill
- self-reviewSkill
- stage-and-commitSkill
- sync-reposSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. 5 are common, 3 are distinctive, and 7 are very specific to this project.
5
Common
Most of the 37 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Use gh to locate failing PR checks, fetch GitHub Actions logs, summarize the cause, and implement the fix when the user requested it.
- Very specific: line 17
Run gh auth status for the target host with normal permissions first.
- Very specific: line 31
Add --json if you want machine-friendly output for summarization.
- Very specific: line 36
Run gh auth status in the repo for the target host.
- Very specific: line 37
If sandboxed auth status fails, rerun the command with sandbox_permissions=require_escalated to allow network/keyring access.
- Distinctive: line 38
If unauthenticated, ask the user to log in before proceeding.
- Very specific: line 40
Prefer the current branch PR: gh pr view --json number,url.
- Common: line 41
If the user provides a PR number or URL, use that directly.
- Very specific: line 45
Add --json for machine-friendly output.
- Very specific: line 48
If a field is rejected, rerun with the available fields reported by gh.
- Common: line 53
If the run log says it is still in progress, fetch job logs directly:
- Common: line 56
If the check URL is not a GitHub Actions run, label it as external and only report the URL.
- Common: line 57
Do not attempt Buildkite or other providers.
- Common: line 60
Call out missing logs explicitly.
- Distinctive: line 68
Run the relevant local checks and summarize their results.
“Common” is measured: kept by at least 6 in 10 of the 37 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Gh Pr Checks Plan Fix
Overview
Use gh to locate failing PR checks, fetch GitHub Actions logs, summarize the cause, and implement the fix when the user requested it. A diagnosis-only or plan-only request stops at that deliverable. Use the PR's development worktree and the repository's contribution and verification guidance.
Run gh auth status for the target host with normal permissions first. Request
escalation only if the sandbox blocks network access. Distinguish authentication
failures from rate limits and network errors; only authentication failures
require the user to log in.
Inputs
repo: path inside the repo (default.)pr: PR number or URL (optional; defaults to current branch PR)ghauthentication for the repo host
Quick start
python "<path-to-skill>/scripts/inspect_pr_checks.py" --repo "." --pr "<number-or-url>"- Add
--jsonif you want machine-friendly output for summarization.
Workflow
- Verify gh authentication.
- Run
gh auth statusin the repo for the target host. - If sandboxed auth status fails, rerun the command with
sandbox_permissions=require_escalatedto allow network/keyring access. - If unauthenticated, ask the user to log in before proceeding.
- Run
- Resolve the PR.
- Prefer the current branch PR:
gh pr view --json number,url. - If the user provides a PR number or URL, use that directly.
- Prefer the current branch PR:
- Inspect failing checks (GitHub Actions only).
- Preferred: run the bundled script (handles gh field drift and job-log fallbacks):
python "<path-to-skill>/scripts/inspect_pr_checks.py" --repo "." --pr "<number-or-url>"- Add
--jsonfor machine-friendly output.
- Manual fallback:
gh pr checks <pr> --json name,state,bucket,link,startedAt,completedAt,workflow- If a field is rejected, rerun with the available fields reported by
gh.
- If a field is rejected, rerun with the available fields reported by
- For each failing check, extract the run id from
link(ordetailsUrlin legacy output) and run:gh run view <run_id> --json name,workflowName,conclusion,status,url,event,headBranch,headShagh run view <run_id> --log
- If the run log says it is still in progress, fetch job logs directly:
gh api "/repos/<owner>/<repo>/actions/jobs/<job_id>/logs" > "<path>"
- Preferred: run the bundled script (handles gh field drift and job-log fallbacks):
- Scope non-GitHub Actions checks.
- If the check URL is not a GitHub Actions run, label it as external and only report the URL.
- Do not attempt Buildkite or other providers; keep the workflow lean.
- Summarize failures for the user.
- Provide the failing check name, run URL (if any), and a concise log snippet.
- Call out missing logs explicitly.
- Create a plan.
- State the proposed fix and verification. Save a plan under the workspace's
plans/directory for non-trivial work; no separateplanskill is required.
- State the proposed fix and verification. Save a plan under the workspace's
- Implement the requested fix.
- Apply the fix within the user's authorized scope. Ask only for a material unresolved decision or an action outside that scope.
- Recheck status.
- Run the relevant local checks and summarize their results. Remote checks still describe the pushed commit until the fix is published; do not claim CI passed based only on local tests. Respect workspace remote-write rules.
Bundled Resources
scripts/inspect_pr_checks.py
Fetch failing PR checks, pull GitHub Actions logs, and extract a failure snippet. Exits non-zero when failures remain so it can be used in automation.
Usage examples:
python "<path-to-skill>/scripts/inspect_pr_checks.py" --repo "." --pr "123"python "<path-to-skill>/scripts/inspect_pr_checks.py" --repo "." --pr "https://github.com/org/repo/pull/123" --jsonpython "<path-to-skill>/scripts/inspect_pr_checks.py" --repo "." --max-lines 200 --context 40
Offline helper checks: python3 -m pytest <path-to-skill>/tests.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

