git-safety

Community

Safe Git operations with proper commands.

Authorab300819
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Git operations can easily corrupt history or leave dangling changes when moving, renaming, or deleting tracked files. This skill enforces safe practices to preserve history and stability.

Core Features & Use Cases

  • Enforces use of git mv and git rm for file moves and deletions to preserve history.
  • Pre-operation checks verify the repository state before performing file operations.
  • Use Case: When reorganizing a project, ensure all file renames and removals are tracked correctly without introducing spurious delete/add commits.

Quick Start

Instruct the agent to migrate a file from src/old.go to src/new.go using git mv.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: git-safety
Download link: https://github.com/ab300819/skills/archive/main.zip#git-safety

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.