Gitlab Pipeline Debuggerのロゴ

Gitlab Pipeline Debugger

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

概要

公開者opendatahub-io
リポジトリai-helpers
スキル名gitlab-pipeline-debugger
スター
39
フォーク
76
同梱ファイル
指示のみ
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    opendatahub-ioがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Gitlab Pipeline Debugger」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/opendatahub-io/ai-helpers/tree/main/plugins/odh-git/skills/gitlab-pipeline-debugger
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでGitlab Pipeline Debuggerを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にGitlab Pipeline Debuggerを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Gitlab Pipeline Debuggerは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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

よくある質問

AIスキル「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.

TypingMindでGitlab Pipeline Debuggerを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Gitlab Pipeline Debuggerはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにGitlab Pipeline Debuggerをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/opendatahub-io/ai-helpers/tree/main/plugins/odh-git/skills/gitlab-pipeline-debuggerを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Gitlab Pipeline Debuggerを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Gitlab Pipeline Debuggerで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもGitlab Pipeline Debuggerを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Gitlab Pipeline Debugger」は無料ですか?

はい。opendatahub-ioがApache-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇