Verification Loop
Six-phase verification of a Claude Code session covering build, types, lint, tests, security, and diff review.
- CCM score
- 69 of 100
- skills.sh installs
- 13.6K
- GitHub stars
- 312.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers build, type check, lint, test suite with coverage, security grep, and diff review, ending in a PASS/FAIL report
- Includes shell commands for npm/pnpm and TypeScript or Python tooling, with
sedoutput limits to avoid SIGPIPE failures - Enforces a hard stop on build failure, an 80% minimum coverage target, and separate reporting of target acceptance
- Designed for checking work after a feature or refactor, before opening a PR, or when quality gates must pass
Install
$ npx -y skills add affaan-m/ecc --skill verification-loop -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Verification Loop Skill
A comprehensive verification system for Claude Code sessions.
When to Use
Invoke this skill:
- After completing a feature or significant code change
- Before creating a PR
- When you want to ensure quality gates pass
- After refactoring
Verification Phases
Phase 1: Build Verification
set -o pipefail # report the build's exit status, not tail's
# Check if project builds
npm run build 2>&1 | tail -20
# OR
pnpm build 2>&1 | tail -20
If build fails, STOP and fix before continuing.
Phase 2: Type Check
set -o pipefail
# TypeScript projects
npx --no-install tsc --noEmit 2>&1 | sed -n '1,30p'
# Python projects
pyright . 2>&1 | sed -n '1,30p'
Report all type errors. Fix critical ones before continuing.
Phase 3: Lint Check
Use sed to limit displayed output while consuming the whole stream. This keeps a
successful linter from failing on SIGPIPE when pipefail is enabled.
set -o pipefail
# JavaScript/TypeScript
npm run lint 2>&1 | sed -n '1,30p'
# Python
ruff check . 2>&1 | sed -n '1,30p'
Details
- Repository
- github.com/affaan-m/ecc
- Categories
- Code Review & Quality, Testing & QA
- First seen
- Jul 14, 2026
Questions
What does the verification-loop skill do?
It runs a six-phase verification of a Claude Code session's work: build, type check, lint, tests with coverage, security grep, and diff review. It then produces a PASS or FAIL verification report that says whether the work is ready for a PR.
When should I use the verification-loop skill?
Invoke it after completing a feature or significant code change, after refactoring, and before creating a pull request. It is also useful whenever quality gates must pass before the work moves on.
How do I install the verification-loop skill?
Run npx -y skills add affaan-m/ecc --skill verification-loop -y in your project. After that, the agent can run the six verification phases and report PASS or FAIL for each.
Where does verification-loop rank in its category?
It is in the Code Review & Quality category and ranks in the top 100 there. Other skills in the category include improve-codebase-architecture, code-review and caveman-review, while this skill focuses on a full build-to-diff verification report.
Does verification-loop check deployed environments?
It reports target acceptance separately from local checks, recording the environment, version and evidence when a deployment check is needed. It does not access production or make external changes without authorization, and local-only tasks are marked not applicable.
More from affaan-m/ecc
All 257- Codebase Onboarding13.6K
- Springboot Tdd13.4K
- Security Scan13.4K
- Django Tdd13.3K
- Deployment Patterns13.3K
- Search First13.3K
- Deep Research13.2K
- Eval Harness13.1K
- Continuous Learning13K
- Cpp Testing13K
- Jpa Patterns13K
- Rust Patterns12.9K
- Kotlin Coroutines Flows12.9K
- Configure Ecc12.9K
- Laravel Tdd12.8K
- Agentic Engineering12.8K
- Clickhouse Io12.7K
- Cost Aware Llm Pipeline12.7K
- Kotlin Patterns12.7K
- Iterative Retrieval12.6K
- Django Verification12.6K
- Nextjs Turbopack12.6K
- Content Engine12.5K
- Springboot Verification12.5K
Similar to Verification Loop
More Code Review & Qualitybuild-loop-claude-codeSkillbuildgreatproducts/builder-os1.7K installsQuality-gated feature loop that builds, reviews, tests, and fixes each task before reporting done.
quarkus-verificationSkillaffaan-m/ecc8.6K installsPhased verification loop for Quarkus services covering build, static analysis, tests, security, and native compilation.
verification-before-completionSkillobra/superpowers288.8K installsPre-completion gate that requires fresh verification command output before any claim of success, fix, or passing tests.
laravel-verificationSkillaffaan-m/ecc11.4K installsVerification loop for Laravel projects that runs env, lint, static analysis, tests, and security gates in order.
isitdonePlugindavepoon/buildwithclaude3.8K starsDon't let Claude say "done" until the tests actually pass. A Stop hook runs the repository's real test, typecheck and lint commands and blocks the turn until th