Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
aj-geddes avatar

Cicd Pipeline Setup

  • 453 installs
  • 305 repo stars
  • Updated March 4, 2026
  • aj-geddes/useful-ai-prompts

cicd-pipeline-setup is a prompt skill that designs CI/CD pipelines with lint, test, build, staging promotion, production gates, caching, and rollback-friendly deploy steps for developers shipping reliable releases.

About

cicd-pipeline-setup is a skill from aj-geddes/useful-ai-prompts that guides creation of CI/CD pipelines covering lint, test, artifact build, and staged promotion across staging and production. It emphasizes gates, caching, and rollback-friendly deploy steps so failures surface before customers see broken builds. Developers reach for cicd-pipeline-setup when bootstrapping GitHub Actions, GitLab CI, or similar workflows, or when an existing pipeline lacks test coverage, artifact promotion, or safe rollback paths. The skill outputs pipeline structure and step recommendations rather than executing cloud provisioning itself. It pairs well with repository testing skills and release checklists when a team moves from manual deploys to automated promotion.

  • Workflow structure and triggers
  • Test and lint stages
  • Artifact caching
  • Environment promotions
  • Secrets in CI

Cicd Pipeline Setup by the numbers

  • 453 all-time installs (skills.sh)
  • Ranked #272 of 1,435 DevOps & CI/CD skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill cicd-pipeline-setup

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs453
repo stars305
Last updatedMarch 4, 2026
Repositoryaj-geddes/useful-ai-prompts

How do you set up CI/CD with test gates?

Create CI/CD pipelines that lint, test, build artifacts, and promote releases across staging and production with gates, caching, and rollback-friendly deploy steps.

Who is it for?

Developers adding first-class CI/CD to a repo that needs linting, tests, artifacts, and staged production promotion.

Skip if: Infrastructure-only Terraform work or production incident response where no pipeline authoring is required.

When should I use this skill?

The user asks to create, fix, or extend CI/CD with lint, test, build, caching, gates, or rollback deploy steps.

What you get

CI/CD pipeline definition with lint, test, build, promotion, and rollback-friendly deploy stages.

  • CI/CD pipeline stage plan
  • Lint-test-build-promote workflow

Files

SKILL.mdMarkdownGitHub ↗

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

  • Automated code testing and quality checks
  • Containerized application builds
  • Multi-environment deployments
  • Release management and versioning
  • Automated security scanning
  • Performance testing integration
  • Artifact management and registry

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:

GuideContents
GitHub Actions WorkflowGitHub Actions Workflow
GitLab CI PipelineGitLab CI Pipeline
Jenkins PipelineJenkins Pipeline
CI/CD ScriptCI/CD Script

Best Practices

✅ DO

  • Fail fast with early validation
  • Run tests in parallel when possible
  • Use caching for dependencies
  • Implement proper secret management
  • Gate production deployments with approval
  • Monitor and alert on pipeline failures
  • Use consistent environment configuration
  • Implement infrastructure as code

❌ DON'T

  • Store credentials in pipeline configuration
  • Deploy without automated tests
  • Skip security scanning
  • Allow long-running pipelines
  • Mix staging and production pipelines
  • Ignore test failures
  • Deploy directly to main branch
  • Skip health checks after deployment

Related skills

FAQ

What stages does cicd-pipeline-setup cover?

cicd-pipeline-setup covers lint, test, artifact build, staging promotion, production gates, caching, and rollback-friendly deploy steps for reliable release pipelines.

When should developers use cicd-pipeline-setup?

Developers should use cicd-pipeline-setup when bootstrapping or hardening CI/CD workflows that must gate releases with tests and safe promotion across staging and production.

DevOps & CI/CDdevopstesting

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.