Help us improve
Share bugs, ideas, or general feedback.
From gitlab-workflow
GitLab にMerge Requestを作成する。現在のブランチの変更内容を分析し、適切なタイトルとdescriptionを自動生成する。
npx claudepluginhub backpaper0/claude-plugins --plugin gitlab-workflowHow this command is triggered — by the user, by Claude, or both
Slash command
/gitlab-workflow:create-mrThis command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
# GitLab Merge Request 作成
GitLab にMerge Requestを作成する。現在のブランチの変更内容を分析し、適切なタイトルとdescriptionを自動生成する。
## 手順
### 1. 情報収集(並列実行)
以下のコマンドを**並列で**実行して、現在のブランチの状態を把握する:
- `git status` — 未コミットの変更・未追跡ファイルを確認
- `git diff main...HEAD --stat` — mainブランチからの変更ファイル一覧
- `git diff main...HEAD` — 完全なdiff
- `git log --oneline main..HEAD` — コミット履歴
- `git remote -v` — リモート情報
- `git rev-parse --abbrev-ref --symbolic-full-name @{upstream} 2>/dev/null || echo "no-upstream"` — リモートにプッシュ済みか確認
### 2. 分析・MR作成
収集した情報を元に:
1. **変更内容を分析**して、MRのタイトルとdescriptionを起草する
2. タイトルは日本語で、簡潔に変更の目的を表現する(70文字以内)
3. descriptionは以下.../createCreates a new branch from current changes, commits them, and submits a GitLab Merge Request with structured description: title, background, changes, test plan, risks, and notes.
/create-pull-requestGenerates comprehensive Pull Request description, test plan, and changelog from git branch changes, creates PR via gh CLI, and outputs URL.
/create-prCreates a GitHub pull request for the current feature branch. Analyzes commits to generate structured title and description, pushes branch if needed, supports title override and issue linking via arguments.
/devkit.github.create-prCreates GitHub pull request by validating repo, creating branch, committing changes, pushing, and generating detailed description. Accepts optional PR title, target branch (defaults main), language (en/it/es/fr/de).
Share bugs, ideas, or general feedback.
GitLab にMerge Requestを作成する。現在のブランチの変更内容を分析し、適切なタイトルとdescriptionを自動生成する。
以下のコマンドを並列で実行して、現在のブランチの状態を把握する:
git status — 未コミットの変更・未追跡ファイルを確認git diff main...HEAD --stat — mainブランチからの変更ファイル一覧git diff main...HEAD — 完全なdiffgit log --oneline main..HEAD — コミット履歴git remote -v — リモート情報git rev-parse --abbrev-ref --symbolic-full-name @{upstream} 2>/dev/null || echo "no-upstream" — リモートにプッシュ済みか確認収集した情報を元に:
## 概要
(1〜3行で変更の目的・背景を説明)
## 変更内容
(変更したファイルと内容をbulletで列挙)
## テスト計画
(テスト方法をbulletで列挙)
git push -u origin <current-branch> でプッシュするglab mr create --title "タイトル" --description "$(cat <<'EOF'
## 概要
...
## 変更内容
...
## テスト計画
...
EOF
)" --target-branch main
ターゲットブランチはデフォルトで main とする。
MR作成が成功したら、MRのURLをユーザーに表示する。失敗した場合はエラー内容を報告し、対処法を提案する。
次のアクションをサジェストする:
/review-fix — レビューコメントが付いたらコードを修正/resolve-conflicts — コンフリクトが発生した場合に解消glab コマンドが利用できない場合は、インストール方法を案内する(miseでのインストールを推奨)