gitlab-mr-review-operation
GitLab Merge Requestのレビュー操作を行うスキル。MR情報取得、差分確認、コメント取得・投稿、インラインコメント、コメント返信をglabコマンドで実行する。MRレビュー、コードレビュー、MR操作が必要な時に使用。
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
GitLab MR Review Operation
📋 実行前チェック(必須)
このスキルを使うべきか?
- GitLab MRをレビューする?
- MRにコメントを投稿する?
- インラインコメントを追加する?
- MR情報を取得する?
前提条件
-
glabCLIがインストールされているか? -
glab auth loginで認証済みか? - MR URLから OWNER/REPO/NUMBER を抽出したか?
禁止事項の確認
- 未認証状態で操作しようとしていないか?
- 権限のないリポジトリを操作しようとしていないか?
トリガー
- GitLab MRレビュー時
- MRへのコメント投稿時
- インラインコメント時
- MR情報取得時
前提条件
-
glabインストール済み -
glab auth loginで認証済み
MR URLのパース
MR URL https://gitlab.com/OWNER/REPO/-/merge_requests/NUMBER から以下を抽出して使用:
-
OWNER: リポジトリオーナー(グループ) -
REPO: リポジトリ名 -
NUMBER: MR番号
操作一覧
MR情報取得
glab mr view NUMBER --repo OWNER/REPO
差分確認
glab mr diff NUMBER --repo OWNER/REPO
コメント取得
glab mr note list NUMBER --repo OWNER/REPO
コメント投稿
glab mr note NUMBER --repo OWNER/REPO --message "コメント内容"
レビュー承認
glab mr approve NUMBER --repo OWNER/REPO
🚫 禁止事項まとめ
- 未認証状態での操作
- 権限のないリポジトリへの操作
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-26
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!