verification-loop

Run a deterministic seven-phase verification pipeline for .NET code changes.

224|87|Updated Dec 15, 2018
One-click install
npx skills add https://github.com/Resgrid/Core --skill verification-loop-resgrid
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: verification-loop
Source: https://github.com/Resgrid/Core/tree/main/.opencode/skills/verification-loop
Command: npx skills add https://github.com/Resgrid/Core --skill verification-loop-resgrid

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It prevents broken or risky changes from being completed and merged by enforcing a repeatable verification pipeline that proves build correctness, correctness signals, security posture, formatting compliance, and change scope before acceptance.

Core Features & Use Cases

  • 7-Phase Verification Pipeline: Runs an ordered sequence (build, diagnostics, anti-pattern scan, tests, security scan, format compliance, diff review) with short-circuiting for critical failures.
  • Structured PASS/WARN/FAIL Reporting: Produces explicit phase outcomes with counts and details so results are unambiguous and reviewable.
  • Change-Scoped Detection: Focuses diagnostics and scans on changed files/projects and flags only NEW warnings introduced by the current changes.

Quick Start

Run the full verification loop when you are ready to validate changes by executing the build, diagnostics, anti-pattern scan, tests, security scan, format check, and diff review in order until the overall result is clean.

Frequently Asked Questions about verification-loop

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a .NET pre-PR quality gate to catch build and security issues?

To set up a .NET pre-PR quality gate, run an ordered verification pipeline across build, diagnostics, anti-patterns, tests, security scans, formatting, and diff scope to ensure changes are safe and reviewable before merging.

What is the best way to detect only new warnings introduced by my .NET code changes?

Detect new warnings by running change-scoped diagnostics that focus exclusively on modified files and projects, flagging only newly introduced warnings against a baseline to ensure unambiguous review results.

How does a verification pipeline prevent unrelated file changes from being merged?

A verification pipeline prevents unrelated merges by executing a final diff review phase that explicitly guards against accidental or out-of-scope file modifications, ensuring strict change scope before acceptance.

Does the verification loop support CI failure triage for .NET workflows?

Yes, the verification loop supports .NET CI failure triage by producing structured PASS, WARN, and FAIL reports with explicit phase outcomes and counts, enabling iterative fix-and-retry cycles until changes are clean.

Why does the 7-phase verification pipeline use short-circuiting during execution?

The 7-phase pipeline uses short-circuiting to immediately halt execution upon critical failures in early phases like build or tests, preventing wasted computation on subsequent security scans and formatting checks.

Can I enforce dotnet format compliance automatically before completing a code review?

Yes, you can enforce dotnet format compliance by running the formatting verification phase within the pipeline, which validates code formatting rules and reports non-compliance before changes are accepted for code review.