# Verification Engineering

> Enforce a 4-phase autonomous workflow using deterministic oracles to ensure verified, bug-free code implementations.

Verification Engineering is a free AI agent skill on Agensi by Lone Wolf, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Lone Wolf](https://www.agensi.io/creators/lone-wolf-labs)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Version: 1.1
- Last updated: 2026-11-25
- Security: scan passed (2026-11-25); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/verification-engineering
- Tags: ai-agents, testing, code-review, llm-ops

## About this skill

Software engineering often suffers from "guess-and-check" workflows that lead to regressions and fragile PRs. This skill enforces a rigorous Verification Engineering protocol, moving from context curation to automated oracle loops before a single line of production code is finalized. It eliminates the habit of rushing into implementation by requiring machine-verifiable exit criteria for every change.

### What it does
- **Context Curation** identifies stack boundaries and prunes irrelevant files to minimize context bloat.
- **Oracle Definition** establishes deterministic, machine-verifiable exit criteria using test suites or compilers.
- **Closed-Loop Execution** automates the cycle of incremental implementation and self-correction based on error traces.
- **Invariant Auditing** performs a final check of business logic, security boundaries, and resource cleanup before handoff.
- **Autonomous Troubleshooting** halts and escalates only after four consecutive failed attempts at a specific root cause.

### How it works
1. **Identify stack** and dependencies to map the architectural boundaries of the task.
2. **Define the Oracle** by selecting the strongest available verification tool like `pytest`, `npm test`, or `tsc`.
3. **Execute the loop** by writing code and running the oracle in the terminal until all checks pass.
4. **Audit the diff** for invariants and resource hygiene before delivering the final report.

### Frameworks & tools
Works with any stack providing a CLI-based oracle, including Maven, Gradle, NPM, Pytest, TSC, ESLint, and Ruff. It integrates with existing project conventions and dependency manifests.

### Why this beats prompting it yourself
Standard prompts often lead to "lazy coding" where the agent ignores test failures or deletes assertions to pass. This skill forces a strict four-phase protocol that refuses to finalize work until a deterministic machine check proves the implementation is correct.

### Use cases
- **Bug Fixes** by reproducing failures with new tests and iterating until they pass.
- **Greenfield Setup** by initializing project structures with working build runners first.
- **Refactoring** legacy code while maintaining strict architectural invariants.
- **Feature Development** guided by a "test-first" deterministic plan.

### Known limitations
Requires a workspace with functional terminal access and at least one CLI-based verification tool or compiler. It cannot verify purely visual or subjective UI requirements without a coded oracle.

## Requires

- Git

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Verification Engineering skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does Verification Engineering differ from standard AI coding prompts?

This skill enforces a 4-phase verification protocol that prevents agents from 'lazy coding.' It requires a machine-verifiable oracle (like a test suite or compiler) to pass before work is finalized, ensuring code isn't just written, but proven to work.

### Which programming languages and frameworks are supported?

It is compatible with any stack that uses CLI-based verification tools, such as Maven, Gradle, NPM, Pytest, and TSC. As long as your project has a terminal-executable test or build command, this skill can manage the workflow.

### What are the technical requirements for this skill to function correctly?

The skill requires a workspace environment with functional terminal access and at least one installed verification tool. It cannot autonomously verify subjective UI/UX elements unless there is a coded oracle (like Playwright or Cypress) to provide deterministic feedback.

### What exactly is included in the purchase of this skill?

You receive the specialized skill definition and the architectural protocol that governs the agent's behavior. This includes the logic for the four-phase workflow: Context Curation, Oracle Definition, Closed-Loop Execution, and Invariant Auditing.

### What happens if the agent gets stuck in an infinite loop of failing tests?

The agent follows a strict 'Autonomous Troubleshooting' rule where it will attempt to self-correct based on error traces up to four times. If it cannot resolve the root cause after four consecutive failures, it will halt and escalate to you with a detailed report of its attempts.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
