Development
Command
/rtk-no-history-rewrite
Refuse force-pushes / history rewrites unless the user explicitly asks.
$ npx -y skills add rtk-ai/rtk --agent claude-code
Command definition
rtk-no-history-rewrite.mdRefuse force-pushes / history rewrites unless the user explicitly asks.
No history rewrite
Without an explicit user instruction, NEVER:
- run `git push --force` / `--force-with-lease`
- run `git rebase -i` on commits already pushed
- amend a commit that exists on a remote branch
- run `git filter-branch` / `git filter-repo`
- delete a remote branch tip (`git push origin :branch`)
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.
Stats
86,389
Stars
5,532
Forks
Active
Maintenance
Rust
Language
Apache-2.0
License
Last commit
Created
Ships withrtk
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
86k12 skills6 agents
Other commands on rtk.
More commands from other plugins.
Auto-invoked
Auto-invoked
build
CommandImplement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

