What problem does it solve?
This Skill provides clear guidance on using GitLab's MCP tools and the glab CLI for efficient interaction with GitLab issues, merge requests, and pipelines, helping users choose the right tool and avoid common pitfalls.
Core Features & Use Cases
- Tool Selection: Differentiates when to use MCP tools versus
glab CLI for various GitLab operations.
- API Usage Patterns: Details how to use
glab api for common tasks like creating draft notes and handling nested parameters.
- Handling Limitations: Offers solutions for issues like multi-line text in descriptions and pagination.
- Use Case: When creating a merge request with a detailed description including code snippets or specific formatting, this Skill guides you to use
glab CLI with heredoc syntax to ensure the description is rendered correctly.
Quick Start
Use the gitlab-api skill to create a draft note on merge request 123 with the text "This looks good!".