Testing
Python Unit Test Generator
Generate high-quality Python unit tests using pytest, organized with the Given/When/Then (GWT) pattern. Invoke this skill whenever a user wants to create, generate, write, or add Python tests for any code — functions, classes, services, APIs, or modules. Trigger on requests like "write tests for this", "generate unit tests", "add test coverage", "create pytest tests", "test this function", "I need tests for my Python code", "write GWT tests", or "help me test this class". Also use this skill when the user pastes Python code and asks for tests, asks how to test something, wants to improve existing test coverage, or needs tests for edge cases, error handling, or validation logic. Even if the user doesn't say "GWT" or "Given/When/Then", use this skill for any Python test generation request.