gh-fix-ci
Skill18 starsChanged 3 months agoMITView on GitHub
Diagnose failing GitHub Actions checks on a PR via gh, summarize the failure context, propose
16 other projects use a version of this.
Adopted by
Most recently taken up by
- hmjBill/skillstheir own version, first seen Oct 5, 2026
- mizchi/skillstheir own version, first seen Oct 2, 2026
- hahuyhungdev/ai-coding-configtheir own version, first seen Oct 2, 2026
- belentani7/manus-ai-skill-packtheir own version, first seen Sep 12, 2026
- tutti-os/skillstheir own version, first seen Jul 9, 2026
- whz39coding/zh-awesome-codex-skillstheir own version, first seen Jun 2, 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.
composio-communitySkillcodebase-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 3 projects that use this
composio-communitySkillemail-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 3 projects that use this
ArogyaReddySkillmeeting-insights-analyzer
Analyzes meeting transcripts and recordings to uncover behavioral patterns, communication insights, and actionable feedback. Identifies when you avoid conflict, use filler words, dominate conversations, or miss opportunities to listen. Perfect for professionals seeking to improve their communication and leadership skills.
Also in 3 projects that use this
JetBrainsSkillcreate-plan
Research the codebase and create an implementation plan with architecture notes, design document, and track decomposition. Use when starting a new feature or large change.
Also in 3 projects that use this
JetBrainsSkillcanvas-design
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.
Also in 4 projects that use this
- +3 more from composio-community
- +4 more from JetBrains
Other versions16 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 16
- openai/skills★ 28ksame name
- composio-community/awesome-codex-skills★ 17ksame name
- JetBrains/skills★ 360same name
- mizchi/skills★ 349same name
- euxx/claude-skills-for-copilot★ 4same name
- whz39coding/zh-awesome-codex-skills★ 4same name
- hahuyhungdev/ai-coding-config★ 3same name
- daidaibunny/agent-skills★ 2same name
- hmjBill/skills★ 1same name
- lyh843/AgentSkills★ 1same name
6 more not listed
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 repository105 other files it gives its agents.
- AGENTS.mdAGENTS.md
- reviewSkill
- mcp-auditSkill
- owasp-agentic-reviewSkill
- supply-chain-auditSkill
- threat-modelingSkill
- architecture-diagramSkill
- c4-modelSkill
- aws-well-architected-reviewSkill
- cloud-design-patternsSkill
- assistantSkill
- dev-companionSkill
- onboardingSkill
- output-handshakeSkill
- pr-fallbackSkill
- projectSkill
- workspace-knowledge-syncSkill
- workspaceSkill
- dbt-validationSkill
- snowflake-validationSkill
- adrSkill
- agreementSkill
- bugSkill
- decision-logSkill
- development-workflowSkill
- epicSkill
- incidentSkill
- management-unit-assessmentSkill
- meeting-minutesSkill
- planningSkill
- prdSkill
- project-assessment-evidenceSkill
- project-assessmentSkill
- spikeSkill
- taskSkill
- technical-unit-assessmentSkill
- trdSkill
- user-storySkill
- workflow-client-bootstrapSkill
- workflow-generic-projectSkill
- work-itemSkill
- bragSkill
- brag-slimSkill
- design-assessmentSkill
- design-improvementSkill
- figma-code-connect-componentsSkill
- figma-create-design-system-rulesSkill
- figma-create-new-fileSkill
- figma-implement-designSkill
- figmaSkill
- frontend-design-reviewSkill
- frontend-designSkill
- web-design-guidelinesSkill
- fix-merge-conflictsSkill
- gh-address-commentsSkill
- gh-contribution-plannerSkill
- github-cli-workflowSkill
- gitlab-cli-workflowSkill
- worktreeSkill
- clickup-cliSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 3 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 15 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 40
Inspect checks as source of truth: Use gh pr checks as the source of truth for overall PR CI state (it includes all PR-attached checks, …
- Very specific: line 56
Add --json for machine-friendly output suitable for further processing.
- Very specific: line 57
Add --max-lines <n> / --context <n> to widen the snippet window.
- Distinctive: line 84
Read-only on CI; never rerun jobs or cancel workflows from this skill.
- Very specific: line 85
Do not push commits — delegate to github-cli-workflow.
- Distinctive: line 86
Do not implement before explicit user approval of the plan.
- Distinctive: line 88
If the failure is clearly unrelated to the PR and appears fixed on main, merge latest main instead of bloating the PR with unrelated fixes.
“Common” is measured: kept by at least 6 in 10 of the 15 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
Fix Failing PR Checks
Inspect failing GitHub Actions checks on a PR with gh, fetch run logs, extract
a focused failure snippet, propose a fix plan before making any change, and iterate
until green.
When to use
- A PR has red checks and the user asks to "fix CI", "debug the failing job", or "why is the build red".
- You need a fast triage of which jobs failed and the relevant log slice.
- Branch or PR CI is failing and needs a fast, iterative path to green checks.
Prerequisites
ghinstalled and authenticated (gh auth statusexits 0).doctorreports this under Integrations.python3for the bundled analyzer.- The current directory is inside the target Git repository (or pass
--repo).
Workflow
- Verify auth.
gh auth status. If unauthenticated, ask the user to rungh auth login(repo + workflow scopes typically required). - Resolve the PR. Defaults to the current branch's PR, or pass
--pr. Inspect checks as source of truth. Use
gh pr checksas the source of truth for overall PR CI state (it includes all PR-attached checks, whilegh run listonly covers GitHub Actions):gh pr checks --json name,bucket,state,workflow,linkFor pending checks,
gh pr checks --watch --fail-fast.Run the analyzer:
python3 ~/.local/share/agent-toolkit/skills/gh-fix-ci/scripts/inspect_pr_checks.py \ --repo . --pr <number-or-url>- Add
--jsonfor machine-friendly output suitable for further processing. - Add
--max-lines <n>/--context <n>to widen the snippet window.
The script handles
gh pr checksfield drift, falls back to job-level logs when run-level logs are not yet available, and exits non-zero when failures remain (so it composes in CI / scripts).- Add
- Scope external providers. Any check whose
detailsUrlis not a GitHub Actions run is reported asexternalwith only the URL — do not attempt to fetch logs from Buildkite/CircleCI/etc. Use the check link to identify the failing command or service when logs are unavailable. - Summarize. For each failing check report: name, run URL, conclusion, workflow, branch/SHA, and the failure snippet (or "logs pending" if the run is still in progress). Identify the primary failing job and root error.
- Draft a plan. Propose the fix as a short, numbered plan. Do not edit
files yet. If the project has a planning skill (e.g.
planning), delegate the plan structure to it. - Implement after approval — one failure at a time. Once the user approves
the plan, apply the smallest safe fix. Prefer minimal, low-risk changes
before broader refactors. Summarize the diff and delegate the push/PR-update
step to
github-cli-workflow. - Recheck and iterate until green. Re-run
gh pr checksafter each push; the check set can change. If checks already failed, diagnose those first; if pending, watch with--watch --fail-fast. Repeat steps 4-8 for the next actionable failure until all required checks are green. Suggest re-running relevant tests locally between iterations.
Boundaries
- Read-only on CI; never rerun jobs or cancel workflows from this skill.
- Do not push commits — delegate to
github-cli-workflow. - Do not implement before explicit user approval of the plan.
- Fix one actionable failure at a time.
- If the failure is clearly unrelated to the PR and appears fixed on main, merge latest main instead of bloating the PR with unrelated fixes.
Bundled resources
scripts/inspect_pr_checks.py— failure analyzer (stdlib only). Returns text by default;--jsonfor machine-readable output.
Output
- Primary failing job and root error
- Fixes applied in iteration order
- Current CI status and next action
Validation
skills checkreports theghandpython3requirements.doctorshowsgh auth statusunder Integrations.
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.

