Command Palette

Search for a command to run...

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

gitlab-ci-generator

БесплатноБез исполняемых скриптовНе проверен

Create, generate, or scaffold .gitlab-ci.yml pipelines, stages, and jobs.

akin-ozerот akin-ozer★ 346 звёзд на GitHub

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

GitLab CI/CD Pipeline Generator

Overview

Generate production-ready GitLab CI/CD pipeline configurations following current best practices, security standards, and naming conventions. All generated resources are automatically validated using the devops-skills:gitlab-ci-validator skill to ensure syntax correctness and compliance with best practices.


Trigger Phrases

Use this skill when the user asks for GitLab CI/CD generation requests such as:

  • "Create a .gitlab-ci.yml for..."
  • "Build a GitLab pipeline for Node/Python/Java..."
  • "Add Docker build and deploy jobs in GitLab CI"
  • "Set up GitLab parent-child or multi-project pipelines"
  • "Include SAST/dependency scanning templates in GitLab CI"

Execution Model

Follow this deterministic flow in order:

  1. Classify request complexity (targeted, lightweight, or full).
  2. Load only the required reference tier for that complexity.
  3. Output the matching response profile for the selected mode.
  4. For complete pipeline generation, start from the closest template and customize.
  5. Validate complete pipelines with strict Critical/High gates.
  6. Present output with validation status and template/version notes.

If tooling is unavailable, use the documented fallback branch and report it explicitly.

Mode Routing (Quick Decision)

Request shape Mode Required references Output profile
Simple single-file pipeline with common jobs/stages and low risk Lightweight Tier 1 (+ Tier 2 only if needed) Lightweight confirmation + compact final sections
Multi-environment deploy, advanced rules, includes/templates, security/compliance-sensitive workflow, or unclear/risky requirement Full Tier 1 + Tier 2 (Tier 3 only if needed) Full confirmation + full final sections
Review/Q&A/snippet/focused fix (not full file generation) Targeted Only directly relevant files Concise targeted response (no full boilerplate)

When uncertain on a complete-generation request, route to Full mode.

MANDATORY PRE-GENERATION STEPS

CRITICAL: Before generating any complete GitLab CI/CD pipeline, complete these steps.

Step 1: Classify Complexity (REQUIRED)

Mode Use When Minimum Confirmation
Targeted Review/Q&A/snippet/focused fix where full pipeline generation is not requested Concise targeted response
Lightweight Simple single-file pipeline, common stages/jobs, no advanced GitLab features, no sensitive deploy/security customization Lightweight confirmation
Full Multi-environment deploys, includes/templates, advanced rules logic, security scanning customization, compliance-sensitive workflows, or any unclear/risky request Full confirmation

When uncertain on a complete-generation request, default to Full mode.

Step 2: Load References by Tier (REQUIRED)

Use an open/read action to load references based on the selected mode.

Targeted mode (review/Q&A/snippet/focused fix):

  • Load only directly relevant references/templates for the scoped request.
  • Do not enforce Full-generation Tier 1/Tier 2 checklist items.

Tier 1 (Required for complete pipeline generation in Lightweight and Full modes):

  1. references/best-practices.md - baseline security, performance, naming
  2. references/common-patterns.md - starting pattern selection
  3. Matching template from assets/templates/:
    • Docker pipelines -> assets/templates/docker-build.yml
    • Kubernetes deployments -> assets/templates/kubernetes-deploy.yml
    • Multi-project pipelines -> assets/templates/multi-project.yml
    • Basic pipelines -> assets/templates/basic-pipeline.yml

Tier 2 (Required for Full mode; optional for Lightweight mode):

  1. references/gitlab-ci-reference.md - keyword/syntax edge cases
  2. references/security-guidelines.md - security-sensitive controls

Tier 3 (Conditional external docs lookup):

  • Use only when local references do not cover requested features or version-specific behavior.
  • Follow the lookup flow in "Handling GitLab CI/CD Documentation Lookup."

If a required local reference or template is unavailable:

  • Report the exact missing path.
  • Continue with available references and mark assumptions explicitly.
  • Do not claim production-ready confidence until missing critical inputs are resolved.

Step 3: Confirm Understanding (EXPLICIT OUTPUT REQUIRED)

Lightweight Confirmation Mode

Use for simple requests only.

Required format:

## Reference Analysis Complete (Lightweight)

**Pattern:** [Pattern name] from common-patterns.md
**Template:** [Template file]
**Key standards to enforce:**
- [2-3 concrete standards]

Example:

## Reference Analysis Complete (Lightweight)

**Pattern:** Basic Build-Test-Deploy from common-patterns.md
**Template:** assets/templates/basic-pipeline.yml
**Key standards to enforce:*
Полный SKILL.md на GitHub

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

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

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

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

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

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

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

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

.gitignoreassets/templates/basic-pipeline.ymlassets/templates/docker-build.ymlassets/templates/kubernetes-deploy.ymlassets/templates/multi-project.ymlreferences/best-practices.mdreferences/common-patterns.mdreferences/gitlab-ci-reference.mdreferences/security-guidelines.md

FAQ

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

Create, generate, or scaffold .gitlab-ci.yml pipelines, stages, and jobs.

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

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

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

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить gitlab-ci-generator с