Verification Loop Skill

Execute multi-phase verification of builds, types, tests, security, and diffs.

1|Updated Oct 14, 2023
One-click install
npx skills add https://github.com/walterfan/lazy-ai-primer --skill verification-loop-skill-walterfan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Verification Loop Skill
Source: https://github.com/walterfan/lazy-ai-primer/tree/main/assets/skills/verification-loop
Command: npx skills add https://github.com/walterfan/lazy-ai-primer --skill verification-loop-skill-walterfan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates and standardizes the process of verifying code quality, build status, test coverage, and security before submitting a Pull Request, reducing the risk of introducing bugs or vulnerabilities.

Core Features & Use Cases

  • Multi-Phase Verification: Executes a series of checks including build, type checking, linting, testing, security scans, and diff review.
  • Clear Pass/Fail Status: Provides a concise report indicating whether the code meets quality gates.
  • Continuous Mode: Offers guidance for running verification checks periodically during long development sessions.
  • Use Case: After completing a new feature, you can run this skill to get an immediate assessment of your code's readiness for review, ensuring all automated checks pass and highlighting any potential issues.

Quick Start

Run the verification loop to check the current code.

Frequently Asked Questions about Verification Loop Skill

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

FAQPage Schema
How do I automate code quality checks before submitting a pull request?

To automate code quality checks before a pull request, run a multi-phase verification process that validates build success, type correctness, linting, test coverage, and security vulnerabilities to ensure all quality gates are met.

What is included in a comprehensive pre-commit verification loop for software development?

A comprehensive pre-commit verification loop includes build validation, type checking, code style adherence, test suite execution with coverage, security scans for secrets and console logs, and code diff analysis.

Can I run security scans and linting checks together during continuous development?

Yes, you can run security scans and linting together during continuous development using a continuous mode, which offers guidance for running verification checks periodically throughout long development sessions.

Does the verification process detect exposed secrets and console logs in code diffs?

Yes, the verification process detects security vulnerabilities including exposed secrets and console logs by analyzing code diffs before commits to ensure quality gates are met and prevent vulnerabilities.

What's the best way to ensure type correctness and build success before committing code?

The best way to ensure type correctness and build success before committing is executing a multi-phase verification process that validates builds, checks types, and provides a clear pass or fail status report.

Why do I need a multi-phase verification process instead of just running tests?

You need a multi-phase verification process because testing alone misses build failures, type errors, linting violations, and security vulnerabilities, which this process catches before pull requests to reduce bug risks.