tdd-rust

Executes a TDD loop for Rust-based RTK filter development with real fixtures and snapshot testing.

Updated Jul 4, 2026
One-click install
npx skills add https://github.com/ssmleo/govfolio --skill tdd-rust-ssmleo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-rust
Source: https://github.com/ssmleo/govfolio/tree/main/.agents/skills/tdd-rust
Command: npx skills add https://github.com/ssmleo/govfolio --skill tdd-rust-ssmleo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill implements a robust test-driven development workflow for Rust, enhancing code quality and reducing errors.

Core Features & Use Cases

  • Test-Driven Development: Enforces a Red-Green-Refactor process for Rust filters.
  • Real Fixtures: Captures real-world output to test, improving reliability.
  • Token Savings Assertions: Ensures 60% token savings, improving efficiency.
  • Snapshots Tests: Automates format locking and comparison of test outcomes.
  • Use Case: Streamline the development of RTK filters in Rust by using this skill to manage testing, code formatting, and performance metrics.

Quick Start

Set up TDD for your new Rust filter with tdd-rust setup new_filter MyNewFilter --token savings=60%.

Frequently Asked Questions about tdd-rust

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce test-driven development for Rust filter development?

You can enforce test-driven development for Rust filter development by executing a predefined Red-Green-Refactor loop that validates implementations against real fixtures and automates format locking using snapshot testing.

How do I automate snapshot testing for Rust filters?

Automate snapshot testing for Rust filters by capturing real-world output as fixtures and locking the format during the refactor phase to maintain code quality and adhere to Rust best practices.

How do I measure token savings in Rust RTK filter implementations?

Measure token savings in Rust RTK filter implementations by running assertions that validate a 60% token reduction efficiency, ensuring the filter development process improves overall performance metrics.

What is the best way to set up TDD for a new Rust filter?

Set up TDD for a new Rust filter by initializing the workflow with a command like `tdd-rust setup new_filter MyNewFilter --token savings=60%` to manage testing and performance metrics from the start.

Can I use real-world fixtures for Rust test automation?

Yes, you can use real-world fixtures for Rust test automation by capturing actual output data to test filter implementations, which improves reliability throughout the Red-Green-Refactor cycle.