Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

verification-loop

БесплатноБез исполняемых скриптовНе проверен

Comprehensive 6-check verification framework for validating implementation quality across build, types, lint, tests, security, and diff review. This skill…

mhylleот mhylle★ 20 звёзд на GitHub

Об этом скилле

Verification Loop

Contents

Reference files (open one when a step points to it):

  • references/go.md: Verification commands — Go
  • references/nodejs-typescript.md: Verification commands — Node.js / TypeScript
  • references/python.md: Verification commands — Python
  • references/rust.md: Verification commands — Rust

A systematic 6-check verification framework that validates implementation quality across multiple dimensions: build, types, lint, tests, security, and diff review. Catches issues early, ensures code compiles, type-checks, passes linting, runs tests, has no security issues, and contains no unintended changes.

Terminology: this skill uses "Checks" (Check 1–6). Don't confuse with "Phases" (plan phases) or "Steps" (implement-phase steps).


Design philosophy

Defense in depth — each check catches a different category of issue:

Check Catches Why it matters
Build Syntax errors, missing deps, bundling issues Code must compile to run
Types Type mismatches, null safety, interface violations Type safety prevents runtime errors
Lint Style violations, code smells, potential bugs Consistent, maintainable code
Tests Logic errors, regressions, broken contracts Functional correctness
Security Secrets, debug code, vulnerable patterns Production safety
Diff Unintended changes, scope creep, leftover code Change discipline

Fail fast — checks are ordered by detection speed. Build errors appear in seconds; security scans take longer. Fast checks first provide rapid feedback on common issues.

Project-agnostic — detect project type automatically, apply the matching tooling. Node.js, Python, Go, Rust, and mixed-language projects all work.

Idempotent — running the loop multiple times produces the same result. Each check passes or fails deterministically based on codebase state.


When to use

Automatically invoked by implement-phase as Step 2 (Exit Condition Verification), before integration testing, after implementation subagents complete.

Manually invoked for:

  • Validating changes before committing
  • Checking code quality after refactoring
  • Pre-merge verification
  • Reproducing CI/CD failures locally

Don't use for:

  • Reading or analyzing code (no changes made)
  • Running exploratory tests (use the test runner directly)
  • Checking a single file (use individual tools)

Project type detection

Detect project type first, load the matching reference file, then run the 6 checks with those commands.

Type Primary indicator Reference file
Node.js / TypeScript package.json exists (with tsconfig.json → TypeScript) references/nodejs-typescript.md
Python pyproject.toml or setup.py references/python.md
Go go.mod exists references/go.md
Rust Cargo.toml exists references/rust.md
Mixed / monorepo Multiple indicators Load each relevant reference

Detection logic:

detect_project_type() {
  if [ -f "package.json" ]; then
    if [ -f "tsconfig.json" ]; then echo "typescript"; else echo "nodejs"; fi
  elif [ -f "pyproject.toml" ] || [ -f "setup.py" ]; then echo "python"
  elif [ -f "go.mod" ]; then echo "go"
  elif [ -f "Cargo.toml" ]; then echo "rust"
  else echo "unknown"; fi
}

After detection, only load the matching reference file — don't load all four, that's wasted context.


Check 1 — Build verification

Purpose: ensure the codebase compiles, bundles, and produces valid artifacts.

PASS: build command exits 0, no compilation errors, all artifacts generated, no missing-dependency errors.

FAIL: non-zero exit code, compilation/bundling errors, missing or incomplete artifacts, unresolved deps.

Commands → look up the matching language reference file (references/<lang>.md).

Failure handling: parse the error output → identify root cause (missing import? syntax error? type mismatch?) → spawn fix subagent with error context → re-run build. Max 3 retries.

**Out

Полный SKILL.md на GitHub

Установить verification-loop в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Glob
Bash

Вложенные файлы

references/go.mdreferences/nodejs-typescript.mdreferences/python.mdreferences/rust.md

FAQ

Что делает скилл verification-loop?

Comprehensive 6-check verification framework for validating implementation quality across build, types, lint, tests, security, and diff review. This skill ensures code meets all quality gates before phase completion. Triggers on "verify implementation", "run verification", "/verification-loop", or automatically as part of implement-phase Step 2.

Как установить скилл verification-loop?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл verification-loop запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить verification-loop с