agentleFS
lldwblldwb/lldwb-claude-skills/skills/git-history-rewrite/SKILL.md

git-history-rewrite

Skill1 starsChanged 48 days agoGPL-3.0View on GitHub

Git 历史改写(结构性修正既有提交)标准工作流——拆分提交(一次提交按文件拆成多个)、改类型/标题、重排提交顺序、删除提交、恢复提交时间,含备份分支、方案先行、四重验证与强推。当用户要求"把某次提交拆成两个""把版本号/CHANGELOG 从功能提交里拆出去""统一历史提交的类型或标题""把发版提交移到版本最后""删除历史条目里的补记""恢复历史重写后的提交时间""整理历史提交结构"时使用——先备份、先出方案、改完四重验证、强推前确认。边界:把分支回滚到历史版本用 git-rollback;清理分支用 git-clean-branches;提交工作区改动用 commit-create;只做代码评审用 code-review。

  • Deletes or force-pushes
  • Commits and pushes

The file

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.