ci-cd-and-automation

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

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Setting up reliable CI/CD pipelines is error-prone: teams skip quality gates, hardcode secrets, ship without rollback plans, and let slow pipelines erode trust in automation. This Skill provides a complete, opinionated blueprint for enforcing lint, type checks, tests, builds, and security audits on every change before it reaches production. ## Core Features & Use Cases - Quality Gate Pipelines: Ready-to-use GitHub Actions workflows covering lint, type checking, unit tests, integration tests with Postgres services, E2E tests with Playwright, security audits, and bundle size checks. - Deployment Strategies: Patterns for preview deployments, feature flags, staged rollouts, and manual rollback workflows so every deployment is reversible. - CI Optimization & Feedback Loops: Caching, parallel jobs, path filters, and matrix builds to keep pipelines under 10 minutes, plus a workflow for feeding CI failure output back to AI agents for automated fixes. - 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 — this Skill gives you the complete configuration and the reasoning behind each gate. ## Quick Start Set up a GitHub Actions CI pipeline for my Node.js project with lint, type check, tests, build, and a security audit that blocks merges 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 for a Node.js project?▼

Create a workflow triggered on pull requests and pushes to main that runs npm ci, lint, tsc --noEmit, tests with coverage, build, and npm audit. Use actions/setup-node with the cache option to speed up dependency installation.

How to run integration tests with Postgres in GitHub Actions?▼

Define a postgres service container in the job with health checks, then run migrations and tests against it using a DATABASE_URL pointing at localhost:5432. Store the CI database password in GitHub Secrets rather than hardcoding it.

What quality gates should a CI pipeline include before merging?▼

A complete pipeline runs lint, type checking, unit tests, build, integration tests, optional E2E tests, a security audit, and a bundle size check. No gate should be skipped — fix the underlying issue instead of disabling rules or tests.

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

Slow pipelines usually lack dependency caching and run jobs sequentially. Apply caching through setup-node, split lint, typecheck, and test into parallel jobs, use path filters to skip unrelated work, and shard test suites with matrix builds.

Can I deploy previews for every pull request automatically?▼

Yes, add a deploy-preview job conditioned on pull_request events that builds the branch and deploys it with a platform CLI such as Vercel using a token stored in GitHub Secrets. Every PR then gets an isolated environment for manual testing.

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

Use feature flags to merge incomplete or risky features to main without enabling them, allowing canary rollouts and instant rollback by toggling the flag. Set a cleanup date when creating each flag so stale flags do not become technical debt.