← ClaudeAtlas

cicd-pipelinelisted

Generates CI/CD pipeline configurations for GitHub Actions, GitLab CI, and AWS CodePipeline. Covers build, test, lint, security scanning, and deployment stages with caching and parallelism. Triggers on: "create CI/CD pipeline", "GitHub Actions workflow", "deployment pipeline", "automate build".
timwukp/agent-skills-best-practice · ★ 3 · DevOps & Infrastructure · score 79
Install: claude install-skill timwukp/agent-skills-best-practice
# CI/CD Pipeline ## Instructions ### Step 1: Gather Requirements Ask: 1. What platform? (GitHub Actions, GitLab CI, AWS CodePipeline) 2. What language/framework? (Node.js, Python, Java, Go, .NET) 3. What stages are needed? (build, test, lint, security scan, deploy) 4. Deployment targets? (ECS, Lambda, Kubernetes, S3+CloudFront, Vercel) 5. Branch strategy? (deploy on main push, tag-based releases, environment promotion) ### Step 2: GitHub Actions Workflow Generate a complete workflow file: ```yaml name: CI/CD Pipeline on: push: branches: [main] pull_request: branches: [main] permissions: contents: read id-token: write env: NODE_VERSION: '20' REGISTRY: ghcr.io IMAGE_NAME: ${{ github.repository }} jobs: lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: ${{ env.NODE_VERSION }} cache: 'npm' - run: npm ci - run: npm run lint - run: npm run type-check test: runs-on: ubuntu-latest needs: lint services: postgres: image: postgres:16-alpine env: POSTGRES_PASSWORD: test POSTGRES_DB: testdb ports: - 5432:5432 options: >- --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: