Skip to main content
在 Manus 中运行任何 Skill
一键导入

git-safety-net

星标1,277
分支211
更新时间2026年7月16日 09:44

Prevent and recover from local-Git disasters — commits stranded on the wrong or unpushed branch, orphaned/dropped stashes, dangling commits about to be garbage-collected, work that seems lost after heavy branch/stash/rebase juggling or parallel-agent work, and "is everything actually merged?" uncertainty. Use whenever the user fears they lost code, asks to recover a deleted commit / branch / stash, wonders what is still unmerged, needs to prove nothing was dropped after rebasing or deleting branches, resolves a version/lockfile collision between two branches, or wants habits so a branch mess never loses work again. Triggers on "did I lose work", "recover lost commit", "restore deleted branch", "stash disappeared", "is everything merged", "what's not merged", "git reflog", "dangling commits", "分支灾难", "误删分支/commit", "stash 丢了", "确认全部合并了". This is LOCAL-Git safety and forensics — distinct from GitHub PR/API operations (github-ops) and routine repo setup/sync (auto-repo-setup).

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
9 个文件
SKILL.md
readonly