diazmelgarejo/orama-system/git-file-deletion-guard
Claude Code and agent skill by diazmelgarejo/orama-system
- community
Checking that the SKILL.md file is still in the repository.
Prevent accidental whole-file deletion at commit and pre-push time. Triggers: deleted files, mass deletion, git diff-filter=D, staged deletion, git add -u, API tree publication, tree SHA verification, and pre-push deletion audit.
Install
npx vskill@latest install diazmelgarejo/orama-system/git-file-deletion-guardSKILL.md
The same SKILL.md was published earlier as diazmelgarejo/orama-system/git-file-deletion-guard.
Git File Deletion Guard
Thin entrypoint. Full invariant, proof bundle, override policy, andremote-tree publication rule: `../git-history-surgery/references/file-deletion-preflight-reference-card.md`
When to load
- Before staging, committing, or pushing a change that may remove a tracked file
- When
git statusor a PR shows unexpected deletions - Before updating a Git ref through a Git data/tree API
- When the guard reports
GIT_SCOPE_E_FILE_DELETION
Fast path
The local hooks run both checks automatically. The command only blocks Git D-status paths; normal line removals and file modifications remain allowed.
Deliberate deletion
Do not bypass with --no-verify. State the reason explicitly for the one commit or push, and preserve that rationale in the commit/PR:
Parent skill
`../git-history-surgery/SKILL.md` — decision item 16.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingbin/orama-system/skills/git-file-deletion-guard/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/diazmelgarejo/orama-system/git-file-deletion-guard)