gitlab-ci
Provides comprehensive guidance for GitLab CI/CD including pipeline configuration, runners, artifacts, and automation. Use when the user asks about GitLab CI, needs to create GitLab pipelines, configure CI/CD workflows, or automate deployments with GitLab.
How do I install this agent skill?
npx skills add https://github.com/full-stack-skills/devops-skills --skill gitlab-ciIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill provides informational guidance and best practices for GitLab CI/CD. It does not contain any executable code, external dependencies, or suspicious instructions. It correctly recommends using secure methods for handling secrets.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
When to use this skill
Use this skill whenever the user wants to:
- 编写或调试 GitLab CI 流水线 (
.gitlab-ci.yml) - 配置 GitLab Runner、stages、jobs、artifacts
- 设置 GitLab CI/CD 变量、secrets、environments
- 集成测试、构建、部署自动化
How to use this skill
- 流水线结构:YAML 中定义
stages、jobs;每个 job 属于某个 stage。 - Runner 配置:shared runner、specific runner、tags 选择。
- Artifacts 与缓存:在 jobs 间传递构建产物,使用 cache 加速。
- 环境与部署:使用
environment定义部署目标,配置only/except规则。
Best Practices
- 用
stages明确构建顺序,job 并行执行。 - 敏感信息用 CI/CD 变量(Settings → CI/CD → Variables),不在 yaml 中硬编码。
- 用
needs实现复杂依赖图,避免不必要的等待。 - 失败 job 加
artifacts保留日志和产物。
Keywords
gitlab ci, gitlab-ci, pipeline, runner, ci/cd, 流水线, 自动化部署, gitlab runner
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/full-stack-skills/devops-skills/gitlab-ci">View gitlab-ci on skillZs</a>