rtk-tdd

Community

Enforce Rust TDD workflow

Authormartinstannard
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enforces the Test-Driven Development (TDD) methodology for Rust projects, ensuring code quality and maintainability through a strict Red-Green-Refactor cycle.

Core Features & Use Cases

  • TDD Enforcement: Guides developers through the Red-Green-Refactor steps for writing tests before implementation.
  • Idiomatic Rust Testing: Promotes Rust-specific testing patterns like cfg(test), anyhow/thiserror, and Arrange-Act-Assert.
  • Use Case: When writing a new Rust function, this Skill ensures you first write a failing test, then the minimal code to pass, and finally refactor, all while adhering to best practices.

Quick Start

Follow the Red-Green-Refactor steps outlined in the skill to write a new Rust test and its corresponding implementation.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: rtk-tdd
Download link: https://github.com/martinstannard/rtkex/archive/main.zip#rtk-tdd

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.