๐Ÿงช
QualityRust

TDD Rust

by rtk-ai

TDD Rust is a Quality skill for Claude Code, published by rtk-ai in rtk.

75.9K stars4.8K forkson rtk-ai/rtkAdded 2026/08/13Repository updated 2026/08/13
agentic-codingai-codinganthropicclaude-codeclicommand-line-toolcost-reductiondeveloper-toolsllmopen-sourceproductivityrusttoken-optimization
Install in seconds
Install TDD Rust
Copy TDD Rust into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/rtk-ai/rtk/tree/develop/.claude/skills/tdd-rust ~/.claude/skills/tdd-rust

Requires Node.js. Downloads this skill only โ€” not the rest of the repository โ€” into your Claude Code skills folder.

Without Node.js

git clone https://github.com/rtk-ai/rtk.git

Clones the whole repository, then copy the skillโ€™s own directory into your skills folder yourself.

In this catalog

Source file
.claude/skills/tdd-rust/SKILL.md in rtk-ai/rtk
Installs to
~/.claude/skills/tdd-rust
Collection
One of 12 skills cataloged from this repository
Category
Quality โ€” 1354 skills

What TDD Rust does

TDD Rust guides Red-Green-Refactor development of RTK filters in Rust, using real command fixtures, token savings assertions, and insta snapshot tests. Use it when implementing new filter commands to enforce quality and output stability.

TDD Rust is cataloged under Quality on DirSkills. TDD Rust comes from a repository tagged agentic-coding, ai-coding, anthropic, claude-code and cli.

Documentation

README

RTK TDD Workflow

Enforce Red-Green-Refactor for all RTK filter development.

The Loop

1. RED   โ€” Write failing test with real fixture
2. GREEN โ€” Implement minimum code to pass
3. REFACTOR โ€” Clean up, verify still passing
4. SAVINGS โ€” Verify โ‰ฅ60% token reduction
5. SNAPSHOT โ€” Lock output format with insta

Step 1: Real Fixture First

Never write synthetic test data. Capture real command output:

This is the opening of the README. Read the full README on GitHub.

Frequently asked about TDD Rust

  • What else does rtk-ai publish alongside TDD Rust?

    TDD Rust is one of 12 skills that DirSkills catalogs from rtk-ai/rtk, the repository it ships in. Its siblings there include Code Simplifier, Issue Triage and PR Review. Each one is a separate skill with its own page in this directory, installs the same way TDD Rust does, and is maintained by rtk-ai in that same repository. The rest of the collection is listed on the rtk-ai/rtk page.

  • How does TDD Rust compare to other Quality skills?

    TDD Rust ranks #41 by stars among the 1354 Quality skills in this catalog. The most-starred ones next to it are Benchmark, Benchmark Optimization Loop and API Design Patterns. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of TDD Rust against them. Open each page to compare what they document and how they install.

More from rtk-ai/rtk

TDD Rust is one of 12 skills cataloged on DirSkills from rtk-ai/rtk.

See all 12 skills โ†’
๐Ÿงน
3w ago

Code Simplifier

Code Simplifier reviews Rust code for idiomatic simplification patterns, reducing over-engineering and unnecessary allocations without changing behavior. Use it to apply Rust idioms like iterator chains, early returns, and Option/Result chaining while respecting project constraints.
Quality
75.9K4.8K
๐Ÿ”
3w ago

Issue Triage

Issue Triage audits open issues, categorizes them, detects duplicates, cross-references pull requests, assesses risk, and posts comments. Use it to triage issues manually or proactively when many open issues need attention.
Automation
75.9K4.8K
๐Ÿ”
3w ago

PR Review

PR Review batches open pull requests in order of complexity, checks merge readiness (conflicts, CLA, reviews), reads diffs, and asks for explicit approval before merging. It also posts comments on blocked PRs.
Quality
75.9K4.8K
๐Ÿ”
3w ago

PR Triage

PR Triage audits open pull requests, flags risks, and helps choose which PRs need deeper review. It can draft and post review comments, with language handling for French or English.
Quality
75.9K4.8K
โฑ๏ธ
3w ago

Performance

Performance analyzes RTK CLI startup time, memory usage, and token savings to detect and fix performance regressions. Use it after filter changes, dependency additions, or before release to verify the CLI meets <10ms startup, <5MB memory, and 60-90% token savings targets.
Quality
75.9K4.8K
๐Ÿงช
3w ago

RTK TDD

RTK TDD enforces a Red-Green-Refactor test-driven development workflow for Rust projects, auto-triggering on implementation, testing, refactoring, and bug fixing tasks. It provides Rust-idiomatic testing patterns using anyhow/thiserror, cfg(test), and Arrange-Act-Assert.
Quality
75.9K4.8K