← スキル一覧に戻る

gitlab-ci
by mll-lab
Catalog of available plugins for Claude Code extensions at MLL, see https://docs.claude.com/en/docs/claude-code/plugin-marketplaces
⭐ 0🍴 0📅 2025年11月20日
SKILL.md
name: gitlab-ci description: Use when working with GitLab using the glab CLI tool. Currently provides guidance for CI/CD pipelines including checking pipeline status, viewing job logs, and working with branches and tags.
GitLab CI/CD with glab CLI
Core Principle
Always use --branch to specify branches or tags, never use pipeline IDs directly.
Common Workflows
1. Check Pipeline Status
# Check current branch
glab ci status
# Check specific branch or tag
glab ci status --branch=<branch-or-tag>
# Compact view
glab ci status --compact --branch=<branch-or-tag>
2. Get Pipeline Details
# Get pipeline info for a branch/tag
glab ci get --branch=<branch-or-tag>
# Include job IDs and details
glab ci get --branch=<branch-or-tag> --with-job-details
3. View Job Logs
# By job name (recommended when you know the name)
glab ci trace <job-name> --branch=<branch-or-tag>
# By job ID (use after getting job IDs from `glab ci get --with-job-details`)
glab ci trace <job-id>
Example workflow:
# 1. Check status and see job names
glab ci status --branch=staging
# 2. Get logs for a specific failed job
glab ci trace check-pending-migrations --branch=staging
4. List Pipelines
# List recent pipelines (overview only)
glab ci list
# Filter by ref (branch/tag)
glab ci list --ref=<branch-or-tag>
# Filter by status
glab ci list --status=failed
Important Notes
- NEVER use
glab ci view- it only works interactively. Useglab ci status --livefor monitoring orglab ci tracefor job logs instead - Job names and job IDs work with
glab ci trace, but pipeline IDs do not - Always specify
--repoif working with a repository other than the current directory - Use
--branchfor both branches and tags (the flag name is--brancheven for tags)
Quick Reference
| Task | Command |
|---|---|
| Pipeline status | glab ci status --branch=<ref> |
| Pipeline details | glab ci get --branch=<ref> |
| Job logs | glab ci trace <job-name|job-id> [--branch=<ref>] |
| List pipelines | glab ci list [--ref=<ref>] |
スコア
総合スコア
65/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
✓説明文
100文字以上の説明がある
+10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
○言語
プログラミング言語が設定されている
0/5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です