ci-cd-and-automation

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

Updated May 5, 2026
One-click install
npx skills add https://github.com/UlaYuga/promo-preflight --skill ci-cd-and-automation-ulayuga
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ci-cd-and-automation
Source: https://github.com/UlaYuga/promo-preflight/tree/main/.agents/skills/ci-cd-and-automation
Command: npx skills add https://github.com/UlaYuga/promo-preflight --skill ci-cd-and-automation-ulayuga

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Teams shipping code without automated verification accumulate broken builds, untested changes, and risky deployments. This Skill establishes a repeatable quality gate pipeline so every pull request passes lint, type checks, tests, build, and security audits before merge. ## Core Features & Use Cases - Quality Gate Pipelines: GitHub Actions configurations covering lint, type check, unit tests, build, integration tests with Postgres services, E2E tests with Playwright, and security audits. - Deployment Strategies: Preview deployments per PR, feature flags, staged rollouts, and manual rollback workflows with monitoring windows. - CI Optimization & Feedback Loops: Caching, parallel jobs, path filters, and matrix builds to keep pipelines under 10 minutes, plus patterns for feeding CI failures back to AI agents for automated fixes. - Use Case: When setting up a new Next.js project, use this Skill to generate a complete GitHub Actions workflow with branch protection, Dependabot, and a rollback plan before the first production deploy. ## Quick Start Set up a CI pipeline for my project with lint, type checking, 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 sequential jobs for lint, type check with tsc --noEmit, tests, build, and npm audit, using actions/setup-node with npm caching.

How to run integration tests with a database in CI?▼

Use GitHub Actions service containers to run Postgres alongside your job, then apply migrations with prisma migrate deploy before running integration tests. Store database credentials in GitHub Secrets rather than hardcoding them in the workflow.

What quality gates should run before merging a pull request?▼

Run lint, type checking, unit tests, build, integration tests, security audit, and bundle size checks in sequence. Configure branch protection so all status checks pass and at least one approval exists before merge is allowed.

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.

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 enabling them for users. Flags support canary rollouts and instant rollback without redeploying, but set a cleanup date so stale flags do not become technical debt.