rtk-tdd
A Rust test-driven development skill kept in the RTK repository. It sets three rules: no production code without a failing test, only enough test to fail, and only enough code to pass.
What the skill teaches
A Rust test-driven development skill kept in the RTK repository. It sets three rules: no production code without a failing test, only enough test to fail, and only enough code to pass. The agent writes the test in the same file's test module, runs that single test with cargo to see it fail, implements the minimum, reruns it, refactors, and finishes with cargo fmt, clippy and the full test suite as a gate before committing. Tables map kinds of code such as pure functions, parsers, validators and error paths to test patterns, and it lists cases where strict TDD does not fit, such as spawning processes or direct I/O.
Capabilities
- Run a red-green-refactor loop with cargo test
- Match Rust test patterns to the kind of code
- Gate commits on cargo fmt, clippy and tests
About
- Publisher
- rtk-ai
- Tool
- Testing
Install
The project doesn't document install steps that we could confirm. See the project's own instructions
What's inside
- references/testing-patterns.md
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tool | Testing | |
| Publisher | rtk-ai | source |
| Official status | Not stated in its documentation | |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | No | source |
| Platforms | Not stated in its documentation | |
| AI clients | Not stated in its documentation | |
| Licence | Apache-2.0 | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 11, 202686,197 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository Website |
More from rtk-ai
10 skills
- issue-triage (Skill)
- repo-recap (Skill)
- rtk-triage (Skill)
- tdd-rust (Skill)
- code-simplifier (Skill)
- design-patterns (Skill)
Also listed under: Testing
Sources
- Skill file (SKILL.md)github.com/rtk-ai/rtkNov 12, 2026
- Licence file (LICENSE)github.com/rtk-ai/rtk · Backs: LicenceNov 12, 2026
- GitHub repositorygithub.com/rtk-ai/rtk · Backs: Publisher, Activity, LicenceNov 11, 2026
- Folder in the repository (rtk-tdd)github.com/rtk-ai/rtk · Backs: Includes scriptsNov 12, 2026
- Skill file (SKILL.md)github.com/rtk-ai/rtkNov 10, 2026
- Folder in the repository (rtk-tdd)github.com/rtk-ai/rtk · Backs: Includes scriptsNov 10, 2026