akin-ozer avatar

Gitlab Ci Validator

This validates GitLab CI/CD pipelines through syntax, best practices, and security checks before you push or merge. It catches the usual suspects: hardcoded secrets, missing cache configs, undefined job dependencies, and sketchy curl pipe bash patterns. The workflow is gated (syntax first, then security, optionally best practices in strict mode), which makes sense for CI integration. It wraps Python validators in shell scripts with automatic venv setup if PyYAML is missing, and there's an optional local execution test if you have gitlab-ci-local and Docker installed. Solid for catching configuration mistakes early, though it won't replace actually running your pipeline to see what breaks in practice.

skills.sh installs
725
GitHub stars
337
last updated
Aug 21, 2026

Install

$ npx -y skills add akin-ozer/cc-devops-skills --skill gitlab-ci-validator --agent claude-code

Installs into .claude/skills of the current project.

Files

GitLab CI/CD Validator

Comprehensive toolkit for validating, linting, testing, and securing .gitlab-ci.yml configurations.

Trigger Phrases

Use this skill when requests include intent like:

  • "Validate this .gitlab-ci.yml"
  • "Why is this GitLab pipeline failing?"
  • "Run a security review for our GitLab CI"
  • "Check pipeline best practices"
  • "Lint GitLab CI config before merge"

Setup And Prerequisites (Run First)

All commands below assume repository root as current working directory.

# Ensure validator scripts are executable
chmod +x devops-skills-plugin/skills/gitlab-ci-validator/scripts/*.sh \
  devops-skills-plugin/skills/gitlab-ci-validator/scripts/*.py

# Required runtime
python3 --version

Use one canonical command path for orchestration:

VALIDATOR="bash devops-skills-plugin/skills/gitlab-ci-validator/scripts/validate_gitlab_ci.sh"

Optional local execution tooling (for --test-only):

bash devops-skills-plugin/skills/gitlab-ci-validator/scripts/install_tools.sh

Quick Start Commands

# 1) Full validation (syntax + best practices + security)
$VALIDATOR .gitlab-ci.yml

Sponsors

Details

Repository
github.com/akin-ozer/cc-devops-skills
Categories
DevOps & CI/CD, Git & Pull Requests, Code Review & Quality, Debugging
First seen
Jun 3, 2026

More from akin-ozer/cc-devops-skills

All 31
1akin-ozer avatargitlab-ci-generatorakin-ozer/cc-devops-skillsCreate, generate, or scaffold .gitlab-ci.yml pipelines, stages, and jobs.686skills.sh installs
2wshobson avatargitlab-ci-patternswshobson/agentsBuild GitLab CI/CD pipelines with multi-stage workflows, caching, and distributed runners for scalable automation. Use when implementing GitLab CI/CD, optimizin13.6Kskills.sh installs
3aj-geddes avatargitlab-cicd-pipelineaj-geddes/useful-ai-promptsDesign and implement GitLab CI/CD pipelines with stages, jobs, artifacts, and caching. Configure runners, Docker integration, and deployment strategies.669skills.sh installs
4kubesphere avatarkubesphere-devops-pipelinekubesphere/kubesphereThis handles CI/CD pipeline operations in KubeSphere's DevOps platform, which wraps Jenkins with Kubernetes custom resources.0skills.sh installs
5elastic avatarobservability-k8s-investigationelastic/agent-skillsInvestigate Kubernetes workload, node, and control-plane issues using OTel telemetry (EDOT). Use when diagnosing pod failures (CrashLoopBackOff, OOMKilled, Erro3.3Kskills.sh installs
6aj-geddes avatarjenkins-pipelineaj-geddes/useful-ai-promptsBuild Jenkins declarative and scripted pipelines with stages, agents, parameters, and plugins. Implement multi-branch pipelines and deployment automation.2.2Kskills.sh installs