Logo van Gh Fix Ci

Gh Fix Ci

Community
ulises-jeremias
gh-fix-ci

Diagnose failing GitHub Actions checks on a PR via gh, summarize the failure context, propose a plan, and only implement after explicit user approval. External CI providers (Buildkite, CircleCI, etc.) are reported by URL only.

Overzicht

Uitgeverulises-jeremias
Repositoryagent-toolkit
Skillnaamgh-fix-ci
Sterren
20
Forks
5
Meegeleverde bestanden
Alleen instructies
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door ulises-jeremias op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Gh Fix Ci in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/ulises-jeremias/agent-toolkit/tree/main/plugins/agent-toolkit-complete/skills/gh-fix-ci
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ulises-jeremias/agent-toolkit.git /tmp/agent-toolkit
mkdir -p .claude/skills
cp -r /tmp/agent-toolkit/plugins/agent-toolkit-complete/skills/gh-fix-ci .claude/skills/gh-fix-ci
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Gh Fix Ci in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Gh Fix Ci automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Gh Fix Ci niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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

  • gh installed and authenticated (gh auth status exits 0). doctor reports this under Integrations.
  • python3 for the bundled analyzer.
  • The current directory is inside the target Git repository (or pass --repo).

Workflow

  1. Verify auth. gh auth status. If unauthenticated, ask the user to run gh auth login (repo + workflow scopes typically required).

  2. Resolve the PR. Defaults to the current branch's PR, or pass --pr.

  3. 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, while gh run list only covers GitHub Actions):

    bash
    gh pr checks --json name,bucket,state,workflow,link

    For pending checks, gh pr checks --watch --fail-fast.

  4. Run the analyzer:

    bash
    python3 ~/.local/share/agent-toolkit/skills/gh-fix-ci/scripts/inspect_pr_checks.py \
      --repo . --pr <number-or-url>
    • Add --json for machine-friendly output suitable for further processing.
    • Add --max-lines <n> / --context <n> to widen the snippet window.

    The script handles gh pr checks field 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).

  5. Scope external providers. Any check whose detailsUrl is not a GitHub Actions run is reported as external with 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.

  6. 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.

  7. 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.

  8. 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.

  9. Recheck and iterate until green. Re-run gh pr checks after 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; --json for machine-readable output.

Output

  • Primary failing job and root error
  • Fixes applied in iteration order
  • Current CI status and next action

Validation

  • skills check reports the gh and python3 requirements.
  • doctor shows gh auth status under Integrations.

Veelgestelde vragen

Wat doet de AI-skill Gh Fix Ci?

Diagnose failing GitHub Actions checks on a PR via gh, summarize the failure context, propose a plan, and only implement after explicit user approval. External CI providers (Buildkite, CircleCI, etc.) are reported by URL only.

Waarom Gh Fix Ci gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Gh Fix Ci bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Gh Fix Ci in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/ulises-jeremias/agent-toolkit/tree/main/plugins/agent-toolkit-complete/skills/gh-fix-ci. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Gh Fix Ci gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Gh Fix Ci gebruiken?

Zoveel als je wilt. Je kunt Gh Fix Ci gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Gh Fix Ci gratis?

Ja. Deze skill is door ulises-jeremias op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇