clean-worktree
Interactive cleanup of stale worktrees (merged branches, orphaned refs)
Refuse force-pushes / history rewrites unless the user explicitly asks.
$ npx -y skills add rtk-ai/rtk --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/rtk-no-history-rewriteContext preview
What this command does when you run it.
Refuse force-pushes / history rewrites unless the user explicitly asks.
Refuse force-pushes / history rewrites unless the user explicitly asks.
Without an explicit user instruction, NEVER:
If the user asks for "clean up the history" or similar, propose the non-destructive alternatives FIRST (squash-on-merge, follow-up commit) and only proceed with rewrite after explicit confirmation including the branch name.
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.
Defensive idioms when generating Rust code.
Force the agent to write or extend a test for every behaviour change.