ci-preflight

Reproduce CI pipeline pre-merge stages locally with equivalent commands.

1|Updated Jun 11, 2026
One-click install
npx skills add https://github.com/sergeyitaly/claude-skill-deployer --skill ci-preflight-sergeyitaly
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ci-preflight
Source: https://github.com/sergeyitaly/claude-skill-deployer/tree/main/skills_library/ci-preflight
Command: npx skills add https://github.com/sergeyitaly/claude-skill-deployer --skill ci-preflight-sergeyitaly

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Developers often waste time and context switching when code pushes fail due to avoidable CI issues like lint errors, broken tests, or invalid infrastructure configs that could have been caught earlier.

Core Features & Use Cases

  • Multi-platform CI mapping: Supports GitLab CI, GitHub Actions, and Azure Pipelines, extracting job steps and stage dependencies automatically.
  • Toolchain-agnostic local execution: Maps CI jobs to local equivalent commands for common tools including Terraform, Node.js, .NET, and Docker.
  • Environment gotcha handling: Includes built-in workarounds for common issues like Terraform backend initialization requirements and stale build caches.
  • Use Case: If you're working on a Terraform module, this skill will run the terraform fmt -check, init, and validate commands locally first, so you don't push a broken config that fails the pipeline.

Quick Start

Use the ci-preflight skill to run all local CI checks for the current project before I commit my changes.

Frequently Asked Questions about ci-preflight

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run CI pipeline checks locally before pushing code?

Run CI pipeline checks locally by mapping pre-merge stages like lint, test, validate, and build to exact local equivalent commands, catching failures before code push and reporting stage-by-stage pass or fail results.

What's the best way to validate Terraform configurations before triggering a CI pipeline?

Validate Terraform configurations locally by running equivalent CI commands like terraform fmt -check, init, and validate first, applying built-in workarounds for backend initialization requirements to prevent pushing broken infrastructure configs.

Does local preflight testing work with GitHub Actions and GitLab CI?

Local preflight testing supports both GitHub Actions and GitLab CI, automatically extracting job steps and stage dependencies to reproduce no-credentials pre-merge pipeline stages locally across different CI platforms.

Can I run CI checks locally for Node.js, .NET, and Docker toolchains?

Yes, you can run CI checks locally for Node.js, .NET, and Docker toolchains through toolchain-agnostic local execution that maps CI jobs to their exact local equivalent commands for common development workflows.

How do I handle environment gotchas like stale build caches when validating pipelines locally?

Handle environment gotchas like stale build caches and Terraform backend initialization using built-in workarounds that automatically apply environment-specific corrections during local pre-merge stage execution.

Why do my code pushes fail due to lint errors and broken tests, and how can I prevent it?

Code pushes fail due to avoidable CI issues like lint errors and broken tests; prevent this by reproducing no-credentials CI pipeline pre-merge stages locally to catch failures before pushing code.