
Verification loop
Runs build, lint, tests, coverage and diff review before an agent reports a stage done
Verification loop is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 8
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Verification loop
This skill gives an agent a fixed pre-completion routine. Before reporting a build, test or fix stage as passed, the agent works through nine steps: locating the project's own commands, then building, typechecking, linting and formatting, running the full test suite, checking coverage of changed files, regenerating code and confirming the tree stays clean, scanning for secrets and stray files, reviewing the diff against the acceptance criteria, and confirming the commit state. Any failure sends the agent back to the first step.
The guide includes command tables for Go, TypeScript and Python, and it prefers commands defined in a project's own harness, Makefile, package.json or pyproject.toml over the defaults. It also sets strict status rules: a stage passes only when every step succeeded on the current HEAD, fails if the suite cannot be made green, and goes to a human when the environment is broken for reasons unrelated to the change.
The skill expects a git repository and the relevant language toolchain. It refers to a domain harness file and a checks script that the agent may read and run but not edit. The skill also defines a structured report format listing files changed, tests added, commands run and notes.
When your agent uses it
The checks an agent runs before reporting a job stage as done - build, typecheck, lint, tests, coverage of changed code, codegen freshness and a self-review of the diff - plus the report format. Use when finishing any build, test or fix stage, before returning pass.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (5 KB) on GitHub on 2 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the forgeline plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add Nabwinsaud/forgeline
/plugin install forgeline@forgelineOr copy only this skill to ~/.claude/skills/verification-loop:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Nabwinsaud/forgeline.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/verification-loop &&
cp -R "$tmp/skills/verification-loop" ~/.claude/skills/verification-loop &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/verification-loop inside it instead.
Copy the skill folder to ~/.agents/skills/verification-loop to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Nabwinsaud/forgeline.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/verification-loop &&
cp -R "$tmp/skills/verification-loop" ~/.agents/skills/verification-loop &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/verification-loop inside it instead.
Copy the skill folder to ~/.cursor/skills/verification-loop to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Nabwinsaud/forgeline.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/verification-loop &&
cp -R "$tmp/skills/verification-loop" ~/.cursor/skills/verification-loop &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/verification-loop inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/Nabwinsaud/forgeline.git --path skills/verification-loopOr copy the folder to ~/.gemini/skills/verification-loop yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/verification-loop:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Nabwinsaud/forgeline.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/verification-loop &&
cp -R "$tmp/skills/verification-loop" ~/.copilot/skills/verification-loop &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/verification-loop inside it instead.
Get the folder:
git clone --depth 1 https://github.com/Nabwinsaud/forgeline.gitThen copy forgeline/skills/verification-loop into your agent's skills folder as verification-loop. Agents that support SKILL.md read one folder per skill.
What it does
- Staged build and lint checks
- Covers build, typecheck, lint and format commands for Go, TypeScript and Python projects.
- Full test suite and coverage
- Requires running the whole suite and checking coverage of the files that were changed.
- Codegen freshness check
- Regenerates generated code and confirms the working tree is unchanged afterwards.
- Secrets and junk scan
- Looks for leaked credentials, stray build output and unwanted files in the diff.
- Self-review of the diff
- Checks each acceptance criterion against code and tests, and flags debug leftovers and unvalidated input.
- Structured pass report
- Defines a fact-based report of commands run, tests added and status outcomes.
Good for
- Verify my changes build, pass lint and tests before finishing this task
- Check that the test coverage of the files I touched is adequate
- Make sure generated code is up to date before I commit
- Review my diff for leftover debug prints or unhandled errors
- Report whether this build stage passes or needs fixing
Verification loop FAQ
When does Verification loop trigger?
Its description says it applies when finishing any build, test or fix stage, before returning a pass status.
Does Verification loop change my code or the checks script?
It instructs the agent to read and run the project's checks script but not to edit it. The routine itself runs builds, tests and git inspection commands.
Which languages does Verification loop cover?
The command tables cover Go, TypeScript and Python, and it falls back to project-defined commands when those are available.
How do I install Verification loop in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/verification-loop to use it in all your projects, or to .claude/skills/verification-loop in one project. Or install the forgeline plugin, which includes it: /plugin marketplace add Nabwinsaud/forgeline, then /plugin install forgeline@forgeline.
Does Verification loop run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Verification loop?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Verification loop?
The closest alternatives to Verification loop are Vibe pre commit audit, Project review, Verify, Validate skills and Go code review.
Where this comes from
- Description: from the skill's own SKILL.md.
More from Nabwinsaud/forgeline

Gives agents conventions for designing HTTP/JSON endpoints, errors and pagination
- Open source
- 8 GitHub stars
- Developer tools

Records a human approve, reject or retry decision on a paused Forgeline job
- Open source
- 8 GitHub stars
- Developer tools

Gives a read-only reviewer agent a prioritized procedure for checking factory PRs
- Open source
- 8 GitHub stars
- Developer tools

Guides agents through safe Postgres schema changes, backfills and sqlc regeneration
- Open source
- 8 GitHub stars
- Databases

Turns one sentence into a Forgeline job that runs through to a reviewed PR
- Open source
- 8 GitHub stars
- Developer tools

Checks whether your machine and repo are ready to run the Forgeline factory
- Open source
- 8 GitHub stars
- Developer tools





