Add files or patterns to the protection blacklist
Add files or patterns to a protection blacklist to prevent accidental edits. Use it to safeguard sensitive files like `.env`, `*.key`, or entire directories.
/plugin marketplace add moinsen-dev/claude_code_marketplace/plugin install guard@moinsen-coderProtect files from accidental edits by adding them to the blacklist.
/protect <pattern>
/protect list
# Protect environment files
/protect .env
# Protect entire directory
/protect secrets/
# Protect by extension
/protect *.key
# Show current protections
/protect list
${CLAUDE_PLUGIN_ROOT}/scripts/manage_blacklist.py add {{pattern}}