From aj-geddes-useful-ai-prompts-4
Design and implement CI/CD pipelines with GitHub Actions, GitLab CI, Jenkins, or CircleCI for automated testing, building, and deployment.
How this skill is triggered — by the user, by Claude, or both
Slash command
/aj-geddes-useful-ai-prompts-4:cicd-pipeline-setupThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- [Overview](#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.
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)
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 |
npx claudepluginhub aj-geddes/useful-ai-promptsGenerates multi-stage CI/CD pipelines for GitHub Actions, GitLab CI, Jenkins, CircleCI covering linting, testing, image builds, scans, and gated deployments to staging/production.
Sets up CI/CD pipelines with quality gates (lint, type-check, tests, build, security audit) and deployment automation. Use when configuring CI for a new project or debugging pipeline failures.
Generates CI/CD pipeline configs adapted to project stack and platform, for GitHub Actions, GitLab CI, Jenkins, etc. Automates lint, tests, build, security, and deploy stages.