lend-ai-testing

Enforce mandatory pre-commit and pre-PR tests with coverage checks.

Updated May 9, 2026
One-click install
npx skills add https://github.com/LeandroBenjaminL/lend-ai --skill lend-ai-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lend-ai-testing
Source: https://github.com/LeandroBenjaminL/lend-ai/tree/main/skills/lend-ai-testing
Command: npx skills add https://github.com/LeandroBenjaminL/lend-ai --skill lend-ai-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pytest, and includes scripts (resource) components.

What problem does it solve?

This Skill enforces a pre-commit/pre-PR testing gate to ensure code quality and maintain high standards before pushing or merging.

Core Features & Use Cases

  • Mandatory Testing: No code is committed without passing tests.
  • Continuous Integration: Tests are automatically run when commits or PRs are made.
  • Coverage Monitoring: Ensures that a minimum coverage level is met.
  • Use Case: Before submitting code changes, this Skill automatically runs tests and checks coverage, requiring fixes before code is accepted.

Quick Start

Run tests for your changes and ensure they pass before committing.

Frequently Asked Questions about lend-ai-testing

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

FAQPage Schema
How do I enforce pre-commit testing and code coverage checks?

To enforce pre-commit testing and code coverage checks, you can use a mandatory testing gate that automatically runs unit tests and verifies coverage thresholds before code is committed or merged.

What is a pre-commit testing gate for continuous integration?

A pre-commit testing gate for continuous integration is an automated quality assurance process that blocks code integration by running unit tests and measuring coverage until all checks pass.

Do I need pytest to set up mandatory pre-PR testing?

Yes, you need pytest or an equivalent testing framework to set up mandatory pre-PR testing, as it is required for executing unit tests and measuring code coverage metrics.

How do I block code commits without passing unit tests?

You can block code commits without passing unit tests by implementing an automated pre-commit hook that requires all tests to succeed and minimum coverage levels to be met before integration.

Can I monitor minimum code coverage levels before merging a pull request?

Yes, you can monitor minimum code coverage levels before merging a pull request by applying a continuous integration gate that measures coverage and requires fixes before code is accepted.

What happens if code coverage falls below the minimum threshold during a commit?

If code coverage falls below the minimum threshold during a commit, the testing gate fails and requires fixes to the code changes before they are accepted for integration into the repository.