Skip to content
TestedProCoding

Make Claude Code ask before it breaks anything.

Get a protection block that makes Claude Code ask before it breaks anything you'd hate to lose.

1 viewWorks withClaude
Prompt Locked
01

What this prompt does

  • Lists the files to fence off
  • Writes a paste-ready protection block for CLAUDE.md
  • Bakes in a checkpoint-commit rule
  • Hands you a one-minute test to prove it
02

Why it works

Naming the files off-limits turns Claude's own instructions into a fence — so it asks before touching them, instead of you catching it after.

03

Tips for this prompt

  • Name your worst-case list — that shapes every fence
  • Run the one-minute test before you trust it
  • Fence payment and auth code first
  • Write "you suggest" when you're unsure what to protect
04

How to use the prompt

  1. 1Paste the prompt into Claude Code
  2. 2Name what you'd hate to lose
  3. 3Trim or add to the proposed fences
  4. 4Drop the block into your CLAUDE.md
  5. 5Run the one-minute test before you trust it
Tags#guardrails#safety#claude code