Test-Driven Development Guide (Rust & SQL)

Community

Write better Rust & SQL with TDD.

Authordanielmichaels
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a rigorous framework for developing robust and maintainable Rust and SQL codebases by emphasizing test-driven development principles. It aims to prevent common pitfalls like brittle tests and implementation-detail coupling.

Core Features & Use Cases

  • TDD Methodology: Guides users through vertical slicing, tracer bullets, and incremental development.
  • Rust-Specific Rules: Details best practices for unit testing, mocking, and asynchronous testing in Rust.
  • SQL-Specific Rules: Outlines how to effectively test SQL queries against a real database (DuckDB) with minimal seed data.
  • Reference Materials: Links to related guides on deep modules, interface design, mocking, refactoring, and test patterns.
  • Use Case: A developer starting a new Rust service needs to implement a data access layer. They can use this Skill to ensure all new database interactions are covered by effective, integration-style tests from the outset.

Quick Start

Follow the practical workflow outlined in the TDD guide to write a single test for a new behavior, then implement the minimal code to pass it.

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: Test-Driven Development Guide (Rust & SQL)
Download link: https://github.com/danielmichaels/knative-dash/archive/main.zip#test-driven-development-guide-rust-sql

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.