ci-cd-and-automation

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

Updated Sep 17, 2026
One-click install
npx skills add https://github.com/authrain-cloud-abdullahformuli/agent-skills --skill ci-cd-and-automation-authrain-cloud-abdullahformuli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ci-cd-and-automation
Source: https://github.com/authrain-cloud-abdullahformuli/agent-skills/tree/main/skills/ci-cd-and-automation
Command: npx skills add https://github.com/authrain-cloud-abdullahformuli/agent-skills --skill ci-cd-and-automation-authrain-cloud-abdullahformuli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Without automated pipelines, broken code reaches production, quality checks are skipped under pressure, and deployments become risky manual events. This Skill sets up CI/CD pipelines that enforce lint, type checking, tests, builds, and security audits on every change before merge. ## Core Features & Use Cases - Quality Gate Pipelines: Configures GitHub Actions workflows running lint, type check, unit tests, build, integration tests, E2E tests, and security audits as blocking checks on every pull request. - Deployment Strategies: Implements preview deployments per PR, feature flags, staged rollouts with staging verification, and manual rollback workflows. - CI Optimization & Feedback Loops: Applies caching, parallel jobs, path filters, and test sharding to keep pipelines under 10 minutes, and structures CI failure output so AI agents can fix issues automatically. - Use Case: You are starting a new Node.js project and need branch protection, automated checks on every PR, preview deployments, and a rollback plan before the first production release. ## 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.

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 jobs that install dependencies with npm ci, then run lint, tsc --noEmit, tests with coverage, build, and npm audit as sequential gates.

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

Use the services key to spin up a PostgreSQL container with health checks, then run migrations and integration tests against it. Store the database password in GitHub Secrets rather than hardcoding credentials 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 until all checks pass.

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

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 large test suites across runners.

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 releasing them. Flags let you canary releases to a percentage of users and roll back by disabling the flag, but they should be removed after full rollout to avoid technical debt.

Can CI failures be fed back to an AI coding agent?

Yes. Copy the specific failure output from the CI run and give it to the agent with instructions to fix and verify locally before pushing. Lint failures map to auto-fix commands, type errors to targeted fixes, and test failures to a debugging workflow.