github-devops-pre-push-quality-gate

Run pre-push quality checks on Git repositories before pushing.

3|Updated Feb 7, 2026
One-click install
npx skills add https://github.com/GDSDN/kord-aios --skill github-devops-pre-push-quality-gate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-devops-pre-push-quality-gate
Source: https://github.com/GDSDN/kord-aios/tree/main/src/features/builtin-skills/kord-aios/devops/github-devops-pre-push-quality-gate
Command: npx skills add https://github.com/GDSDN/kord-aios --skill github-devops-pre-push-quality-gate

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill prevents code that doesn't meet quality, testing, or security standards from being pushed to remote repositories, saving teams from introducing bugs or vulnerabilities.

Core Features & Use Cases

  • Automated Quality Checks: Runs linters, type checkers, tests, and build processes.
  • Security Scanning: Integrates CodeRabbit for code review and a security scan for dependency vulnerabilities and secrets.
  • Constitutional Enforcement: Enforces predefined quality gates based on project constitution.
  • Use Case: A developer is about to push a feature branch. This Skill automatically runs all configured checks, and if any critical issues are found (e.g., failing tests, high-severity security vulnerabilities), it blocks the push, prompting the developer to fix them first.

Quick Start

Run the github-devops-pre-push-quality-gate skill to perform all pre-push checks.

Frequently Asked Questions about github-devops-pre-push-quality-gate

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

FAQPage Schema
How do I block a git push if tests fail or security vulnerabilities are found?

To block a git push when tests fail or security vulnerabilities are detected, use a pre-push hook to run automated quality checks. This validates code quality, test coverage, build integrity, and security scanning before allowing the push operation to proceed.

What is a pre-push quality gate in a CI/CD workflow?

A pre-push quality gate is an automated validation step in a CI/CD workflow that executes linters, type checkers, and security scans locally. It enforces predefined constitutional requirements and prevents non-compliant code from reaching the remote repository.

How do I integrate CodeRabbit and security scanning into a git pre-push hook?

Integrate CodeRabbit and security scanning into a git pre-push hook by configuring a script to execute these tools sequentially. The hook runs code review and dependency vulnerability checks, blocking the push if high-severity issues are discovered.

Can I enforce project constitutional requirements before allowing a code push?

You can enforce project constitutional requirements before a code push by running an automated quality gate script. It validates the code against predefined standards, ensuring build integrity and test coverage meet the project's baseline before pushing.

Does the pre-push quality gate work with npm scripts?

The pre-push quality gate works directly with npm scripts to execute linters, type checkers, tests, and build processes. This integration ensures all configured checks run automatically within your existing Node.js development environment.