pre-push

Validate local code quality before pushing to GitHub using Git hooks and Bob CLI/VSCode integration.

Updated Jun 3, 2026
One-click install
npx skills add https://github.com/antigravityos187-sketch/universal-or-strategy --skill pre-push-antigravityos187-sketch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pre-push
Source: https://github.com/antigravityos187-sketch/universal-or-strategy/tree/main/.bob/skills/pre-push
Command: npx skills add https://github.com/antigravityos187-sketch/universal-or-strategy --skill pre-push-antigravityos187-sketch

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires Semgrep, Gitleaks, Snyk, CSharpier, Roslyn analyzers, dotnet, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates and streamlines the code quality assurance process before commits or pushes, helping to maintain code health and compliance with project standards.

Core Features & Use Cases

  • Local Validation: Performs all quality checks on local code before pushing to GitHub.
  • Comprehensive Checks: Scans for non-ASCII characters, V12 DNA compliance, builds, tests, lints, security, and markdown links.
  • Integration with Tools: Works with Git hooks, Bob CLI, and VSCode for seamless integration into various workflows.
  • Use Case: Before making any significant changes, use this Skill to validate your code against project standards, catching issues early.

Quick Start

Run the full pre-push validation script with the following command:

powershell -File .\scripts\pre_push_validation.ps1

Frequently Asked Questions about pre-push

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

FAQPage Schema
How do I run pre-push validation for V12 DNA code quality compliance?

Pre-push validation for V12 DNA compliance is executed by running the powershell validation script. This triggers comprehensive code quality checks for builds, tests, lints, and security vulnerabilities before pushing to GitHub.

What security and linting checks are included in pre-push code validation?

Pre-push code validation includes security vulnerability scanning using Snyk and Gitleaks, alongside linting with Semgrep and Roslyn analyzers. It also checks for non-ASCII characters and markdown link integrity.

Does pre-push validation work with Git hooks and VSCode workflows?

Yes, pre-push validation integrates directly with Git hooks, Bob CLI, and VSCode. This integration allows seamless local validation of V12 DNA coding guidelines during your standard development workflow.

Do I need dotnet and CSharpier installed to run V12 DNA pre-push checks?

Yes, you need dotnet and CSharpier installed because the V12 DNA pre-push checks rely on them for build validation and code formatting. Semgrep, Gitleaks, and Snyk are also required dependencies.

What is the best way to automate code quality checks before pushing to GitHub?

The best way to automate code quality checks before pushing to GitHub is using a pre-push validation script. It scans for non-ASCII characters, security vulnerabilities, and ensures adherence to V12 DNA coding guidelines.

Why does my pre-push validation fail on markdown links and non-ASCII characters?

Pre-push validation fails on markdown links and non-ASCII characters to enforce strict V12 DNA coding guidelines. The validation script scans the repository to catch these issues early before any GitHub push occurs.