ci-cd-and-automation

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

Updated Aug 15, 2026
One-click install
npx skills add https://github.com/jacksonlee-tw/mystock-vue --skill ci-cd-and-automation-jacksonlee-tw
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ci-cd-and-automation
Source: https://github.com/jacksonlee-tw/mystock-vue/tree/main/mystock-vue/.agents/skills/ci-cd-and-automation
Command: npx skills add https://github.com/jacksonlee-tw/mystock-vue --skill ci-cd-and-automation-jacksonlee-tw

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Broken code reaches production when teams rely on manual testing or skip automated verification. 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: Configure GitHub Actions workflows running lint, type checking, unit tests, builds, security audits, and bundle size checks on every pull request. - Deployment Strategies: Set up preview deployments, feature flags, staged rollouts, and manual rollback workflows so releases are reversible. - CI Optimization: Apply caching, parallel jobs, path filters, and matrix builds to keep pipelines under 10 minutes. - Use Case: A team sets up a new Node.js project and needs CI from day one. Use this Skill to generate a GitHub Actions workflow with all quality gates, branch protection rules, and a Dependabot configuration. ## Quick Start Set up a GitHub Actions CI pipeline for my Node.js project with lint, type check, tests, build, and security audit gates.

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 for lint, type checking with tsc --noEmit, tests, build, and npm audit, using actions/setup-node with dependency caching.

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

Use GitHub Actions service containers to run PostgreSQL alongside your job, with health checks via pg_isready. Store credentials in GitHub Secrets, run migrations with prisma migrate deploy, then execute integration tests against the service.

What quality gates should a CI pipeline include?▼

A complete pipeline runs 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 caching and run jobs sequentially. Cache node_modules with setup-node, split lint, typecheck, and test into parallel jobs, use path filters to skip unrelated work, and shard test suites with matrix builds.

Should CI pipelines have access to production secrets?▼

No, CI should never hold production secrets. Use separate secrets for CI testing stored in GitHub Secrets, keep production credentials in the deployment platform or a vault, and commit only .env.example templates.

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

Use feature flags to merge incomplete features to main without enabling them, decoupling deployment from release. Flags support canary rollouts and instant rollback, but set a cleanup date since permanent flags become technical debt.