Logo di Gitlab Pipeline Debugger

Gitlab Pipeline Debugger

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

Panoramica

Autoreopendatahub-io
Repositoryai-helpers
Nome della skillgitlab-pipeline-debugger
Stelle
39
Fork
76
File inclusi
Solo istruzioni
LicenzaApache-2.0
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da opendatahub-io su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Gitlab Pipeline Debugger in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/opendatahub-io/ai-helpers/tree/main/plugins/odh-git/skills/gitlab-pipeline-debugger
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella nella cartella delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Gitlab Pipeline Debugger in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Gitlab Pipeline Debugger non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Gitlab Pipeline Debugger non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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

Domande frequenti

Cosa fa la skill IA 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.

Perché usare Gitlab Pipeline Debugger su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Gitlab Pipeline Debugger è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Gitlab Pipeline Debugger in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/opendatahub-io/ai-helpers/tree/main/plugins/odh-git/skills/gitlab-pipeline-debugger. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Gitlab Pipeline Debugger?

Qualsiasi modello che colleghi in TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Gitlab Pipeline Debugger?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Gitlab Pipeline Debugger: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Gitlab Pipeline Debugger è gratuita?

Sì. È pubblicata su GitHub da opendatahub-io con licenza Apache-2.0. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, modelli o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇