·gitlab-protected-branch
</>

gitlab-protected-branch

GitLab protected branch operations via API. ALWAYS use this skill when user wants to: (1) view branch protection rules, (2) protect/unprotect branches, (3) configure push/merge access levels, (4) set up code owner approval requirements.

7Installs·1Trend·@grandcamel

Installation

$npx skills add https://github.com/grandcamel/gitlab-assistant-skills --skill gitlab-protected-branch

How to Install gitlab-protected-branch

Quickly install gitlab-protected-branch AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/grandcamel/gitlab-assistant-skills --skill gitlab-protected-branch
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: grandcamel/gitlab-assistant-skills.

SKILL.md

View raw

Branch protection management for GitLab using glab api raw endpoint calls.

| List protected | glab api projects/:id/protectedbranches | - | | Get protection | glab api projects/:id/protectedbranches/:name | - | | Protect branch | glab api projects/:id/protectedbranches -X POST -f ... | ⚠️ | | Update protection | glab api projects/:id/protectedbranches/:name -X PATCH -f ... | ⚠️ |

| Unprotect branch | glab api projects/:id/protectedbranches/:name -X DELETE | ⚠️⚠️ |

GitLab protected branch operations via API. ALWAYS use this skill when user wants to: (1) view branch protection rules, (2) protect/unprotect branches, (3) configure push/merge access levels, (4) set up code owner approval requirements. Source: grandcamel/gitlab-assistant-skills.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/grandcamel/gitlab-assistant-skills --skill gitlab-protected-branch
Category
</>Dev Tools
Verified
First Seen
2026-02-22
Updated
2026-03-10

Browse more skills from grandcamel/gitlab-assistant-skills

Quick answers

What is gitlab-protected-branch?

GitLab protected branch operations via API. ALWAYS use this skill when user wants to: (1) view branch protection rules, (2) protect/unprotect branches, (3) configure push/merge access levels, (4) set up code owner approval requirements. Source: grandcamel/gitlab-assistant-skills.

How do I install gitlab-protected-branch?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/grandcamel/gitlab-assistant-skills --skill gitlab-protected-branch Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/grandcamel/gitlab-assistant-skills