tdd-rust
A skill for building output filters in RTK, rtk-ai's Rust command-line tool.
スキルの内容
A skill for building output filters in RTK, rtk-ai's Rust command-line tool. For each new filter the agent captures real command output as a fixture, writes a failing test, implements the minimum filter to pass, accepts an insta snapshot of the result, wires the command into main.rs and runs the quality gate. A filter only counts as done when tests show it cuts token count by at least 20 percent. It includes RTK-specific test patterns for stripping ANSI codes, fallback behaviour and savings at several input sizes, plus a list of things never to do in tests.
できること
- Capture real command output as test fixtures
- Write snapshot tests with insta
- Assert token savings of at least 20 percent
概要
- 公開元
- rtk-ai
- ツール
- テスト
インストール
プロジェクトのドキュメントに、確認できるインストール手順がありません。 プロジェクトの手順を見る
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日
- リポジトリ内のフォルダ(tdd-rust)github.com/rtk-ai/rtk · 根拠となる項目:スクリプトを含む2026年11月12日
- スキルファイル(SKILL.md)github.com/rtk-ai/rtk2026年11月10日
- リポジトリ内のフォルダ(tdd-rust)github.com/rtk-ai/rtk · 根拠となる項目:スクリプトを含む2026年11月10日