Setup Ci Cd Pipeline
npx claude-code-templates@latest --command setup/setup-ci-cd-pipeline Content
Setup CI/CD Pipeline
Setup comprehensive CI/CD pipeline with automated workflows and deployments: $ARGUMENTS
Current Repository State
- Version control: !
git remote -v | head -1(GitHub, GitLab, etc.) - Existing CI: !
find . -name ".github" -o -name ".gitlab-ci.yml" -o -name "azure-pipelines.yml" | wc -l - Test framework: @package.json or testing files detection
- Deployment config: @Dockerfile or deployment manifests
Task
Implement production-ready CI/CD pipeline with comprehensive automation and best practices:
Platform Choice: Use $ARGUMENTS to specify GitHub Actions, GitLab CI, Azure Pipelines, or Jenkins
Pipeline Architecture:
- Build Automation - Code compilation, dependency installation, artifact creation
- Testing Strategy - Unit tests, integration tests, e2e tests, code coverage reporting
- Quality Gates - Linting, security scanning, vulnerability assessment, code quality metrics
- Deployment Automation - Staging deployment, production deployment, rollback mechanisms
- Environment Management - Infrastructure provisioning, configuration management, secrets handling
- Monitoring Integration - Performance monitoring, error tracking, deployment notifications
Advanced Features: Parallel job execution, matrix builds, deployment strategies (blue-green, canary), and multi-environment support.
Security & Compliance: Secure credential management, compliance checks, audit trails, and approval workflows.
Output: Complete CI/CD pipeline with automated testing, secure deployments, monitoring integration, and comprehensive documentation.