Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Verification Loop

ASecurity

Runs the full quality gate loop (build, types, lint, tests, secrets scan, diff review) for Node, Python, and Flutter projects and produces a pass/fail report. Use after finishing a feature or refactor, before opening a PR, or whenever a session is about to claim that code is complete.

5 stars
0 votes
0 copies
0 views
Added 9/28/2026
ai-agentspythonbashnodegitapibackend

Works with

api

Security Analysis

A100/100

Scanned 9/28/2026

Install to Claude Code

$npx -y skills add harshadmadaye/OPM --skill verification-loop --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Verification Loop?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Verification Loop
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/harshadmadaye-verification-loop/badge)](https://www.skillsdirectory.com/skills/harshadmadaye-verification-loop)

More formats (shields.io, HTML) on the badges page.

Files
SKILL.md
---
name: verification-loop
description: Runs the full quality gate loop (build, types, lint, tests, secrets scan, diff review) for Node, Python, and Flutter projects and produces a pass/fail report. Use after finishing a feature or refactor, before opening a PR, or whenever a session is about to claim that code is complete.
---

# Verification Loop

Six gates, run in order, each one blocking the next. The output is a report with real numbers,
not a feeling that things are probably fine. `opm:verification-before-completion` decides *whether*
you may claim done; this skill is *how* you gather the evidence.

## When to use

- After completing a feature, bug fix, or refactor.
- Before creating or updating a PR.
- After a long session, every major task boundary.
- When a plan task's `verify` step says "full verification".

## Step 0: Detect the stack

| Signal | Stack | Package manager / runner |
|---|---|---|
| `pnpm-lock.yaml` | Node | pnpm |
| `yarn.lock` | Node | yarn |
| `bun.lock` or `bun.lockb` | Node | bun |
| `package-lock.json` or plain `package.json` | Node | npm |
| `pyproject.toml` + `uv.lock` | Python | uv (`uv run <tool>`) |
| `pyproject.toml` / `requirements.txt` without uv | Python | venv / plain tools |
| `pubspec.yaml` | Flutter or Dart | `flutter` / `dart` |

A repo can hold more than one stack (monorepo, Flutter app with a Python backend). Run the loop per stack.

## Command table

| Gate | Node (npm / pnpm / yarn / bun) | Python (uv) | Flutter / Dart |
|---|---|---|---|
| Build | `<pm> run build` | `uv build` (packages) or skip | `flutter build <target> --debug` or skip for libraries |
| Types | `npx tsc --noEmit` | `uv run pyright` or `uv run mypy .` | covered by `dart analyze` |
| Lint | `<pm> run lint` | `uv run ruff check .` and `uv run ruff format --check .` | `dart analyze` (fails on errors; treat warnings as failures if `analysis_options.yaml` says so) |
| Tests | `<pm> test` (`bun test` for native runner) | `uv run pytest` | `flutter test` (`dart test` for pure Dart) |
| Coverage | `<pm> test -- --coverage` / `bun test --coverage` | `uv run pytest --cov=<pkg> --cov-report=term-missing` | `flutter test --coverage` |

`<pm>` is `npm`, `pnpm`, `yarn`, or `bun`. Without uv, drop the `uv run` prefix and use the active venv.

## The six gates

### 1. Build
Run the build command and read the tail of the output. A failed build stops the loop: fix it first.
Libraries without a build step pass this gate by default; say so in the report.

### 2. Types
Run the type checker. Zero errors is the bar for code you touched. Pre-existing errors elsewhere
are reported with a count, not silently accepted.

### 3. Lint
Run the linter and formatter check. Fix what you introduced. Do not disable rules to get green;
if a rule is wrong for the project, that is a separate change with its own justification.

### 4. Tests
Run the full suite for the affected stack, not just the tests you wrote. Record totals:
passed, failed, skipped, and coverage percentage if the project measures it. Any new `skip` or
`only` markers must be explained.

### 5. Secrets and debug residue
Scan the diff, not the whole repo, so pre-existing noise does not hide new problems:

```bash
git diff --cached --name-only | xargs grep -nE \
  '(sk-[A-Za-z0-9]{20,}|AKIA[0-9A-Z]{16}|ghp_[A-Za-z0-9]{36}|-----BEGIN (RSA|EC|OPENSSH) PRIVATE KEY|api[_-]?key\s*[:=]\s*["'\''][^"'\'']{8,})' 2>/dev/null
git diff --cached | grep -nE '^\+.*(console\.log|debugPrint\(|print\(|breakpoint\(\)|pdb\.set_trace)' 
git diff --cached --name-only | grep -E '(^|/)\.env($|\.)' 
```

Any hit is a finding. A real secret means: stop, remove it, treat it as exposed, rotate it.

### 6. Diff review
```bash
git diff --stat
git diff
```
Read every changed hunk once, as a reviewer would. Look for: files you did not mean to touch,
missing error handling on new paths, unhandled edge cases, leftover TODOs that should be issues,
and changes that widen scope beyond the task.

## Report format

```
VERIFICATION REPORT
===================
Stack:     node (pnpm) | python (uv) | flutter
Build:     PASS | FAIL | N/A
Types:     PASS | FAIL  (N errors, M pre-existing)
Lint:      PASS | FAIL  (N errors, M warnings)
Tests:     PASS | FAIL  (X passed, Y failed, Z skipped, C% coverage)
Secrets:   PASS | FAIL  (N findings)
Diff:      N files, +A/-D lines, reviewed

Overall:   READY | NOT READY

Findings:
1. <gate>: <what>, <where>, <planned fix or why accepted>
```

Every line must come from a command that was actually run in this session. If a gate could not
be run (tool missing, no network), write `NOT RUN: <reason>` rather than PASS.

## Continuous mode

On long sessions, run gates 2-4 at each natural checkpoint (function done, component done, task
done) and the full loop at task boundaries. Fast feedback keeps the fix small.

## Related skills

- `opm:verification-before-completion` - the rule that no completion claim is made without this evidence.
- `opm:tdd-workflow` - produces the tests that gate 4 runs.
- `opm:executing-plans` - calls this loop at the end of each plan.

<!-- Adapted from affaan-m/ecc (MIT) -->

Attribution

harshadmadayeharshadmadaye
View sourceMore from harshadmadaye →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Ultra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".

1074701 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

695601 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3351 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

691 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →