Skip to content
Development
Command

/rtk-no-history-rewrite

Refuse force-pushes / history rewrites unless the user explicitly asks.

From plugin
rtk
86k13 skills6 agents13 commands
$ npx -y skills add rtk-ai/rtk --agent claude-code

Command definition

rtk-no-history-rewrite.md

Refuse 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.

@rtk-ai
Ships withrtk

CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies

86k12 skills6 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
86.0k
Star history of rtk-ai/rtk on GitHub, a chart by star-history.com

Other commands on rtk.

clean-worktree

clean-worktree

Command

Interactive cleanup of stale worktrees (merged branches, orphaned refs)

@rtk-ai@rtk-aiInstall Command
diagnose

diagnose

Command

RTK environment diagnostics - Checks installation, hooks, version, command routing

@rtk-ai@rtk-aiInstall Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command