Prevent prompt injection patterns in shared workspace files
Rule template for Claude Code
What this rule does
Prevent prompt injection patterns in shared workspace files
When to use it
Include this template when generating a workspace where Data Handling fits the work you do. The Froject wires it into your ZIP automatically with the correct file path, frontmatter, and supporting context — you do not have to copy or rename anything.
How it ships
Lands in .claude/rules/prompt-hygiene.md and is loaded automatically when matching globs apply
Compatible with terminal, Claude Desktop co-work, and (for context-only items) desktop chat
Related rules
Code Style — Enforce consistent code style and formatting
code-style.md — Standards for writing and maintaining tests
Testing — Security practices and vulnerability prevention