Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 08:40:52 +08:00
commit fedac466b2
14 changed files with 1133 additions and 0 deletions

36
commands/protect.md Normal file
View File

@@ -0,0 +1,36 @@
---
description: Add files or patterns to the protection blacklist
---
# protect
Protect files from accidental edits by adding them to the blacklist.
## Usage
```bash
/protect <pattern>
/protect list
```
## Examples
```bash
# Protect environment files
/protect .env
# Protect entire directory
/protect secrets/
# Protect by extension
/protect *.key
# Show current protections
/protect list
```
## Implementation
```bash
${CLAUDE_PLUGIN_ROOT}/scripts/manage_blacklist.py add {{pattern}}
```