verification-loop_skill

This skill executes a comprehensive 6-check verification loop to ensure build, type safety, lint, tests, security, and diff review before completion.
  • Python

9

GitHub Stars

1

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill mhylle/claude-skills-collection --skill verification-loop

  • SKILL.md28.4 KB

Overview

This skill implements a comprehensive 6-check verification framework to validate implementation quality across build, types, lint, tests, security, and diff review. It runs deterministically, detects project type automatically, and acts as a pre-merge or implement-phase gate. The goal is to catch issues early and ensure code meets quality gates before proceeding.

How this skill works

The verification loop auto-detects the project type (Node/TypeScript, Python, Go, Rust, or mixed) and selects appropriate commands for each check. It runs checks in a fail-fast order: build, types, lint, tests, security, and diff review, parsing outputs and producing structured pass/fail results. For failures it extracts precise error context, optionally spawns targeted fix subagents, retries up to a configurable limit, and re-runs checks to confirm fixes.

When to use it

  • Automatically as implement-phase Step 2 (exit condition verification)
  • Before integration testing or merging feature branches
  • Validating changes before committing or CI runs
  • After refactors to ensure no regressions
  • Not for read-only analysis or single-file exploratory checks

Best practices

  • Run the loop locally before opening a PR to reduce CI friction
  • Prefer project-local tooling (poetry/pdm, npm/yarn/pnpm) to match CI behavior
  • Allow the loop to auto-fix mechanical lint issues before failing
  • Configure sensible coverage and lint thresholds in project config
  • Use the diff check to prevent accidental or out-of-scope changes

Example use cases

  • Pre-merge verification to block broken or insecure changes
  • CI implement-phase exit condition to gate progress to integration testing
  • Local developer workflow to catch build, type, or lint failures early
  • Post-refactor validation to ensure types and tests still pass
  • Security pre-release scan to detect secrets or vulnerable dependencies

FAQ

The framework parses error output, categorizes the root cause, may spawn a focused fix subagent, retries the check up to three times, and escalates to a user if unresolved.

How does project detection work?

It scans for standard indicators (package.json, pyproject.toml, go.mod, Cargo.toml, lockfiles) and selects commands and package manager tooling accordingly.

Can I run only a subset of checks?

Yes. The skill supports running individual checks (build, types, lint, tests, security, diff) for faster feedback when appropriate.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational