glab-completion

Generate and load glab CLI completion scripts for Bash, Zsh, Fish, and PowerShell.

12|2|Updated Apr 21, 2026
One-click install
npx skills add https://github.com/haomingz/kimi-skills --skill glab-completion-haomingz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: glab-completion
Source: https://github.com/haomingz/kimi-skills/tree/main/skills/gitlab-cli-guide/glab-completion
Command: npx skills add https://github.com/haomingz/kimi-skills --skill glab-completion-haomingz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the creation and activation of shell completion scripts for the glab CLI across multiple shells, saving time and reducing setup errors.

Core Features & Use Cases

  • Generates completion scripts for Bash, Zsh, Fish, and PowerShell.
  • Provides easy loading instructions for each shell.
  • Use Case: On a new development machine, enable glab tab-completion to speed up workflows.

Quick Start

Run glab completion -s bash to generate and load the Bash completion script, and repeat for zsh, fish, and powershell as needed.

Frequently Asked Questions about glab-completion

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enable glab tab completion in my shell?

To enable glab tab completion, generate and load the appropriate completion script for your shell. Run the glab completion command with your shell specified to output a script that can be sourced or installed in standard completion directories.

What shells are supported for glab command completion?

Glab command completion supports Bash, Zsh, Fish, and PowerShell. The generation process outputs scripts specifically tailored for each of these shell environments to enable tab completion.

Can I configure glab completions for a CI pipeline environment?

Yes, you can configure glab completions for CI pipelines. The generated completion scripts can be sourced or installed in standard completion directories on development machines, CI pipelines, or local workstations.

How do I install the glab completion script for Zsh?

To install the glab completion script for Zsh, run glab completion -s zsh. This generates a script that you can source directly or place into a standard completion directory to activate tab completion.

Does glab completion work with PowerShell?

Yes, glab completion works with PowerShell. The tool generates specific completion scripts for PowerShell that can be sourced to enable tab completion for glab commands.

Why set up shell completion for the glab CLI?

Setting up shell completion for the glab CLI saves time and reduces setup errors by automating command activation. It allows you to quickly tab-complete commands in your development workflow.