gh-fix-ci — for Claude Code gh-fix-ci, community, for Claude Code, ide skills, Checks, Overview, inspect, Failing, GitHub, Actions

v1.0.0

Acerca de este Skill

Ideal para Agentes de Integración de GitHub que necesitan capacidades de inspección de PR automatizada y planificación de corrección de CI. Resumen localizado: Inspect GitHub PR for CI failures, merge conflicts, update-branch requirements, reviewer comments, change requests, and unresolved review threads. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

Características

Gh PR Checks Plan Fix
Use gh to inspect PRs for:
Failing CI checks (GitHub Actions)
Update Branch requirements (base branch advanced)
Reviewer comments (review summaries, inline comments, issue comments)

# Temas principales

akiojin akiojin
[0]
[0]
Actualizado: 2/28/2026

Skill Overview

Start with fit, limitations, and setup before diving into the repository.

Ideal para Agentes de Integración de GitHub que necesitan capacidades de inspección de PR automatizada y planificación de corrección de CI. Resumen localizado: Inspect GitHub PR for CI failures, merge conflicts, update-branch requirements, reviewer comments, change requests, and unresolved review threads. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

¿Por qué usar esta habilidad?

Habilita a los agentes a inspeccionar las PR para comprobaciones de CI fallidas, conflictos de fusión y comentarios de revisores, y proponer un plan de corrección utilizando GitHub Actions y equilibrio de carga, mientras también maneja comentarios de revisores y solicitudes de cambios a través de

Mejor para

Ideal para Agentes de Integración de GitHub que necesitan capacidades de inspección de PR automatizada y planificación de corrección de CI.

Casos de uso accionables for gh-fix-ci

Inspeccionar PR para comprobaciones de CI fallidas y proponer un plan de corrección
Automatizar la resolución de conflictos de fusión y actualizar los requisitos de la rama
Manejar comentarios de revisores y solicitudes de cambios a través de comentarios en línea y comentarios de problemas
Implementar un plan de corrección después de la aprobación explícita y, opcionalmente, resolver hilos y notificar a los revisores

! Seguridad y limitaciones

  • Depende de la habilidad `plan` para elaborar y aprobar el plan de corrección
  • Requiere acceso a GitHub Actions y GitHub API
  • Limitado a PRs de GitHub y comprobaciones de CI

About The Source

The section below comes from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.

Demo Labs

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ y pasos de instalación

These questions and steps mirror the structured data on this page for better search understanding.

? Preguntas frecuentes

¿Qué es gh-fix-ci?

Ideal para Agentes de Integración de GitHub que necesitan capacidades de inspección de PR automatizada y planificación de corrección de CI. Resumen localizado: Inspect GitHub PR for CI failures, merge conflicts, update-branch requirements, reviewer comments, change requests, and unresolved review threads. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

¿Cómo instalo gh-fix-ci?

Ejecuta el comando: npx killer-skills add akiojin/llmlb. Funciona con Cursor, Windsurf, VS Code, Claude Code y más de 19 IDE adicionales.

¿Cuáles son los casos de uso de gh-fix-ci?

Los casos de uso principales incluyen: Inspeccionar PR para comprobaciones de CI fallidas y proponer un plan de corrección, Automatizar la resolución de conflictos de fusión y actualizar los requisitos de la rama, Manejar comentarios de revisores y solicitudes de cambios a través de comentarios en línea y comentarios de problemas, Implementar un plan de corrección después de la aprobación explícita y, opcionalmente, resolver hilos y notificar a los revisores.

¿Qué IDE son compatibles con gh-fix-ci?

Esta skill es compatible con Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Usa la CLI de Killer-Skills para una instalación unificada.

¿Tiene limitaciones gh-fix-ci?

Depende de la habilidad `plan` para elaborar y aprobar el plan de corrección. Requiere acceso a GitHub Actions y GitHub API. Limitado a PRs de GitHub y comprobaciones de CI.

Cómo instalar este skill

  1. 1. Abre tu terminal

    Abre la terminal o línea de comandos en el directorio de tu proyecto.

  2. 2. Ejecuta el comando de instalación

    Ejecuta: npx killer-skills add akiojin/llmlb. La CLI detectará tu IDE o agente automáticamente y configurará la skill.

  3. 3. Empieza a usar el skill

    El skill ya está activo. Tu agente de IA puede usar gh-fix-ci de inmediato en el proyecto actual.

! Source Notes

This page is still useful for installation and source reference. Before using it, compare the fit, limitations, and upstream repository notes above.

Upstream Repository Material

The section below comes from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.

Upstream Source

gh-fix-ci

Install gh-fix-ci, an AI agent skill for AI agent workflows and automation. Explore features, use cases, limitations, and setup guidance.

SKILL.md
Readonly
Upstream Repository Material
The section below comes from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.
Upstream Source

Gh PR Checks Plan Fix

Overview

Use gh to inspect PRs for:

  • Failing CI checks (GitHub Actions)
  • Merge conflicts
  • Update Branch requirements (base branch advanced)
  • Reviewer comments (review summaries, inline comments, issue comments)
  • Change Requests from reviewers
  • Unresolved review threads

Then propose a fix plan, implement after explicit approval, and optionally resolve threads and notify reviewers.

  • Depends on the plan skill for drafting and approving the fix plan.

Prereq: ensure gh is authenticated (for example, run gh auth login once), then run gh auth status with escalated permissions (include workflow/repo scopes) so gh commands succeed.

Inputs

  • repo: path inside the repo (default .)
  • pr: PR number or URL (optional; defaults to current branch PR)
  • mode: inspection mode (checks, conflicts, reviews, all)
  • max-review-comments: max reviewer comments to list per category
  • required-only: limit CI checks to required checks only (uses gh pr checks --required)
  • gh authentication for the repo host

Quick start

bash
1# Inspect all (CI, conflicts, reviews) - default mode 2python "<path-to-skill>/scripts/inspect_pr_checks.py" --repo "." --pr "<number>" 3 4# CI checks only 5python "<path-to-skill>/scripts/inspect_pr_checks.py" --repo "." --pr "<number>" --mode checks 6 7# Conflicts only 8python "<path-to-skill>/scripts/inspect_pr_checks.py" --repo "." --pr "<number>" --mode conflicts 9 10# Reviews only (Change Requests + Unresolved Threads) 11python "<path-to-skill>/scripts/inspect_pr_checks.py" --repo "." --pr "<number>" --mode reviews 12 13# JSON output 14python "<path-to-skill>/scripts/inspect_pr_checks.py" --repo "." --pr "<number>" --json 15 16# Required checks only (if gh supports --required) 17python "<path-to-skill>/scripts/inspect_pr_checks.py" --repo "." --pr "<number>" --mode checks --required-only 18 19# Limit review comment output 20python "<path-to-skill>/scripts/inspect_pr_checks.py" --repo "." --pr "<number>" --max-review-comments 30 21 22# Resolve all unresolved threads after fixing 23python "<path-to-skill>/scripts/inspect_pr_checks.py" --repo "." --pr "<number>" --resolve-threads 24 25# Add a comment to notify reviewers 26python "<path-to-skill>/scripts/inspect_pr_checks.py" --repo "." --pr "<number>" --add-comment "Fixed all issues. Please re-review."

Workflow

  1. Verify gh authentication.

    • Run gh auth status in the repo with escalated scopes (workflow/repo).
    • If unauthenticated, ask the user to log in before proceeding.
  2. 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.
  3. Inspect based on mode:

    Conflicts Mode (--mode conflicts):

    • Check mergeable and mergeStateStatus fields.
    • If CONFLICTING or DIRTY, report conflict details.
    • If BEHIND, report that the base branch advanced and an Update Branch is required.
    • Suggest resolution steps: fetch base branch, merge/rebase, resolve conflicts.

    Reviews Mode (--mode reviews):

    • Fetch reviews with CHANGES_REQUESTED state.
    • Fetch unresolved review threads using GraphQL.
    • Fetch reviewer comments (review summaries, inline review comments, issue comments).
    • Display reviewer, comment body, file path, and line number.
    • Decide if reviewer feedback requires action (any change request, unresolved thread, or reviewer comment).

    Checks Mode (--mode checks):

    • Run bundled script to inspect failing CI checks.
    • Add --required-only to limit output to required checks when supported.
    • Fetch GitHub Actions logs and extract failure snippets.
    • For external checks (Buildkite, etc.), report URL only.

    All Mode (--mode all):

    • Run all inspections above.
  4. Summarize issues for the user.

    • Provide clear summary of all detected issues.
    • Call out conflicts, change requests, unresolved threads, and CI failures.
  5. Create a plan.

    • Use the plan skill to draft a fix plan and request approval.
  6. Implement after approval.

    • Apply the approved plan, summarize diffs/tests.
  7. Resolve review threads (optional).

    • With --resolve-threads, resolve all unresolved threads via GraphQL mutation.
    • Requires Repository Permissions > Contents: Read and Write.
  8. Notify reviewers (optional).

    • With --add-comment "message", post a comment to the PR.
    • Useful for notifying reviewers that issues have been addressed.
  9. Recheck status.

    • After changes, suggest re-running gh pr checks to confirm.

Bundled Resources

scripts/inspect_pr_checks.py

Comprehensive PR inspection tool. Exits non-zero when issues remain.

Arguments:

ArgumentDefaultDescription
--repo.Path inside the target Git repository
--pr(current)PR number or URL
--modeallInspection mode: checks, conflicts, reviews, all
--max-lines160Max lines for log snippets
--context30Context lines around failure markers
--max-review-comments50Max reviewer comments to list per category
--required-onlyfalseLimit CI checks to required checks only
--jsonfalseEmit JSON output
--resolve-threadsfalseResolve unresolved review threads
--add-comment(none)Add a comment to the PR

Exit codes:

  • 0: No issues found
  • 1: Issues detected or error occurred

New Features

Conflict Detection

Detects merge conflicts via mergeable and mergeStateStatus fields.

  • CONFLICTING / DIRTY: Conflict detected
  • BEHIND: Base branch advanced; Update Branch required
  • MERGEABLE / CLEAN: No conflicts

Change Request Handling

Fetches reviews with state == "CHANGES_REQUESTED" and displays:

  • Reviewer name
  • Review body
  • Submission timestamp

Reviewer Comments

Fetches reviewer feedback beyond change requests:

  • Review summaries with comment bodies
  • Inline review comments (file/line)
  • PR issue comments
  • Marks review action required if any reviewer feedback exists

Unresolved Review Threads

Uses GraphQL to fetch threads where isResolved == false:

  • File path and line number
  • Thread ID (for resolution)
  • Comment author and body
  • Outdated status

Resolve Conversation

Use --resolve-threads to mark threads as resolved via GraphQL mutation resolveReviewThread.

Required permissions:

  • Fine-grained PAT: Pull requests + Contents: Read and Write
  • Classic PAT: repo scope

Reviewer Notification

Use --add-comment "message" to post a summary comment to the PR after fixes.

Output Examples

Text Output

text
1PR #123: Comprehensive Check Results 2============================================================ 3 4MERGE STATUS 5------------------------------------------------------------ 6Mergeable: CONFLICTING 7Merge State: DIRTY 8Base: main <- Head: feature/my-branch 9Action Required: Resolve conflicts before merging 10 11CHANGE REQUESTS 12------------------------------------------------------------ 13From @reviewer1 (2025-01-15): 14 "Please fix these issues..." 15 16UNRESOLVED REVIEW THREADS 17------------------------------------------------------------ 18[1] src/main.ts:42 19 Thread ID: PRRT_xxx123 20 @reviewer1: This needs refactoring... 21 22CI FAILURES 23------------------------------------------------------------ 24Check: build 25Details: https://github.com/... 26Failure snippet: 27 Error: TypeScript compilation failed 28 ... 29============================================================

JSON Output

json
1{ 2 "pr": "123", 3 "conflicts": { 4 "hasConflicts": true, 5 "mergeable": "CONFLICTING", 6 "mergeStateStatus": "DIRTY", 7 "baseRefName": "main", 8 "headRefName": "feature/my-branch" 9 }, 10 "changeRequests": [ 11 { 12 "id": 123456, 13 "reviewer": "reviewer1", 14 "body": "Please fix these issues...", 15 "submittedAt": "2025-01-15T12:00:00Z" 16 } 17 ], 18 "unresolvedThreads": [ 19 { 20 "id": "PRRT_xxx123", 21 "path": "src/main.ts", 22 "line": 42, 23 "comments": [ 24 {"author": "reviewer1", "body": "This needs refactoring"} 25 ] 26 } 27 ], 28 "ciFailures": [ 29 { 30 "name": "build", 31 "status": "ok", 32 "logSnippet": "..." 33 } 34 ] 35}

Habilidades relacionadas

Looking for an alternative to gh-fix-ci or another community skill for your workflow? Explore these related open-source skills.

Ver todo

openclaw-release-maintainer

Logo of openclaw
openclaw

Resumen localizado: 🦞 # OpenClaw Release Maintainer Use this skill for release and publish-time workflow. It covers ai, assistant, crustacean workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

333.8k
0
Inteligencia Artificial

widget-generator

Logo of f
f

Resumen localizado: Generate customizable widget plugins for the prompts.chat feed system # Widget Generator Skill This skill guides creation of widget plugins for prompts.chat . It covers ai, artificial-intelligence, awesome-list workflows. This AI agent skill supports Claude Code, Cursor, and

149.6k
0
Inteligencia Artificial

flags

Logo of vercel
vercel

Resumen localizado: The React Framework # Feature Flags Use this skill when adding or changing framework feature flags in Next.js internals. It covers blog, browser, compiler workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

138.4k
0
Navegador

pr-review

Logo of pytorch
pytorch

Resumen localizado: Usage Modes No Argument If the user invokes /pr-review with no arguments, do not perform a review . It covers autograd, deep-learning, gpu workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

98.6k
0
Desarrollador