Zum Inhalt springen
Kitbay
Skill

code-simplifier

Apache-2.0Aktualisiert am 11. Nov. 202686.197GitHub-Sterne

A contributor skill in the RTK repository, a Rust command-line proxy that shortens command output before coding agents read it.

Was der Skill vermittelt

A contributor skill in the RTK repository, a Rust command-line proxy that shortens command output before coding agents read it. It reviews RTK's Rust code for simpler, more idiomatic forms without changing behaviour: iterator chains instead of loops, joining strings, chained Option and Result handling, destructuring, early returns, fewer clones and if let for single cases. It lists things that must never be simplified away in RTK, such as lazily compiled regexes, error context on the question-mark operator, falling back to the raw command, passing exit codes through and test modules, and ends by running cargo fmt, clippy and tests and checking for stray unwrap calls in production code.

Funktionen

In der Dokumentation nicht angegeben