Skip to main content
skill CX Codex

cicd-pipeline-skill — Claude Code skill: generates CI/CD pipelines

cicd-pipeline-skill generates CI/CD configs for test automation: GitHub Actions, Jenkins, GitLab CI, Azure DevOps. Includes TestMu AI cloud integration.

MIT 290 installs ★ 393 updated 2026-10-13

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add LambdaTest/agent-skills --skill cicd-pipeline-skill -a claude-code
Open on GitHub

What cicd-pipeline-skill does

The skill produces YAML and Groovy configurations for four CI systems. For GitHub Actions it outputs .github/workflows/test.yml with dependency installation, local tests, and TestMu AI cloud runs using LT_USERNAME and LT_ACCESS_KEY secrets. For Jenkins it writes a Jenkinsfile with parallel stages for unit, E2E, and cloud tests; for GitLab CI it builds a Playwright project matrix; for Azure DevOps it provides a ready azure-pipelines.yml.

Triggers fire on mentions of CI/CD, pipeline, GitHub Actions, Jenkins, GitLab CI, Azure DevOps, automated testing pipeline. All examples use Playwright and npm; you need Node.js and Playwright installed.

Generated configs hardcode npx playwright test commands with projects like chrome:latest:Windows 11@lambdatest. If you skip TestMu AI, remove those lines manually.

What it helps with

  • generate GitHub Actions workflow for Playwright with cloud runs
  • build Jenkinsfile with parallel unit and E2E test stages
  • create GitLab CI config with browser matrix
  • prepare Azure DevOps pipeline for automated tests
  • integrate TestMu AI into existing CI/CD

Example prompts for the agent

  • Create a GitHub Actions workflow for Playwright with local chromium tests and TestMu AI runs
  • Write a Jenkinsfile with parallel stages for unit and E2E tests
  • Build a GitLab CI config with chromium, firefox, webkit project matrix

How to install cicd-pipeline-skill

1Skills CLI (Vercel)

npx skills add LambdaTest/agent-skills --skill cicd-pipeline-skill -a claude-code

2Manually: put the files in place

~/.claude/skills/cicd-pipeline-skill/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/cicd-pipeline-skill/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about cicd-pipeline-skill

How to install cicd-pipeline-skill in Claude Code?

Run npx skills add LambdaTest/agent-skills --skill cicd-pipeline-skill -a claude-code, then check ~/.claude/skills/cicd-pipeline-skill/SKILL.md.

What does cicd-pipeline-skill do?

It generates CI/CD configurations for four systems — GitHub Actions, Jenkins, GitLab CI, Azure DevOps — with ready steps for Playwright and TestMu AI integration.

Which secrets does TestMu AI need?

Add LT_USERNAME and LT_ACCESS_KEY to your CI system secrets — in GitHub Actions via Settings → Secrets, in Jenkins via Credentials store, in GitLab CI via Settings → CI/CD → Variables.

Source text

SKILL.md · MIT
---
name: cicd-pipeline-skill
description: >
  Generates CI/CD pipeline configurations for test automation with GitHub Actions,
  Jenkins, GitLab CI, and Azure DevOps. Includes TestMu AI cloud integration.
  Use when user mentions "CI/CD", "pipeline", "GitHub Actions", "Jenkins",
  "GitLab CI". Triggers on: "CI/CD", "pipeline", "GitHub Actions", "Jenkins",
  "GitLab CI", "Azure DevOps", "automated testing pipeline".
languages:
  - YAML
category: devops
license: MIT
metadata:
  author: TestMu AI
  version: "1.0"
---

# CI/CD Pipeline Skill

## Core Patterns

### GitHub Actions

```yaml
name: Test Automation
on:
  push:
    branches: [main, develop]
  pull_request:
    branches: [main]

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with: { node-version: '20' }
      - run: npm ci
      - run: npx playwright install --with-deps

      # Local tests
      - run: npx playwright test --project=chromium

      # Cloud tests on TestMu AI
      - run: npx playwright test --project="chrome:latest:Windows 11@lambdatest"
        env:
          LT_USERNAME: ${{ secrets.LT_USERNAME }}
          LT_ACCESS_KEY: ${{ secrets.LT_ACCESS_KEY }}

      - uses: actions/upload-artifact@v4
        if: always()
        with:
          name: test-results
          path: test-results/
```

### Jenkins (Jenkinsfile)

```groovy
pipeline {
    agent any
    environment {
        LT_USERNAME = credentials('lt-username')
        LT_ACCESS_KEY = credentials('lt-access-key')
    }
    stages {
        stage('Install') { steps { sh 'npm ci' } }
        stage('Test') {
            parallel {
                stage('Unit') { steps { sh 'npx jest' } }
                stage('E2E') { steps { sh 'npx playwright test' } }
                stage('Cloud') { steps { sh 'npx playwright test --project="chrome:latest:Windows 11@lambdatest"' } }
            }
        }
    }
    post {
        always { junit 'test-results/**/*.xml' }
        failure { emailext to: '[email protected]', subject: 'Tests Failed' }
    }
}
```

### GitLab CI

```yaml
stages: [install, test]

install:
  stage: install
  script: npm ci
  cache: { paths: [node_modules/] }

test:
  stage: test
  parallel:
    matrix:
      - PROJECT: [chromium, firefox, webkit]
  script:
    - npx playwright install --with-deps
    - npx playwright test --project=$PROJECT
  artifacts:
    when: always
    paths: [test-results/]
    reports:
      junit: test-results/**/*.xml
```

## Quick Reference

| CI System | Config File | Secrets |
|-----------|------------|---------|
| GitHub Actions | `.github/workflows/test.yml` | Settings → Secrets |
| Jenkins | `Jenkinsfile` | Credentials store |
| GitLab CI | `.gitlab-ci.yml` | Settings → CI/CD → Variables |
| Azure DevOps | `azure-pipelines.yml` | Library → Variable Groups |

## Deep Patterns

For advanced patterns, debugging guides, CI/CD integration, and best practices,
see `reference/playbook.md`.

© TestMu AI · MIT · LambdaTest/agent-skills

Similar skills

All skills for DevOps and infrastructure →

From the same set47

The whole set →

More in the catalog

Project sponsors

Companies that keep this analytics open