agentleFS
cloudnative-cocloudnative-co/claude-code-starter-kit/skills/verification-loop/SKILL.md

verification-loop

Skill153 starsChanged 8 months agoMITView on GitHub

Comprehensive verification system for Claude Code sessions. Use after implementation to validate correctness.

84 other projects use a version of this, 64 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use everything-claude-code, everything-claude-code-conventions and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • InfopibeSkill

    everything-claude-code

    Also in 10 projects that use this

  • mryeastcodeSkill

    everything-claude-code-conventions

    Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

    Also in 8 projects that use this

  • InfopibeSkill

    investor-materials

    Create and update pitch decks, one-pagers, investor memos, accelerator applications, financial models, and fundraising materials. Use when the user needs investor-facing documents, projections, use-of-funds tables, milestone plans, or materials that must stay internally consistent across multiple fundraising assets.

    Also in 25 projects that use this

  • niloykumarbarmanSkill

    agent-sort

    Build an evidence-backed ECC install plan for a specific repo by sorting skills, commands, rules, hooks, and extras into DAILY vs LIBRARY buckets using parallel repo-aware review passes. Use when ECC should be trimmed to what a project actually needs instead of loading the full bundle.

    Also in 8 projects that use this

  • tpavanipradeepSkill

    nextjs-turbopack

    Next.js 16+ and Turbopack — incremental bundling, FS caching, dev speed, and when to use Turbopack vs webpack.

    Also in 15 projects that use this

  • CodeWithBehnamSkill

    dmux-workflows

    Multi-agent orchestration using dmux (tmux pane manager for AI agents). Patterns for parallel agent workflows across Claude Code, Codex, OpenCode, and other harnesses. Use when running multiple agent sessions in parallel or coordinating multi-agent development workflows.

    Also in 17 projects that use this

  • +1 more from Infopibe

The file

We split this skill into the rules it gives an agent

12 rules. 5 are common, 3 are distinctive, and 4 are very specific to this project.

  • 5

    Common

    Most of the 78 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Common:

    After completing a feature or significant code change

    line 14
  2. Common:

    Before creating a PR

    line 15
  3. Common:

    When you want to ensure quality gates pass

    line 16
  4. Very specific:

    Check that the project builds.

    line 24
  5. Common:

    If the build fails, STOP and fix before continuing.

    line 26
  6. Very specific:

    Run the project's type checker if it has one.

    line 29
  7. Very specific:

    Run the project's linter. Examples: npm run lint, ruff check ., shellcheck.

    line 34
  8. Very specific:

    Run the project's test suite, with coverage if available.

    line 37
  9. Distinctive:

    Check for leaked secrets in the changes:

    line 46
  10. Distinctive:

    If a dedicated scanner is available (gitleaks, trufflehog), use it.

    line 47
  11. Common:

    After running all phases, produce a verification report:

    line 67
  12. Distinctive:

    If you need periodic automated re-verification, use a hook or the /loop command.

    line 91

“Common” is measured: kept by at least 6 in 10 of the 78 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

Pick the right command for each phase from the project's own configuration (package.json scripts, Makefile, CI workflow, etc.). The commands below are examples, not prescriptions. Summarize long output instead of pasting it verbatim.

Phase 1: Build Verification

Check that the project builds. Examples: npm run build, cargo check, go build ./..., shellcheck -S warning *.sh.

If the build fails, STOP and fix before continuing.

Phase 2: Type Check

Run the project's type checker if it has one. Examples: npx tsc --noEmit (TypeScript), pyright . or mypy . (Python).

Report all type errors. Fix critical ones before continuing.

Phase 3: Lint Check

Run the project's linter. Examples: npm run lint, ruff check ., shellcheck.

Phase 4: Test Suite

Run the project's test suite, with coverage if available. Examples: npm test -- --coverage, pytest --cov, bash tests/run-unit-tests.sh.

Report:

  • Total tests: X
  • Passed: X
  • Failed: X
  • Coverage: X% (against the project's target)

Phase 5: Security Scan

Check for leaked secrets in the changes:

  • If a dedicated scanner is available (gitleaks, trufflehog), use it.
  • Otherwise, follow the bundled security-review skill.
  • At minimum, review the added lines of git diff for credentials, tokens, and keys. Do not report PASS based on a repository-wide grep.

Also check for leftover debug output (e.g., console.log, print) in the changed files.

Phase 6: Diff Review

# Show what changed
git diff --stat
git diff HEAD~1 --name-only

Review each changed file for:

  • Unintended changes
  • Missing error handling
  • Potential edge cases

Output Format

After running all phases, produce a verification report:

VERIFICATION REPORT
==================

Build:     [PASS/FAIL]
Types:     [PASS/FAIL] (X errors)
Lint:      [PASS/FAIL] (X warnings)
Tests:     [PASS/FAIL] (X/Y passed, Z% coverage)
Security:  [PASS/FAIL] (X issues)
Diff:      [X files changed]

Overall:   [READY/NOT READY] for PR

Issues to Fix:
1. ...
2. ...

Integration with Hooks

This skill complements PostToolUse hooks but provides deeper verification. Hooks catch issues immediately; this skill provides comprehensive review. If you need periodic automated re-verification, use a hook or the /loop command; instructions in this skill body cannot schedule themselves.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.