Registry / daymade

daymade/claude-code-skills/git-safety-net

Audits, preserves and recovers local Git state before cleanup: unpushed or wrong-branch commits, dirty worktrees, duplicate clones, stashes, dangling commits, squash-merge uncertainty. Use when the user fears lost work, wants to recover a commit, asks if a branch is actually merged, asks whether a branch, worktree or clone is safe to delete, or wants one clean main (误删分支 / 还有没有丢的东西). Not for GitHub PR operations.

Agent skill · version 3.24.1-main.1795431894.g7154803 · from daymade/claude-code-skills

Install

npx yarkr-cli add skill:daymade/claude-code-skills/git-safety-net

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:daymade/claude-code-skills/git-safety-net
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:daymade/claude-code-skills/git-safety-net

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:daymade/claude-code-skills/git-safety-net

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.