No slash command · from gitlab-ci
Defines GitLab CI jobs with scripts, environments, dependencies, rules, and parallel execution. Useful when configuring CI pipelines.
Ships in gitlab-ci. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Configure GitLab CI jobs with proper scripts, environments, and execution settings.
job_name:
stage: test
image: node:20-alpine
before_script:
- npm ci
script:
- npm test
after_script:
- echo "Cleanup tasks"
rules:
- if: $CI_COMMIT_BRANCH == "main"
build:
script:
- echo "Building application..."
- npm run build
- echo "Build complete"
test:
script:
- npm test || exit 1
- npm run lint
allow_failure: false
deploy:production:
stage: deploy
script:
- ./deploy.sh
environment:
name: production
url: https://example.com
on_stop: stop:production
rules:
- if: $CI_COMMIT_BRANCH == "main"
when: manual
stop:production:
stage: deploy
script:
- ./teardown.sh
environment:
name: production
action: stop
when: manual
job:
rules:
- if: $CI_COMMIT_BRANCH == "main"
when: always
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
when: on_success
- when: never
test:frontend:
rules:
- changes:
- "src/frontend/**/*"
- "package.json"
docker:build:
rules:
- exists:
- Dockerfile
build:
stage: build
script: npm run build
artifacts:
paths:
- dist/
test:
stage: test
dependencies:
- build
script: npm test
test:unit:
needs:
- job: build
artifacts: true
script: npm run test:unit
test:
parallel:
matrix:
- NODE_VERSION: ["18", "20", "22"]
OS: ["alpine", "bullseye"]
image: node:${NODE_VERSION}-${OS}
script: npm test
test:
parallel: 5
script: npm run test:shard
heavy_job:
tags:
- high-memory
resource_group: deploy
timeout: 2h
retry:
max: 2
when:
- runner_system_failure
- stuck_or_timeout_failure
What SKILL.md sets; muted values are Claude Code's defaults
5 skills in this plugin
/gitlab-ci-artifacts-cachingUse when configuring artifacts for inter-job data passing or caching for faster builds. Covers cache strategies and artifact management./gitlab-ci-best-practicesUse when optimizing GitLab CI/CD pipelines for performance, reliability, or maintainability. Covers pipeline optimization and organizational patterns./gitlab-ci-pipeline-configurationUse when configuring GitLab CI/CD pipelines, defining stages, or setting up workflow rules. Covers pipeline structure, stage ordering, and execution flow./gitlab-ci-variables-secretsUse when configuring GitLab CI/CD variables, managing secrets, or integrating with external secret providers. Covers secure credential handling.npx claudepluginhub thebushidocollective/han --plugin gitlab-ciOther plugins' skills for the same job