pytest-gen
Installation
SKILL.md
Pytest Generation Skill
When generating tests, follow this structure.
Test Organization
- Group tests by function under test
- Use
@pytest.mark.parametrizefor multiple inputs - Use fixtures for shared setup
- Follow arrange/act/assert pattern
Coverage Requirements
- Happy path (expected usage)
- Edge cases (empty strings, None, boundary values)
- Error cases (invalid input, file not found, wrong types)
- Integration (functions working together)
Template
Related skills
More from github/copilot-cli-for-beginners
code-checklist
Team code quality checklist - use for checking Python code quality, bugs, security issues, and best practices
3commit-message
Generate conventional commit messages - use when creating commits, writing commit messages, or asking for git commit help
2hello-world
A minimal skill example - use when learning the skill format
1