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.
O que a skill ensina
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.
O que faz
- 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
Sobre
- Publicador
- rtk-ai
- Ferramenta
- Testes
Instalação
O projeto não documenta passos de instalação que tenhamos conseguido confirmar. Veja as instruções do próprio projeto
O que tem dentro
- references/testing-patterns.md
Servidores MCP e skills podem executar código no seu computador e agir sobre os seus dados. Revise o código-fonte antes de instalar.
Detalhes
| Fato | Valor | Fonte |
|---|---|---|
| Tipo | Skill | |
| Ferramenta | Testes | |
| Publicador | rtk-ai | fonte |
| Status oficial | Não informado na documentação | |
| Exige chave de API ou login | Não informado na documentação | |
| Inclui scripts | Não | fonte |
| Plataformas | Não informado na documentação | |
| Clientes de IA | Não informado na documentação | |
| Licença | Apache-2.0 | fonte |
| Preço | Não informado na documentação | |
| Atividade | Último commit em 11 de nov. de 202686.197 estrelas no GitHubDados de download indisponíveis (não está no npm nem no PyPI) | fonte |
| Links | Repositório Site |
Mais de rtk-ai
10 skills
- issue-triage (Skill)
- repo-recap (Skill)
- rtk-triage (Skill)
- tdd-rust (Skill)
- code-simplifier (Skill)
- design-patterns (Skill)
Também listado em: Testes
Fontes
- Arquivo da skill (SKILL.md)github.com/rtk-ai/rtk12 de nov. de 2026
- Arquivo de licença (LICENSE)github.com/rtk-ai/rtk · Comprova: Licença12 de nov. de 2026
- Repositório no GitHubgithub.com/rtk-ai/rtk · Comprova: Publicador, Atividade, Licença11 de nov. de 2026
- Pasta no repositório (rtk-tdd)github.com/rtk-ai/rtk · Comprova: Inclui scripts12 de nov. de 2026
- Arquivo da skill (SKILL.md)github.com/rtk-ai/rtk10 de nov. de 2026
- Pasta no repositório (rtk-tdd)github.com/rtk-ai/rtk · Comprova: Inclui scripts10 de nov. de 2026