clean-worktree
Interactive cleanup of stale worktrees (merged branches, orphaned refs)
Defensive idioms when generating Rust code.
$ npx -y skills add rtk-ai/rtk --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/rtk-rust-safety-netContext preview
What this command does when you run it.
Defensive idioms when generating Rust code.
Defensive idioms when generating Rust code.
When writing Rust:
and at-startup code where a panic IS the failure mode. In every other path return `Result<T, E>` (custom error or `anyhow::Error`).
over `String` and slice references over `Vec` clones.
the invariants hold. No `unsafe` for "performance" without a benchmark.
uninitialized memory are forbidden in business code.
across .await) inside an async fn. Use tokio::fs / tokio::sync.
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
Repo: rtk-ai/rtk
Interactive cleanup of stale worktrees (merged branches, orphaned refs)
Clean all merged worktrees automatically (no interaction)
RTK environment diagnostics - Checks installation, hooks, version, command routing
Conventional Commits enforcer for AI-authored PRs.
Refuse force-pushes / history rewrites unless the user explicitly asks.
Force the agent to write or extend a test for every behaviour change.