Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Reviews check test code against universal rules to catch over-mocking, duplication, and framework-verifying tests before merge.
32% 82%+50 ptsof test cases passed
Passed 18 of 22 test cases with the skill, and 7 of 22 without it.
This test ran on v1. v2 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
Concrete applications of the nine rules for pytest projects. Read this when reviewing or writing Python tests.
Justified mock targets:
httpx, requests, aiohttp (or use respx / responses instead of raw mocks)openai, anthropic, litellm.completion and friendstmp_path fixture is often better than mocking)time.time, datetime.now, random (prefer freezegun or injected clocks)Unjustified mocks (common agent-generated violations):
MagicMock() standing in for a Pydantic model or dataclass — construct the real thingjson.loads / json.dumps or other stdlib pure functions# Violation: three copy-pasted tests differing by one value
def test_slug_lowercase(): ...
def test_slug_strips_spaces(): ...
def test_slug_handles_unicode(): ...
# Fix
@pytest.mark.parametrize(
("raw", "expected"),
[
("Hello World", "hello-world"),
(" padded ", "padded"),
("Café Menu", "cafe-menu"),
],
)
def test_slugify_normalizes_input(raw, expected):
assert slugify(raw) == expected
Published skills whose descriptions closely match this one, with their benchmark result.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.