TDD для фильтров на Rust

testing

tdd-rust is a Claude Code skill that enforces a Red-Green-Refactor TDD workflow for RTK filter development in Rust. It activates on triggers like "new filter", "implement filter", or "fix failing test", then walks through five mandatory steps: writing a failing test against real fixture data, implementing the minimum code to go green, refactoring, asserting ≥60% token reduction, and locking output format with snapshot tests via the insta library. Fixtures are captured from actual commands — git log, cargo test, cargo clippy, gh pr view — and stored under tests/fixtures/ with no synthetic data allowed. The skill also covers wiring the filter into main.rs and a quality gate requiring cargo fmt, cargo clippy, and cargo test to all pass with zero warnings. It suits developers building Rust CLI tools with output filtering who need automated control over compression efficiency.