Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

gitlab-skill

БесплатноЗапускает вложенные скриптыНе проверен

The model must apply when tasks involve .gitlab-ci.yml configuration, GitLab Flavored Markdown (GLFM) syntax, gitlab-ci-local testing, CI/CD pipeline…

BbgnsurfTechот BbgnsurfTech★ 30 звёзд на GitHub

Об этом скилле

GitLab Skill

Identity

GitLab CI/CD pipeline configuration, GitLab Flavored Markdown documentation, gitlab-ci-local testing expertise. Covers .gitlab-ci.yml syntax, GLFM rendering rules, local pipeline execution, GitLab CI Steps composition.

Capability Domains

Domain 1: CI/CD Pipeline Configuration

The model must apply for .gitlab-ci.yml creation, modification, optimization.

TRIGGERS:

  • Task involves .gitlab-ci.yml file
  • Pipeline performance optimization required
  • Caching strategy implementation needed
  • Conditional job execution configuration
  • Secret/environment variable management
  • Docker-in-Docker (dind) workflow setup
  • Pipeline job failure troubleshooting
  • GitLab CI Steps composition for reusable workflow units

CONSTRAINTS:

  • The model must validate .gitlab-ci.yml syntax before committing
  • The model must implement caching for dependencies to minimize build time
  • The model must use masked variables for sensitive data
  • The model must define timeout limits for all jobs
  • The model must test pipelines locally with gitlab-ci-local before pushing
  • The model must use .gitlab-ci.yml include feature for modular configurations
  • The model must optimize job dependencies to prevent unnecessary execution
  • The model must implement comprehensive testing at each pipeline stage

REFERENCES:

Domain 2: GitLab Flavored Markdown (GLFM)

The model must apply for GitLab documentation creation using GLFM syntax.

TRIGGERS:

  • Writing README files for GitLab projects
  • Creating GitLab Wiki pages
  • API documentation with GitLab syntax highlighting
  • User guides requiring collapsible sections
  • Process flow diagrams with Mermaid
  • Changelogs with GitLab issue/MR references

GLFM_SYNTAX_FEATURES:

  • Alert blocks: [!note], [!tip], [!important], [!caution], [!warning]
  • Collapsible sections: <details><summary> syntax
  • Mermaid diagrams for visualizations
  • Task lists with completion tracking
  • GitLab references: #issue, !MR, @user
  • Table of contents generation
  • Math expressions support
  • Color chips for design documentation

CRITICAL_SYNTAX_RULES:

The model must enforce these non-negotiable GLFM rendering requirements:

  1. Alert types MUST be lowercase: [!note] not [!Note] or [!NOTE]
  2. <details><summary> MUST be single line: <details><summary>Text</summary> not multi-line
  3. No markdown syntax inside <summary> tags - use HTML equivalents (<code>, <strong>)
  4. The model must validate rendering with validate-glfm.py script before finalizing

REFERENCE:

GLFM Syntax Reference - Complete syntax guide, examples, common mistakes

Domain 3: Local Pipeline Testing

The model must apply for local GitLab CI/CD pipeline execution with gitlab-ci-local.

TRIGGERS:

  • Testing .gitlab-ci.yml changes before push
  • Debugging pipeline job failures locally
  • Validating release workflows without actual release creation
  • Testing specific jobs/stages in isolation
  • Verifying conditional job execution logic
  • Checking artifact generation and dependencies

SETUP_PROCEDURE:

# 1. Install gitlab-ci-local globally
npm install -g gitlab-ci-local

# 2. Configure authentication tokens
# Edit $HOME/.gitlab-ci-local/variables.yml

# 3. Set project-specific variables
# Create .gitlab-ci-local-variables.yml in project root

# 4. Execute job locally
gitlab-ci-local <job-name>

COMMON_OPERATIONS:

gitlab-ci-local --list                    # List all jobs
gitlab-ci-local --preview                 # Preview parsed configuration
gitlab-ci-local --stage test              # Run specific stage
gitlab-ci-local --needs release           # Run with dependencies
gitlab-ci-local --timestamps job-name     # Debug with timestamps

REFERENCE:

GitLab CI Local Guide - Setup, authentication, troubleshooting, examples

Domain 4: GitLab CLI (glab)

The model must apply for GitLab repository and pipeline operations via the glab CLI.

TRIGGERS:

  • Monitoring pipeline status from terminal
  • Linting CI configuration before push
  • Listing or inspecting pipelines and jobs
  • Non-interactive CI/CD operations in scripts or automation

CRITICAL: AVOID INTERACTIVE COMMANDS

The glab ci view command launches an interactive TUI. Use non-interactive alternatives:

# INTERACTIVE (avoid in automation):
glab ci view                    # Opens interactive TUI

# NON-INTERACTIVE alternatives:
glab ci status --compact        # Quick pass/fail status
glab ci get                     # Pipeline details as text
glab ci list --per
Полный SKILL.md на GitHub

Установить gitlab-skill в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

commands/setup-ci-publish-token.mdcommands/setup-ci-publish-token.shreferences/.gitignorereferences/ci-steps/examples.mdreferences/ci-steps/index.mdreferences/ci-steps/step-runner-architecture.mdreferences/ci-steps/steps-overview.mdreferences/common-patterns.mdreferences/gitlab-ci-local-guide.mdreferences/glfm-syntax.mdreferences/pipeline-optimization.mdscripts/README.mdscripts/sync-gitlab-docs.pyscripts/validate-glfm.py

FAQ

Что делает скилл gitlab-skill?

The model must apply when tasks involve .gitlab-ci.yml configuration, GitLab Flavored Markdown (GLFM) syntax, gitlab-ci-local testing, CI/CD pipeline optimization, GitLab CI Steps composition, Docker-in-Docker workflows, or GitLab documentation creation. Triggers include modifying pipelines, writing GitLab README/Wiki content, debugging CI jobs locally, implementing caching strategies, or configuring release workflows.

Как установить скилл gitlab-skill?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл gitlab-skill запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить gitlab-skill с