agentleFS
lldwblldwb/lldwb-claude-skills/skills/git-rollback/SKILL.md

git-rollback

Skill1 starsChanged 46 days agoGPL-3.0View on GitHub

交互式把 Git 分支回滚到历史版本:列分支 → 列版本 → 选 reset 或 revert → 二次确认后执行。当用户要求"把分支回滚到某个提交/tag""撤销一批提交""恢复到上一个版本""生成反向提交撤销误推"时使用——默认只读预览(dry-run);reset 改写历史需用户明确确认、执行前先建备份分支,受保护分支额外确认,不提供 --force、不自动强推也不自动 push。边界:历史与对象清理(reflog expire / gc --prune=now / filter-repo)默认不做;清理分支用 git-clean-branches;提交改动用 commit-create。

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