ci-cd-and-automation

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

Updated Jun 8, 2026
One-click install
npx skills add https://github.com/Avistian/nba --skill ci-cd-and-automation-avistian
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ci-cd-and-automation
Source: https://github.com/Avistian/nba/tree/main/.cursor/skills/ci-cd-and-automation
Command: npx skills add https://github.com/Avistian/nba --skill ci-cd-and-automation-avistian

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Manual verification of code changes does not scale and lets broken code reach production. This Skill sets up automated CI/CD pipelines that enforce lint, type checking, tests, builds, and security audits on every pull request, catching defects before merge. ## 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, feature flags, staged rollouts, and manual rollback workflows so every release is reversible. - CI Optimization: Apply caching, parallel jobs, path filters, and matrix builds to keep pipelines under 10 minutes. - Use Case: A team adds a new microservice and needs every PR verified automatically. Use this Skill to generate a GitHub Actions workflow with Postgres service containers for integration tests, Playwright for E2E, and branch protection rules blocking 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 rollback workflow.

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 triggered on pull requests and pushes to main. Add sequential steps for dependency install, lint, type check, tests, build, and security audit, using actions/setup-node with npm caching for speed.

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 localhost:5432. Store the database password in GitHub Secrets rather than hardcoding it in the workflow file.

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 skippable, and branch protection should block merges when any check fails.

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

Slow pipelines usually lack dependency caching and run jobs sequentially. Enable the setup-node cache option, split lint, typecheck, and test into parallel jobs, use path filters to skip unrelated work, and shard large test suites across runners.

How do I implement a rollback strategy for deployments?▼

Create a manually triggered workflow_dispatch workflow that accepts a version input and redeploys that previous release. Pair it with staged rollouts and a post-deploy monitoring window so errors trigger rollback before wide impact.

Should CI pipelines have access to production secrets?▼

No, CI should never hold production secrets. Use separate credentials for CI test environments stored in GitHub Secrets, keep production secrets in the deployment platform or a vault, and commit only .env.example templates.