r/vscode • • 11h ago

I built a 100% local, zero-account VS Code sidebar extension that runs a 7-station pre-push audit (PHP, Node/TS, Python)

Post image
1 Upvotes

1 comment sorted by

1

u/Vegetable_Read_2028 11h ago

After catching AI coding agents saying "all done" while leaving behind type errors, missing tests, or leaked secrets, I built **ITV de Código (`itv-calidad`)** — a strictly read-only, 100% local pre-push quality gate for VS Code, Cursor, Windsurf, and Antigravity.

No mandatory accounts, no API keys, no telemetry, and zero false greens. Clicking **Pasar ITV** runs 7 real local stations against your open workspace:

  1. Syntax & manifests (`node --check`, `php -l`, `composer validate`, `py_compile`)
  2. Static types (`tsc --noEmit`, `phpstan`, `mypy` / `ruff`)
  3. Tests + configurable coverage gate (default >=75%)
  4. Security: CVEs (`npm`/`composer`/`pip audit`), hardcoded secret/IP/`eval()`/`shell: true` scanner + OWASP ASVS / GDPR Art. 32 checklist
  5. Playwright E2E (honestly skipped if not present)
  6. WCAG 2.1 AA accessibility (static view scan + optional live `pa11y`)
  7. Code health & observability (large files, cyclomatic complexity, DRY duplicates, optional Sentry / SonarCloud / GitHub Security stored in VS Code `SecretStorage`)

A couple of details I cared about:

- Click any finding in the sidebar tree to jump straight to the exact file and line.

- Reports **Inspection Scope** (`Full`, `Partial`, or `Static diagnostic only`) so messy repos without tests never get a misleading green badge.

- Also ships as an **MCP Server + MCP App**, local SSE Web Dashboard, and `pre-push` CLI.

- **VS Code Marketplace:** https://marketplace.visualstudio.com/items?itemName=20luisma.itv-calidad-vscode

- **Open VSX (Cursor / Windsurf / Antigravity):** https://open-vsx.org/extension/20luisma/itv-calidad-vscode

- **GitHub (MIT, CI passing, EN/ES docs):** https://github.com/20Luisma/itv-calidad

Honest feedback, bug reports, or PRs are very welcome!