verification-loop

Automate end-to-end project verification across builds, type checks, linting, tests, and security scans.

40|8|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/ysyecust/everything-claude-code --skill verification-loop-ysyecust
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: verification-loop
Source: https://github.com/ysyecust/everything-claude-code/tree/main/docs/zh-TW/skills/verification-loop
Command: npx skills add https://github.com/ysyecust/everything-claude-code --skill verification-loop-ysyecust

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

此技能提供端對端的專案驗證流程,確保在 PR 發佈前完成建置、型別檢查、風格與測試等 Quality Gate,降低回歸風險。

Core Features & Use Cases

  • 建置驗證:檢查專案是否能建置,支援 npm/pnpm。
  • 型別檢查:TypeScript 使用 npx tsc --noEmit;Python 使用 pyright 以捕捉型別錯誤。
  • Lint 檢查:TypeScript 使用 npm run lint;Python 使用 ruff check。
  • 測試與覆蓋率:執行帶覆蓋率的測試,目標最低覆蓋率 80%。
  • 安全掃描:檢查金鑰、console.log 等可能的安全風險。
  • 差異審查:顯示變更內容與檔案變更清單,用於審查潛在問題。
  • 輸出報告:生成包含建置、型別、Lint、測試、覆蓋率與差異的驗證報告。

Quick Start

執行驗證工作流程以對當前專案產生驗證報告。

Frequently Asked Questions about verification-loop

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

FAQPage Schema
How do I automate end-to-end code verification for PR readiness?

PR readiness verification automates end-to-end project checks by running builds, type checks, linting, tests, and security scans. This process enforces Quality Gates and generates a comprehensive report to reduce regression risks before merging.

How do I run TypeScript type checking and Python linting before creating a pull request?

TypeScript type checking and Python linting are handled by executing npx tsc --noEmit and ruff check respectively. The verification workflow applies these checks automatically alongside builds and tests to ensure PR readiness.

Can I enforce an 80% test coverage threshold in my CI workflow?

You can enforce an 80% test coverage threshold in your CI workflow. The verification process executes tests with coverage and specifically targets a minimum coverage of 80% to ensure code quality before PR submission.

Does automated security scanning check for hardcoded secrets and console logs?

Automated security scanning does check for hardcoded secrets and console logs. It identifies potential security risks like API keys and debug statements to ensure sensitive data is not exposed in the changelist before PR readiness.

What is the best way to review changelist diffs for potential issues during refactoring?

Reviewing changelist diffs during refactoring is best handled by an automated verification report. It displays changed content and file change lists, highlighting potential issues introduced during feature work or refactoring to ensure PR readiness.

Is multi-language repository verification supported for npm and pnpm projects?

Multi-language repository verification is supported for npm and pnpm projects. The process handles build validation across these package managers and applies appropriate type checking and linting for both TypeScript and Python codebases.