Skip to content
Back to skills

Itv Pre Push Gate

ASecurity

Runs a 100% local, read-only 7-station pre-push quality and security gate (syntax, static types, test coverage, dependency CVEs, secret-location checks, OWASP checklist, E2E, WCAG/Flutter accessibility, and code health) on Node/TS, PHP, Python, .NET, Go, or Flutter repositories. Use before git push, opening pull requests, tagging releases, or auditing a repository for SARIF and code quality.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 29, 2026
ai-agentspythonrustgophpbashnodegitsecurity

Works with

  • claude code
  • cursor
  • cli
  • mcp

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned December 4, 2026

npx -y skills add 20Luisma/itv-calidad --skill itv-pre-push-gate --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Itv Pre Push Gate?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Itv Pre Push Gate
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/20luisma-itv-pre-push-gate/badge)](https://www.skillsdirectory.com/skills/20luisma-itv-pre-push-gate)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: itv-pre-push-gate
description: >-
  Runs a 100% local, read-only 7-station pre-push quality and security gate
  (syntax, static types, test coverage, dependency CVEs, secret-location checks,
  OWASP checklist, E2E, WCAG/Flutter accessibility, and code health) on Node/TS,
  PHP, Python, .NET, Go, or Flutter repositories. Use before git push, opening
  pull requests, tagging releases, or auditing a repository for SARIF and code
  quality.
license: MIT
compatibility: Works with Claude Code, OpenAI Codex, Antigravity/Gemini, Cursor, and Windsurf using a locally installed itv-calidad CLI or MCP server.
metadata:
  author: 20Luisma
  repository: https://github.com/20Luisma/itv-calidad
---

# ITV Pre-Push Quality & Security Gate (`itv-calidad`)

Run a deterministic, zero-account, strictly read-only 7-station audit before pushing code, opening a Pull Request, or cutting a release.

## When to Trigger

Apply this skill before:
- Running `git push` to `main` or opening a Pull Request.
- Creating a release tag or preparing a deployment.
- Auditing a repository for static types, test coverage, dependency CVEs, accessibility, or SARIF output.

## Step-by-Step Workflow

### 1. Run the 7-Station Gate (Local Binary or MCP Only)

Prefer the already-configured `itv-calidad` MCP server (`run_itv` tool) when available. Otherwise, invoke the locally installed `itv-calidad` CLI without auto-downloading unpinned packages:

```bash
itv-calidad . --fast --lang en
```

*(If `itv-calidad` is installed as a project devDependency, run `npx --no-install itv-calidad . --fast --lang en`. If neither is installed, ask the user to install a pinned version first, e.g. `npm install -D itv-calidad@1.7.0`. Use `--lang es` for Spanish output.)*

### 2. Enforce the Verdict (Zero False Greens)

- **FAIL / DESFAVORABLE (`exit code != 0`):** **Block the push.** Review the station summary and fix the root cause (syntax, static types, failing tests/coverage, or vulnerable dependencies), then re-run until all mandatory stations pass.
- **Potential secret finding (Station 4):** **Never read, print, or echo any credential or secret value.** Report only the file path and line number emitted by the gate, and instruct the user to move the value to environment variables and rotate the credential.
- **PASS WITH WARNINGS / OBSERVACIONES:** Summarize warnings in one line and ask the user whether to address them before merging or releasing.
- **PASS / APTO:** Proceed with `git push` or Pull Request creation.

### 3. Optional Read-Only Report Formats

- **Markdown evidence report:** `itv-calidad . --fast --markdown > itv-report.md`
- **SARIF 2.1.0 (GitHub Code Scanning):** `itv-calidad . --sarif > itv.sarif`
- **Per-repository config:** reads optional `itv.config.json` (or `.itvrc.json`) for `minCoverage`, `commandTimeoutMs`, `targetUrl`, `lang`, or `skipStations`.

## Strict Rules

- Strictly read-only audit: never modify git hooks, system services, or repository files during inspection.
- Never auto-download unpinned packages or pull remote container images during skill execution.
- Never read, display, or transmit secret values; handle potential credential alerts by file and line reference only.
- Never silence non-zero exit codes or bypass blocking quality/security failures.
- Run only on trusted repositories (Stations 3 and 5 execute the target repository's own test scripts).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.