davidmoneil/aifred-document-guard

Claude Code plugin that prevents accidental file damage. Blocks credential leaks, protects CLAUDE.md structure, preserves shebangs, and validates edits against configurable rules.

2Stars on the repository
4Mods indexed here, across every type
4mo agoLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

PreToolUse

01

davidmoneil/aifred-document-guard

Hook

Runs before the agent uses a tool for Edit, Write, mcp__filesystem__edit_file and mcp__filesystem__write_file tool calls, executing document-guard.js via node (4 commands). From davidmoneil/aifred-document-guard.

2 4mo ago A tokens not measured original MIT