What does this skill do?

The Skill Code Verification Loop acts as a rigorous quality control gate that verifies code quality before creating a pull request or finalizing a feature. It sequentially runs checks for compilation, types, style, testing, security, and code review, generating a consolidated report with the final verdict and a list of issues to be resolved.

Before Submitting a Pull Request
Run the entire loop to ensure that the code passes all quality checks before merging it.
After a Refactoring
Verify that a large-scale change has not broken types or tests, nor introduced regressions in the codebase.
Long Development Sessions
Run the loop periodically at regular intervals or after a component is completed to keep the repository stable.
Detection of Exposed Secrets
Scan the code for API keys and forgotten debug statements before committing.

Usage examples

🚀 Before a PR
I'm going to create a Pull Request. Run the full code verification loop and send me the report.
🧪 Tests and Coverage
Run the test suite with code coverage and let me know if we exceed the minimum threshold of 80%.
🔐 Security Scan
Scan the code for exposed API keys and forgotten `console.log` statements before committing.
🔄 After refactoring
I just refactored the authentication module. Please check the types, run lint, and make sure there are no unintended changes in the diff.

Features

Compilation Verification Run the project build command and stop the process if there are any build errors.
Checking Fonts and Style Use tools like tsc or pyright for types and the project's linter to detect coding best practices.
Test suite with coverage Runs the tests, reports which ones passed and which ones failed, and provides the coverage percentage with a configurable minimum threshold.
Security Scan Look for exposed secrets and forgotten sanitization statements in the source code.
Consolidated Report Generate a structured report showing the status of each phase and a final verdict of READY or NOT READY for PR.

Frequently asked questions

It works with any language that has a build command, linter, and test suite. The included examples cover TypeScript and Python, but it is language-agnostic.
No. The skill uses the build, lint, and test tools you already have set up in your project (npm, tsc, ruff, pytest, etc.).
Yes. The default threshold is 80%, but you can tell Claude whatever percentage you prefer.
It halts the process, reports critical errors, and includes them in the prioritized list of issues to be resolved in the final report.
Code Verification Loop — Code Quality with Claude AI

¿Prefieres escuchar el contenido? Genera la narración de audio con un clic.