ci-cd-and-automation

Automate CI/CD pipeline setup with quality gates for Node-based repositories.

2|Updated Feb 16, 2026
One-click install
npx skills add https://github.com/d0whc3r/statsig-browser-extension --skill ci-cd-and-automation-d0whc3r
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ci-cd-and-automation
Source: https://github.com/d0whc3r/statsig-browser-extension/tree/main/.agents/skills/ci-cd-and-automation
Command: npx skills add https://github.com/d0whc3r/statsig-browser-extension --skill ci-cd-and-automation-d0whc3r

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It prevents broken code from reaching production by enforcing repeatable CI/CD checks (lint, type checks, tests, builds, security, and deployment verification) on every change.

Core Features & Use Cases

  • Quality Gate Enforcement: Orchestrates a pipeline that blocks merge unless required checks pass, including unit/integration/E2E and security audits.
  • Deterministic, Repeatable Pipelines: Uses consistent tooling steps (npm ci, eslint/prettier, tsc, jest/vitest, Playwright/Cypress, npm audit, and build steps) to reduce “works on my machine” issues.
  • Deployment Safety Mechanisms: Supports staging verification, preview deployments, rollback planning, and guardrails like branch protection and required status checks.
  • Feedback Loop for Faster Fixes: Guides how to feed CI failure output back to agents for quicker remediation and verification.

Quick Start

Use this skill when you need to set up or update CI/CD quality gates so every pull request runs lint, type checking, tests, build, security audit, and (optionally) E2E with a rollback-ready deployment strategy.

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 CI/CD pipelines with quality gates to block unverified changes in GitHub Actions?

To set up CI/CD pipelines with quality gates, configure deterministic GitHub Actions workflow steps using npm ci, eslint, tsc, and test runners triggered on pull_request and push events. This blocks merges unless required lint, type checking, unit, and integration checks pass.

What is deployment rollback strategy in CI/CD and how does it keep main branch safe?

Deployment rollback in CI/CD is a safety mechanism that reverses failed production releases using staging verification, preview deployments, and branch protection. It keeps main safe by enforcing non-skippable required status checks before any rollout proceeds.

Can I use Node-based toolchains like jest, vitest, and Playwright for E2E testing in my CI pipeline?

Yes, Node-based toolchains like jest, vitest, and Playwright are fully supported for CI pipelines. The workflows orchestrate these test runners alongside npm audit and build commands to ensure deterministic, repeatable checks across unit, integration, and E2E testing suites.

How do I configure branch protection and required status checks for pull requests?

To configure branch protection, define pipeline triggers for pull_request events and enforce required status checks as non-skippable gates. This ensures merge blocking occurs automatically when linting, security audits, or build commands fail on any submitted pull request.

What's the best way to feed CI failure output back to agents for faster remediation?

The best way to feed CI failure output back for faster remediation is establishing a feedback loop that routes lint, type checking, and test runner errors directly to agents. This guides quicker verification and fixes for failing pull requests.

Why does my CI pipeline allow merges without running security audits and type checks?

Your CI pipeline allows merges without security audits and type checks because branch protection lacks required status checks. You must enforce non-skippable gates by configuring tsc, eslint, and npm audit as mandatory pipeline triggers on every pull request.