ci-cd-and-automation

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

5|Updated Mar 5, 2024
One-click install
npx skills add https://github.com/TRAPZZY/God-Eyes --skill ci-cd-and-automation-trapzzy
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ci-cd-and-automation
Source: https://github.com/TRAPZZY/God-Eyes/tree/main/.skills/ci-cd-and-automation
Command: npx skills add https://github.com/TRAPZZY/God-Eyes --skill ci-cd-and-automation-trapzzy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Without automated pipelines, broken code reaches production, tests get skipped, and deployments become risky manual events. This Skill establishes enforced quality gates so every change passes lint, type checks, tests, and builds before merge. ## Core Features & Use Cases - Quality Gate Pipelines: Set up 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: Implement preview deployments per PR, feature flags, staged rollouts, and manual rollback workflows. - CI Optimization & Feedback Loops: Apply caching, parallel jobs, path filters, and matrix builds to keep pipelines under 10 minutes, and feed CI failure output back to AI agents for automated fixes. - Use Case: A team starting a new Node.js project needs branch protection, automated checks on every PR, and a staging-to-production deployment flow with a rollback plan. ## 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. Define 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 CI?▼

Use GitHub Actions services to spin up a PostgreSQL 16 container with health checks alongside your job. Run migrations with prisma migrate deploy, then execute integration tests against the service using credentials stored in GitHub Secrets.

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; failures must block merge 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 setup-node caching, split lint, typecheck, and test into parallel jobs, use path filters to skip unrelated work, and shard test suites with matrix builds.

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 allow canary rollouts, A/B tests, and instant rollback by disabling the flag, but should be removed after full rollout.

Should CI pipelines have access to production secrets?▼

No, CI should never hold production secrets. Store CI 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.