CommunityCoding & Developmentgithub.com

bentoms-dev/github-actions-cicd-engineer

Build fast, secure and maintainable CI/CD pipelines with GitHub Actions. Use when creating or fixing workflows, speeding up slow CI, adding caching, matrices or deployments, managing secrets and environments, hardening workflows against supply-chain attacks, or setting up releases and preview deployments.

What is github-actions-cicd-engineer?

github-actions-cicd-engineer is a Claude Code agent skill that build fast, secure and maintainable CI/CD pipelines with GitHub Actions. Use when creating or fixing workflows, speeding up slow CI, adding caching, matrices or deployments, managing secrets and environments, hardening workflows against supply-chain attacks, or setting up releases and preview deployments.

Works with~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/bentoms-dev/skills/tree/HEAD/skills/engineering/github-actions-cicd-engineer

Installed? Explore more Coding & Development skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

GitHub Actions CI/CD Engineer

You build pipelines that are fast enough that developers do not wait, strict enough to catch problems, and locked down so they cannot be used to compromise the repository.

Pipeline shape

  • On pull requests: install, lint, type check, unit and integration tests, build. Run independent jobs in parallel.
  • On merge to main: the same checks, then build artefacts once and deploy the same artefact to staging, then production.
  • Fail fast: run the cheapest checks first or in parallel with expensive ones.
  • Use concurrency to cancel superseded runs on the same branch:
concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: ${{ github.event_name == 'pull_request' }}
  • Use path filters so docs-only changes skip heavy jobs, but keep required checks satisfiable (use a lightweight always-run job or conditional steps).

Speed

  • Cache dependencies with the setup action's built-in cache (actions/setup-node with cache: npm, setup-python with cache: pip) and cache build outputs (Next.js .next/cache, Turborepo, Gradle) keyed on lockfiles.
  • Use npm ci (or the equivalent frozen-lockfile install) for reproducible installs.
  • Shard slow test suites across a matrix. Run end-to-end tests only against a built app.
  • Use fail-fast: false on matrices when you need every result, true when you only need to know it failed.
  • Set timeout-minutes on every job so hung runs do not burn minutes.

Security hardening

  • Set least-privilege permissions at the top of every workflow and widen per job only when needed:
permissions:
  contents: read
  • Pin third-party actions to a full commit SHA, with the version in a comment (uses: owner/action@<sha> # v4.2.0). Let Dependabot or Renovate update them.
  • Never use pull_request_target or workflow_run to check out and run untrusted PR code with secrets. Forked PRs must not get secrets or write tokens.
  • Prevent script injection: never interpolate untrusted context (github.event.pull_request.title, issue bodies, branch names) directly into run:. Pass it through env: and quote the variable.
  • Use OIDC (id-token: write) to get short-lived cloud credentials instead of long-lived keys stored as secrets.
  • Put deploy secrets in environments with required reviewers and branch protection, not in repository-wide secrets.
  • Do not echo secrets; be careful with set -x and debug logging.
  • Enable Dependabot for npm and GitHub Actions, and run a dependency audit or code scanning job.

Deployments

  • Deploy via environments (staging, production) with protection rules and URLs.
  • Make deployments idempotent and roll-back-able (redeploy previous artefact or tag).
  • Run database migrations as a distinct, ordered step that is backwards compatible with the currently running version.
  • Use preview deployments per PR where the platform supports it, and comment the URL on the PR.
  • Run smoke tests against the deployed URL and fail the job if they fail.

Maintainability

  • Extract repeated setup into a composite action or a reusable workflow (workflow_call).
  • Name jobs and steps clearly; required status checks depend on job names, so rename carefully.
  • Pin runner images (ubuntu-24.04) when reproducibility matters more than automatic upgrades.
  • Use actionlint to validate workflow files.

Releases

  • Automate versioning and changelogs from conventional commits (for example release-please or changesets).
  • Publish packages with provenance (npm publish --provenance) using OIDC where supported.

Output

Describe the pipeline (triggers, jobs, dependencies between them), expected run time before and after, permissions granted and why, secrets and environments required, and any manual setup needed in repository settings (branch protection, required checks, environments).


Go deeper: Security Audit Pro and Observability & Incident Response are premium skill packs with linked skills, production templates, scripts and eval prompts.

Individual skills in this repo

This repo contains 5 individual skills — each has its own dedicated page.

bentoms-dev/ai-feature-engineer

Build reliable, safe and affordable LLM-powered features in real products. Use when adding chat, summarisation, extraction, classification, RAG search, tool calling or agents to an app, when writing prompts or evals, choosing models, controlling cost and latency, or defending against prompt injection.

bentoms-dev/docs-readme-writer

Write developer documentation people actually read and trust. Use when creating or improving a README, getting-started guide, API reference, architecture decision record (ADR), runbook, onboarding guide, changelog or contributing guide, or when docs are outdated, confusing or missing.

bentoms-dev/postgres-migrations-engineer

Design PostgreSQL schemas, write zero-downtime migrations and fix slow queries. Use when adding tables, columns, indexes or constraints, changing data on a live database, reviewing a migration for locking risks, reading EXPLAIN ANALYZE output, or working with Prisma, Drizzle, Knex, TypeORM, Rails or Django migrations.

bentoms-dev/shopify-theme-architect

Build, refactor and review Shopify Online Store 2.0 themes. Use when creating or editing Liquid sections, blocks, snippets, templates, theme settings, locales, or theme CSS/JS, and when reviewing a theme for performance, accessibility or merchant editability.

bentoms-dev/test-engineer

Write tests that catch real bugs and survive refactors. Use when adding tests to new or existing code, choosing between unit, integration and end-to-end tests, fixing flaky tests, setting up Vitest, Jest or Playwright, or reviewing a test suite for gaps and brittleness.

Related Skills