en un clic
s3-generate-tests
Generate pytest test suite for a given module
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Menu
Generate pytest test suite for a given module
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Basé sur la classification professionnelle SOC
Audit codebase for consistency issues, anti-patterns, and missing test coverage
Python API coding conventions for this BookStore project. Use when writing or reviewing Python code.
Book publishing domain knowledge including ISBN, BISAC codes, and industry pricing standards.
Read-only mode for exploring code safely. Restricts Claude to read, search, and glob operations only.
Run a security-focused code review identifying vulnerabilities
Explain code using visual ASCII diagrams and analogies
| name | s3-generate-tests |
| description | Generate pytest test suite for a given module |
| disable-model-invocation | true |
| argument-hint | <module-path> |
$ARGUMENTSGenerate a comprehensive pytest test suite for the module at $ARGUMENTS.
!`cat pyproject.toml | grep -A 15 '\[tool.pytest'`
!`ls tests/`
$ARGUMENTS to understand its public APIclass TestFunctionName:
def test_happy_path(self):
# Arrange
input_data = ...
# Act
result = function_name(input_data)
# Assert
assert result == expected
def test_edge_case(self):
...
def test_error_case(self):
with pytest.raises(ValueError):
function_name(bad_input)
class per public function, named TestFunctionName@pytest.fixture for shared setup (especially clearing in-memory stores)@pytest.mark.parametrize for input variantsautouse=True fixtures for store cleanuptests/tests/test_<module_name>.py