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.
スキルの内容
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.
できること
- 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
概要
- 公開元
- rtk-ai
- ツール
- テスト
インストール
プロジェクトのドキュメントに、確認できるインストール手順がありません。 プロジェクトの手順を見る
含まれるファイル
- references/testing-patterns.md
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
詳細
出典
- スキルファイル(SKILL.md)github.com/rtk-ai/rtk2026年11月12日
- ライセンスファイル(LICENSE)github.com/rtk-ai/rtk · 根拠となる項目:ライセンス2026年11月12日
- GitHubリポジトリgithub.com/rtk-ai/rtk · 根拠となる項目:公開元, 活動状況, ライセンス2026年11月11日
- リポジトリ内のフォルダ(rtk-tdd)github.com/rtk-ai/rtk · 根拠となる項目:スクリプトを含む2026年11月12日
- スキルファイル(SKILL.md)github.com/rtk-ai/rtk2026年11月10日
- リポジトリ内のフォルダ(rtk-tdd)github.com/rtk-ai/rtk · 根拠となる項目:スクリプトを含む2026年11月10日