JPeetz/agent-skills / skills/devops-infrastructure/ci-cd-pipeline-generator
ci-cd-pipeline-generator
VerifiedUse this skill when setting up CI/CD from scratch or adding a pipeline config for GitHub Actions, GitLab CI, CircleCI, or Jenkins. Generates multi-stage pipelines, matrix builds, secrets management, caching, environment promotion, canary deploys, and rollback patterns β the YAML for build/test/deploy workflows, Docker builds, and staging/production quality gates. Triggers on "set up CI/CD", "create a pipeline", "GitHub Actions workflow", "GitLab CI config", "build pipeline", or "deploy to production".
| File | Kind | Size |
|---|---|---|
| CHANGELOG.md | markdown | 1.6 KB |
| LICENSE | other | 12 B |
| SKILL.md | skill md | 7.5 KB |
| evals/evals.json | config | 2.5 KB |
| scripts/validate-pipeline.shexecutable | script | 1.5 KB |
scripts/validate-pipeline.sh
View on GitHub#!/usr/bin/env bash
# ci-cd-pipeline-generator β validate generated pipeline config
# Usage: ./validate-pipeline.sh <config-file> [--platform github|gitlab|circleci|jenkins]
set -euo pipefail
CONFIG_FILE="${1:-}"
PLATFORM="${2:-github}"
if [ -z "$CONFIG_FILE" ]; then
echo "Usage: $0 <config-file> [--platform github|gitlab|circleci|jenkins]"
exit 1
fi
echo "π Validating CI/CD pipeline: $CONFIG_FILE"
echo " Platform: $PLATFORM"
# Common security checks
echo ""
echo "--- Security Checks ---"
# Check for hardcoded secrets
if grep -Eq '(password|secret|token|key)\s*[:=]\s*["'"'"'][a-zA-Z0-9]' "$CONFIG_FILE" 2>/dev/null; then
echo "β WARNING: Possible hardcoded credentials detected"
else
echo "β
No obvious hardcoded credentials"
fi
# Check for action versions pinned to tags (GitHub Actions)
if [ "$PLATFORM" = "github" ]; then
UNPINNED=$(grep -oP 'uses:\s+\S+@v\d+' "$CONFIG_FILE" 2>/dev/null || true)
if [ -n "$UNPINNED" ]; then
echo "β WARNING: Actions not pinned to SHA:"
echo "$UNPINNED"
else
echo "β
Actions pinned to commit SHAs (or no version tags found)"
fi
fi
echo ""
echo "--- Structure Checks ---"
if grep -q 'jobs:' "$CONFIG_FILE" 2>/dev/null; then
echo "β
Jobs section present"
else
echo "β Missing jobs section"
fi
if grep -qEi '(npm test|pytest|go test|cargo test|jest|mocha)' "$CONFIG_FILE" 2>/dev/null; then
echo "β
Test step detected"
else
echo "β οΈ No test step detected"
fi
echo ""
echo "β
Validation complete"
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |