skills/devops-skills/gitlab-ci/SKILL.md
Provides comprehensive guidance for GitLab CI/CD including pipeline configuration, runners, artifacts, environments, and deployment automation. Use when the user asks about GitLab CI, needs to create pipelines, configure runners, or automate builds and deployments.
npx skillsauth add partme-ai/full-stack-skills gitlab-ciInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill whenever the user wants to:
.gitlab-ci.yml)needs for complex dependency graphs between jobs# .gitlab-ci.yml
stages:
- test
- build
- deploy
variables:
NODE_VERSION: "20"
test:
stage: test
image: node:${NODE_VERSION}
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- node_modules/
script:
- npm ci
- npm test
artifacts:
when: on_failure
paths:
- test-reports/
expire_in: 7 days
build:
stage: build
image: node:${NODE_VERSION}
needs: [test]
script:
- npm ci
- npm run build
artifacts:
paths:
- dist/
deploy_production:
stage: deploy
needs: [build]
environment:
name: production
url: https://myapp.example.com
script:
- ./scripts/deploy.sh
rules:
- if: $CI_COMMIT_BRANCH == "main"
| Feature | Purpose |
|---------|---------|
| stages | Define execution order |
| needs | Create DAG dependencies (skip stage waiting) |
| artifacts | Pass files between jobs |
| cache | Speed up repeated installs |
| rules | Control when jobs run |
| environment | Track deployment targets |
stages to define clear build order; jobs within a stage run in parallelneeds to create complex dependency graphs and avoid unnecessary waitingartifacts: when: on_failurerules instead of deprecated only/except for conditional job executionrules conditions match the event (push, merge request, etc.)gitlab ci, gitlab-ci, pipeline, runner, ci/cd, artifacts, cache, environments, deployment automation
development
Provides per-component and per-API examples with cross-platform compatibility details for uni-app, covering built-in components, uni-ui components, and APIs (network, storage, device, UI, navigation, media). Use when the user needs official uni-app components or APIs, wants per-component examples with doc links, or needs platform compatibility checks.
tools
Creates new uni-app projects via the official CLI or HBuilderX with Vue 2/Vue 3 template selection, manifest.json and pages.json configuration, and directory structure setup. Use when the user wants to scaffold a new uni-app project, initialize project files with a single command, or set up the development environment.
tools
Browses, installs, configures, and manages plugins from the uni-app plugin market (ext.dcloud.net.cn) including component plugins, API plugins, and template plugins with dependency handling. Use when the user needs to find and install uni-app plugins, configure plugin settings, manage plugin dependencies, or integrate third-party components.
tools
Develops native Android and iOS plugins for uni-app including module creation, JavaScript-to-native communication, and plugin packaging for distribution. Use when the user needs to build custom native modules, extend uni-app with native capabilities (camera, Bluetooth, sensors), or create publishable native plugins.