Verification Loop Skill

Run build, type, lint, test, security, and diff checks on projects.

Updated Dec 8, 2024
One-click install
npx skills add https://github.com/daehyunpy/my-nix-config --skill verification-loop-skill-daehyunpy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Verification Loop Skill
Source: https://github.com/daehyunpy/my-nix-config/tree/main/home-files/cursor/skills/verification-loop
Command: npx skills add https://github.com/daehyunpy/my-nix-config --skill verification-loop-skill-daehyunpy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill automates the process of verifying code quality and correctness, ensuring that code meets predefined standards before being submitted for review or merged.

Core Features & Use Cases

  • Automated Checks: Runs build, type, lint, and test suites.
  • Security Scanning: Identifies potential security vulnerabilities like exposed secrets or debug statements.
  • Code Review Assistance: Provides a diff review to highlight changes and potential issues.
  • Use Case: Before submitting a pull request for a new feature, run this skill to catch any build errors, type mismatches, linting issues, failing tests, or security concerns, ensuring a cleaner and more robust codebase.

Quick Start

Run the verification loop to check the current codebase.

Frequently Asked Questions about Verification Loop Skill

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

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

Automated code quality checks before a pull request are executed through a multi-phase verification process. This runs build, type, lint, test, security, and diff checks to ensure code readiness for integration.

Can I run type checking and linting for both npm and Python projects?

Type checking and linting for both npm and Python projects are supported through specific tooling. The verification process uses tsc and pyright for types, alongside ruff for Python linting, ensuring cross-ecosystem code quality.

What does a security scan check for in my codebase before merging?

A security scan in your codebase identifies potential vulnerabilities like exposed secrets or debug statements before merging. This prevents sensitive data leaks and ensures a cleaner, more robust integration.

How do I review code diffs for potential issues before a PR review?

Reviewing code diffs for potential issues before a PR is handled by the diff check phase. It highlights changes and flags potential problems, assisting with manual code review and ensuring cleaner submissions.

Does the verification loop work without additional CI/CD pipeline dependencies?

The verification loop works without additional CI/CD pipeline dependencies because it operates as a standalone script. It directly executes build, test, and security checks locally to validate code before integration.