# ci-cd

Designs GitHub Actions and GitLab CI workflows, speeds up slow builds, and adds security scans for dependencies and secrets.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 363 installs · ★ 203
- Author: ahmedasmar
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/ahmedasmar/devops-claude-skills/tree/HEAD/ci-cd/skills/SKILL.md
- Updated: 2026-04-11
- HTML: https://affpapa.org/en/nevibecode/skills/ahmedasmar-ci-cd

## What it does

This skill provides workflow architectures for Node.js, Python, Go, and Docker builds. It organizes pipelines into sequential stages: fast linter checks first, followed by unit testing, artifact generation, and deployment gates. It also incorporates DevSecOps patterns, promoting OIDC authentication for AWS instead of static credentials alongside SAST and SCA scanning tools like CodeQL or Semgrep.

To resolve sluggish builds, the guidance focuses on dependency caching via `actions/cache`, path filters, and matrix test sharding. When runs fail, it outlines a systematic debug path using `gh run` inspect commands, debug logging variables, and local step reproduction using `act` or clean Docker containers.

Running the bundled workflow evaluation script `scripts/pipeline_analyzer.py` requires a local Python 3 installation.

## Requirements
- Works with: GitLab, Docker

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add ahmedasmar/devops-claude-skills --skill ci-cd -a claude-code
```
```bash
npx skills add ahmedasmar/devops-claude-skills --skill skills -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/skills/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/skills/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add ahmedasmar/devops-claude-skills --skill skills -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/skills/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add ahmedasmar/devops-claude-skills --skill skills -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/skills/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install ahmedasmar/devops-claude-skills skills
```

2. **Manually: put the files in place**
- File: `.github/skills/skills/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add ahmedasmar/devops-claude-skills --skill skills -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/ahmedasmar/devops-claude-skills --path ci-cd/skills
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/skills/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add ahmedasmar/devops-claude-skills --skill skills -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/ahmedasmar/devops-claude-skills/tree/HEAD/ci-cd/skills/SKILL.md

## When to use it
- configure OIDC authentication for cloud deployments
- cut pipeline runtime with dependency caching and matrix builds
- integrate SAST and secret scanning into pull request checks
- diagnose intermittent job timeouts and failed test runs

## Example prompts
- Convert our GitHub Actions deploy step to use OIDC with AWS instead of static tokens.
- Help me debug a flaky test step and configure act to reproduce it locally.
- Set up a GitLab CI pipeline for a Go application with dependency caching.

## Similar
- [pipeline-blueprint](https://affpapa.org/en/nevibecode/skills/pipeline-blueprint.md) — skill · ★ 4676
- [cicd-expert](https://affpapa.org/en/nevibecode/skills/cicd-expert.md) — skill · 645 installs
- [linear-release-setup](https://affpapa.org/en/nevibecode/skills/linear-release-setup.md) — skill · 15200 installs
- [ci-cd-pipeline-builder](https://affpapa.org/en/nevibecode/skills/ci-cd-pipeline-builder.md) — skill · 683 installs
- [cicd-pipeline-setup](https://affpapa.org/en/nevibecode/skills/cicd-pipeline-setup.md) — skill · 498 installs
- [deployment-engineer](https://affpapa.org/en/nevibecode/agents/deployment-engineer.md) — subagent · 6079 installs

## Other versions with the same name
- [ci-cd · codewithmukesh](https://affpapa.org/en/nevibecode/skills/ci-cd.md) — 2800 installs

From the same set: [ahmedasmar/devops-claude-skills](https://affpapa.org/en/nevibecode/by/ahmedasmar/devops-claude-skills.md) — 2 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
