{"enrichment":{"faq":[{"a":"rtk-tdd is an Apache-2.0 licensed skill that enforces the red-green-refactor cycle for Rust development. It automatically guides you through failing tests, minimal implementations, and refactoring phases, ensuring TDD discipline throughout your Rust projects while maintaining idiomatic patterns.","q":"What is rtk-tdd and how does it enforce test-driven development?"},{"a":"rtk-tdd teaches you to write failing tests before implementation using Rust-idiomatic patterns. Start with Arrange-Act-Assert structure in cfg(test) modules, use anyhow/thiserror for error handling tests, and follow rtk-tdd's guidance through the red phase (failing test), green phase (minimal implementation), and refactor phase.","q":"How do I write rust tests first in the rtk-tdd workflow?"},{"a":"rtk-tdd provides Rust-idiomatic testing patterns including cfg(test) module setup, Arrange-Act-Assert workflows, proper test naming conventions, and error handling patterns using anyhow/thiserror. It covers unit test organization, edge case testing, and bug-fix TDD approaches aligned with Rust best practices.","q":"What rust testing patterns does rtk-tdd recommend?"},{"a":"rtk-tdd automates the red-green-refactor methodology by guiding you to write failing tests first, then implement minimal code to pass them, then refactor safely. It integrates with cargo test automation to validate each phase and ensures you follow this cycle consistently across your Rust projects.","q":"How does rtk-tdd implement the red-green-refactor cycle?"},{"a":"Yes, rtk-tdd supports pre-commit quality gates to enforce code quality in Rust projects. These gates ensure tests pass, code follows idiomatic patterns, and TDD discipline is maintained before commits, helping your team maintain consistent testing standards.","q":"Can rtk-tdd set up pre-commit quality gates for my Rust code?"},{"a":"rtk-tdd integrates cargo test automation into your TDD workflow, automating test execution across the red-green-refactor cycle. It helps you structure tests properly, organize test modules with cfg(test), and maintain efficient cargo-based testing practices throughout development.","q":"What cargo automation does rtk-tdd provide for testing workflows?"}],"shadow_tags":["test-first-development","cycle-based-workflow","rust-testing-patterns","assertion-strategies","error-path-validation","code-quality-gates","refactoring-discipline","test-organization"],"summary_rewrite":"rtk-tdd enforces the red-green-refactor cycle for Rust development, automatically guiding you through failing tests, minimal implementations, and refactoring phases. It provides Rust-idiomatic testing patterns using anyhow/thiserror, cfg(test) modules, and Arrange-Act-Assert workflows, with pre-commit gates ensuring code quality."},"files":[{"bytes":3009,"path":".claude/skills/rtk-tdd/SKILL.md","sha256":"82b1563583227d491af7587af22dead3e0fa677abd6f7efde7f5570ed213e5af","url":"https://skillfed.io/files/rtk-ai/rtk/rtk-tdd/ebbe0712/SKILL.md"}],"id":"rtk-ai/rtk/rtk-tdd","links":{"html":"https://skillfed.io/rtk-ai/rtk/rtk-tdd","md":"https://skillfed.io/rtk-ai/rtk/rtk-tdd.md","repo":"https://github.com/rtk-ai/rtk"},"meta":{"agents_supported":["claude-code"],"first_seen":"2026-07-28","forks":4597,"language":"Rust","last_updated":"2026-07-27","license":"Apache-2.0","name":"rtk-tdd","publisher":"rtk-ai","stars":73568},"relations":{"similar":[{"id":"rtk-ai/rtk/tdd-rust"},{"id":"affaan-m/ECC/rust-testing"},{"id":"rtk-ai/rtk/ship"},{"id":"zereight/gitlab-mcp/tdd"},{"id":"rtk-ai/rtk/code-simplifier"},{"id":"cacr92/WeReply/tdd-workflow"},{"id":"cacr92/WeReply/testing-strategy"},{"id":"FlorianBruniaux/claude-code-ultimate-guide/rtk-optimizer"},{"id":"bkywksj/knowledge-base/test-development"},{"id":"martinholovsky/claude-skills-generator/rust"}]},"slug":{"owner":"rtk-ai","repo":"rtk","skill":"rtk-tdd"},"version":"ebbe0712"}
