git
Git rules — safe operations, preventing destructive commands on user's working tree. Auto-invoke whenever using git commands.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Git rules — safe operations, preventing destructive commands on user's working tree. Auto-invoke whenever using git commands.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use fff MCP / Grep / Read / Glob — never Bash grep/cat/find/head/tail/sed/awk/rg/wc — for file search and read. Use jq for JSON parsing/shaping (not node -e / python -c). A hook hard-blocks the banned Bash calls, and the dedicated tools return clean, cacheable, line-numbered results. Auto-invoke when searching, reading, or counting in files.
Planning and problem-solving discipline: enter plan mode first, write plans in the plan file (not chat), structured research, validation, implementation. Auto-invoke when the user says "plan", "make a plan", or when fixing issues or implementing features.
Use before any action: five-question self-check that catches destructive ops, scope creep, fabrication, premature completion, and ignored instructions. Auto-invoke before executing commands, editing files, or answering factual questions.
Reconcile skill collections, backport from ~/.claude/skills into a marketplace plugins tree, scrubbing proprietary refs. Use when local has diverged from upstream, or when promoting local-only skills to a marketplace.
Communication and scope discipline: how to interact with the user, handle rejection, stay in scope. Always active.
Final checklist before declaring any task complete. Auto-invoke before saying "done", "ready", "complete", or asking to commit/push.
| name | git |
| description | Git rules — safe operations, preventing destructive commands on user's working tree. Auto-invoke whenever using git commands. |
| user-invocable | true |
git mv for renames/moves. Never plain mv.git stash — moves user's uncommitted work without permission.git checkout HEAD -- . or git restore . — wipes ALL uncommitted changes. Selectively revert only files I touched.git status before deleting any file. If a file is modified (staged or unstaged), it is active work and MUST NOT be deleted. When tests fail after a deletion, the deletion was the mistake — restore the deleted files. A drop in test count is a regression, not cleanup.