CI/CD Pipeline Setup

CI/CD Pipeline Setup

Teaches a coding agent to design and implement CI/CD pipelines in GitHub Actions, GitLab CI, Jenkins or CircleCI, covering testing, builds, security scans and multi-environment deploys.

Skill files7 files

references/

scripts/

templates/

SKILL.md99 lines
1
---
2
name: cicd-pipeline-setup
3
description: >
4
Design and implement CI/CD pipelines with GitHub Actions, GitLab CI, Jenkins,
5
or CircleCI. Use for automated testing, building, and deployment workflows.
6
---
7
8
# CI/CD Pipeline Setup
9
10
## Table of Contents
11
12
- [Overview](#overview)
13
- [When to Use](#when-to-use)
14
- [Quick Start](#quick-start)
15
- [Reference Guides](#reference-guides)
16
- [Best Practices](#best-practices)
17
18
## Overview
19
20
Build automated continuous integration and deployment pipelines that test code, build artifacts, run security checks, and deploy to multiple environments with minimal manual intervention.
21
22
## When to Use
23
24
- Automated code testing and quality checks
25
- Containerized application builds
26
- Multi-environment deployments
27
- Release management and versioning
28
- Automated security scanning
29
- Performance testing integration
30
- Artifact management and registry
31
32
## Quick Start
33
34
Minimal working example:
35
36
```yaml
37
# .github/workflows/deploy.yml
38
name: Build and Deploy
39
40
on:
41
push:
42
branches:
43
- main
44
- develop
45
pull_request:
46
branches:
47
- main
48
workflow_dispatch:
49
50
env:
51
REGISTRY: ghcr.io
52
IMAGE_NAME: ${{ github.repository }}
53
54
jobs:
55
test:
56
runs-on: ubuntu-latest
57
strategy:
58
matrix:
59
node-version: [18.x, 20.x]
60
61
steps:
62
// ... (see reference guides for full implementation)
63
```
64
65
## Reference Guides
66
67
Detailed implementations in the `references/` directory:
68
69
| Guide | Contents |
70
|---|---|
71
| [GitHub Actions Workflow](references/github-actions-workflow.md) | GitHub Actions Workflow |
72
| [GitLab CI Pipeline](references/gitlab-ci-pipeline.md) | GitLab CI Pipeline |
73
| [Jenkins Pipeline](references/jenkins-pipeline.md) | Jenkins Pipeline |
74
| [CI/CD Script](references/cicd-script.md) | CI/CD Script |
75
76
## Best Practices
77
78
### ✅ DO
79
80
- Fail fast with early validation
81
- Run tests in parallel when possible
82
- Use caching for dependencies
83
- Implement proper secret management
84
- Gate production deployments with approval
85
- Monitor and alert on pipeline failures
86
- Use consistent environment configuration
87
- Implement infrastructure as code
88
89
### ❌ DON'T
90
91
- Store credentials in pipeline configuration
92
- Deploy without automated tests
93
- Skip security scanning
94
- Allow long-running pipelines
95
- Mix staging and production pipelines
96
- Ignore test failures
97
- Deploy directly to main branch
98
- Skip health checks after deployment
99

© AJ Geddes · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 14,621 prompts

More by @OpenSourceBuffGuy

See all
Sea turtle carrying floating film studio island prompt image

Sea turtle carrying floating film studio island

Draws a giant sea turtle carrying a floating island film studio through a starry sky, where fairies polish rough film strips into golden film.

image-prompt, nano-banana, 3d-render, cartoon, fantasy-world, creatures, animals, whimsical, dreamy, cinematic, dramatic-lighting, vibrant-colors, bokeh, miniature, widescreen, night-scene, illustration, concept-art, surreal, storytelling, clay-3d

Desert buggy escapes drones past industrial outpost prompt image

Desert buggy escapes drones past industrial outpost

Builds a 15-second desert chase video where a racer in an armored buggy escapes drones past an industrial outpost, using five reference images with set jobs.

video-prompt, hailuo, action, multi-shot, timed-beats, camera-movement, reference-image, character-consistency, negative-prompt, cinematic, sci-fi, cars, landscape, aerial-view, tracking-shot, photorealistic, sound-effects, structured-output, long-form, widescreen

1 view
Cozy Pixel Art Farm Island Village prompt image

Cozy Pixel Art Farm Island Village

Draws a cozy 16-bit pixel-art farming village across six small islands joined by bridges, with exact counts for buildings, animals and crops.

image-prompt, gpt-image, pixel-art, isometric, game-assets, concept-art, maps, worldbuilding, cozy, vibrant-colors, ocean, landscape, wide-shot, widescreen, game-development, video-games, structured-output, whimsical, summer, high-angle, aerial-view, animals, negative-prompt, cityscape

1 view

Reviews

Loading reviews…

Discussion

Loading comments…