gitlab
glab CLIを使ってGitLabの操作を支援し、MRやissue、パイプラインなどに関する質問や、GitLabのリモートリポジトリに関する言及があった際に、状況を把握して適切な情報を提供するSkill。
📜 元の英語説明(参考)
GitLab operations via glab CLI. Use when user mentions: MR, merge request, gitlab issue, pipeline, CI status, glab, or when git remote shows gitlab.com or self-hosted GitLab.
🇯🇵 日本人クリエイター向け解説
glab CLIを使ってGitLabの操作を支援し、MRやissue、パイプラインなどに関する質問や、GitLabのリモートリポジトリに関する言及があった際に、状況を把握して適切な情報を提供するSkill。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o gitlab.zip https://jpskill.com/download/19085.zip && unzip -o gitlab.zip && rm gitlab.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/19085.zip -OutFile "$d\gitlab.zip"; Expand-Archive "$d\gitlab.zip" -DestinationPath $d -Force; ri "$d\gitlab.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
gitlab.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
gitlabフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
[Skill 名] gitlab
GitLab CLI (glab)
このスキルを使用するタイミング
GitLab リポジトリには glab を使用します。GitLab を検出するには、次のようにします。
git remote -v | grep -i gitlab
リモートに gitlab.com または既知の GitLab インスタンスが含まれている場合は、このスキルを使用します。
操作の前に
常に最初に認証を確認してください。
glab auth status
認証されていない場合は、ユーザーに glab auth login の実行を案内してください。
行動ガイドライン
- MR の作成: 常に最初に
git statusでコミットされていない変更を確認してください。 - MR/Issue の表示: ユーザーが完全なコンテキストを必要とする場合は、
--commentsフラグを優先してください。 - CI 操作:
glab ci runを提案する前にglab ci statusを確認してください。 --webの使用: ユーザーがブラウザ UI から恩恵を受ける可能性がある場合。
コマンドリファレンス
マージリクエスト
| アクション | コマンド |
|---|---|
| 作成 | glab mr create --title "Title" --description "Desc" |
| ドラフト作成 | glab mr create --draft --title "Title" |
| 一覧表示 | glab mr list |
| 表示 | glab mr view <id> |
| コメント付きで表示 | glab mr view <id> --comments |
| チェックアウト | glab mr checkout <id> |
| マージ | glab mr merge <id> |
| 承認 | glab mr approve <id> |
Issue
| アクション | コマンド |
|---|---|
| 作成 | glab issue create --title "Title" --description "Desc" |
| 一覧表示 | glab issue list |
| 自分のものを一覧表示 | glab issue list --assignee=@me |
| 表示 | glab issue view <id> |
| クローズ | glab issue close <id> |
| コメント | glab issue note <id> --message "Comment" |
CI/CD パイプライン
| アクション | コマンド |
|---|---|
| ステータス | glab ci status |
| 一覧表示 | glab ci list |
| ログを表示 | glab ci trace |
| 新規実行 | glab ci run |
| 失敗したものを再試行 | glab ci retry |
リポジトリ
| アクション | コマンド |
|---|---|
| 情報表示 | glab repo view |
| クローン | glab repo clone <repo> |
| ブラウザで開く | glab repo view --web |
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
GitLab CLI (glab)
When to Use This Skill
Use glab for GitLab repositories. To detect GitLab:
git remote -v | grep -i gitlab
If the remote contains gitlab.com or a known GitLab instance, use this skill.
Before Any Operation
Always verify authentication first:
glab auth status
If not authenticated, guide the user to run glab auth login.
Behavioral Guidelines
- Creating MRs: Always check for uncommitted changes first with
git status - Viewing MRs/Issues: Prefer
--commentsflag when user wants full context - CI Operations: Check
glab ci statusbefore suggestingglab ci run - Use
--web: When the user might benefit from the browser UI
Command Reference
Merge Requests
| Action | Command |
|---|---|
| Create | glab mr create --title "Title" --description "Desc" |
| Create draft | glab mr create --draft --title "Title" |
| List | glab mr list |
| View | glab mr view <id> |
| View with comments | glab mr view <id> --comments |
| Checkout | glab mr checkout <id> |
| Merge | glab mr merge <id> |
| Approve | glab mr approve <id> |
Issues
| Action | Command |
|---|---|
| Create | glab issue create --title "Title" --description "Desc" |
| List | glab issue list |
| List mine | glab issue list --assignee=@me |
| View | glab issue view <id> |
| Close | glab issue close <id> |
| Comment | glab issue note <id> --message "Comment" |
CI/CD Pipelines
| Action | Command |
|---|---|
| Status | glab ci status |
| List | glab ci list |
| View logs | glab ci trace |
| Run new | glab ci run |
| Retry failed | glab ci retry |
Repository
| Action | Command |
|---|---|
| View info | glab repo view |
| Clone | glab repo clone <repo> |
| Open in browser | glab repo view --web |