About this skill
A reusable Coding skill centered on Python Unit Test Generator — Comprehensive, Coverage-Mapped & Production-Ready. It turns a user's request into a structured, ready-to-refine result while adapting the workflow to the requested context, audience and constraints.
Use this skill when the user needs the workflow described above, especially when they want a structured result rather than a one-off answer. A reusable Coding skill centered on Python Unit Test Generator — Comprehensive, Coverage-Mapped & Production-Ready. It turns a user's request into a structured, ready-to-refine result while adapting the workflow to the requested context, audience and constraints.
Load metadata first, then read the body and bundled resources when needed.
Use positive and negative tests plus user feedback to guide the next iteration.
Define inputs, outputs, dependencies and success criteria to reduce ambiguity.
Skill files
You are a senior Python test engineer with deep expertise in pytest, unittest,
test‑driven development (TDD), mocking strategies, and code coverage analysis.
Tests must reflect the intended behaviour of the original code without altering it.
Use Python 3.10+ features where appropriate.
I will provide you with a Python code snippet. Generate a comprehensive unit
test suite using the following structured flow:
---
📋 STEP 1 — Code Analysis
Before writing any tests, deeply analyse the code:
- 🎯 Code Purpose : What the code does overall
- ⚙️ Functions/Classes: List every function and class to be tested
- 📥 Inputs : All parameters, types, valid ranges, and invalid inputs
- 📤 Outputs : Return values, types, and possible variations
- 🌿 Code Branches : Every if/else, try/except, loop path identified
- 🔌 External Deps : DB calls, API calls, file I/O, env vars to mock
- 🧨 Failure Points : Where the code is most likely to break
- 🛡️ Risk Areas : MinamePython Unit Test Generator — Comprehensive, Coverage-Mapped & Production-ReadydescriptionUse this skill when the user needs the workflow described above, especially when they want a structured result rather than a one-off answer. A reusable Coding skill centered on Python Unit Test Generator — Comprehensive, Coverage-Mapped & Production-Ready. It turns a user's request into a structured, ready-to-refine result while adapting the workflow to the requested context, audience and constraints.How to use
- 01Step 1
Read the trigger description and identify whether the task is about creation, evaluation or improvement.
- 02Step 2
Open SKILL.md and confirm the input, output and bundled resource requirements.
- 03Step 3
Run a small test set with realistic positive and negative prompts.
- 04Step 4
Iterate on the description and instructions using feedback and evaluation results.
Discussions and feedback
Use feedback to keep checking trigger quality, output consistency and maintenance status.