ci-cd-and-automation

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

2|Updated Jul 1, 2026
One-click install
npx skills add https://github.com/Lazare-Panam/mars-api --skill ci-cd-and-automation-lazare-panam
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ci-cd-and-automation
Source: https://github.com/Lazare-Panam/mars-api/tree/main/Mars.API/.claude/skills/ci-cd-and-automation
Command: npx skills add https://github.com/Lazare-Panam/mars-api --skill ci-cd-and-automation-lazare-panam

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Teams without automated pipelines ship untested code, accumulate broken builds, and lack rollback plans when deployments fail. This Skill guides the setup of 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: Defines a staged pipeline covering lint, type check, unit tests, build, integration tests, E2E tests, security audit, and bundle size checks, with GitHub Actions YAML examples. - Deployment Strategies: Covers preview deployments per PR, feature flags, staged rollouts, and manual rollback workflows. - CI Optimization & Feedback Loops: Provides caching, parallelism, and path-filter strategies to keep pipelines under 10 minutes, plus patterns for feeding CI failures back to AI agents. - Use Case: When setting up a new Node.js project, use this Skill to create a GitHub Actions workflow that runs lint, tsc --noEmit, Jest tests with coverage, build, and npm audit on every pull request, with branch protection blocking merges on failure. ## Quick Start Ask the assistant to set up a GitHub Actions CI pipeline with lint, type check, tests, and build gates for your project.

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 check out the code, set up Node.js, run npm ci, then execute lint, tsc --noEmit, tests with coverage, build, and npm audit in sequence.

How do I 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 the database password in GitHub Secrets rather than hardcoding it.

What should I do when my CI pipeline is too slow?

Cache dependencies with the setup-node cache option, split lint, typecheck, and test into parallel jobs, and use path filters to skip unrelated jobs. For further gains, shard test suites across runners or move slow tests off the critical path.

How do feature flags work with continuous deployment?

Feature flags decouple deployment from release by gating new code behind a runtime check. You can merge incomplete features to main, enable them for a percentage of users, and disable them without redeploying. Remove flags after full rollout to avoid technical debt.

Why should CI failures never be skipped or silenced?

Skipping failing gates lets broken code reach production and erodes trust in the pipeline. Fix the underlying lint error, type error, or failing test instead of disabling the rule, and treat flaky tests as real bugs to fix.

How do I implement a rollback plan for deployments?

Create a manually triggered workflow that accepts a version input and redeploys that previous version, such as with vercel rollback. Pair it with staged rollouts and a post-deploy monitoring window so errors trigger rollback before wide impact.