Gh Fix CI
Debug failing GitHub Actions CI checks on the current branch's PR using the gh CLI — inspect logs, summarize root cause, and propose a focused fix plan before implementing.
Install
npx skills add euxx/claude-skills-for-copilot --skill gh-fix-cigit clone --depth 1 https://github.com/euxx/claude-skills-for-copilot.git /tmp/claude-skills-for-copilot
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills-for-copilot/skills/gh-fix-ci ~/.claude/skills/gh-fix-ciPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Fix Failing CI Checks Use `gh` to locate failing PR checks, fetch GitHub Actions logs, summarize the failure, then propose a fix plan and implement only after explicit user approval. ## Prerequisites Verify `gh` authentication before doing anything else: ``` gh auth status ``` If unauthenticated, ask the user to run `gh auth login` (repo + workflow scopes required), then stop. ## Workflow ### 1. Resolve the PR ``` # if the user specified a PR number or URL: gh pr view <number-or-url> --json number,url,headRefName # otherwise (current branch): gh pr view --json number,url,headRefName ``` Extract `owner` and `repo` from the returned `url` field — PR URLs have the form `https://github.com/<owner>/<repo>/pull/<number>`, so split on `/` to get the 4th and 5th segments. These are the base (target) repository coordinates where GitHub Actions checks run, and are reliable even for cross-fork PRs. ### 2. Inspect failing checks ``` gh pr checks <pr-number> -R <owner>/<repo> --json name,state,bucket,link,startedAt,completedAt,workflow ``` If a field is rejected, rerun with the available fields reported by `gh`. Scope only to **GitHub Actions** checks. If `link` is not a GitHub Actions run URL, label it as external, report the URL only, and do not investigate further (e.g. Buildkite, CircleCI are out of scope). ### 3. Fetch failure logs For each failing GitHub Actions check: 1. Extract the run ID from `link` (the numeric segment in the URL). 2. Fetch run metadata:
Details
- Skill name
gh-fix-ci- Repository
- euxx/claude-skills-for-copilot
- Path
skills/gh-fix-ci/SKILL.md- License
- MIT
- Repo updated
- 2 November 2026
FAQ
What does the Gh Fix CI skill do?
Debug failing GitHub Actions CI checks on the current branch's PR using the gh CLI — inspect logs, summarize root cause, and propose a focused fix plan before implementing.
How do I install the Gh Fix CI skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add euxx/claude-skills-for-copilot --skill gh-fix-ci. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Gh Fix CI popular?
It lives in euxx/claude-skills-for-copilot, which has 5 GitHub stars and 0 forks.
Related skills
Code Review
5euxx/claude-skills-for-copilot
Multi-agent code review for local changes, files, or directories. Detects bugs, security issues, and conventions-file violations (AGENTS.md/CLAUDE.md/GEMINI.md).
Code Simplifier
5euxx/claude-skills-for-copilot
Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Works on recently modified code, a set of changes, or the whole codebase.
Comment Analyzer
5euxx/claude-skills-for-copilot
Analyzes code comments for accuracy, completeness, and long-term maintainability. Detects comment rot and misleading documentation. Use after adding or modifying code comments.
Git Advanced
5Sagargupta16/claude-skills
Use when performing complex git operations -- rebasing, cherry-picking, resolving merge conflicts, bisecting bugs, managing stashes, cleaning history, or working with monorepos. Goes beyond basic commit/push/pull.
Gh Address Comments
5euxx/claude-skills-for-copilot
Fetch all review comments and threads on the current branch's open GitHub PR using the gh CLI, present a numbered summary, and address the ones the user selects.
Git Guardrails
9sandbaseai/workbuddy-skill
Use when configuring repository-scoped safeguards that detect and gate destructive or externally visible Git commands before execution.
Browse the most popular Claude skills, all git & code review skills, or write your own with the skills generator.