git-safety
Installation
SKILL.md
Git Safety
CRITICAL: Some Git operations can permanently lose work. This skill prevents commit loss.
Danger Levels
| Level | Operations | Requires |
|---|---|---|
| ⛔ CRITICAL | push --force to shared branch, reset --hard with unpushed work |
Full verification + explicit confirmation |
| 🔴 HIGH | rebase on shared branches, clean -fd, checkout . |
Stash check + confirmation |
| 🟠 MEDIUM | reset --soft/mixed, stash drop, branch -D |
Verify branch state + confirm |
| 🟢 LOW | commit, push, pull, fetch, branch |
Standard execution |
Pre-Operation Protocol
Before Force Push
⛔ **CRITICAL: FORCE PUSH REQUESTED**