بنقرة واحدة
gitlab-mr-review
Gitlab MR Review
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Gitlab MR Review
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
invoice-organizer
langsmith-fetch
Use when the user asks to play music, control playback, search for songs/albums/artists, manage queue, or adjust volume via Spotify.
Tracktile
xlsx
algorithmic-art
| name | Gitlab MR Review |
| description | Gitlab MR Review |
| category | general |
Efficient workflow for reviewing GitLab merge requests: extract MR number, gather context in parallel (glab + Asana if linked), checkout code with wtm, and perform deep review using code-review skill.
https://gitlab.com/org/repo/-/merge_requests/1234# From URL: https://gitlab.com/sharokenstudio/tracktile/tracktile/-/merge_requests/3386
# MR number is: 3386
cd ~/tracktile/prerelease && glab mr view 3386
Extract from output:
feature/new-auth-flow)https://app.asana.com/0/1234567890/9876543210)CRITICAL: Run these in parallel in a SINGLE message with multiple tool calls:
Parallel Task 1 - Checkout or update branch:
Check if worktree already exists:
if [ -d ~/tracktile/feature/new-auth-flow ]; then
cd ~/tracktile/feature/new-auth-flow && git pull
else
cd ~/tracktile && wtm checkout feature/new-auth-flow
fi
Logic:
cd into it and git pull to updatewtm checkout BRANCH_NAME to create itExact wtm command syntax:
wtm checkout BRANCH_NAMEwtm BRANCH_NAMEwtm add BRANCH_NAMEwtm listWhat wtm does (when creating new worktree):
~/tracktile/BRANCH_NAME/~/tracktile/feature/new-auth-flow/Parallel Task 2 - Get Asana context (if link found in Step 2):
While wtm runs, use Asana MCP in parallel:
https://app.asana.com/0/1234567890/9876543210 → 9876543210mcp__asana__asana_get_task with task_id: "9876543210"Wait for both tasks to complete before proceeding to Step 4.
cd ~/tracktile/feature/new-auth-flow/
Critical:
~/tracktile/BRANCH_NAME/ (note the trailing slash)feature/new-auth-flow, path is ~/tracktile/feature/new-auth-flow/MANDATORY: Invoke superpowers:requesting-code-review skill using Skill tool.
Pass this context to the skill:
Do NOT:
git diff, git log) - skill handles thiscode-review or superpowers:code-reviewerThe requesting-code-review skill handles:
| Step | Command | Purpose |
|---|---|---|
| 1 | Extract MR number from URL | Get "3386" |
| 2a | glab mr view 3386 | Get metadata + branch name + check for Asana |
| 2b | wtm checkout BRANCH | Setup worktree (auto-installs deps) |
| 2c | Get Asana task (if linked) | Get requirements context |
| 3 | cd ~/tracktile/BRANCH | Switch to worktree |
| 4 | Invoke code-review skill | Deep review with context |
❌ Running commands sequentially
❌ Not checking if worktree already exists
~/tracktile/BRANCH_NAME/ existscd into it and git pull to updatewtm checkout BRANCH_NAME❌ Forgetting to switch to worktree directory
wtm checkout feature-branch, you MUST cd ~/tracktile/feature-branch/❌ Skipping Asana context
❌ Manual review instead of using code-review skill
❌ Using wrong repository path
~/tracktile for tracktile project (bare repo setup)~/tracktile/BRANCH_NAME/User: "Review this MR: https://gitlab.com/sharokenstudio/tracktile/tracktile/-/merge_requests/3386"
You:
1. Extract MR number: 3386
2. Run in parallel:
- glab mr view 3386 → Get branch name "feature/new-auth" + check description
- Found Asana link in description → Get task context
- wtm checkout feature/new-auth → Setup worktree
3. cd ~/tracktile/feature/new-auth
4. Use code-review skill with context:
- MR intent: "Implements new auth flow"
- Asana requirements: [acceptance criteria from task]
- Discussion: [any comments from glab]