verification-loop

Run build, typecheck, lint, tests, security scans, and diff review for code changes.

1|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/beratcelik1/compound-claude --skill verification-loop-beratcelik1
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: verification-loop
Source: https://github.com/beratcelik1/compound-claude/tree/main/skills/verification-loop
Command: npx skills add https://github.com/beratcelik1/compound-claude --skill verification-loop-beratcelik1

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a repeatable, enforced verification workflow that prevents broken or low-quality code from being merged by running build, type checks, linting, tests, security scans, and diff review before a PR.

Core Features & Use Cases

  • End-to-end verification phases: sequential checks for build, type checking, lint, tests with coverage targets, security greps, and diff inspection to catch regressions and accidental secrets.
  • Enforcement & gating: use before creating a PR or after major changes to ensure quality gates are met and produce a clear pass/fail report with actionable items.
  • Use Case: run after refactoring or feature work to confirm the project builds, types cleanly, meets linting and coverage thresholds, and contains no obvious secret or console leakage before opening a pull request.

Quick Start

Run the verification-loop to perform build, typecheck, lint, tests, security scans, and diff review and return a consolidated verification report.

Frequently Asked Questions about verification-loop

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

FAQPage Schema
How do I run automated pre-PR checks for build, lint, and tests?▼

Automated pre-PR checks run sequential verification phases across build, type checking, linting, tests, security scans, and diff review. This process returns a consolidated pass/fail report with error counts, coverage percentage, and actionable issues to resolve before merging.

How do I prevent accidental secrets or console leakage in code changes?▼

To prevent accidental secrets or console leakage, run security greps and diff inspection during your verification workflow. This catches regressions and hidden secrets before a pull request, producing an actionable list of security issues from the scan phase.

What is the best way to verify code quality after a major refactoring?▼

The best way to verify code quality after refactoring is running an end-to-end verification loop. This confirms the project builds, types cleanly, meets linting and coverage thresholds, and contains no obvious secret leakage before opening a pull request.

Can I enforce quality gates and coverage targets before creating a pull request?▼

You can enforce quality gates and coverage targets before creating a pull request by applying a verification workflow. It executes sequential checks for build, type, lint, tests, and security, returning a clear pass/fail status with actionable items for any unmet thresholds.

Does the verification workflow require external dependencies to run type checking and scans?▼

The verification workflow operates with no external dependencies. It performs build, type checking, lint, tests, security scans, and diff review directly within your Claude Code session to produce pass/fail statuses and error counts.

Why does my code pass local tests but fail the end-to-end verification phases?▼

Code passes local tests but fails end-to-end verification phases because the workflow enforces sequential checks beyond testing, including build, type checking, linting, security greps, and diff inspection, catching regressions or threshold misses local tests ignore.