zego-ci-validation

Discover and execute CI commands locally to validate codebase changes.

1|3|Updated Jan 30, 2018
One-click install
npx skills add https://github.com/Zegocover/techops-tf_aws_metadata --skill zego-ci-validation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: zego-ci-validation
Source: https://github.com/Zegocover/techops-tf_aws_metadata/tree/main/.claude/skills/zego-ci-validation
Command: npx skills add https://github.com/Zegocover/techops-tf_aws_metadata --skill zego-ci-validation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires bash, python, git, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of running CI validation locally, ensuring that code passes CI checks before committing, thereby preventing known failures from reaching the pipeline.

Core Features & Use Cases

  • CI Command Discovery: Automatically discovers and extracts CI commands from specified sources.
  • Command Execution: Executes the discovered CI commands locally, with a 20-minute hard ceiling on command execution time.
  • Scope Validation: Classifies and selects commands based on the scope of the changes in the codebase.
  • Authentication and Credentials: Detects and reports authentication and credentials preconditions without attempting to fix them.
  • Output and Reporting: Provides detailed output and reporting on the execution of CI commands, including success or failure status.

Quick Start

Use the zego-ci-validation skill to run CI validation on your codebase.

Frequently Asked Questions about zego-ci-validation

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

FAQPage Schema
How do I run CI validation locally before committing code?

Run CI validation locally by discovering CI commands from specified sources and executing them against your codebase. This ensures code passes CI checks before committing, preventing known failures from reaching the pipeline.

What does local CI command discovery do?

CI command discovery automatically extracts and classifies commands from specified sources based on the scope of your codebase changes. It selects relevant checks to execute locally, ensuring targeted validation before committing.

Do I need bash and git to automate pre-commit checks?

Yes, you need bash, python, and git installed to automate pre-commit checks. The skill requires these dependencies to discover CI commands, execute them locally, and validate the codebase against CI checks.

What is the execution time limit for running CI commands locally?

The execution time limit for running CI commands locally is a 20-minute hard ceiling. The skill enforces this limit to prevent hanging processes during local CI validation and pre-commit checks.

Can local CI validation resolve authentication and credential errors?

No, local CI validation detects and reports authentication and credential preconditions without attempting to fix them. You must manually resolve these credential issues before running the CI commands locally.

Why does local CI validation fail on scope changes?

Local CI validation evaluates scope changes to classify and select appropriate CI commands. If the scope is misconfigured or authentication preconditions are unmet, the validation reports failures and prevents the code from passing pre-commit checks.