Comprehensive toolkit for generating best practice GitLab CI/CD pipelines and configurations following current standards and conventions. Use this skill when creating new GitLab CI/CD resources, implementing CI/CD pipelines, or building GitLab pipelines from scratch.
Overall
score
93%
Does it follow best practices?
Validation for skill structure
When presenting the final pipeline to the user, include the following sections:
Provide pass/fail status with issue counts by severity:
✓ Validation passed
- 0 CRITICAL issues
- 0 HIGH issues
- 2 MEDIUM issues
- 3 LOW issues
- 5 SUGGESTIONS| Issue | Status | Explanation |
|---|---|---|
image-variable-no-digest | Acceptable | Using python:${PYTHON_VERSION}-alpine allows flexible version management; PYTHON_VERSION is internally pinned to "3.12". |
git-strategy-none | Acceptable | stop-staging only runs kubectl commands requiring no source code. |
| Suggestion | Apply/Skip | Reason |
|---|---|---|
| Add caching for dependencies | Applied | Reduces build time by 40% |
Use needs for parallel execution | Applied | Speeds up pipeline by running tests in parallel |
| Add retry logic for network calls | Skipped | Not applicable for this pipeline |
Provide:
Required Variables (Settings → CI/CD → Variables):
| Variable | Type | Description |
|---|---|---|
DOCKER_REGISTRY_USER | Variable (masked) | Registry username |
DOCKER_REGISTRY_PASSWORD | Variable (masked) | Registry password |
KUBE_CONTEXT | Variable | Kubernetes context name |
Setup Steps:
Pipeline Behavior:
| Severity | Action |
|---|---|
| CRITICAL | Must fix before presenting |
| HIGH | Must fix before presenting |
| MEDIUM | Fix or explain why acceptable |
| LOW | Acknowledge in output |
| SUGGESTIONS | Review and apply if beneficial |
Install with Tessl CLI
npx tessl i pantheon-ai/gitlab-ci-generator