git-recovery

Installation
SKILL.md

Git Safety and Recovery

Purpose: This skill teaches AI agents to work safely with Git and recover from common mistakes without losing work.

Core Principles

  1. Git Rarely Deletes - Almost everything is recoverable via reflog
  2. Understand Before Destroying - Know what --hard, --force do
  3. Backup Before Risky Operations - Use stash or branches
  4. Revert, Don't Reset - For shared branches

Understanding Git's Safety Net

The Reflog (Your Safety Net)

What is reflog? Git's reflog records every HEAD movement. It's your "undo history" for Git operations.

Related skills
Installs
10
GitHub Stars
1
First Seen
Jan 26, 2026