Logo van Gitlab Pipeline Debugger

Gitlab Pipeline Debugger

Organisatie
opendatahub-io
gitlab-pipeline-debugger

Debug and monitor GitLab CI/CD pipelines for merge requests. Check pipeline status, view job logs, and troubleshoot CI failures. Use this when the user needs to investigate GitLab CI pipeline issues, check job statuses, or view specific job logs.

Overzicht

Uitgeveropendatahub-io
Repositoryai-helpers
Skillnaamgitlab-pipeline-debugger
Sterren
39
Forks
76
Meegeleverde bestanden
Alleen instructies
LicentieApache-2.0
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 opendatahub-io op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Gitlab Pipeline Debugger 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/opendatahub-io/ai-helpers/tree/main/plugins/odh-git/skills/gitlab-pipeline-debugger
  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/opendatahub-io/ai-helpers.git /tmp/ai-helpers
mkdir -p .claude/skills
cp -r /tmp/ai-helpers/plugins/odh-git/skills/gitlab-pipeline-debugger .claude/skills/gitlab-pipeline-debugger
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Gitlab Pipeline Debugger 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 Gitlab Pipeline Debugger automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Gitlab Pipeline Debugger 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.

GitLab CI Debugger

This skill enables Claude to investigate GitLab CI pipeline failures by:

  1. Checking the current pipeline status for a branch or a specific pipeline ID
  2. Identifying failed jobs
  3. Retrieving failed job logs
  4. Analyzing error messages and suggesting fixes

Prerequisites

  • glab CLI installed and authenticated (glab auth status to verify)
  • Git repository with GitLab remote configured (for automatic repo detection)

If glab is not installed, ask the user to follow installation instructions at https://gitlab.com/gitlab-org/cli#installation

If glab is not authenticated, ask the user to run glab auth login.

Instructions

When the user asks to check CI status, debug pipeline failures, or view job logs, use the glab CLI commands below. All commands auto-detect the GitLab project from the git remote in the current working directory. To target a different project, add -R <owner/group/project> to any command.

Handling GitLab URLs

When the user provides a full GitLab URL, parse it to extract the project path and the pipeline or job ID, then use -R to target that project. Always use the project from the URL, ignoring the local git remote.

Before constructing any command from a URL, validate the extracted values:

  • Project paths must only contain letters, digits, hyphens, underscores, dots, and forward slashes.

  • Pipeline and job IDs must be purely numeric.

  • Job names must only contain letters, digits, hyphens, underscores, dots, colons, slashes, and spaces. If any value fails validation, reject it and ask the user to provide a corrected URL or ID.

  • Pipeline URL format: https://gitlab.com/<group>/<project>/-/pipelines/<pipeline-id>

    • Extract: -R <group>/<project> and -p <pipeline-id>
    • Example: https://gitlab.com/my-org/my-project/-/pipelines/123456 becomes glab ci get -p 123456 -d -R my-org/my-project
  • Job URL format: https://gitlab.com/<group>/<project>/-/jobs/<job-id>

    • Extract: -R <group>/<project> and <job-id>
    • Example: https://gitlab.com/my-org/my-project/-/jobs/789012 becomes glab ci trace 789012 -R my-org/my-project

Commands

  1. Check Current Pipeline Status

    • Run glab ci get -d to get the latest pipeline for the current branch with job details
    • This shows the pipeline metadata (ID, status, ref, user) and a table of all jobs with their status, duration, and failure reason
  2. Check Specific Branch

    • Use the -b flag to check the pipeline for a different branch: glab ci get -b <branch-name> -d
  3. Check Specific Pipeline by ID

    • Use the -p flag to inspect a pipeline directly by its ID: glab ci get -p <pipeline-id> -d
  4. View Job Logs

    • To retrieve logs for a specific job by its numeric ID: glab ci trace <job-id>
    • To retrieve logs for a job by name within a specific pipeline: glab ci trace <job-name> -p <pipeline-id>
    • To retrieve logs for a job by name on the current branch: glab ci trace <job-name>
    • To retrieve logs for a job by name on a specific branch: glab ci trace <job-name> -b <branch-name>
  5. Find Merge Request for a Branch

    • If the user wants MR context (title, URL, reviewers): glab mr list -s <branch-name>
  6. Troubleshoot CI Failures

    • First, get the pipeline status to identify failed jobs (steps 1-3 above)
    • Then, retrieve the full log of the failed job (step 4)
    • Analyze the log output to identify the error and suggest fixes

Examples

bash
# Check CI pipeline status for the current branch
glab ci get -d
bash
# Debug a failed pipeline by viewing the failed job's logs
glab ci trace 789012 -R my-org/my-project

Error Handling

  • If a pipeline or job is not found, show the error and suggest checking the ID or branch name
  • If the repo cannot be detected, suggest using -R <owner/group/project> or running from within the correct git repository

Veelgestelde vragen

Wat doet de AI-skill Gitlab Pipeline Debugger?

Debug and monitor GitLab CI/CD pipelines for merge requests. Check pipeline status, view job logs, and troubleshoot CI failures. Use this when the user needs to investigate GitLab CI pipeline issues, check job statuses, or view specific job logs.

Waarom Gitlab Pipeline Debugger gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Gitlab Pipeline Debugger 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 Gitlab Pipeline Debugger in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/opendatahub-io/ai-helpers/tree/main/plugins/odh-git/skills/gitlab-pipeline-debugger. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Gitlab Pipeline Debugger 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 Gitlab Pipeline Debugger gebruiken?

Zoveel als je wilt. Je kunt Gitlab Pipeline Debugger 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 Gitlab Pipeline Debugger gratis?

Ja. Deze skill is door opendatahub-io op GitHub gepubliceerd onder de licentie Apache-2.0. 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 👇