clean-tests

Improves Python pytest unit and integration tests' speed, boundary coverage, and clarity without altering production code.

2|1|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/proven-xyz/proven-app --skill clean-tests
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clean-tests
Source: https://github.com/proven-xyz/proven-app/tree/main/.agents/skills/clean-tests
Command: npx skills add https://github.com/proven-xyz/proven-app --skill clean-tests

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Improves the shape and quality of Python tests around an existing feature or bug, focusing on speed, boundary coverage, and clear test structure rather than test workflow orchestration.

Core Features & Use Cases

  • Use this skill to improve coverage, clarity, and failure isolation of Python tests.
  • Use direct-tests for fast GenLayer contract tests and integration-tests for environment-sensitive flows.
  • This skill complements those workflows by improving coverage, clarity, and failure isolation.

Quick Start

Review and refactor Python tests around an existing feature to improve speed, boundary coverage, and clarity.

Frequently Asked Questions about clean-tests

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

FAQPage Schema
How do I improve Python test clarity and boundary coverage for an existing feature?

To improve Python test clarity and boundary coverage, you can refactor existing pytest unit and integration tests to be fast, self-contained, and maintainable without altering production code.

What is the best way to speed up slow pytest unit and integration tests?

The best way to speed up pytest unit and integration tests is to refactor them for clarity and self-containment, ensuring fast execution and clear failure isolation around the specific feature being tested.

Can I refactor test structures without modifying my production code?

Yes, you can refactor test structures without modifying production code by focusing improvements solely on the test suite, targeting boundary coverage, failure isolation, and maintainability for your Python project.

Does this test refactoring approach work for both unit and integration tests in pytest?

Yes, this test refactoring approach works for both unit and integration tests in pytest, applying improvements to speed, boundary coverage, and clear failure isolation across different test scopes.

When do I need to refactor tests for failure isolation?

You need to refactor tests for failure isolation when your existing Python tests are difficult to debug, ensuring that each test clearly identifies its own boundaries and failures without overlapping dependencies.

Why does my pytest suite lack maintainable test structures?

Your pytest suite might lack maintainable test structures if tests are not self-contained or lack clear boundaries, requiring a refactor to boost speed, boundary coverage, and overall clarity.