wdm0006/python-skills/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 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 `--rebu
Agent skill · version 0.0.0-main.1795736936.g95f001d · from wdm0006/python-skills
Install
npx yarkr-cli add skill:wdm0006/python-skills/guarding-destructive-operationsWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:wdm0006/python-skills/guarding-destructive-operations
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:wdm0006/python-skills/guarding-destructive-operationsOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:wdm0006/python-skills/guarding-destructive-operationsWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.