
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-codeInstalls 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- K8s Yaml Validator715
- Helm Validator712
- Bash Script Generator710
- Jenkinsfile Validator706
- Terragrunt Validator703
- K8s Yaml Generator694
- Azure Pipelines Generator692
- Github Actions Validator686
- Gitlab Ci Generator686
- Github Actions Generator684
- Terraform Validator681
- Azure Pipelines Validator680
- Terraform Generator680
- Helm Generator674
- Makefile Validator671
- Makefile Generator659
- Promql Generator656
- Promql Validator646
- Fluentbit Generator640
- Logql Generator640
- Fluentbit Validator637
- Loki Config Generator622
- Ansible Validator1.6K
- Terragrunt Generator1.2K