CtrlK
BlogDocsLog inGet started
Tessl Logo

pantheon-ai/gitlab-ci-generator

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

Overview
Skills
Evals
Files

validation-presentation.mdreferences/

Validation Presentation Requirements

When presenting the final pipeline to the user, include the following sections:

1. Validation Status

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

2. MEDIUM Issues Table (if any)

IssueStatusExplanation
image-variable-no-digestAcceptableUsing python:${PYTHON_VERSION}-alpine allows flexible version management; PYTHON_VERSION is internally pinned to "3.12".
git-strategy-noneAcceptablestop-staging only runs kubectl commands requiring no source code.

3. Suggestions Review Table (if any)

SuggestionApply/SkipReason
Add caching for dependenciesAppliedReduces build time by 40%
Use needs for parallel executionAppliedSpeeds up pipeline by running tests in parallel
Add retry logic for network callsSkippedNot applicable for this pipeline

4. Usage Instructions

Provide:

  • Required CI/CD variables with descriptions
  • Setup steps for first-time configuration
  • Pipeline behavior per branch/tag (when jobs trigger, manual vs automatic)

Example Usage Instructions

Required Variables (Settings → CI/CD → Variables):

VariableTypeDescription
DOCKER_REGISTRY_USERVariable (masked)Registry username
DOCKER_REGISTRY_PASSWORDVariable (masked)Registry password
KUBE_CONTEXTVariableKubernetes context name

Setup Steps:

  1. Add required variables in project settings
  2. Ensure GitLab Runner has Docker executor configured
  3. Configure Kubernetes agent for deployment jobs

Pipeline Behavior:

  • main branch: Builds, tests, and deploys to production (manual approval)
  • develop branch: Builds, tests, and deploys to staging (automatic)
  • feature branches: Builds and tests only
  • tags: Creates release artifacts and deploys to production

Severity-Based Actions

SeverityAction
CRITICALMust fix before presenting
HIGHMust fix before presenting
MEDIUMFix or explain why acceptable
LOWAcknowledge in output
SUGGESTIONSReview and apply if beneficial

Install with Tessl CLI

npx tessl i pantheon-ai/gitlab-ci-generator

references

best-practices.md

common-patterns.md

gitlab-ci-reference.md

security-guidelines.md

validation-presentation.md

SKILL.md

tile.json