tdd-rust
A skill for building output filters in RTK, rtk-ai's Rust command-line tool.
What the skill teaches
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.
Capabilities
- Capture real command output as test fixtures
- Write snapshot tests with insta
- Assert token savings of at least 20 percent
About
- Publisher
- rtk-ai
- Tool
- Testing
Install
The project doesn't document install steps that we could confirm. See the project's own instructions
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-tdd (Skill)
- rtk-triage (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 (tdd-rust)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 (tdd-rust)github.com/rtk-ai/rtk · Backs: Includes scriptsNov 10, 2026