con un clic
s3-generate-tests
Generate pytest test suite for a given module
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Generate pytest test suite for a given module
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional 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