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.

waynesutton Updated 629 repo stars

File contents

waynesutton/builder-skills commit e60e549d5b

Frequently asked questions

npx get-skill add waynesutton/git-safety