ci-cd-and-automation

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

Updated Aug 22, 2026
One-click install
npx skills add https://github.com/MSC72m/DevForge --skill ci-cd-and-automation-msc72m
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ci-cd-and-automation
Source: https://github.com/MSC72m/DevForge/tree/main/skills/ci-cd-and-automation
Command: npx skills add https://github.com/MSC72m/DevForge --skill ci-cd-and-automation-msc72m

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Teams shipping code without automated verification accumulate broken builds, flaky releases, and manual deployment risk. This Skill establishes a complete CI/CD pipeline so every change passes lint, type checks, tests, build, and security audits before reaching production. ## Core Features & Use Cases - Quality Gate Pipelines: Enforce lint, typecheck, unit tests, build, integration, E2E, security audit, and bundle size checks on every pull request. - GitHub Actions Templates: Ready-to-adapt workflow configurations including database-backed integration tests with Postgres services and Playwright E2E runs. - Deployment Strategies: Preview deployments per PR, feature flags, staged rollouts, and manual rollback workflows. - CI Optimization: Caching, parallel jobs, path filters, and matrix builds to keep pipelines under 10 minutes. - Use Case: A team setting up a new Node.js project uses this Skill to create a GitHub Actions pipeline that blocks merges until all quality gates pass, deploys previews for each PR, and provides a one-command rollback path. ## Quick Start Set up a GitHub Actions CI pipeline for my Node.js project with lint, typecheck, tests, build, and a staging deployment with rollback.

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 npm ci, lint, tsc --noEmit, tests with coverage, build, and npm audit so every change passes all quality gates before merge.

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 integration 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 merge 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 caching via setup-node, split lint, typecheck, test, and build 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 when you want to merge incomplete or risky features to main without enabling them for users. Flags support canary rollouts and instant rollback without redeploying, but each flag needs a cleanup date to avoid technical debt.

How do I handle flaky tests failing in CI?▼

Fix the flakiness rather than re-running or disabling the test, since flaky tests mask real bugs and erode trust in the pipeline. Investigate timing dependencies, shared state, and external service calls as common root causes.