Cicd pipeline setup

From aj-geddes/useful-ai-prompts · View interactive version

Cicd pipeline setup is an AI agent skill from the GitHub repository aj-geddes/useful-ai-prompts. Design and implement CI/CD pipelines with GitHub Actions, GitLab CI, Jenkins, or CircleCI. Use for automated testing, building, and deployment workflows.

How to use this skill

Skill file

CI/CD Pipeline Setup

Table of Contents

Overview

Build automated continuous integration and deployment pipelines that test code, build artifacts, run security checks, and deploy to multiple environments with minimal manual intervention.

When to Use

Quick Start

Minimal working example:

# .github/workflows/deploy.yml
name: Build and Deploy

on:
  push:
    branches:
      - main
      - develop
  pull_request:
    branches:
      - main
  workflow_dispatch:

env:
  REGISTRY: ghcr.io
  IMAGE_NAME: ${{ github.repository }}

jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        node-version: [18.x, 20.x]

    steps:
// ... (see reference guides for full implementation)

Reference Guides

Detailed implementations in the references/ directory:

| Guide | Contents |

|---|---|

| GitHub Actions Workflow | GitHub Actions Workflow |

| GitLab CI Pipeline | GitLab CI Pipeline |

| Jenkins Pipeline | Jenkins Pipeline |

| CI/CD Script | CI/CD Script |

Best Practices

✅ DO

❌ DON'T

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.