[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71HXCB0E1YRKYW1Y8T0Y106":3,"skill-same:01M71HXCB0E1YRKYW1Y8T0Y106":105},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":62,"commitSha":63,"skillDirectory":64,"forksCount":65,"repositoryHtmlUrl":66,"repositoryHomepageUrl":6,"ownerHtmlUrl":67,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":68,"install":69,"resources":82},"01M71HXCB0E1YRKYW1Y8T0Y106","github-actions-pipeline-builder",null,"Build production CI\u002FCD pipelines with GitHub Actions. Implements matrix builds, caching, deployments, testing, security scanning. Use for automated testing, deployments, release workflows. Activate on \"GitHub Actions\", \"CI\u002FCD\", \"workflow\", \"deployment pipeline\", \"automated testing\". NOT for Jenkins\u002FCircleCI, manual deployments, or non-GitHub repositories.","JSGforever\u002Fskillguard","JSGforever","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F85541948?v=4","01M71FQD3E132VMR5F4TAYX3YS","01M71FQD4DYW0XJ4XQ4YQH75Y9",2,"GPL-3.0","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__curiositech--github-actions-pipeline-builder\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"github","github actions pipeline builder","pipeline builder","builder","pipeline","github actions","actions","ci","git","release","read","write","edit","reliability","run","expert","activate","strategies","workflows","testing","2026-11-10 10:12:30",false,"---\nname: github-actions-pipeline-builder\ndescription: Build production CI\u002FCD pipelines with GitHub Actions. Implements matrix builds, caching, deployments, testing, security scanning. Use for automated testing, deployments, release workflows.\n  Activate on \"GitHub Actions\", \"CI\u002FCD\", \"workflow\", \"deployment pipeline\", \"automated testing\". NOT for Jenkins\u002FCircleCI, manual deployments, or non-GitHub repositories.\nallowed-tools: Read,Write,Edit,Bash\nmetadata:\n  category: DevOps & Site Reliability\n  tags:\n  - github\n  - actions\n  - pipeline\n  - github-actions\n  - ci\u002Fcd\n  pairs-with:\n  - skill: devops-automator\n    reason: GitHub Actions is one of the primary CI\u002FCD platforms that DevOps automation targets\n  - skill: docker-containerization\n    reason: Container builds and registry pushes are the most common GitHub Actions workflow steps\n  - skill: git-workflow-expert\n    reason: Git branching strategies determine pipeline trigger rules and deployment gates\n  - skill: test-automation-expert\n    reason: Automated test suites run as CI pipeline stages with matrix builds and caching\n---\n\n# GitHub Actions Pipeline Builder\n\nExpert in building production-grade CI\u002FCD pipelines with GitHub Actions that are fast, reliable, and secure.\n\n## When to Use\n\n✅ **Use for**:\n- Automated testing on every commit\n- Deployment to staging\u002Fproduction\n- Docker image building and publishing\n- Release automation with versioning\n- Security scanning and dependency audits\n- Code quality checks (linting, type checking)\n- Multi-environment workflows\n\n❌ **NOT for**:\n- Non-GitHub repositories (use Jenkins, CircleCI, etc.)\n- Complex pipelines better suited for dedicated CI\u002FCD tools\n- Self-hosted runners (covered in advanced patterns)\n\n## Quick Decision Tree\n\n```\nDoes your project need:\n├── Testing on every PR? → GitHub Actions\n├── Automated deployments? → GitHub Actions\n├── Matrix builds (Node 16, 18, 20)? → GitHub Actions\n├── Secrets management? → GitHub Actions secrets\n├── Multi-cloud deployments? → GitHub Actions + OIDC\n└── Sub-second builds? → Consider build caching\n```\n\n---\n\n## Technology Selection\n\n### GitHub Actions vs Alternatives\n\n**Why GitHub Actions in 2024**:\n- **Native integration**: No third-party setup\n- **Free for public repos**: 2000 minutes\u002Fmonth for private\n- **Matrix builds**: Test multiple versions in parallel\n- **Marketplace**: 10,000+ pre-built actions\n- **OIDC support**: Keyless cloud deployments\n\n**Timeline**:\n- 2019: GitHub Actions released\n- 2020: Became standard for OSS projects\n- 2022: OIDC support for secure cloud auth\n- 2024: De facto CI\u002FCD for GitHub repos\n\n### When to Use Alternatives\n\n| Scenario | Use | Why |\n|----------|-----|-----|\n| Self-hosted GitLab | GitLab CI | Native integration |\n| Complex enterprise workflows | Jenkins | More flexible |\n| Bitbucket repos | Bitbucket Pipelines | Native integration |\n| Extremely large repos (&gt;10GB) | BuildKite | Better for monorepos |\n\n---\n\n## Common Anti-Patterns\n\n### Anti-Pattern 1: No Dependency Caching\n\n**Novice thinking**: \"Install dependencies fresh every time for consistency\"\n\n**Problem**: Wastes 2-5 minutes per build installing unchanged dependencies.\n\n**Wrong approach**:\n```yaml\n# ❌ Slow: Downloads all dependencies every run\n- name: Install dependencies\n  run: npm install\n```\n\n**Correct approach**:\n```yaml\n# ✅ Fast: Cache dependencies, only download changes\n- name: Cache node_modules\n  uses: actions\u002Fcache@v3\n  with:\n    path: ~\u002F.npm\n    key: ${{ runner.os }}-node-${{ hashFiles('**\u002Fpackage-lock.json') }}\n    restore-keys: |\n      ${{ runner.os }}-node-\n\n- name: Install dependencies\n  run: npm ci  # Faster than npm install\n```\n\n**Impact**: Reduces install time from 3 minutes → 30 seconds.\n\n**Timeline**:\n- Pre-2020: Most workflows had no caching\n- 2020+: Caching became standard\n- 2024: Setup actions include built-in caching\n\n---\n\n### Anti-Pattern 2: Duplicate YAML (No Matrix Builds)\n\n**Problem**: Copy-paste workflows for different Node versions.\n\n**Wrong approach**:\n```yaml\n# ❌ Duplicated workflows\njobs:\n  test-node-16:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v3\n      - uses: actions\u002Fsetup-node@v3\n        with:\n          node-version: 16\n      - run: npm test\n\n  test-node-18:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v3\n      - uses: actions\u002Fsetup-node@v3\n        with:\n          node-version: 18\n      - run: npm test\n\n  test-node-20:\n    # ... same steps again\n```\n\n**Correct approach**:\n```yaml\n# ✅ DRY: Matrix build\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        node-version: [16, 18, 20]\n    steps:\n      - uses: actions\u002Fcheckout@v3\n      - uses: actions\u002Fsetup-node@v3\n        with:\n          node-version: ${{ matrix.node-version }}\n          cache: 'npm'\n      - run: npm ci\n      - run: npm test\n```\n\n**Benefits**: 66% less YAML, tests run in parallel.\n\n---\n\n### Anti-Pattern 3: Secrets in Code\n\n**Problem**: Hardcoded API keys, tokens visible in repo.\n\n**Symptoms**: Security scanner alerts, leaked credentials.\n\n**Correct approach**:\n```yaml\n# ✅ Use GitHub Secrets\n- name: Deploy to production\n  env:\n    API_KEY: ${{ secrets.PRODUCTION_API_KEY }}\n    AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY }}\n  run: |\n    .\u002Fdeploy.sh\n```\n\n**Setting secrets**:\n1. Repo Settings → Secrets and variables → Actions\n2. New repository secret\n3. Name: `PRODUCTION_API_KEY`, Value: `sk-...`\n\n**Timeline**:\n- Pre-2022: Some teams committed .env files\n- 2022+: GitHub secret scanning blocks commits with keys\n- 2024: OIDC eliminates need for long-lived credentials\n\n---\n\n### Anti-Pattern 4: No Failure Notifications\n\n**Problem**: CI fails silently, team doesn't notice for hours.\n\n**Correct approach**:\n```yaml\n# ✅ Slack notification on failure\n- name: Notify on failure\n  if: failure()\n  uses: slackapi\u002Fslack-github-action@v1\n  with:\n    payload: |\n      {\n        \"text\": \"❌ Build failed: ${{ github.event.head_commit.message }}\",\n        \"blocks\": [\n          {\n            \"type\": \"section\",\n            \"text\": {\n              \"type\": \"mrkdwn\",\n              \"text\": \"*Build Failed*\\n\u003C${{ github.server_url }}\u002F${{ github.repository }}\u002Factions\u002Fruns\u002F${{ github.run_id }}|View logs>\"\n            }\n          }\n        ]\n      }\n  env:\n    SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}\n```\n\n---\n\n### Anti-Pattern 5: Running All Tests on Every Commit\n\n**Problem**: Slow feedback loop (10+ minute test suites).\n\n**Symptom**: Developers avoid committing frequently.\n\n**Correct approach**:\n```yaml\n# ✅ Fast feedback: Run subset on PR, full suite on merge\non:\n  pull_request:\n    branches: [main]\n  push:\n    branches: [main]\n\njobs:\n  quick-tests:\n    if: github.event_name == 'pull_request'\n    runs-on: ubuntu-latest\n    steps:\n      - run: npm run test:unit  # Fast: 2 minutes\n\n  full-tests:\n    if: github.event_name == 'push'\n    runs-on: ubuntu-latest\n    steps:\n      - run: npm run test  # Slow: 10 minutes (unit + integration + e2e)\n```\n\n**Alternative**: Use changed-files action to run only affected tests.\n\n---\n\n## Implementation Patterns\n\n### Pattern 1: Basic CI Pipeline\n\n```yaml\nname: CI\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout code\n        uses: actions\u002Fcheckout@v3\n\n      - name: Setup Node.js\n        uses: actions\u002Fsetup-node@v3\n        with:\n          node-version: 18\n          cache: 'npm'\n\n      - name: Install dependencies\n        run: npm ci\n\n      - name: Run linter\n        run: npm run lint\n\n      - name: Run type check\n        run: npm run typecheck\n\n      - name: Run tests\n        run: npm test\n\n      - name: Build\n        run: npm run build\n```\n\n### Pattern 2: Multi-Environment Deployment\n\n```yaml\nname: Deploy\n\non:\n  push:\n    branches:\n      - main        # → staging\n      - production  # → production\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    environment: ${{ github.ref_name }}  # staging or production\n\n    steps:\n      - uses: actions\u002Fcheckout@v3\n\n      - name: Deploy to ${{ github.ref_name }}\n        run: |\n          if [ \"${{ github.ref_name }}\" == \"production\" ]; then\n            .\u002Fdeploy.sh production\n          else\n            .\u002Fdeploy.sh staging\n          fi\n        env:\n          API_KEY: ${{ secrets.API_KEY }}\n          DATABASE_URL: ${{ secrets.DATABASE_URL }}\n```\n\n### Pattern 3: Release Automation\n\n```yaml\nname: Release\n\non:\n  push:\n    tags:\n      - 'v*'  # Trigger on version tags (v1.0.0)\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write  # Required for creating releases\n\n    steps:\n      - uses: actions\u002Fcheckout@v3\n\n      - name: Build artifacts\n        run: npm run build\n\n      - name: Create GitHub Release\n        uses: softprops\u002Faction-gh-release@v1\n        with:\n          files: |\n            dist\u002F**\n          body: |\n            ## What's Changed\n            See CHANGELOG.md for details.\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Publish to npm\n        run: npm publish\n        env:\n          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}\n```\n\n### Pattern 4: Docker Build & Push\n\n```yaml\nname: Docker\n\non:\n  push:\n    branches: [main]\n\njobs:\n  build-and-push:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions\u002Fcheckout@v3\n\n      - name: Set up Docker Buildx\n        uses: docker\u002Fsetup-buildx-action@v2\n\n      - name: Login to DockerHub\n        uses: docker\u002Flogin-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Build and push\n        uses: docker\u002Fbuild-push-action@v4\n        with:\n          context: .\n          push: true\n          tags: |\n            myapp:latest\n            myapp:${{ github.sha }}\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n```\n\n---\n\n## Production Checklist\n\n```\n□ Dependency caching configured\n□ Matrix builds for multiple versions\n□ Secrets stored in GitHub Secrets (not code)\n□ Failure notifications (Slack, email, etc.)\n□ Deploy previews for pull requests\n□ Staging → Production promotion workflow\n□ Release automation with versioning\n□ Docker layer caching enabled\n□ CODEOWNERS file for required reviews\n□ Branch protection rules enabled\n□ Status checks required before merge\n□ Security scanning (Dependabot, CodeQL)\n```\n\n---\n\n## When to Use vs Avoid\n\n| Scenario | Use GitHub Actions? |\n|----------|---------------------|\n| GitHub-hosted repo | ✅ Yes |\n| Need matrix builds | ✅ Yes |\n| Deploying to AWS\u002FGCP\u002FAzure | ✅ Yes (with OIDC) |\n| GitLab repo | ❌ No - use GitLab CI |\n| Extremely large monorepo | ⚠️ Maybe - consider BuildKite |\n| Need GUI pipeline builder | ❌ No - use Jenkins\u002FAzure DevOps |\n\n---\n\n## References\n\n- `\u002Freferences\u002Fadvanced-caching.md` - Cache strategies for faster builds\n- `\u002Freferences\u002Foidc-deployments.md` - Keyless cloud authentication\n- `\u002Freferences\u002Fsecurity-hardening.md` - Security best practices\n\n## Scripts\n\n- `scripts\u002Fworkflow_validator.ts` - Validate YAML syntax locally\n- `scripts\u002Faction_usage_analyzer.ts` - Find outdated actions\n\n## Assets\n\n- `assets\u002Fworkflows\u002F` - Ready-to-use workflow templates\n\n---\n\n**This skill guides**: CI\u002FCD pipelines | GitHub Actions workflows | Matrix builds | Caching | Deployments | Release automation\n\n","# GitHub Actions Pipeline Builder\n\nExpert in building production-grade CI\u002FCD pipelines with GitHub Actions that are fast, reliable, and secure.\n\n## When to Use\n\n✅ **Use for**:\n- Automated testing on every commit\n- Deployment to staging\u002Fproduction\n- Docker image building and publishing\n- Release automation with versioning\n- Security scanning and dependency audits\n- Code quality checks (linting, type checking)\n- Multi-environment workflows\n\n❌ **NOT for**:\n- Non-GitHub repositories (use Jenkins, CircleCI, etc.)\n- Complex pipelines better suited for dedicated CI\u002FCD tools\n- Self-hosted runners (covered in advanced patterns)\n\n## Quick Decision Tree\n\n```\nDoes your project need:\n├── Testing on every PR? → GitHub Actions\n├── Automated deployments? → GitHub Actions\n├── Matrix builds (Node 16, 18, 20)? → GitHub Actions\n├── Secrets management? → GitHub Actions secrets\n├── Multi-cloud deployments? → GitHub Actions + OIDC\n└── Sub-second builds? → Consider build caching\n```\n\n---\n\n## Technology Selection\n\n### GitHub Actions vs Alternatives\n\n**Why GitHub Actions in 2024**:\n- **Native integration**: No third-party setup\n- **Free for public repos**: 2000 minutes\u002Fmonth for private\n- **Matrix builds**: Test multiple versions in parallel\n- **Marketplace**: 10,000+ pre-built actions\n- **OIDC support**: Keyless cloud deployments\n\n**Timeline**:\n- 2019: GitHub Actions released\n- 2020: Became standard for OSS projects\n- 2022: OIDC support for secure cloud auth\n- 2024: De facto CI\u002FCD for GitHub repos\n\n### When to Use Alternatives\n\n| Scenario | Use | Why |\n|----------|-----|-----|\n| Self-hosted GitLab | GitLab CI | Native integration |\n| Complex enterprise workflows | Jenkins | More flexible |\n| Bitbucket repos | Bitbucket Pipelines | Native integration |\n| Extremely large repos (&gt;10GB) | BuildKite | Better for monorepos |\n\n---\n\n## Common Anti-Patterns\n\n### Anti-Pattern 1: No Dependency Caching\n\n**Novice thinking**: \"Install dependencies fresh every time for consistency\"\n\n**Problem**: Wastes 2-5 minutes per build installing unchanged dependencies.\n\n**Wrong approach**:\n```yaml\n# ❌ Slow: Downloads all dependencies every run\n- name: Install dependencies\n  run: npm install\n```\n\n**Correct approach**:\n```yaml\n# ✅ Fast: Cache dependencies, only download changes\n- name: Cache node_modules\n  uses: actions\u002Fcache@v3\n  with:\n    path: ~\u002F.npm\n    key: ${{ runner.os }}-node-${{ hashFiles('**\u002Fpackage-lock.json') }}\n    restore-keys: |\n      ${{ runner.os }}-node-\n\n- name: Install dependencies\n  run: npm ci  # Faster than npm install\n```\n\n**Impact**: Reduces install time from 3 minutes → 30 seconds.\n\n**Timeline**:\n- Pre-2020: Most workflows had no caching\n- 2020+: Caching became standard\n- 2024: Setup actions include built-in caching\n\n---\n\n### Anti-Pattern 2: Duplicate YAML (No Matrix Builds)\n\n**Problem**: Copy-paste workflows for different Node versions.\n\n**Wrong approach**:\n```yaml\n# ❌ Duplicated workflows\njobs:\n  test-node-16:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v3\n      - uses: actions\u002Fsetup-node@v3\n        with:\n          node-version: 16\n      - run: npm test\n\n  test-node-18:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v3\n      - uses: actions\u002Fsetup-node@v3\n        with:\n          node-version: 18\n      - run: npm test\n\n  test-node-20:\n    # ... same steps again\n```\n\n**Correct approach**:\n```yaml\n# ✅ DRY: Matrix build\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        node-version: [16, 18, 20]\n    steps:\n      - uses: actions\u002Fcheckout@v3\n      - uses: actions\u002Fsetup-node@v3\n        with:\n          node-version: ${{ matrix.node-version }}\n          cache: 'npm'\n      - run: npm ci\n      - run: npm test\n```\n\n**Benefits**: 66% less YAML, tests run in parallel.\n\n---\n\n### Anti-Pattern 3: Secrets in Code\n\n**Problem**: Hardcoded API keys, tokens visible in repo.\n\n**Symptoms**: Security scanner alerts, leaked credentials.\n\n**Correct approach**:\n```yaml\n# ✅ Use GitHub Secrets\n- name: Deploy to production\n  env:\n    API_KEY: ${{ secrets.PRODUCTION_API_KEY }}\n    AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY }}\n  run: |\n    .\u002Fdeploy.sh\n```\n\n**Setting secrets**:\n1. Repo Settings → Secrets and variables → Actions\n2. New repository secret\n3. Name: `PRODUCTION_API_KEY`, Value: `sk-...`\n\n**Timeline**:\n- Pre-2022: Some teams committed .env files\n- 2022+: GitHub secret scanning blocks commits with keys\n- 2024: OIDC eliminates need for long-lived credentials\n\n---\n\n### Anti-Pattern 4: No Failure Notifications\n\n**Problem**: CI fails silently, team doesn't notice for hours.\n\n**Correct approach**:\n```yaml\n# ✅ Slack notification on failure\n- name: Notify on failure\n  if: failure()\n  uses: slackapi\u002Fslack-github-action@v1\n  with:\n    payload: |\n      {\n        \"text\": \"❌ Build failed: ${{ github.event.head_commit.message }}\",\n        \"blocks\": [\n          {\n            \"type\": \"section\",\n            \"text\": {\n              \"type\": \"mrkdwn\",\n              \"text\": \"*Build Failed*\\n\u003C${{ github.server_url }}\u002F${{ github.repository }}\u002Factions\u002Fruns\u002F${{ github.run_id }}|View logs>\"\n            }\n          }\n        ]\n      }\n  env:\n    SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}\n```\n\n---\n\n### Anti-Pattern 5: Running All Tests on Every Commit\n\n**Problem**: Slow feedback loop (10+ minute test suites).\n\n**Symptom**: Developers avoid committing frequently.\n\n**Correct approach**:\n```yaml\n# ✅ Fast feedback: Run subset on PR, full suite on merge\non:\n  pull_request:\n    branches: [main]\n  push:\n    branches: [main]\n\njobs:\n  quick-tests:\n    if: github.event_name == 'pull_request'\n    runs-on: ubuntu-latest\n    steps:\n      - run: npm run test:unit  # Fast: 2 minutes\n\n  full-tests:\n    if: github.event_name == 'push'\n    runs-on: ubuntu-latest\n    steps:\n      - run: npm run test  # Slow: 10 minutes (unit + integration + e2e)\n```\n\n**Alternative**: Use changed-files action to run only affected tests.\n\n---\n\n## Implementation Patterns\n\n### Pattern 1: Basic CI Pipeline\n\n```yaml\nname: CI\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout code\n        uses: actions\u002Fcheckout@v3\n\n      - name: Setup Node.js\n        uses: actions\u002Fsetup-node@v3\n        with:\n          node-version: 18\n          cache: 'npm'\n\n      - name: Install dependencies\n        run: npm ci\n\n      - name: Run linter\n        run: npm run lint\n\n      - name: Run type check\n        run: npm run typecheck\n\n      - name: Run tests\n        run: npm test\n\n      - name: Build\n        run: npm run build\n```\n\n### Pattern 2: Multi-Environment Deployment\n\n```yaml\nname: Deploy\n\non:\n  push:\n    branches:\n      - main        # → staging\n      - production  # → production\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    environment: ${{ github.ref_name }}  # staging or production\n\n    steps:\n      - uses: actions\u002Fcheckout@v3\n\n      - name: Deploy to ${{ github.ref_name }}\n        run: |\n          if [ \"${{ github.ref_name }}\" == \"production\" ]; then\n            .\u002Fdeploy.sh production\n          else\n            .\u002Fdeploy.sh staging\n          fi\n        env:\n          API_KEY: ${{ secrets.API_KEY }}\n          DATABASE_URL: ${{ secrets.DATABASE_URL }}\n```\n\n### Pattern 3: Release Automation\n\n```yaml\nname: Release\n\non:\n  push:\n    tags:\n      - 'v*'  # Trigger on version tags (v1.0.0)\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write  # Required for creating releases\n\n    steps:\n      - uses: actions\u002Fcheckout@v3\n\n      - name: Build artifacts\n        run: npm run build\n\n      - name: Create GitHub Release\n        uses: softprops\u002Faction-gh-release@v1\n        with:\n          files: |\n            dist\u002F**\n          body: |\n            ## What's Changed\n            See CHANGELOG.md for details.\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Publish to npm\n        run: npm publish\n        env:\n          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}\n```\n\n### Pattern 4: Docker Build & Push\n\n```yaml\nname: Docker\n\non:\n  push:\n    branches: [main]\n\njobs:\n  build-and-push:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions\u002Fcheckout@v3\n\n      - name: Set up Docker Buildx\n        uses: docker\u002Fsetup-buildx-action@v2\n\n      - name: Login to DockerHub\n        uses: docker\u002Flogin-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Build and push\n        uses: docker\u002Fbuild-push-action@v4\n        with:\n          context: .\n          push: true\n          tags: |\n            myapp:latest\n            myapp:${{ github.sha }}\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n```\n\n---\n\n## Production Checklist\n\n```\n□ Dependency caching configured\n□ Matrix builds for multiple versions\n□ Secrets stored in GitHub Secrets (not code)\n□ Failure notifications (Slack, email, etc.)\n□ Deploy previews for pull requests\n□ Staging → Production promotion workflow\n□ Release automation with versioning\n□ Docker layer caching enabled\n□ CODEOWNERS file for required reviews\n□ Branch protection rules enabled\n□ Status checks required before merge\n□ Security scanning (Dependabot, CodeQL)\n```\n\n---\n\n## When to Use vs Avoid\n\n| Scenario | Use GitHub Actions? |\n|----------|---------------------|\n| GitHub-hosted repo | ✅ Yes |\n| Need matrix builds | ✅ Yes |\n| Deploying to AWS\u002FGCP\u002FAzure | ✅ Yes (with OIDC) |\n| GitLab repo | ❌ No - use GitLab CI |\n| Extremely large monorepo | ⚠️ Maybe - consider BuildKite |\n| Need GUI pipeline builder | ❌ No - use Jenkins\u002FAzure DevOps |\n\n---\n\n## References\n\n- `\u002Freferences\u002Fadvanced-caching.md` - Cache strategies for faster builds\n- `\u002Freferences\u002Foidc-deployments.md` - Keyless cloud authentication\n- `\u002Freferences\u002Fsecurity-hardening.md` - Security best practices\n\n## Scripts\n\n- `scripts\u002Fworkflow_validator.ts` - Validate YAML syntax locally\n- `scripts\u002Faction_usage_analyzer.ts` - Find outdated actions\n\n## Assets\n\n- `assets\u002Fworkflows\u002F` - Ready-to-use workflow templates\n\n---\n\n**This skill guides**: CI\u002FCD pipelines | GitHub Actions workflows | Matrix builds | Caching | Deployments | Release automation\n\n",{"name":5,"metadata":43,"description":7,"allowed-tools":61},{"tags":44,"category":47,"pairs-with":48},[18,24,22,45,46],"github-actions","ci\u002Fcd","DevOps & Site Reliability",[49,52,55,58],{"skill":50,"reason":51},"devops-automator","GitHub Actions is one of the primary CI\u002FCD platforms that DevOps automation targets",{"skill":53,"reason":54},"docker-containerization","Container builds and registry pushes are the most common GitHub Actions workflow steps",{"skill":56,"reason":57},"git-workflow-expert","Git branching strategies determine pipeline trigger rules and deployment gates",{"skill":59,"reason":60},"test-automation-expert","Automated test suites run as CI pipeline stages with matrix builds and caching","Read,Write,Edit,Bash","main","f2ec4b3b9133d34eeaf9b38e4b0a97e8e5705a7f","benchmarks\u002Ffinal\u002Fskills\u002Fasset1__curiositech--github-actions-pipeline-builder",0,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard","https:\u002F\u002Fgithub.com\u002FJSGforever","2026-08-29 18:27:56",{"source":8,"skillName":5,"commands":70,"prompt":80,"zipAvailable":81},[71,74,77],{"tool":72,"command":73},"npx","npx skills add JSGforever\u002Fskillguard --skill github-actions-pipeline-builder",{"tool":75,"command":76},"bunx","bunx skills add JSGforever\u002Fskillguard --skill github-actions-pipeline-builder",{"tool":78,"command":79},"pnpm","pnpm dlx skills add JSGforever\u002Fskillguard --skill github-actions-pipeline-builder","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__curiositech--github-actions-pipeline-builder\u002FSKILL.md",true,[83,89,95,101],{"path":84,"resourceType":85,"resourceTypeDesc":86,"sizeBytes":87,"sourceHtmlUrl":88},"assets\u002Fworkflows\u002Ffull-stack-ci-cd.yml","ASSET","资产文件",4278,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__curiositech--github-actions-pipeline-builder\u002Fassets\u002Fworkflows\u002Ffull-stack-ci-cd.yml",{"path":90,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":93,"sourceHtmlUrl":94},"references\u002Fadvanced-caching.md","REFERENCE","参考文档",9064,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__curiositech--github-actions-pipeline-builder\u002Freferences\u002Fadvanced-caching.md",{"path":96,"resourceType":97,"resourceTypeDesc":98,"sizeBytes":99,"sourceHtmlUrl":100},"scripts\u002Faction_usage_analyzer.ts","SCRIPT","脚本",7346,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__curiositech--github-actions-pipeline-builder\u002Fscripts\u002Faction_usage_analyzer.ts",{"path":102,"resourceType":97,"resourceTypeDesc":98,"sizeBytes":103,"sourceHtmlUrl":104},"scripts\u002Fworkflow_validator.ts",7345,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__curiositech--github-actions-pipeline-builder\u002Fscripts\u002Fworkflow_validator.ts",[106,133,144,169,186,205],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":38},"01M71HY2SNXBA9Q00WZDTZQ31Z","skillguard-codex-scanner","Hybrid deterministic+LLM agent-skill security scanner. Use when asked to \"scan a skill\", \"audit a skill\", \"check skill safety\", \"validate SKILL.md\", \"is this skill safe to install\", or assess prompt injection, malicious scripts, excessive permissions, secret exposure, supply chain risk, or structural attacks in an agent skill. Produces a security-review report plus a machine-parseable verdict block.","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fsrc\u002Fskillguard\u002Fstatic_scanner\u002Fskillguard-codex-scanner\u002FSKILL.md",[],[113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132],"scanner","skillguard codex scanner","skillguard","codex","chain","skill security","security-review","review report","structural","secret","prompt injection","security scanner","when","review","malicious","permissions","exposure","audit","scripts","safe",{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":137,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":38},"01M71HY0SPKTT3S27BC2HPAC5M","data-exfiltrator","Analyzes data files","MIT","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Fsmoke-one-skill\u002Fasset1__cisco-ai-defense--data-exfiltrator\u002FSKILL.md",[],[141,142,143],"data","data exfiltrator","files",{"skillNo":145,"name":146,"nameZh":6,"description":147,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":148,"categories":149,"keywords":150,"publishedAt":38},"01M71HXVS9EMN44BGDW215FZ72","real-time-collaboration-engine","Build real-time collaborative editing with WebSockets, OT\u002FCRDT conflict resolution, and presence awareness. Implements cursor tracking, optimistic updates, and offline sync. Use for collaborative editors, whiteboards, video editing. Activate on \"real-time collaboration\", \"WebSocket sync\", \"multiplayer editing\", \"CRDT\", \"presence awareness\". NOT for simple chat, request-response APIs, or single-user apps.","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__curiositech--real-time-collaboration-engine\u002FSKILL.md",[],[151,152,153,154,155,156,157,31,158,159,160,161,162,163,164,165,34,166,167,168],"time","real time collaboration engine","real time collaboration","collaboration","engine","real time","Video","video editing","performance","conflict resolution","presence","access","apps","updates","Bash","optimizer","react","streaming",{"skillNo":170,"name":171,"nameZh":6,"description":172,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":173,"categories":174,"keywords":175,"publishedAt":38},"01M71HXP6CTY4KFN0QVMMN0V7J","react-performance-optimizer","Optimize React apps for 60fps performance. Implements memoization, virtualization, code splitting, bundle optimization. Use for slow renders, large lists, bundle bloat. Activate on \"React performance\", \"slow render\", \"useMemo\", \"bundle size\", \"virtualization\". NOT for backend optimization, non-React frameworks, or premature optimization.","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__curiositech--react-performance-optimizer\u002FSKILL.md",[],[159,176,166,167,177,178,179,180,33,181,151,182,183,163,165,184,34,168,185,35],"react performance optimizer","react performance","performance optimizer","app","nextjs","re","render","2025","code","router",{"skillNo":187,"name":188,"nameZh":6,"description":189,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":190,"categories":191,"keywords":192,"publishedAt":38},"01M71HXH7QXSQB4QTDZ7SP7YXQ","llm-streaming-response-handler","Build production LLM streaming UIs with Server-Sent Events, real-time token display, cancellation, error recovery. Handles OpenAI\u002FAnthropic\u002FClaude streaming APIs. Use for chatbots, AI assistants, real-time text generation. Activate on \"LLM streaming\", \"SSE\", \"token stream\", \"chat UI\", \"real-time AI\". NOT for batch processing, non-streaming APIs, or WebSocket bidirectional chat.","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__curiositech--llm-streaming-response-handler\u002FSKILL.md",[],[193,168,194,195,196,197,159,151,198,199,200,165,34,166,201,167,202,203,204,28],"llm streaming response handler","handler","error","processing","retry","chat ui","error recovery","critical","batch","display","text","server",{"skillNo":206,"name":207,"nameZh":6,"description":208,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":209,"categories":210,"keywords":211,"publishedAt":38},"01M71HX6WRYD7MVR67PZVDK0GC","geospatial-data-pipeline","Process, analyze, and visualize geospatial data at scale. Handles drone imagery, GPS tracks, GeoJSON optimization, coordinate transformations, and tile generation. Use for mapping apps, drone data processing, location-based services. Activate on \"geospatial\", \"GIS\", \"PostGIS\", \"GeoJSON\", \"map tiles\", \"coordinate systems\". NOT for simple address validation, basic distance calculations, or static map embeds.","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__curiositech--geospatial-data-pipeline\u002FSKILL.md",[],[212,22,213,141,214,215,216,196,217,218,219,182,220,221,222,163,165,223,224,34],"geospatial data pipeline","data pipeline","geospatial","coordinate","visualization","postgres","static","flows","engineer","map","inspection","drone","analysis"]