What problem does it solve?
Inconsistent testing practices lead to undetected bugs, broken deployments, and wasted time. This skill enforces a mandatory, comprehensive testing workflow after every code change.
Core Features & Use Cases
- Mandatory Pre-commit Checks: Ensures
ruff (formatting) and lint (type checking) are run first, catching style and type errors early.
- Tiered Testing: Provides quick mocked tests for rapid iteration and a full parallel test suite for exhaustive validation before deployment.
- Strict Verification: Prohibits claiming "all tests pass" without running the full suite and verifying logs, preventing false positives.
- Failure Isolation: Mandates a
git stash workflow to definitively prove if a test failure is related to your changes or pre-existing.
- Use Case: After modifying any code, use this skill to run
just ruff, just lint, and just test-all-mocked for quick validation. Before marking your task complete, run the full parallel test suite to ensure comprehensive coverage and prevent regressions.
Quick Start
Use the test-runner skill to run ruff, lint, and all mocked tests after your code changes.