Install
openclaw skills install gitlab-mr-reviewAutomatically fetches and reviews GitLab merge requests using a template to identify issues and post detailed, actionable review comments.
openclaw skills install gitlab-mr-reviewThis skill performs code reviews on GitLab merge requests using a standardized template.
When user says something like:
Parse the MR URL to extract:
glab config set host https://<hostname>
glab api projects/<project>/merge_requests/<iid>
glab api projects/<project>/merge_requests/<iid>/changes
Read the review template at code-review-template.md and analyze the diff for:
Fill in the template with your analysis:
glab api projects/<project>/merge_requests/<iid>/notes --method POST \
--raw-field body="$(cat review-comment.md)"
Or use inline with --raw-field body="<content>"