Skip to content
Kitbay
Skill

code-simplifier

Apache-2.0Updated on Nov 11, 202686,197GitHub stars

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

What the skill teaches

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.

Capabilities

Not stated in its documentation