ci-cd-and-automation

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

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Teams without automated pipelines ship untested code, accumulate broken builds, and lack repeatable deployment processes. This Skill establishes enforced quality gates so every change passes lint, type checks, tests, and builds before reaching production. ## Core Features & Use Cases - Quality Gate Pipelines: Configure GitHub Actions workflows covering lint, type checking, unit tests, integration tests with database services, E2E tests with Playwright, security audits, and bundle size checks. - Deployment Strategies: Set up preview deployments per PR, feature flags, staged rollouts, and manual rollback workflows. - CI Feedback Loop: Feed CI failure output back to AI agents so they can fix lint errors, type errors, and test failures automatically. - Use Case: When starting a new Node.js project, use this Skill to generate a complete GitHub Actions CI pipeline with branch protection, Dependabot, and a rollback mechanism from day one. ## Quick Start Set up a CI pipeline for my project with lint, type check, tests, build, and a staging deployment 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 that triggers on pull requests and pushes to main. Add jobs for lint, type checking 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 workflow 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.

What quality gates should a CI pipeline include?▼

A complete pipeline includes lint, type checking, unit tests, build, integration tests, optional E2E tests, security audit, and bundle size checks. No gate should be skipped, and 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 caching with setup-node, split lint, typecheck, and test into parallel jobs, use path filters to skip unrelated work, and shard test suites across runners.

How do feature flags work with continuous deployment?▼

Feature flags decouple deployment from release by gating new code behind runtime checks. Deploy code to production with the flag disabled, then enable it gradually for canary rollouts, and remove the flag and dead code after full rollout.

When should I not skip CI checks for a change?▼

Never skip CI, even for trivial changes, since small edits still break builds. If the pipeline is too slow, optimize it with caching and parallelism rather than disabling checks or ignoring flaky tests.