ci-cd-and-automation

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

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Teams shipping code without automated verification accumulate broken builds, undetected bugs, and risky deployments. This Skill provides a complete playbook for setting up CI/CD pipelines that enforce lint, type checking, tests, builds, and security audits on every change before it reaches production. ## Core Features & Use Cases - Quality Gate Pipelines: Defines an ordered gate sequence (lint, type check, unit tests, build, integration, E2E, security audit, bundle size) with ready-to-use GitHub Actions YAML configurations, including PostgreSQL service containers for integration tests and Playwright for E2E. - Deployment Strategies: Covers preview deployments per PR, feature flags with lifecycle management, staged rollouts with monitoring windows, and manual rollback workflows. - CI Feedback Loop for AI Agents: Shows how to feed CI failure output back to coding agents so they can fix lint errors, type errors, and test failures iteratively. - Use Case: When starting a new Node.js project, use this Skill to generate a complete .github/workflows/ci.yml with caching, parallel jobs, branch protection guidance, and Dependabot configuration. ## Quick Start Set up a GitHub Actions CI pipeline for my Node.js project with lint, type check, tests, build, and security audit gates that block merging on failure.

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. Configure jobs using actions/checkout and actions/setup-node, then run npm ci followed by lint, type check, tests, build, and npm audit steps in sequence.

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

Define a postgres service container in your job with health checks, expose port 5432, and store credentials in GitHub Secrets. Run migrations with prisma migrate deploy, then execute integration tests with the DATABASE_URL environment variable pointing at the service.

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 fix it?▼

Slow pipelines usually lack dependency caching and run jobs sequentially. Apply caching via setup-node's cache option, split lint, typecheck, and test into parallel jobs, use path filters to skip unrelated work, and shard 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, roll back by disabling the flag, and run A/B tests, but they should be removed after full rollout.

Should CI pipelines have access to production secrets?▼

No, CI should never hold production secrets. Store CI-specific credentials in GitHub Secrets or a vault, keep production secrets in the deployment platform, and commit only .env.example templates and non-sensitive test environment files.