ci-cd-and-automation

Configures GitHub Actions CI/CD pipelines with quality gates, deployment strategies, and rollback workflows.

1|Updated May 29, 2026
One-click install
npx skills add https://github.com/memasanz/agent-harness --skill ci-cd-and-automation-memasanz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ci-cd-and-automation
Source: https://github.com/memasanz/agent-harness/tree/main/.github/skills/ci-cd-and-automation
Command: npx skills add https://github.com/memasanz/agent-harness --skill ci-cd-and-automation-memasanz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Without automated pipelines, broken code reaches production and quality checks depend on manual discipline. This Skill sets up CI/CD pipelines that enforce lint, type checking, tests, builds, and security audits on every pull request, so no change merges without passing all quality gates. ## Core Features & Use Cases - Quality Gate Pipelines: Configure GitHub Actions workflows running lint, type check, unit tests, build, integration tests, E2E tests, and security audits in sequence. - Deployment Strategies: Implement preview deployments per PR, feature flags, staged rollouts to staging and production, and manual rollback workflows. - CI Optimization: Apply caching, parallel jobs, path filters, and matrix builds to keep pipelines under 10 minutes. - Use Case: You are starting a new Node.js project and need CI from day one. Use this Skill to generate a GitHub Actions workflow with PostgreSQL service containers for integration tests, Playwright for E2E, and branch protection rules that block merges on failure. ## Quick Start Set up a GitHub Actions CI pipeline for my Node.js project with lint, type check, tests, build, and a staging deployment with rollback support.

Frequently Asked Questions about ci-cd-and-automation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a CI pipeline with GitHub Actions?

Create a workflow file at .github/workflows/ci.yml that triggers on pull requests and pushes to main. Add sequential steps for lint, type check with tsc --noEmit, tests with coverage, build, and npm audit, using actions/setup-node with dependency caching.

How to run integration tests with a database in GitHub Actions?

Define a postgres service container in the job with health checks, then run migrations and tests against it using a DATABASE_URL environment variable. Store credentials in GitHub Secrets rather than hardcoding them, even for CI-only databases.

What quality gates should a CI pipeline include?

A complete pipeline runs lint, type checking, unit tests, build, integration tests, optional E2E tests, security audit, and bundle size checks. No gate should be skipped; failures must block merging through branch protection rules.

Why is my CI pipeline slow and how do I fix it?

Slow pipelines usually lack dependency caching and run jobs sequentially. Apply npm caching via setup-node, split lint, typecheck, and test into parallel jobs, use path filters to skip unrelated work, and shard test suites with matrix builds.

When should I use feature flags instead of long-lived branches?

Use feature flags to merge incomplete or risky features to main without enabling them, allowing canary rollouts and instant rollback by disabling the flag. Set a cleanup date when creating flags, since permanent flags become technical debt.