·git-safety-guard
</>

git-safety-guard

실행 전에 파괴적인 git 및 파일 시스템 명령을 차단합니다. git 체크아웃에서 커밋되지 않은 작업이 실수로 손실되는 것을 방지합니다 --, git Reset --hard, rm -rf 및 유사한 파괴적인 작업. 페일오픈 의미 체계를 갖춘 Claude Code PreToolUse 후크로 작동합니다.

15설치·0트렌드·@terraphim

설치

$npx skills add https://github.com/terraphim/terraphim-skills --skill git-safety-guard

git-safety-guard 설치 방법

명령줄에서 git-safety-guard AI 스킬을 개발 환경에 빠르게 설치

  1. 터미널 열기: 터미널 또는 명령줄 도구(Terminal, iTerm, Windows Terminal 등)를 엽니다
  2. 설치 명령어 실행: 이 명령어를 복사하여 실행합니다: npx skills add https://github.com/terraphim/terraphim-skills --skill git-safety-guard
  3. 설치 확인: 설치 후 스킬은 자동으로 AI 코딩 환경에 설정되어 Claude Code, Cursor, OpenClaw에서 사용할 수 있습니다

출처: terraphim/terraphim-skills.

Use this skill when setting up or configuring protection against destructive git/filesystem commands in Claude Code.

Git Safety Guard intercepts Bash commands before execution and blocks dangerous operations that could permanently destroy uncommitted work or important files. The guard uses regex pattern matching with an allowlist to distinguish between safe and dangerous variants of commands.

| git checkout -- | Discards uncommitted changes permanently | | git restore | Discards uncommitted changes (except --staged) | | git reset --hard | Destroys all uncommitted changes | | git reset --merge | Can lose uncommitted changes | | git clean -f | Removes untracked files permanently | | git push --force | Destroys remote history |

실행 전에 파괴적인 git 및 파일 시스템 명령을 차단합니다. git 체크아웃에서 커밋되지 않은 작업이 실수로 손실되는 것을 방지합니다 --, git Reset --hard, rm -rf 및 유사한 파괴적인 작업. 페일오픈 의미 체계를 갖춘 Claude Code PreToolUse 후크로 작동합니다. 출처: terraphim/terraphim-skills.

인용 가능한 정보

AI/검색 인용용 안정적인 필드와 명령어.

설치 명령어
npx skills add https://github.com/terraphim/terraphim-skills --skill git-safety-guard
카테고리
</>개발 도구
인증됨
최초 등록
2026-02-20
업데이트
2026-03-10

Browse more skills from terraphim/terraphim-skills

빠른 답변

git-safety-guard이란?

실행 전에 파괴적인 git 및 파일 시스템 명령을 차단합니다. git 체크아웃에서 커밋되지 않은 작업이 실수로 손실되는 것을 방지합니다 --, git Reset --hard, rm -rf 및 유사한 파괴적인 작업. 페일오픈 의미 체계를 갖춘 Claude Code PreToolUse 후크로 작동합니다. 출처: terraphim/terraphim-skills.

git-safety-guard 설치 방법은?

터미널 또는 명령줄 도구(Terminal, iTerm, Windows Terminal 등)를 엽니다 이 명령어를 복사하여 실행합니다: npx skills add https://github.com/terraphim/terraphim-skills --skill git-safety-guard 설치 후 스킬은 자동으로 AI 코딩 환경에 설정되어 Claude Code, Cursor, OpenClaw에서 사용할 수 있습니다

소스 저장소는 어디인가요?

https://github.com/terraphim/terraphim-skills