validation

Run Black, mypy, flake8, coverage, performance, and security checks.

25|2|Updated Oct 26, 2025
One-click install
npx skills add https://github.com/matteocervelli/llms --skill validation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: validation
Source: https://github.com/matteocervelli/llms/tree/main/.claude/skills/validation
Command: npx skills add https://github.com/matteocervelli/llms --skill validation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pytest, black, mypy, flake8, pip-audit, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a final, systematic quality gate for implemented features, ensuring code quality, test coverage, performance, and security, and verifying that all standards and requirements are met before marking work complete or deploying.

Core Features & Use Cases

  • Automated Quality Checks: Runs Black, mypy, and flake8 to enforce coding standards and identify style or type errors.
  • Comprehensive Test & Coverage Validation: Verifies the test suite passes and meets coverage targets (e.g., 80%+), identifying any untested code paths.
  • Performance & Security Assessment: Benchmarks performance against defined criteria and scans for security vulnerabilities in dependencies (e.g., with pip-audit).
  • Use Case: Before creating a pull request for a completed feature, use this skill to generate a full validation report, confirming all quality, performance, and security checks pass, and that all requirements are fulfilled.

Quick Start

Run a full validation check on the current feature, including code quality, tests, coverage, performance, and security.

Frequently Asked Questions about validation

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

FAQPage Schema
How do I validate code quality and test coverage before submitting a pull request?

Code quality validation runs automated checks with Black, mypy, and flake8 to enforce standards, verifies test suite passes and meets coverage targets (e.g., 80%+), and scans for security vulnerabilities. This ensures all requirements and quality gates are satisfied before PR submission.

What does a comprehensive validation check include?

A validation check systematically verifies code quality standards, test coverage thresholds, performance benchmarks against defined criteria, and security vulnerabilities in dependencies. It generates a full report confirming all checks pass and acceptance criteria are met.

Can I use this to automate security and dependency scanning?

Yes. The validation process includes security assessment via pip-audit to scan for vulnerabilities in dependencies, running alongside code quality and coverage checks as part of an automated pre-deployment or pre-PR gate.

When should I run validation checks in my development workflow?

Run validation after completing feature implementation, before creating a pull request, and before deployment. It serves as a final quality gate to confirm all standards, requirements, and compliance checks pass systematically.

Does validation work with Python testing frameworks like pytest?

Yes. Validation integrates with pytest to verify test suite execution and coverage thresholds, combined with Black for formatting, mypy for type checking, and flake8 for linting to enforce comprehensive coding standards.

What happens if validation checks fail?

Validation identifies which quality, coverage, performance, or security checks failed—such as uncovered code paths, type errors, style violations, or dependency vulnerabilities—so you can fix issues before marking work complete or deploying.