Back to skills
SkillHub ClubShip Full StackFull Stack

safe-git-guard

Prevents destructive Git operations by requiring backup and confirmation. Blocks git reset --hard, git push --force on main, git clean -fd. Requires backup before git checkout, git reset, git rebase. Activate on any destructive git command.

Packaged view

This page reorganizes the original catalog entry around fit, installability, and workflow context first. The original raw source lives below.

Stars
30
Hot score
89
Updated
March 20, 2026
Overall rating
C3.4
Composite score
3.4
Best-practice grade
B77.6

Install command

npx @skill-hub/cli install svenja-dev-claude-code-skills-safe-git-guard

Repository

Svenja-dev/claude-code-skills

Skill path: skills/safe-git-guard

Prevents destructive Git operations by requiring backup and confirmation. Blocks git reset --hard, git push --force on main, git clean -fd. Requires backup before git checkout, git reset, git rebase. Activate on any destructive git command.

Open repository

Best for

Primary workflow: Ship Full Stack.

Technical facets: Full Stack.

Target audience: Development teams looking for install-ready agent workflows..

License: Unknown.

Original source

Catalog source: SkillHub Club.

Repository owner: Svenja-dev.

This is still a mirrored public skill entry. Review the repository before installing into production workflows.

What it helps with

  • Install safe-git-guard into Claude Code, Codex CLI, Gemini CLI, or OpenCode workflows
  • Review https://github.com/Svenja-dev/claude-code-skills before adding safe-git-guard to shared team environments
  • Use safe-git-guard for development workflows

Works across

Claude CodeCodex CLIGemini CLIOpenCode

Favorites: 0.

Sub-skills: 0.

Aggregator: No.

safe-git-guard | SkillHub