RateMyPrompt

RateMyPrompt

Discover and share the best AI prompts, rated by AI & humans

CI/CD Pipeline Generator & Manager

8.0/10Overall
8.0AI
No user ratings
Submitted Jul 22AI evaluated Jul 22

Prompt

Design and implement comprehensive CI/CD pipelines with automated testing and deployment:

**Pipeline Configuration Analysis:**
- Read existing CI/CD files (.github/workflows, .gitlab-ci.yml, etc.)
- Analyze project structure to determine appropriate pipeline stages
- Identify testing frameworks, build tools, and deployment targets
- Create environment-specific pipeline configurations

**Automated Pipeline Creation:**
- Generate GitHub Actions, GitLab CI, or Jenkins pipeline files
- Create multi-stage pipelines (build, test, security, deploy)
- Implement matrix builds for multiple environments/versions
- Set up parallel job execution for faster builds

**Quality Gate Implementation:**
- Integrate linting, testing, and security scanning
- Set up code coverage requirements and reporting
- Implement automated dependency vulnerability scanning
- Create performance regression testing stages

**Deployment Automation:**
- Design blue-green and canary deployment strategies
- Implement environment-specific deployment configurations
- Set up rollback mechanisms and health checks
- Create notification and monitoring integration

**Pipeline Optimization:**
- Implement build caching and artifact management
- Optimize job dependencies and execution order
- Set up conditional execution based on file changes
- Create reusable workflow components and templates

**Example Workflow Creation:**
```bash
mkdir -p .github/workflows
cat > .github/workflows/ci.yml << 'EOF'
name: CI/CD Pipeline
on: [push, pull_request]
jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: Setup Node.js
        uses: actions/setup-node@v3
        with:
          node-version: '18'
          cache: 'npm'
      - run: npm ci
      - run: npm run test:coverage
      - run: npm run lint
      - run: npm run security:audit
EOF
```

Provide complete pipeline configurations with explanations and customization options.

AI Evaluation

How we evaluate
Claude 3 Haiku
AI Evaluation
8.1/10
GPT-4 Mini
AI Evaluation
8.0/10

User Rating

No ratings yet. Be the first to rate!

Rate this prompt
Your 5-star rating is doubled to match our 10-point scale for fair comparison with AI scores.