- Home
- Skills
- Agents & Orchestration
- Verification Engineering
Verification Engineering
by Lone Wolf
Enforce a 4-phase autonomous workflow using deterministic oracles to ensure verified, bug-free code implementations.
Free
Verification Engineering
Example session with this skill installed
Fix the NullPointerException in the UserService.findById method. Use the existing JUnit test suite as the oracle.
- Read your context and instructions
- Compiled the verification engineering
I have completed the fix for the NullPointerException in UserService.findById using the Verification Engineering protocol. The issue was caused by an unchecked optional retrieval from the repository.
Verification Report
| Phase | Activity | Result |
|---|---|---|
| Context | Analyzed UserService.java and UserRepository.java | Stack: Spring Boot / Java 17 / Maven |
| Oracle | Selected mvn test -Dtest=UserServiceTest | Established baseline failure (NPE) |
| Execution | Implemented Optional handling and added UserNotFoundException | 2 iterations to align with existing error handler |
| Audit | Verified resource cleanup and git diff invariants | Pass: No debug logs, proper exception propagation |
Implementation Details
public UserDto findById(Long id) {
return userRepository.findById(id)
.map(userMapper::toDto)
.orElseThrow(() -> new UserNotFoundException("User not found with id: " + id));
}
Oracle Execution Proof
$ mvn test -Dtest=UserServiceTest
[INFO] Scanning for projects...
[INFO] Running com.example.service.UserServiceTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0
[INFO] BUILD SUCCESS
Next steps
- Review the new
UserNotFoundExceptionclass for alignment with global API error codes. - Merge the PR and monitor the staging logs for the new exception type.
Connects securely to your tools. The creator never sees your data.
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
- Identify stack and dependencies to map the architectural boundaries of the task.
- Define the Oracle by selecting the strongest available verification tool like
pytest,npm test, ortsc. - Execute the loop by writing code and running the oracle in the terminal until all checks pass.
- 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.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 9 days ago
- Free with an Agensi account
- Software
Git
Permissions
What's inside
Frequently Asked Questions
New in Agents & Orchestration
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.