Works with the AI tools you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIGitHub CopilotGitHub CopilotGemini CLIGemini CLI+17 more

    Pytest Bug Fix Proof

    1

    Verify and document Python bug fixes using deterministic pytest execution evidence and regression gating.

    Secure checkout via Stripe

    0 installsSecurity scanned

    See it in action

    You say

    Fix the ZeroDivisionError in tests/test_math.py::test_divide_by_zero and verify it with a regression run of the full math suite.

    Your agent does

    The original failing pytest node was reproduced with exit code 1, a minimal fix was applied, and the same target was revalidated successfully. The required regression run also passed. Final status: PASS. The Pytest Evidence Pack records the execution evidence, changed files, runtime context, status_reason_code: VERIFIED, and a deterministic next_action.

    What you get

    Fix a specific failing pytest node and generate an execution receipt.Ensure a bug fix passes the original target and a related regression target.Document the root cause and minimal diff for a verified repair.Prevent "fake passes" by requiring real process exit codes and node-ID hashes.

    About this skill

    The problem

    Developers often struggle to verify that a bug fix actually works without manual trial and error. Relying on "it looks right" or unchecked test runs leads to regressions and unverified patches in production.

    What it does

    • Reproduces specific pytest failures and records verifiable pre-fix execution data.
    • Enforces a minimal-fix policy by tracking exactly which files changed and why.
    • Verifies repairs by rerunning the original failing tests under identical environment constraints.
    • Runs mandatory regression tests to ensure the fix did not break existing functionality.
    • Generates a Pytest Evidence Pack JSON containing execution receipts, diff summaries, and root cause analysis.

    Frameworks & tools

    Python, pytest, and a specialized pytest_evidence.py collector script.

    Why this beats prompting it yourself

    Generic prompts often hallucinate test passes or skip the critical step of reproducing the failure first. This skill uses a deterministic collector to prove execution, preventing the agent from claiming a fix is successful without real process exit codes and node-ID verification.

    Use cases

    • Repairing a specific failing test case in a legacy Python codebase.
    • Verifying a security patch doesn't break dependent logic via regression testing.
    • Creating an audit trail for bug fixes in regulated or high-stakes environments.
    • Validating PR contributions by requiring structured evidence of a passing test suite.

    Known limitations

    Not for greenfield projects or large refactors. Requires an existing, runnable pytest environment and explicit user trust of the project code and plugins.

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean today

    • One-time purchase, yours forever

    Listed1 day ago
    Updatedtoday

    Frequently Asked Questions