glab-cli
di portavion
Git & GitHubSintesi
Interact with GitLab using the `glab` CLI.
Descrizione
Cosa fa questa skill
Wraps the `glab` CLI to interact with GitLab repositories, merge requests, CI/CD pipelines, issues, and releases. Works with gitlab.com and self-hosted instances. Supports direct API access via REST and GraphQL for operations beyond the built-in subcommands.
Combines merge request management, CI/CD inspection, and raw API access in one tool, removing the need to switch between the terminal and the GitLab web UI.
Quando usarla
- Reviewing and merging open MRs from the terminal
- Checking pipeline status after pushing a branch
- Tracing failed CI job logs in real time
- Creating issues with labels without opening a browser
- Querying GitLab API endpoints with custom field filters
Esempio di workflow
User asks: Why is my pipeline failing on the lint job?
- 1
Run
glab ci statusto confirm the pipeline is failing - 2
Run
glab ci viewto inspect individual job statuses - 3
Run
glab ci trace lintto stream the lint job logs - 4
Identify the error in the log output
- 5
Run
glab ci retryafter the fix is pushed
Returns the lint error causing the failure and confirms the pipeline is retried
Requisiti
- glab CLI installed
- GitLab account (gitlab.com or self-hosted instance)
Installazione
clawhub install portavion/glab-cliEsegui il comando CLI oppure incolla il prompt in Claude Code, Cursor, Codex o nell'agente di coding che usi.