mikeparcewski/wicked-garden/gitlab-ci

Claude Code and agent skill by mikeparcewski/wicked-garden

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Write secure, optimized GitLab CI/CD pipelines. Use when: "create CI/CD pipeline", "GitLab CI config", "fix pipeline", ".gitlab-ci.yml", "configure runners", "pipeline optimization"

Install

npx vskill@latest install mikeparcewski/wicked-garden/gitlab-ci

SKILL.md

The same SKILL.md was published earlier as mikeparcewski/wicked-garden/gitlab-ci.

GitLab CI/CD Pipeline Writing

Write production-ready GitLab CI/CD pipelines with security and optimization built in.

When to Use

  • Creating new CI/CD pipelines
  • Optimizing slow or expensive pipelines
  • Setting up multi-environment deployments
  • Debugging pipeline failures

Core Structure

yaml
# .gitlab-ci.yml
stages: [build, test, deploy]
build:
stage: build
script: [npm ci, npm run build]
artifacts: { paths: [dist/] }

See refs/templates.md for full Node.js, Python, and other stack-specific templates.

GitLab vs GitHub Actions

ConceptGitHub ActionsGitLab CI
Config.github/workflows/*.yml.gitlab-ci.yml
Groupingjobs:stages:
Triggerson:rules:
Secrets${{ secrets.X }}$VARIABLE
Artifactsactions/upload-artifactBuilt-in
Cachingactions/cacheBuilt-in

Security

Protected Variables
yaml
deploy:
script:
- deploy --token $DEPLOY_TOKEN
# Set DEPLOY_TOKEN as protected in GitLab UI
Restrict Execution
yaml
deploy:
rules:
- if: $CI_COMMIT_BRANCH == "main"
when: manual # Require approval
- when: never

Performance

Caching
yaml
default:
cache:
key:
files:
- package-lock.json
paths:
- node_modules/
DAG (Parallel Dependencies)
yaml
deploy:
needs:
- build-frontend
- build-backend
# Starts when both complete, skips waiting for whole stage
Path Filtering
yaml
build:
rules:
- changes:
- src/**/*
- package.json
Parallel Jobs
yaml
test:
parallel: 4
script:
- npm test -- --shard=$CI_NODE_INDEX/$CI_NODE_TOTAL

Common Patterns

Include Templates
yaml
include:
- local: .gitlab/ci/build.yml
- template: Security/SAST.gitlab-ci.yml
Services
yaml
test:
services:
- postgres:15
variables:
DATABASE_URL: postgresql://postgres@postgres/test
Multi-Environment

YAML anchor (&deploy) lets you share a deploy job and override environment: + rules: per target (staging on develop, production on main, both when: manual for approval gates).

References

  • refs/templates.md - Copy-paste templates for Node.js, Python, Docker, K8s
  • refs/troubleshooting.md - Common errors and fixes

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/mikeparcewski/wicked-garden/gitlab-ci/badge)](https://verified-skill.com/skills/mikeparcewski/wicked-garden/gitlab-ci)

Something wrong with this skill or its page? Tell us.