waynesutton/builder-skills/git-safety
Stops an agent from destroying uncommitted work with git. Requires git status and git diff before any command that discards changes, treats "revert" and "undo" as manual edits, and never runs reset, checkout, clean, stash drop, or force push without explicit approval. Use when a task involves reverting, undoing, resetting, cleaning, rebasing, or force pushing, or before any git command in a repo with uncommitted changes.
Agent skill · version 0.0.0-main.1794522383.g41a06fe · from waynesutton/builder-skills
Install
npx yarkr-cli add skill:waynesutton/builder-skills/git-safetyWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:waynesutton/builder-skills/git-safety
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:waynesutton/builder-skills/git-safetyOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:waynesutton/builder-skills/git-safetyWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.