Giverny

Guarding Destructive Operations

Add and review preconditions on operations that delete, overwrite, rewrite history, or resolve a caller-supplied name to a filesystem path — refusing instead of warning, placing…

by kajisho5★ 12,943General

What Guarding Destructive Operations does

Add and review preconditions on operations that delete, overwrite, rewrite history, or resolve a caller-supplied name to a filesystem path — refusing instead of warning, placing the guard ahead of the first mutation, structural classification rather than string-prefix matching, name validation plus resolved-path containment as two independent checks, why a guard on the destructive path is invisible to the dry-run, and mutation-testing each half separately. Use when writing or reviewing a `--rebuild`/`--reset`/`--purge` command, a bulk delete, a history rewrite, an `rm -rf`-shaped step, or any

How to install Guarding Destructive Operations in Claude Code

Giverny gives you a ready prompt with the exact install command from kajisho5/ffmpeg-skill. Sign in with GitHub, copy the prompt and paste it into Claude Code; Claude installs the skill and confirms it loaded. To install by hand, clone kajisho5/ffmpeg-skill and copy the .claude/skills/destructive-operations folder into ~/.claude/skills/.

How to use it

Once installed, Claude loads Guarding Destructive Operations on its own whenever your request matches what the skill does. You can also ask for it by name, for example: “Use the guarding-destructive-operations skill on my current project.”

More Claude skills for general