Skip to content

JPeetz/agent-skills / skills/devops-infrastructure/ci-cd-pipeline-generator

ci-cd-pipeline-generator

Verified

Use 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".

FileKindSize
CHANGELOG.mdmarkdown1.6 KB
LICENSEother12 B
SKILL.mdskill md7.5 KB
evals/evals.jsonconfig2.5 KB
scripts/validate-pipeline.shexecutablescript1.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"
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: 471kUpdated Claude CodeCodexVerifiedInstall
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: 471kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall