local-ci-mirror-preflight

Community

Mirror CI locally before every commit

Authornguyenpv1980-wq
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents avoidable CI surprises by mirroring pull-request checks locally first, then comparing the same checks against a clean mainline baseline so failures can be attributed correctly instead of guessed at.

Core Features & Use Cases

  • Workflow-derived validation: Reads the repository's CI workflow definitions and derives the closest local equivalent of every PR-triggered check.
  • Baseline-first failure classification: Runs checks in a separate git worktree on origin/main before judging the current change, then classifies failures as PR-caused, pre-existing-on-main, CI-infrastructure, or cannot-determine-locally.
  • Docs-only lightweight path: Supports an explicit docs-only route with reduced validation when the diff matches the repo's docs-only definition.
  • Closeout-ready reporting: Produces a structured preflight record with commands run, durations, classifications, and residual risk notes.
  • Use case: Before committing a feature branch, use this Skill to confirm the same checks CI will run, prove whether a failure belongs to your change or main, and decide whether it is safe to commit.

Quick Start

Ask for a local CI mirror preflight for your branch, including a clean-main baseline comparison and a failure classification report.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: local-ci-mirror-preflight
Download link: https://github.com/nguyenpv1980-wq/Project-Aegis/archive/main.zip#local-ci-mirror-preflight

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 545,000+ vetted skills library on demand.