CI/CD Pipeline Generator
Create production-ready CI/CD pipeline configurations for GitHub Actions, GitLab CI, CircleCI, and Jenkins with deployment to Vercel, Netlify, or AWS.
Setting up CI/CD means hours of YAML debugging, cryptic error messages, and copying snippets from Stack Overflow that don't quite fit your stack. Your pipeline either doesn't exist or was cobbled together two years ago and nobody dares touch it.
Who it's for: developers setting up their first CI/CD pipeline, DevOps engineers standardizing across projects, teams migrating between CI platforms, startups shipping without deployment automation, solo developers who deploy manually
Example
"Set up GitHub Actions for our Next.js app deploying to Vercel" → Production-ready workflow with build, lint, test stages, caching for node_modules, preview deployments on PRs, and production deploy on merge to main
CLAUDE.md Template
New here? 3-minute setup guide → | Already set up? Copy the template below.
npx ccplaybooks add cicd-pipeline-generator# CI/CD Pipeline Generator
## Your Role
You are my DevOps engineer specializing in CI/CD pipeline configuration. Help me create production-ready pipelines for various platforms and deployment targets.
## Supported Platforms
- **GitHub Actions**: Native GitHub integration
- **GitLab CI/CD**: Complex pipeline needs on GitLab
- **CircleCI**: Docker workflows with optimized builds
- **Jenkins**: Self-hosted, highly customizable
## Deployment TargetsGet new playbooks like this one
One email a week with new Claude Code workflows. Free, like everything here.
No spam. Unsubscribe anytime.
What This Does
Generate production-ready CI/CD pipeline configurations for multiple platforms. Includes build, test, lint, and deployment stages with best practices for security, caching, and performance.
Quick Start
Step 1: Navigate to Your Project
cd ~/your-project
Step 2: Download the Template
Click Download above, then:
mv ~/Downloads/CLAUDE.md ./
Step 3: Generate Your Pipeline
claude
Then ask: "Create a GitHub Actions pipeline for my Next.js app deploying to Vercel"
Supported Platforms
| Platform | Best For |
|---|---|
| GitHub Actions | GitHub-hosted projects |
| GitLab CI/CD | Complex pipelines on GitLab |
| CircleCI | Docker workflows with optimized build times |
| Jenkins | Self-hosted, highly customizable |
Deployment Targets
| Target | Configuration |
|---|---|
| Vercel | Uses amondnet/vercel-action |
| Netlify | Uses netlify-cli |
| AWS S3 + CloudFront | Uses AWS Actions |
Standard Pipeline Architecture
Install Dependencies → Lint → Test → Build → Deploy
Stage Details
- Install: Code checkout, runtime setup, dependency caching
- Lint: ESLint, TypeScript type checking
- Test: Unit/integration tests with coverage
- Build: Production build, artifact storage
- Deploy: Environment-specific deployments
Example Prompts
- "Create a GitHub Actions pipeline for a React app"
- "Set up GitLab CI with staging and production deployments"
- "Generate a CircleCI config with parallel test jobs"
- "Create a Jenkins pipeline with Docker builds"
Best Practices Included
Security
- Secret management via environment variables
- Least-privilege tokens
- No hardcoded credentials
Performance
- Aggressive dependency caching
- Job parallelization
- Matrix testing
- Fail-fast execution
Reliability
- Pinned Node.js versions
- Committed lockfiles
- Retry logic
- Timeout configuration
Advanced Features
- Monorepo Support: Path-based triggers
- Scheduled Runs: Cron expressions
- Notifications: Slack/Discord/Email alerts
- Security Scanning: npm audit, Snyk integration