ci-cd-and-automation

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

Updated Sep 15, 2026
One-click install
npx skills add https://github.com/Qiuyi-Hong/addyosmani-skills --skill ci-cd-and-automation-qiuyi-hong
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ci-cd-and-automation
Source: https://github.com/Qiuyi-Hong/addyosmani-skills/tree/main/skills/ci-cd-and-automation
Command: npx skills add https://github.com/Qiuyi-Hong/addyosmani-skills --skill ci-cd-and-automation-qiuyi-hong

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Without automated pipelines, broken code reaches production, quality checks get 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 on every pull request. - Deployment Strategies: Implements preview deployments per PR, feature flags, staged rollouts, and manual rollback workflows so every deployment is reversible. - CI Optimization & Feedback Loops: Applies caching, parallel jobs, path filters, and test sharding to keep pipelines under 10 minutes, and feeds CI failure output back to agents for automated fixes. - Use Case: A team starting a new Node.js project needs CI from day one. Use this Skill to generate a GitHub Actions workflow with all quality gates, branch protection rules, Dependabot configuration, and a staging-to-production deployment flow with rollback. ## 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 in sequence.

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

How do I speed up a slow CI pipeline?

Cache dependencies with the setup-node cache option, split lint, typecheck, and test into parallel jobs, use path filters to skip unrelated jobs, and shard test suites across runners. Apply these in order when the pipeline exceeds 10 minutes.

When should I use feature flags instead of long-lived branches?

Use feature flags to merge incomplete features to main early while keeping them disabled in production. They enable canary rollouts, A/B tests, and instant rollback without redeploying, but flags should be removed after full rollout to avoid technical debt.

Why does my CI keep failing and how do I fix it with an AI agent?

Copy the specific CI failure output and paste it to the agent with instructions to fix and verify locally before pushing. Lint failures map to npm run lint --fix, type errors to the reported location, and test failures to a debugging workflow.