Read Before Write
Force Claude Code to understand existing code before changing it. Cuts down hallucinated edits dramatically.
The Prompt
Free accounts also get the weekly newsletter.
CLAUDE.md: Force Claude to Show Its Work Before Editing
A CLAUDE.md block that makes Claude Code state its plan, assumptions, and rollback path before any file change.
CLAUDE.md: Force a Cost Accounting Before Every Suggestion
A CLAUDE.md directive that makes Claude declare the runtime, maintenance, and cognitive cost of every change before proposing it.
CLAUDE.md: Enforce Explicit Null Handling Before Property Access
Configure Claude Code to reject any code that accesses object properties without first asserting the value exists.
CLAUDE.md: Require a Rollback Path Before Any Schema Change
Stops Claude from generating database migrations without a tested, explicit rollback strategy attached.