Receber por email
← Voltar para o catálogo

gitlab

GitLab operations via glab CLI. Use when user mentions: MR, merge request, gitlab issue, pipeline, CI status, glab, or when git remote shows gitlab.com or self-hosted GitLab.

367estrelas
Atualizado há 4 meses

Ver no GitHub ↗

Como adicionar

/plugin marketplace add aiskillstore/marketplace

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/gitlab-aiskillstore/svg)](https://www.skillteca.com.br/skills/gitlab-aiskillstore)

Skills relacionadas

Ver todas de Segurança →

Alerta por categoria

Receba novas skills de Segurança toda segunda

1 email curto, só com as skills novas de Segurança. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

GitLab CLI (glab)

When to Use This Skill

Use glab for GitLab repositories. To detect GitLab:

git remote -v | grep -i gitlab

If the remote contains gitlab.com or a known GitLab instance, use this skill.

Before Any Operation

Always verify authentication first:

glab auth status

If not authenticated, guide the user to run glab auth login.

Behavioral Guidelines

  1. Creating MRs: Always check for uncommitted changes first with git status
  2. Viewing MRs/Issues: Prefer --comments flag when user wants full context
  3. CI Operations: Check glab ci status before suggesting glab ci run
  4. Use --web: When the user might benefit from the browser UI

Command Reference

Merge Requests

| Action | Command | |--------|---------| | Create | glab mr create --title "Title" --description "Desc" | | Create draft | glab mr create --draft --title "Title" | | List | glab mr list | | View | glab mr view <id> | | View with comments | glab mr view <id> --comments | | Checkout | glab mr checkout <id> | | Merge | glab mr merge <id> | | Approve | glab mr approve <id> |

Issues

| Action | Command | |--------|---------| | Create | glab issue create --title "Title" --description "Desc" | | List | glab issue list | | List mine | glab issue list --assignee=@me | | View | glab issue view <id> | | Close | glab issue close <id> | | Comment | glab issue note <id> --message "Comment" |

CI/CD Pipelines

| Action | Command | |--------|---------| | Status | glab ci status | | List | glab ci list | | View logs | glab ci trace | | Run new | glab ci run | | Retry failed | glab ci retry |

Repository

| Action | Command | |--------|---------| | View info | glab repo view | | Clone | glab repo clone <repo> | | Open in browser | glab repo view --web|

Compartilhar X LinkedIn