TDD Check — Testing skill for Claude Code
Run the full pre-commit verification suite — pytest, ruff, mkdocs build.
How to install TDD Check
Installs to ~/.claude/commands/lazynet-lazy-harness-tdd-check.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/lazynet/lazy-harness/HEAD/.claude/commands/tdd-check.md -o ~/.claude/commands/lazynet-lazy-harness-tdd-check.md Restart Claude Code, or start a new session, for it to be picked up.
What TDD Check does
description: Run the full pre-commit verification suite — pytest, ruff, mkdocs build
You are running the complete verification suite that must pass before any commit in this repo. Run the three checks in sequence, reporting each one's result clearly. If any check fails, stop and report the failure — do not try to fix it automatically.
1. Tests — `uv run pytest`
uv run pytest
Pass criteria: exit code 0, zero warnings, zero deprecation notices, zero skipped tests without
Alternatives in Testing
- Test Runner — Run Python tests with pytest, unittest, or other testing frameworks 23.4k ★
- Test Full — Run the full test suite across all tox environments with coverage enabled 1.1k ★
- Check Package — Run full validation (build + lint + test + typecheck) on a package 1.1k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Fix And Validate
Run the Lancet2 fix-mode validation suite (iwyu-fix + lint-check + test). Mirrors the pre-commit gate's scope
Pre Commit Review
Independent QA review of a working-tree diff before commit. Spawns a read-only reviewer agent to find correctn
Specverify Base
specverify base — Universal verification pass (7 items). Works with any spec format. Runs deterministic pre-ch
Claude Python Setup
A CLAUDE.md template for setting up modern Python development environments with uv, ruff, pytest, and automate
AI Project Template
Unified Python starter for AI projects: classical ML, deep learning, LLM apps, RAG, and agents. uv + Ruff + py
Py Cq
CLI that aggregates ruff, ty, bandit, pytest, radon + 6 more into a single token-efficient LLM prompt. CI gate
Related Agents
Step Coding
Step agent that implements code from the plan using TDD, runs pytest/mypy/ruff, and self-corrects up to 5 time
Verifier Deterministic
Consolidated deterministic verification agent. Executes all tool-driven checks (gitleaks, ruff, pip-audit, pyt
Databricks Test Runner
Runs the Databricks pytest suite and diagnoses failures. Use when the user asks to run the Databricks tests, c