Your Prompt Rules Are Just Suggestions: Claude Code Hooks Auto-Format Every Edit and Block Dangerous Commands (2-Minute Setup)
You told Claude Code โalways run the formatter after editingโ and โnever run rm -rf โ. It listened, until it didnโt. A rule in a prompt is a request - it can be forgotten, skipped, or missed after a context compaction. A hook is not a request. Itโs a