verification-loop

Solid

Pre-commit verification with lint, type-check, tests, and security scan

AI & Automation 17 stars 4 forks Updated today MIT

Install

View on GitHub

Quality Score: 86/100

Stars 20%
42
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Verification Loop Run all quality gates before committing or creating a PR. ## When to Use - Before any git commit - Before creating a pull request - After completing implementation (before marking done) - When asked to "verify" or "check everything" ## Procedure ### Step 1: Detect Project Type Identify available tools from project files: - `package.json`: npm/yarn scripts (lint, typecheck, test) - `pyproject.toml` / `setup.py`: Python tooling (ruff, mypy, pytest) - `go.mod`: Go tooling (golangci-lint, go vet, go test) - `Cargo.toml`: Rust tooling (clippy, cargo test) ### Step 2: Run Quality Gates Execute in order (stop on CRITICAL): | Gate | Command (detect per project) | Severity | |------|------------------------------|----------| | Lint | eslint, ruff, golangci-lint | HIGH | | Type Check | tsc --noEmit, mypy, go vet | HIGH | | Tests | jest, pytest, go test | CRITICAL | | Security | npm audit, pip-audit, cargo audit | CRITICAL | | Coverage | jest --coverage, pytest --cov | HIGH | ### Step 3: Report Results ``` Verification: {project name} Lint: PASS | FAIL ({count} issues) Types: PASS | FAIL ({count} errors) Tests: PASS | FAIL ({pass}/{total}) Security: PASS | FAIL ({count} vulnerabilities) Coverage: {percent}% (target: 80%) Verdict: READY TO COMMIT | BLOCKED ({reason}) ``` ### Step 4: Actionable Fixes For each failure, provide: ``` {gate} FAIL: {file}:{line} - {error messa...

Details

Author
mshadmanrahman
Repository
mshadmanrahman/pm-pilot
Created
5 months ago
Last Updated
today
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category