gitlab-connect
Set up and verify GitLab integration using the GitLab CLI or API token. Use when the user says 'connect to GitLab', 'set up GitLab', or 'configure GitLab'.
- License 许可
- MIT
- 最近更新
- 2026-05-12
- Stars
- ★ 8
- Forks
- 1
01 前言 Front Matter
- name
- gitlab-connect
- description
- Set up and verify GitLab integration using the GitLab CLI or API token. Use when the user says 'connect to GitLab', 'set up GitLab', or 'configure GitLab'.
03 SKILL.md 正文
GitLab — Connect and Verify
Goal
Verify GitLab CLI authentication (or API token) and store project details in config so branch creation, MR creation, and other GitLab skills work seamlessly.
Step 1: Check GitLab CLI is Available
which glab && glab --version
If not found:
"GitLab CLI (
glab) is not installed. Install it from https://gitlab.com/gitlab-org/cli or run:
- macOS:
brew install glab- Ubuntu:
sudo apt install glab- Windows:
winget install Glab.Glab"
If glab is unavailable, fall back to API token (direct curl calls). Ask which approach to use.
Step 2: Authenticate (CLI path)
glab auth login
Follow prompts:
- GitLab instance:
gitlab.comor your self-hosted URL - Authentication: Token (recommended) or Web Browser
- Provide a Personal Access Token with scopes:
api,read_user,write_repository
Security note: provide the token interactively — do not paste it in this chat.
Step 3: Verify Authentication
glab auth status
Should show: ✓ Logged in to {instance} as {username}
Step 4: Set Default Project
glab config set -g default_project "{namespace/project-name}"
Or configure via _superml/config.yml:
integrations:
gitlab:
instance: "gitlab.com"
namespace: "{namespace}"
project: "{project-name}"
default_branch: "main"
connected: true
connected_at: "{date}"
Step 5: Verify Project Access
glab repo view {namespace/project-name}
Done
✅ GitLab connected. You can now use
gitlab-create-branchandgitlab-create-mr.
04 同仓库更多 Skills
jira-sync
Bulk sync all epics and stories from the local backlog to JIRA. Use when the user says 'sync to JIRA', 'push everything to JIRA', or 'create all JIRA tickets'.
jira-create-story
Create a single story ticket in JIRA from a local story file. Use when the user says 'create this story in JIRA' or 'push story to JIRA'.
jira-create-epic
Create an epic in JIRA from a planning artifact. Use when the user says 'create this epic in JIRA' or 'push epic to JIRA'.
jira-connect
Set up and verify JIRA integration. Use when the user says 'connect to JIRA', 'set up JIRA', or 'configure JIRA'.
jira-conflict-detect
Check if a story is already being worked on by another team member. Use before starting any story implementation.
gitlab-create-mr
Create a GitLab Merge Request for the current story branch. Use when the user says 'create an MR', 'open a merge request', or 'ready for review' in a GitLab project.